From a13a9fd33dace5726382bb8063a61113ef3d3b60 Mon Sep 17 00:00:00 2001 From: Marcus Weiner Date: Thu, 31 Oct 2024 17:51:25 +0100 Subject: [PATCH] wip --- .github/workflows/test.yml | 7 +- client/client.gen.go | 76535 +++++++++++++++++++++++++++------ client/config.yaml | 1 + client/openapi.json | 68070 +++++++++++++++-------------- internal/provider/client.go | 90 + tools/integration/Dockerfile | 2 +- tools/integration/plugins.py | 6 +- 7 files changed, 99365 insertions(+), 45346 deletions(-) create mode 100644 internal/provider/client.go diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8a6a47..21cab86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -66,12 +66,9 @@ jobs: - "1.8.*" - "1.9.*" netbox: - - "3.7.8" - - "4.0.7" + - "4.0.9" include: - - netbox: "3.7.8" - netbox_bgp: "0.12.1" - - netbox: "4.0.7" + - netbox: "4.0.9" netbox_bgp: "0.13.2" env: DOCKER_COMPOSE: docker compose --progress=plain diff --git a/client/client.gen.go b/client/client.gen.go index bdce5eb..c0e10aa 100644 --- a/client/client.gen.go +++ b/client/client.gen.go @@ -80,12 +80,377 @@ const ( CommunityRequestStatusReserved CommunityRequestStatus = "reserved" ) +// 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 CustomFieldUiEditableLabel. +const ( + CustomFieldUiEditableLabelHidden CustomFieldUiEditableLabel = "Hidden" + CustomFieldUiEditableLabelNo CustomFieldUiEditableLabel = "No" + CustomFieldUiEditableLabelYes CustomFieldUiEditableLabel = "Yes" +) + +// Defines values for CustomFieldUiEditableValue. +const ( + CustomFieldUiEditableValueHidden CustomFieldUiEditableValue = "hidden" + CustomFieldUiEditableValueNo CustomFieldUiEditableValue = "no" + CustomFieldUiEditableValueYes CustomFieldUiEditableValue = "yes" +) + +// Defines values for CustomFieldUiVisibleLabel. +const ( + CustomFieldUiVisibleLabelAlways CustomFieldUiVisibleLabel = "Always" + CustomFieldUiVisibleLabelHidden CustomFieldUiVisibleLabel = "Hidden" + CustomFieldUiVisibleLabelIfSet CustomFieldUiVisibleLabel = "If set" +) + +// Defines values for CustomFieldUiVisibleValue. +const ( + CustomFieldUiVisibleValueAlways CustomFieldUiVisibleValue = "always" + CustomFieldUiVisibleValueHidden CustomFieldUiVisibleValue = "hidden" + CustomFieldUiVisibleValueIfSet CustomFieldUiVisibleValue = "if-set" +) + +// 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 CustomFieldRequestUiEditable. +const ( + CustomFieldRequestUiEditableHidden CustomFieldRequestUiEditable = "hidden" + CustomFieldRequestUiEditableNo CustomFieldRequestUiEditable = "no" + CustomFieldRequestUiEditableYes CustomFieldRequestUiEditable = "yes" +) + +// Defines values for CustomFieldRequestUiVisible. +const ( + CustomFieldRequestUiVisibleAlways CustomFieldRequestUiVisible = "always" + CustomFieldRequestUiVisibleHidden CustomFieldRequestUiVisible = "hidden" + CustomFieldRequestUiVisibleIfSet CustomFieldRequestUiVisible = "if-set" +) + +// 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 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 EventRuleActionTypeLabel. +const ( + EventRuleActionTypeLabelScript EventRuleActionTypeLabel = "Script" + EventRuleActionTypeLabelWebhook EventRuleActionTypeLabel = "Webhook" +) + +// Defines values for EventRuleActionTypeValue. +const ( + EventRuleActionTypeValueScript EventRuleActionTypeValue = "script" + EventRuleActionTypeValueWebhook EventRuleActionTypeValue = "webhook" +) + +// Defines values for EventRuleRequestActionType. +const ( + EventRuleRequestActionTypeScript EventRuleRequestActionType = "script" + EventRuleRequestActionTypeWebhook EventRuleRequestActionType = "webhook" +) + +// 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 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 ObjectChangeActionLabel. +const ( + Created ObjectChangeActionLabel = "Created" + Deleted ObjectChangeActionLabel = "Deleted" + Updated ObjectChangeActionLabel = "Updated" +) + +// Defines values for ObjectChangeActionValue. +const ( + ObjectChangeActionValueCreate ObjectChangeActionValue = "create" + ObjectChangeActionValueDelete ObjectChangeActionValue = "delete" + ObjectChangeActionValueUpdate ObjectChangeActionValue = "update" +) + +// Defines values for PatchedCommunityListRuleRequestAction. +const ( + PatchedCommunityListRuleRequestActionDeny PatchedCommunityListRuleRequestAction = "deny" + PatchedCommunityListRuleRequestActionPermit PatchedCommunityListRuleRequestAction = "permit" +) + +// Defines values for PatchedCustomLinkRequestButtonClass. +const ( + PatchedCustomLinkRequestButtonClassBlack PatchedCustomLinkRequestButtonClass = "black" + PatchedCustomLinkRequestButtonClassBlue PatchedCustomLinkRequestButtonClass = "blue" + PatchedCustomLinkRequestButtonClassCyan PatchedCustomLinkRequestButtonClass = "cyan" + PatchedCustomLinkRequestButtonClassGhostDark PatchedCustomLinkRequestButtonClass = "ghost-dark" + PatchedCustomLinkRequestButtonClassGray PatchedCustomLinkRequestButtonClass = "gray" + PatchedCustomLinkRequestButtonClassGreen PatchedCustomLinkRequestButtonClass = "green" + PatchedCustomLinkRequestButtonClassIndigo PatchedCustomLinkRequestButtonClass = "indigo" + PatchedCustomLinkRequestButtonClassOrange PatchedCustomLinkRequestButtonClass = "orange" + PatchedCustomLinkRequestButtonClassOutlineDark PatchedCustomLinkRequestButtonClass = "outline-dark" + PatchedCustomLinkRequestButtonClassPink PatchedCustomLinkRequestButtonClass = "pink" + PatchedCustomLinkRequestButtonClassPurple PatchedCustomLinkRequestButtonClass = "purple" + PatchedCustomLinkRequestButtonClassRed PatchedCustomLinkRequestButtonClass = "red" + PatchedCustomLinkRequestButtonClassTeal PatchedCustomLinkRequestButtonClass = "teal" + PatchedCustomLinkRequestButtonClassWhite PatchedCustomLinkRequestButtonClass = "white" + PatchedCustomLinkRequestButtonClassYellow PatchedCustomLinkRequestButtonClass = "yellow" +) + // Defines values for PatchedPrefixListRequestFamily. const ( PatchedPrefixListRequestFamilyIpv4 PatchedPrefixListRequestFamily = "ipv4" PatchedPrefixListRequestFamilyIpv6 PatchedPrefixListRequestFamily = "ipv6" ) +// Defines values for PatchedPrefixListRuleRequestAction. +const ( + PatchedPrefixListRuleRequestActionDeny PatchedPrefixListRuleRequestAction = "deny" + PatchedPrefixListRuleRequestActionPermit PatchedPrefixListRuleRequestAction = "permit" +) + +// Defines values for PatchedRoutingPolicyRuleRequestAction. +const ( + PatchedRoutingPolicyRuleRequestActionDeny PatchedRoutingPolicyRuleRequestAction = "deny" + PatchedRoutingPolicyRuleRequestActionPermit PatchedRoutingPolicyRuleRequestAction = "permit" +) + +// Defines values for PatchedWebhookRequestHttpMethod. +const ( + PatchedWebhookRequestHttpMethodDELETE PatchedWebhookRequestHttpMethod = "DELETE" + PatchedWebhookRequestHttpMethodGET PatchedWebhookRequestHttpMethod = "GET" + PatchedWebhookRequestHttpMethodPATCH PatchedWebhookRequestHttpMethod = "PATCH" + PatchedWebhookRequestHttpMethodPOST PatchedWebhookRequestHttpMethod = "POST" + PatchedWebhookRequestHttpMethodPUT PatchedWebhookRequestHttpMethod = "PUT" +) + // Defines values for PatchedWritableBGPSessionRequestStatus. const ( PatchedWritableBGPSessionRequestStatusActive PatchedWritableBGPSessionRequestStatus = "active" @@ -94,12 +459,6 @@ const ( PatchedWritableBGPSessionRequestStatusPlanned PatchedWritableBGPSessionRequestStatus = "planned" ) -// Defines values for PatchedWritableCommunityListRuleRequestAction. -const ( - PatchedWritableCommunityListRuleRequestActionDeny PatchedWritableCommunityListRuleRequestAction = "deny" - PatchedWritableCommunityListRuleRequestActionPermit PatchedWritableCommunityListRuleRequestAction = "permit" -) - // Defines values for PatchedWritableCommunityRequestStatus. const ( PatchedWritableCommunityRequestStatusActive PatchedWritableCommunityRequestStatus = "active" @@ -107,28 +466,92 @@ const ( PatchedWritableCommunityRequestStatusReserved PatchedWritableCommunityRequestStatus = "reserved" ) -// Defines values for PatchedWritablePrefixListRuleRequestAction. +// 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 PatchedWritableCustomFieldRequestUiEditable. +const ( + PatchedWritableCustomFieldRequestUiEditableHidden PatchedWritableCustomFieldRequestUiEditable = "hidden" + PatchedWritableCustomFieldRequestUiEditableNo PatchedWritableCustomFieldRequestUiEditable = "no" + PatchedWritableCustomFieldRequestUiEditableYes PatchedWritableCustomFieldRequestUiEditable = "yes" +) + +// Defines values for PatchedWritableCustomFieldRequestUiVisible. +const ( + PatchedWritableCustomFieldRequestUiVisibleAlways PatchedWritableCustomFieldRequestUiVisible = "always" + PatchedWritableCustomFieldRequestUiVisibleHidden PatchedWritableCustomFieldRequestUiVisible = "hidden" + PatchedWritableCustomFieldRequestUiVisibleIfSet PatchedWritableCustomFieldRequestUiVisible = "if-set" +) + +// Defines values for PatchedWritableEventRuleRequestActionType. +const ( + PatchedWritableEventRuleRequestActionTypeScript PatchedWritableEventRuleRequestActionType = "script" + PatchedWritableEventRuleRequestActionTypeWebhook PatchedWritableEventRuleRequestActionType = "webhook" +) + +// Defines values for PatchedWritableJournalEntryRequestKind. +const ( + PatchedWritableJournalEntryRequestKindDanger PatchedWritableJournalEntryRequestKind = "danger" + PatchedWritableJournalEntryRequestKindInfo PatchedWritableJournalEntryRequestKind = "info" + PatchedWritableJournalEntryRequestKindSuccess PatchedWritableJournalEntryRequestKind = "success" + PatchedWritableJournalEntryRequestKindWarning PatchedWritableJournalEntryRequestKind = "warning" +) + +// Defines values for PrefixFamilyLabel. const ( - PatchedWritablePrefixListRuleRequestActionDeny PatchedWritablePrefixListRuleRequestAction = "deny" - PatchedWritablePrefixListRuleRequestActionPermit PatchedWritablePrefixListRuleRequestAction = "permit" + PrefixFamilyLabelIPv4 PrefixFamilyLabel = "IPv4" + PrefixFamilyLabelIPv6 PrefixFamilyLabel = "IPv6" ) -// Defines values for PatchedWritableRoutingPolicyRuleRequestAction. +// Defines values for PrefixFamilyValue. const ( - PatchedWritableRoutingPolicyRuleRequestActionDeny PatchedWritableRoutingPolicyRuleRequestAction = "deny" - PatchedWritableRoutingPolicyRuleRequestActionPermit PatchedWritableRoutingPolicyRuleRequestAction = "permit" + PrefixFamilyValueN4 PrefixFamilyValue = 4 + PrefixFamilyValueN6 PrefixFamilyValue = 6 ) -// Defines values for PrefixListFamily. +// Defines values for PrefixStatusLabel. const ( - PrefixListFamilyIpv4 PrefixListFamily = "ipv4" - PrefixListFamilyIpv6 PrefixListFamily = "ipv6" + PrefixStatusLabelActive PrefixStatusLabel = "Active" + PrefixStatusLabelContainer PrefixStatusLabel = "Container" + PrefixStatusLabelDeprecated PrefixStatusLabel = "Deprecated" + PrefixStatusLabelReserved PrefixStatusLabel = "Reserved" ) -// Defines values for PrefixListRequestFamily. +// Defines values for PrefixStatusValue. const ( - Ipv4 PrefixListRequestFamily = "ipv4" - Ipv6 PrefixListRequestFamily = "ipv6" + PrefixStatusValueActive PrefixStatusValue = "active" + PrefixStatusValueContainer PrefixStatusValue = "container" + PrefixStatusValueDeprecated PrefixStatusValue = "deprecated" + PrefixStatusValueReserved PrefixStatusValue = "reserved" ) // Defines values for PrefixListRuleAction. @@ -143,6 +566,14 @@ const ( PrefixListRuleRequestActionPermit PrefixListRuleRequestAction = "permit" ) +// Defines values for PrefixRequestStatus. +const ( + PrefixRequestStatusActive PrefixRequestStatus = "active" + PrefixRequestStatusContainer PrefixRequestStatus = "container" + PrefixRequestStatusDeprecated PrefixRequestStatus = "deprecated" + PrefixRequestStatusReserved PrefixRequestStatus = "reserved" +) + // Defines values for RoutingPolicyRuleAction. const ( RoutingPolicyRuleActionDeny RoutingPolicyRuleAction = "deny" @@ -155,6 +586,24 @@ const ( RoutingPolicyRuleRequestActionPermit RoutingPolicyRuleRequestAction = "permit" ) +// 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 WritableBGPSessionRequestStatus. const ( WritableBGPSessionRequestStatusActive WritableBGPSessionRequestStatus = "active" @@ -163,12 +612,6 @@ const ( WritableBGPSessionRequestStatusPlanned WritableBGPSessionRequestStatus = "planned" ) -// Defines values for WritableCommunityListRuleRequestAction. -const ( - WritableCommunityListRuleRequestActionDeny WritableCommunityListRuleRequestAction = "deny" - WritableCommunityListRuleRequestActionPermit WritableCommunityListRuleRequestAction = "permit" -) - // Defines values for WritableCommunityRequestStatus. const ( WritableCommunityRequestStatusActive WritableCommunityRequestStatus = "active" @@ -176,27 +619,321 @@ const ( WritableCommunityRequestStatusReserved WritableCommunityRequestStatus = "reserved" ) -// Defines values for WritablePrefixListRuleRequestAction. +// 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 WritableCustomFieldRequestUiEditable. +const ( + WritableCustomFieldRequestUiEditableHidden WritableCustomFieldRequestUiEditable = "hidden" + WritableCustomFieldRequestUiEditableNo WritableCustomFieldRequestUiEditable = "no" + WritableCustomFieldRequestUiEditableYes WritableCustomFieldRequestUiEditable = "yes" +) + +// Defines values for WritableCustomFieldRequestUiVisible. +const ( + WritableCustomFieldRequestUiVisibleAlways WritableCustomFieldRequestUiVisible = "always" + WritableCustomFieldRequestUiVisibleHidden WritableCustomFieldRequestUiVisible = "hidden" + WritableCustomFieldRequestUiVisibleIfSet WritableCustomFieldRequestUiVisible = "if-set" +) + +// Defines values for WritableEventRuleRequestActionType. +const ( + WritableEventRuleRequestActionTypeScript WritableEventRuleRequestActionType = "script" + WritableEventRuleRequestActionTypeWebhook WritableEventRuleRequestActionType = "webhook" +) + +// Defines values for WritableJournalEntryRequestKind. +const ( + Danger WritableJournalEntryRequestKind = "danger" + Info WritableJournalEntryRequestKind = "info" + Success WritableJournalEntryRequestKind = "success" + Warning WritableJournalEntryRequestKind = "warning" +) + +// Defines values for ExtrasConfigTemplatesRenderCreateParamsFormat. +const ( + ExtrasConfigTemplatesRenderCreateParamsFormatJson ExtrasConfigTemplatesRenderCreateParamsFormat = "json" + ExtrasConfigTemplatesRenderCreateParamsFormatTxt ExtrasConfigTemplatesRenderCreateParamsFormat = "txt" +) + +// Defines values for ExtrasCustomFieldChoiceSetsListParamsBaseChoices. +const ( + ExtrasCustomFieldChoiceSetsListParamsBaseChoicesIATA ExtrasCustomFieldChoiceSetsListParamsBaseChoices = "IATA" + ExtrasCustomFieldChoiceSetsListParamsBaseChoicesISO3166 ExtrasCustomFieldChoiceSetsListParamsBaseChoices = "ISO_3166" + ExtrasCustomFieldChoiceSetsListParamsBaseChoicesUNLOCODE ExtrasCustomFieldChoiceSetsListParamsBaseChoices = "UN_LOCODE" +) + +// Defines values for ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN. +const ( + ExtrasCustomFieldChoiceSetsListParamsBaseChoicesNIATA ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN = "IATA" + ExtrasCustomFieldChoiceSetsListParamsBaseChoicesNISO3166 ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN = "ISO_3166" + ExtrasCustomFieldChoiceSetsListParamsBaseChoicesNUNLOCODE ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN = "UN_LOCODE" +) + +// Defines values for ExtrasCustomFieldsListParamsFilterLogic. +const ( + ExtrasCustomFieldsListParamsFilterLogicDisabled ExtrasCustomFieldsListParamsFilterLogic = "disabled" + ExtrasCustomFieldsListParamsFilterLogicExact ExtrasCustomFieldsListParamsFilterLogic = "exact" + ExtrasCustomFieldsListParamsFilterLogicLoose ExtrasCustomFieldsListParamsFilterLogic = "loose" +) + +// Defines values for ExtrasCustomFieldsListParamsFilterLogicN. +const ( + Disabled ExtrasCustomFieldsListParamsFilterLogicN = "disabled" + Exact ExtrasCustomFieldsListParamsFilterLogicN = "exact" + Loose ExtrasCustomFieldsListParamsFilterLogicN = "loose" +) + +// Defines values for ExtrasCustomFieldsListParamsUiEditable. const ( - WritablePrefixListRuleRequestActionDeny WritablePrefixListRuleRequestAction = "deny" - WritablePrefixListRuleRequestActionPermit WritablePrefixListRuleRequestAction = "permit" + ExtrasCustomFieldsListParamsUiEditableHidden ExtrasCustomFieldsListParamsUiEditable = "hidden" + ExtrasCustomFieldsListParamsUiEditableNo ExtrasCustomFieldsListParamsUiEditable = "no" + ExtrasCustomFieldsListParamsUiEditableYes ExtrasCustomFieldsListParamsUiEditable = "yes" ) -// Defines values for WritableRoutingPolicyRuleRequestAction. +// Defines values for ExtrasCustomFieldsListParamsUiEditableN. const ( - WritableRoutingPolicyRuleRequestActionDeny WritableRoutingPolicyRuleRequestAction = "deny" - WritableRoutingPolicyRuleRequestActionPermit WritableRoutingPolicyRuleRequestAction = "permit" + ExtrasCustomFieldsListParamsUiEditableNHidden ExtrasCustomFieldsListParamsUiEditableN = "hidden" + ExtrasCustomFieldsListParamsUiEditableNNo ExtrasCustomFieldsListParamsUiEditableN = "no" + ExtrasCustomFieldsListParamsUiEditableNYes ExtrasCustomFieldsListParamsUiEditableN = "yes" ) +// Defines values for ExtrasCustomFieldsListParamsUiVisible. +const ( + ExtrasCustomFieldsListParamsUiVisibleAlways ExtrasCustomFieldsListParamsUiVisible = "always" + ExtrasCustomFieldsListParamsUiVisibleHidden ExtrasCustomFieldsListParamsUiVisible = "hidden" + ExtrasCustomFieldsListParamsUiVisibleIfSet ExtrasCustomFieldsListParamsUiVisible = "if-set" +) + +// Defines values for ExtrasCustomFieldsListParamsUiVisibleN. +const ( + ExtrasCustomFieldsListParamsUiVisibleNAlways ExtrasCustomFieldsListParamsUiVisibleN = "always" + ExtrasCustomFieldsListParamsUiVisibleNHidden ExtrasCustomFieldsListParamsUiVisibleN = "hidden" + ExtrasCustomFieldsListParamsUiVisibleNIfSet ExtrasCustomFieldsListParamsUiVisibleN = "if-set" +) + +// Defines values for ExtrasCustomLinksListParamsButtonClass. +const ( + ExtrasCustomLinksListParamsButtonClassBlack ExtrasCustomLinksListParamsButtonClass = "black" + ExtrasCustomLinksListParamsButtonClassBlue ExtrasCustomLinksListParamsButtonClass = "blue" + ExtrasCustomLinksListParamsButtonClassCyan ExtrasCustomLinksListParamsButtonClass = "cyan" + ExtrasCustomLinksListParamsButtonClassGhostDark ExtrasCustomLinksListParamsButtonClass = "ghost-dark" + ExtrasCustomLinksListParamsButtonClassGray ExtrasCustomLinksListParamsButtonClass = "gray" + ExtrasCustomLinksListParamsButtonClassGreen ExtrasCustomLinksListParamsButtonClass = "green" + ExtrasCustomLinksListParamsButtonClassIndigo ExtrasCustomLinksListParamsButtonClass = "indigo" + ExtrasCustomLinksListParamsButtonClassOrange ExtrasCustomLinksListParamsButtonClass = "orange" + ExtrasCustomLinksListParamsButtonClassOutlineDark ExtrasCustomLinksListParamsButtonClass = "outline-dark" + ExtrasCustomLinksListParamsButtonClassPink ExtrasCustomLinksListParamsButtonClass = "pink" + ExtrasCustomLinksListParamsButtonClassPurple ExtrasCustomLinksListParamsButtonClass = "purple" + ExtrasCustomLinksListParamsButtonClassRed ExtrasCustomLinksListParamsButtonClass = "red" + ExtrasCustomLinksListParamsButtonClassTeal ExtrasCustomLinksListParamsButtonClass = "teal" + ExtrasCustomLinksListParamsButtonClassWhite ExtrasCustomLinksListParamsButtonClass = "white" + ExtrasCustomLinksListParamsButtonClassYellow ExtrasCustomLinksListParamsButtonClass = "yellow" +) + +// Defines values for ExtrasCustomLinksListParamsButtonClassN. +const ( + Black ExtrasCustomLinksListParamsButtonClassN = "black" + Blue ExtrasCustomLinksListParamsButtonClassN = "blue" + Cyan ExtrasCustomLinksListParamsButtonClassN = "cyan" + GhostDark ExtrasCustomLinksListParamsButtonClassN = "ghost-dark" + Gray ExtrasCustomLinksListParamsButtonClassN = "gray" + Green ExtrasCustomLinksListParamsButtonClassN = "green" + Indigo ExtrasCustomLinksListParamsButtonClassN = "indigo" + Orange ExtrasCustomLinksListParamsButtonClassN = "orange" + OutlineDark ExtrasCustomLinksListParamsButtonClassN = "outline-dark" + Pink ExtrasCustomLinksListParamsButtonClassN = "pink" + Purple ExtrasCustomLinksListParamsButtonClassN = "purple" + Red ExtrasCustomLinksListParamsButtonClassN = "red" + Teal ExtrasCustomLinksListParamsButtonClassN = "teal" + White ExtrasCustomLinksListParamsButtonClassN = "white" + Yellow ExtrasCustomLinksListParamsButtonClassN = "yellow" +) + +// Defines values for ExtrasObjectChangesListParamsAction. +const ( + ExtrasObjectChangesListParamsActionCreate ExtrasObjectChangesListParamsAction = "create" + ExtrasObjectChangesListParamsActionDelete ExtrasObjectChangesListParamsAction = "delete" + ExtrasObjectChangesListParamsActionUpdate ExtrasObjectChangesListParamsAction = "update" +) + +// Defines values for ExtrasObjectChangesListParamsActionN. +const ( + Create ExtrasObjectChangesListParamsActionN = "create" + Delete ExtrasObjectChangesListParamsActionN = "delete" + Update ExtrasObjectChangesListParamsActionN = "update" +) + +// Defines values for PluginsBgpBgpsessionListParamsStatus. +const ( + PluginsBgpBgpsessionListParamsStatusActive PluginsBgpBgpsessionListParamsStatus = "active" + PluginsBgpBgpsessionListParamsStatusFailed PluginsBgpBgpsessionListParamsStatus = "failed" + PluginsBgpBgpsessionListParamsStatusOffline PluginsBgpBgpsessionListParamsStatus = "offline" + PluginsBgpBgpsessionListParamsStatusPlanned PluginsBgpBgpsessionListParamsStatus = "planned" +) + +// Defines values for PluginsBgpBgpsessionListParamsStatusN. +const ( + PluginsBgpBgpsessionListParamsStatusNActive PluginsBgpBgpsessionListParamsStatusN = "active" + PluginsBgpBgpsessionListParamsStatusNFailed PluginsBgpBgpsessionListParamsStatusN = "failed" + PluginsBgpBgpsessionListParamsStatusNOffline PluginsBgpBgpsessionListParamsStatusN = "offline" + PluginsBgpBgpsessionListParamsStatusNPlanned PluginsBgpBgpsessionListParamsStatusN = "planned" +) + +// Defines values for PluginsBgpCommunityListRuleListParamsAction. +const ( + PluginsBgpCommunityListRuleListParamsActionDeny PluginsBgpCommunityListRuleListParamsAction = "deny" + PluginsBgpCommunityListRuleListParamsActionPermit PluginsBgpCommunityListRuleListParamsAction = "permit" +) + +// Defines values for PluginsBgpCommunityListRuleListParamsActionN. +const ( + PluginsBgpCommunityListRuleListParamsActionNDeny PluginsBgpCommunityListRuleListParamsActionN = "deny" + PluginsBgpCommunityListRuleListParamsActionNPermit PluginsBgpCommunityListRuleListParamsActionN = "permit" +) + +// Defines values for PluginsBgpCommunityListParamsStatus. +const ( + PluginsBgpCommunityListParamsStatusActive PluginsBgpCommunityListParamsStatus = "active" + PluginsBgpCommunityListParamsStatusDeprecated PluginsBgpCommunityListParamsStatus = "deprecated" + PluginsBgpCommunityListParamsStatusReserved PluginsBgpCommunityListParamsStatus = "reserved" +) + +// Defines values for PluginsBgpCommunityListParamsStatusN. +const ( + PluginsBgpCommunityListParamsStatusNActive PluginsBgpCommunityListParamsStatusN = "active" + PluginsBgpCommunityListParamsStatusNDeprecated PluginsBgpCommunityListParamsStatusN = "deprecated" + PluginsBgpCommunityListParamsStatusNReserved PluginsBgpCommunityListParamsStatusN = "reserved" +) + +// Defines values for PluginsBgpPrefixListRuleListParamsAction. +const ( + PluginsBgpPrefixListRuleListParamsActionDeny PluginsBgpPrefixListRuleListParamsAction = "deny" + PluginsBgpPrefixListRuleListParamsActionPermit PluginsBgpPrefixListRuleListParamsAction = "permit" +) + +// Defines values for PluginsBgpPrefixListRuleListParamsActionN. +const ( + PluginsBgpPrefixListRuleListParamsActionNDeny PluginsBgpPrefixListRuleListParamsActionN = "deny" + PluginsBgpPrefixListRuleListParamsActionNPermit PluginsBgpPrefixListRuleListParamsActionN = "permit" +) + +// Defines values for PluginsBgpPrefixListListParamsFamily. +const ( + PluginsBgpPrefixListListParamsFamilyIpv4 PluginsBgpPrefixListListParamsFamily = "ipv4" + PluginsBgpPrefixListListParamsFamilyIpv6 PluginsBgpPrefixListListParamsFamily = "ipv6" +) + +// Defines values for PluginsBgpPrefixListListParamsFamilyN. +const ( + Ipv4 PluginsBgpPrefixListListParamsFamilyN = "ipv4" + Ipv6 PluginsBgpPrefixListListParamsFamilyN = "ipv6" +) + +// Defines values for PluginsBgpRoutingPolicyRuleListParamsAction. +const ( + PluginsBgpRoutingPolicyRuleListParamsActionDeny PluginsBgpRoutingPolicyRuleListParamsAction = "deny" + PluginsBgpRoutingPolicyRuleListParamsActionPermit PluginsBgpRoutingPolicyRuleListParamsAction = "permit" +) + +// Defines values for PluginsBgpRoutingPolicyRuleListParamsActionN. +const ( + Deny PluginsBgpRoutingPolicyRuleListParamsActionN = "deny" + Permit PluginsBgpRoutingPolicyRuleListParamsActionN = "permit" +) + +// Defines values for PluginsBgpSessionListParamsStatus. +const ( + PluginsBgpSessionListParamsStatusActive PluginsBgpSessionListParamsStatus = "active" + PluginsBgpSessionListParamsStatusFailed PluginsBgpSessionListParamsStatus = "failed" + PluginsBgpSessionListParamsStatusOffline PluginsBgpSessionListParamsStatus = "offline" + PluginsBgpSessionListParamsStatusPlanned PluginsBgpSessionListParamsStatus = "planned" +) + +// Defines values for PluginsBgpSessionListParamsStatusN. +const ( + Active PluginsBgpSessionListParamsStatusN = "active" + Failed PluginsBgpSessionListParamsStatusN = "failed" + Offline PluginsBgpSessionListParamsStatusN = "offline" + Planned PluginsBgpSessionListParamsStatusN = "planned" +) + +// 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 *int64 `json:"provider_count,omitempty"` + Rir *RIR `json:"rir"` + SiteCount *int64 `json:"site_count,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *Tenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// 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 *RIRRequest `json:"rir"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *TenantRequest `json:"tenant"` +} + +// ActivateUserKeyRequest defines model for ActivateUserKeyRequest. +type ActivateUserKeyRequest struct { + PrivateKey string `json:"private_key"` + UserKeys []interface{} `json:"user_keys"` +} + // BGPPeerGroup Adds support for custom fields and tags. type BGPPeerGroup struct { - Comments *string `json:"comments,omitempty"` - Description string `json:"description"` - Display *string `json:"display,omitempty"` - ExportPolicies *[]int `json:"export_policies,omitempty"` - Id *int `json:"id,omitempty"` - ImportPolicies *[]int `json:"import_policies,omitempty"` - Name string `json:"name"` + Comments *string `json:"comments,omitempty"` + Description string `json:"description"` + Display *string `json:"display,omitempty"` + ExportPolicies *[]RoutingPolicy `json:"export_policies,omitempty"` + Id *int `json:"id,omitempty"` + ImportPolicies *[]RoutingPolicy `json:"import_policies,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` } // BGPPeerGroupRequest Adds support for custom fields and tags. @@ -214,37 +951,29 @@ type BGPSession struct { Created *time.Time `json:"created"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - Device *NestedDevice `json:"device"` + Device *Device `json:"device"` Display *string `json:"display,omitempty"` - ExportPolicies *[]int `json:"export_policies,omitempty"` + ExportPolicies *[]RoutingPolicy `json:"export_policies,omitempty"` Id *int `json:"id,omitempty"` - ImportPolicies *[]int `json:"import_policies,omitempty"` + ImportPolicies *[]RoutingPolicy `json:"import_policies,omitempty"` LastUpdated *time.Time `json:"last_updated"` - // LocalAddress 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. - LocalAddress NestedIPAddress `json:"local_address"` - - // LocalAs 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. - LocalAs NestedASN `json:"local_as"` - Name *string `json:"name"` - PeerGroup *NestedBGPPeerGroup `json:"peer_group"` - PrefixListIn *NestedPrefixList `json:"prefix_list_in"` - PrefixListOut *NestedPrefixList `json:"prefix_list_out"` - - // RemoteAddress 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. - RemoteAddress NestedIPAddress `json:"remote_address"` - - // RemoteAs 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. - RemoteAs NestedASN `json:"remote_as"` - Site *NestedSite `json:"site"` + // LocalAddress Adds support for custom fields and tags. + LocalAddress IPAddress `json:"local_address"` + + // LocalAs Adds support for custom fields and tags. + LocalAs ASN `json:"local_as"` + Name *string `json:"name"` + PeerGroup *BGPPeerGroup `json:"peer_group"` + PrefixListIn *PrefixList `json:"prefix_list_in"` + PrefixListOut *PrefixList `json:"prefix_list_out"` + + // RemoteAddress Adds support for custom fields and tags. + RemoteAddress IPAddress `json:"remote_address"` + + // RemoteAs Adds support for custom fields and tags. + RemoteAs ASN `json:"remote_as"` + Site *Site `json:"site"` Status *struct { Label *BGPSessionStatusLabel `json:"label,omitempty"` @@ -254,8 +983,9 @@ type BGPSession struct { // * `failed` - Failed Value *BGPSessionStatusValue `json:"value,omitempty"` } `json:"status,omitempty"` - Tags *[]NestedTag `json:"tags,omitempty"` - Tenant *NestedTenant `json:"tenant"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *Tenant `json:"tenant"` + Url *string `json:"url,omitempty"` } // BGPSessionStatusLabel defines model for BGPSession.Status.Label. @@ -272,34 +1002,26 @@ type BGPSessionRequest struct { Comments *string `json:"comments,omitempty"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - Device *NestedDeviceRequest `json:"device"` + Device *DeviceRequest `json:"device"` ExportPolicies *[]int `json:"export_policies,omitempty"` ImportPolicies *[]int `json:"import_policies,omitempty"` - // LocalAddress 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. - LocalAddress NestedIPAddressRequest `json:"local_address"` - - // LocalAs 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. - LocalAs NestedASNRequest `json:"local_as"` - Name *string `json:"name"` - PeerGroup *NestedBGPPeerGroupRequest `json:"peer_group"` - PrefixListIn *NestedPrefixListRequest `json:"prefix_list_in"` - PrefixListOut *NestedPrefixListRequest `json:"prefix_list_out"` - - // RemoteAddress 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. - RemoteAddress NestedIPAddressRequest `json:"remote_address"` - - // RemoteAs 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. - RemoteAs NestedASNRequest `json:"remote_as"` - Site *NestedSiteRequest `json:"site"` + // LocalAddress Adds support for custom fields and tags. + LocalAddress IPAddressRequest `json:"local_address"` + + // LocalAs Adds support for custom fields and tags. + LocalAs ASNRequest `json:"local_as"` + Name *string `json:"name"` + PeerGroup *BGPPeerGroupRequest `json:"peer_group"` + PrefixListIn *PrefixListRequest `json:"prefix_list_in"` + PrefixListOut *PrefixListRequest `json:"prefix_list_out"` + + // RemoteAddress Adds support for custom fields and tags. + RemoteAddress IPAddressRequest `json:"remote_address"` + + // RemoteAs Adds support for custom fields and tags. + RemoteAs ASNRequest `json:"remote_as"` + Site *SiteRequest `json:"site"` // Status * `offline` - Offline // * `active` - Active @@ -307,7 +1029,7 @@ type BGPSessionRequest struct { // * `failed` - Failed Status *BGPSessionRequestStatus `json:"status,omitempty"` Tags *[]NestedTagRequest `json:"tags,omitempty"` - Tenant *NestedTenantRequest `json:"tenant"` + Tenant *TenantRequest `json:"tenant"` } // BGPSessionRequestStatus * `offline` - Offline @@ -316,6 +1038,73 @@ type BGPSessionRequest struct { // * `failed` - Failed type BGPSessionRequestStatus string +// 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 *interface{} `json:"object"` + ObjectId int64 `json:"object_id"` + ObjectType string `json:"object_type"` + Url *string `json:"url,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) + User User `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 Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during + // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) + User UserRequest `json:"user"` +} + +// Cluster Adds support for custom fields and tags. +type Cluster struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` +} + +// ClusterGroup Adds support for custom fields and tags. +type ClusterGroup struct { + ClusterCount *int64 `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"` +} + +// ClusterType Adds support for custom fields and tags. +type ClusterType struct { + ClusterCount *int64 `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"` +} + // Community Adds support for custom fields and tags. type Community struct { Comments *string `json:"comments,omitempty"` @@ -335,9 +1124,10 @@ type Community struct { // * `deprecated` - Deprecated Value *CommunityStatusValue `json:"value,omitempty"` } `json:"status,omitempty"` - Tags *[]NestedTag `json:"tags,omitempty"` - Tenant *NestedTenant `json:"tenant"` - Value string `json:"value"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *Tenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Value string `json:"value"` } // CommunityStatusLabel defines model for Community.Status.Label. @@ -357,6 +1147,7 @@ type CommunityList struct { Id *int `json:"id,omitempty"` Name string `json:"name"` Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } // CommunityListRequest Adds support for custom fields and tags. @@ -374,14 +1165,13 @@ type CommunityListRule struct { // * `deny` - Deny Action CommunityListRuleAction `json:"action"` Comments *string `json:"comments,omitempty"` - Community *NestedCommunity `json:"community"` + Community *Community `json:"community"` - // CommunityList 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. - CommunityList NestedCommunityList `json:"community_list"` + // CommunityList Adds support for custom fields and tags. + CommunityList CommunityList `json:"community_list"` 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"` @@ -398,14 +1188,13 @@ type CommunityListRuleRequest struct { // * `deny` - Deny Action CommunityListRuleRequestAction `json:"action"` Comments *string `json:"comments,omitempty"` - Community *NestedCommunityRequest `json:"community"` + Community *CommunityRequest `json:"community"` - // CommunityList 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. - CommunityList NestedCommunityListRequest `json:"community_list"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` + // CommunityList Adds support for custom fields and tags. + CommunityList CommunityListRequest `json:"community_list"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` } // CommunityListRuleRequestAction * `permit` - Permit @@ -425,7 +1214,7 @@ type CommunityRequest struct { // * `deprecated` - Deprecated Status *CommunityRequestStatus `json:"status,omitempty"` Tags *[]NestedTagRequest `json:"tags,omitempty"` - Tenant *NestedTenantRequest `json:"tenant"` + Tenant *TenantRequest `json:"tenant"` Value string `json:"value"` } @@ -434,29 +1223,71 @@ type CommunityRequest struct { // * `deprecated` - Deprecated type CommunityRequestStatus string -// NestedASN 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 NestedASN struct { - // Asn 16- or 32-bit autonomous system number - Asn int64 `json:"asn"` - Display *string `json:"display,omitempty"` - Id *int `json:"id,omitempty"` - Url *string `json:"url,omitempty"` -} - -// NestedASNRequest 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 NestedASNRequest struct { - // Asn 16- or 32-bit autonomous system number - Asn int64 `json:"asn"` -} - -// NestedBGPPeerGroup 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 NestedBGPPeerGroup struct { +// 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 *[]ClusterGroup `json:"cluster_groups,omitempty"` + ClusterTypes *[]ClusterType `json:"cluster_types,omitempty"` + Clusters *[]Cluster `json:"clusters,omitempty"` + Created *time.Time `json:"created"` + Data interface{} `json:"data"` + DataFile *DataFile `json:"data_file,omitempty"` + + // DataPath Path to remote file (relative to data source root) + DataPath *string `json:"data_path,omitempty"` + + // DataSource Adds support for custom fields and tags. + DataSource *DataSource `json:"data_source,omitempty"` + DataSynced *time.Time `json:"data_synced"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]DeviceType `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 *[]Location `json:"locations,omitempty"` + Name string `json:"name"` + Platforms *[]Platform `json:"platforms,omitempty"` + Regions *[]Region `json:"regions,omitempty"` + Roles *[]DeviceRole `json:"roles,omitempty"` + SiteGroups *[]SiteGroup `json:"site_groups,omitempty"` + Sites *[]Site `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]TenantGroup `json:"tenant_groups,omitempty"` + Tenants *[]Tenant `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 interface{} `json:"data"` + + // DataSource Adds support for custom fields and tags. + DataSource *DataSourceRequest `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 { Description *string `json:"description,omitempty"` Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` @@ -464,161 +1295,992 @@ type NestedBGPPeerGroup struct { Url *string `json:"url,omitempty"` } -// NestedBGPPeerGroupRequest 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 NestedBGPPeerGroupRequest struct { +// ConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment +// on create() and update(). +type ConfigTemplateRequest struct { Description *string `json:"description,omitempty"` Name string `json:"name"` } -// NestedCommunity 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 NestedCommunity struct { +// 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 *CustomFieldChoiceSet `json:"choice_set"` + Comments *string `json:"comments,omitempty"` + 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 *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"` + ObjectTypes []string `json:"object_types"` + RelatedObjectType *string `json:"related_object_type"` + + // 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"` + UiEditable *struct { + Label *CustomFieldUiEditableLabel `json:"label,omitempty"` + + // Value * `yes` - Yes + // * `no` - No + // * `hidden` - Hidden + Value *CustomFieldUiEditableValue `json:"value,omitempty"` + } `json:"ui_editable,omitempty"` + UiVisible *struct { + Label *CustomFieldUiVisibleLabel `json:"label,omitempty"` + + // Value * `always` - Always + // * `if-set` - If set + // * `hidden` - Hidden + Value *CustomFieldUiVisibleValue `json:"value,omitempty"` + } `json:"ui_visible,omitempty"` + Url *string `json:"url,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + 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 + +// CustomFieldUiEditableLabel defines model for CustomField.UiEditable.Label. +type CustomFieldUiEditableLabel string + +// CustomFieldUiEditableValue * `yes` - Yes +// * `no` - No +// * `hidden` - Hidden +type CustomFieldUiEditableValue string + +// CustomFieldUiVisibleLabel defines model for CustomField.UiVisible.Label. +type CustomFieldUiVisibleLabel string + +// CustomFieldUiVisibleValue * `always` - Always +// * `if-set` - If set +// * `hidden` - Hidden +type CustomFieldUiVisibleValue 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 [][]interface{} `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 [][]interface{} `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 *CustomFieldChoiceSetRequest `json:"choice_set"` + Comments *string `json:"comments,omitempty"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *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"` + ObjectTypes []string `json:"object_types"` + RelatedObjectType *string `json:"related_object_type"` + + // 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"` + + // UiEditable * `yes` - Yes + // * `no` - No + // * `hidden` - Hidden + UiEditable *CustomFieldRequestUiEditable `json:"ui_editable,omitempty"` + + // UiVisible * `always` - Always + // * `if-set` - If set + // * `hidden` - Hidden + UiVisible *CustomFieldRequestUiVisible `json:"ui_visible,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + 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 + +// CustomFieldRequestUiEditable * `yes` - Yes +// * `no` - No +// * `hidden` - Hidden +type CustomFieldRequestUiEditable string + +// CustomFieldRequestUiVisible * `always` - Always +// * `if-set` - If set +// * `hidden` - Hidden +type CustomFieldRequestUiVisible 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"` + 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"` + ObjectTypes []string `json:"object_types"` + 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"` + 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"` + ObjectTypes []string `json:"object_types"` + 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 *interface{} `json:"config,omitempty"` + Layout *interface{} `json:"layout,omitempty"` +} + +// DashboardRequest defines model for DashboardRequest. +type DashboardRequest struct { + Config *interface{} `json:"config,omitempty"` + Layout *interface{} `json:"layout,omitempty"` +} + +// DataFile Adds support for custom fields and tags. +type DataFile struct { Display *string `json:"display,omitempty"` - Id *int `json:"id,omitempty"` - Url *string `json:"url,omitempty"` - Value string `json:"value"` + + // 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 *DataSource `json:"source,omitempty"` + Url *string `json:"url,omitempty"` } -// NestedCommunityList 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 NestedCommunityList struct { - Display *string `json:"display,omitempty"` - Id *int `json:"id,omitempty"` - Name string `json:"name"` - Url *string `json:"url,omitempty"` +// DataSource Adds support for custom fields and tags. +type DataSource struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` } -// NestedCommunityListRequest 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 NestedCommunityListRequest struct { - Name string `json:"name"` +// DataSourceRequest Adds support for custom fields and tags. +type DataSourceRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,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 *interface{} `json:"parameters"` + SourceUrl string `json:"source_url"` + + // Type * `None` - --------- + // * `local` - Local + // * `git` - Git + // * `amazon-s3` - Amazon S3 + Type interface{} `json:"type"` +} + +// 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 *Cluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate *ConfigTemplate `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"` + + // DeviceType Adds support for custom fields and tags. + DeviceType DeviceType `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 *interface{} `json:"local_context_data"` + Location *Location `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 *IPAddress `json:"oob_ip"` + ParentDevice *NestedDevice `json:"parent_device"` + Platform *Platform `json:"platform"` + Position *float64 `json:"position"` + PowerOutletCount *int `json:"power_outlet_count,omitempty"` + PowerPortCount *int `json:"power_port_count,omitempty"` + PrimaryIp *IPAddress `json:"primary_ip"` + PrimaryIp4 *IPAddress `json:"primary_ip4"` + PrimaryIp6 *IPAddress `json:"primary_ip6"` + Rack *Rack `json:"rack"` + RearPortCount *int `json:"rear_port_count,omitempty"` + + // Role Adds support for custom fields and tags. + Role DeviceRole `json:"role"` + + // Serial Chassis serial number, assigned by the manufacturer + Serial *string `json:"serial,omitempty"` + + // Site Adds support for custom fields and tags. + Site Site `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 *Tenant `json:"tenant"` + Url *string `json:"url,omitempty"` + VcPosition *int `json:"vc_position"` + + // VcPriority Virtual chassis master election priority + VcPriority *int `json:"vc_priority"` + VirtualChassis *VirtualChassis `json:"virtual_chassis"` } -// NestedCommunityRequest 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 NestedCommunityRequest struct { - Value string `json:"value"` +// 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 + +// DeviceRequest Adds support for custom fields and tags. +type DeviceRequest struct { + Description *string `json:"description,omitempty"` + 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"` +// DeviceRole Adds support for custom fields and tags. +type DeviceRole struct { + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,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"` +// DeviceType Adds support for custom fields and tags. +type DeviceType struct { + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Manufacturer Adds support for custom fields and tags. + Manufacturer Manufacturer `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` } -// 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"` +// EventRule Adds support for custom fields and tags. +type EventRule struct { + ActionObject *map[string]interface{} `json:"action_object,omitempty"` + ActionObjectId *int64 `json:"action_object_id"` + ActionObjectType string `json:"action_object_type"` + ActionType struct { + Label *EventRuleActionTypeLabel `json:"label,omitempty"` + + // Value * `webhook` - Webhook + // * `script` - Script + Value *EventRuleActionTypeValue `json:"value,omitempty"` + } `json:"action_type"` + + // Conditions A set of conditions which determine whether the event will be generated. + Conditions *interface{} `json:"conditions"` + 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"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + 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"` } -// 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"` +// EventRuleActionTypeLabel defines model for EventRule.ActionType.Label. +type EventRuleActionTypeLabel string + +// EventRuleActionTypeValue * `webhook` - Webhook +// * `script` - Script +type EventRuleActionTypeValue string + +// EventRuleRequest Adds support for custom fields and tags. +type EventRuleRequest struct { + ActionObjectId *int64 `json:"action_object_id"` + ActionObjectType string `json:"action_object_type"` + + // ActionType * `webhook` - Webhook + // * `script` - Script + ActionType EventRuleRequestActionType `json:"action_type"` + + // Conditions A set of conditions which determine whether the event will be generated. + Conditions *interface{} `json:"conditions"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + 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"` } -// NestedPrefix 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 NestedPrefix struct { - Depth *int `json:"_depth,omitempty"` - Display *string `json:"display,omitempty"` - Family *int `json:"family,omitempty"` - Id *int `json:"id,omitempty"` +// EventRuleRequestActionType * `webhook` - Webhook +// * `script` - Script +type EventRuleRequestActionType 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"` + Created *time.Time `json:"created"` + DataFile *DataFile `json:"data_file,omitempty"` + + // DataPath Path to remote file (relative to data source root) + DataPath *string `json:"data_path,omitempty"` + + // DataSource Adds support for custom fields and tags. + DataSource *DataSource `json:"data_source,omitempty"` + DataSynced *time.Time `json:"data_synced"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` - // Prefix IPv4 or IPv6 network with mask - Prefix string `json:"prefix"` - Url *string `json:"url,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"` + ObjectTypes []string `json:"object_types"` + + // 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"` } -// NestedPrefixList 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 NestedPrefixList struct { - Display *string `json:"display,omitempty"` - Id *int `json:"id,omitempty"` - Name string `json:"name"` - 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"` + + // DataSource Adds support for custom fields and tags. + DataSource *DataSourceRequest `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"` + ObjectTypes []string `json:"object_types"` + + // TemplateCode Jinja2 template code. The list of objects being exported is passed as a context variable named queryset. + TemplateCode string `json:"template_code"` } -// NestedPrefixListRequest 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 NestedPrefixListRequest struct { - Name string `json:"name"` +// IPAddress Adds support for custom fields and tags. +type IPAddress struct { + Address string `json:"address"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,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"` + Url *string `json:"url,omitempty"` } -// NestedPrefixRequest 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 NestedPrefixRequest struct { - // Prefix IPv4 or IPv6 network with mask - Prefix string `json:"prefix"` +// IPAddressFamilyLabel defines model for IPAddress.Family.Label. +type IPAddressFamilyLabel string + +// IPAddressFamilyValue * `4` - IPv4 +// * `6` - IPv6 +type IPAddressFamilyValue int + +// IPAddressRequest Adds support for custom fields and tags. +type IPAddressRequest struct { + Address string `json:"address"` + Description *string `json:"description,omitempty"` } -// NestedRoutingPolicy 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 NestedRoutingPolicy struct { +// 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 { + 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"` + ObjectType string `json:"object_type"` + Parent *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 { + 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"` + ObjectType string `json:"object_type"` +} + +// Job defines model for Job. +type Job struct { + Completed *time.Time `json:"completed"` + Created *time.Time `json:"created,omitempty"` + Data *interface{} `json:"data"` + Display *string `json:"display,omitempty"` + Error *string `json:"error,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 *User `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 *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 + +// Location Extends PrimaryModelSerializer to include MPTT support. +type Location struct { + Depth *int `json:"_depth,omitempty"` Description *string `json:"description,omitempty"` Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` Name string `json:"name"` + RackCount *int `json:"rack_count,omitempty"` + Slug string `json:"slug"` Url *string `json:"url,omitempty"` } -// NestedRoutingPolicyRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// Manufacturer Adds support for custom fields and tags. +type Manufacturer struct { + Description *string `json:"description,omitempty"` + DevicetypeCount *int64 `json:"devicetype_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// 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 NestedRoutingPolicyRequest struct { - Description *string `json:"description,omitempty"` - Name string `json:"name"` +type NestedDevice struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name *string `json:"name"` + Url *string `json:"url,omitempty"` } -// NestedSite Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// 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 NestedSite struct { +type NestedRegion struct { + Depth *int `json:"_depth,omitempty"` 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"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` } -// NestedSiteRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// 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 NestedSiteRequest struct { - // Name Full name of the site - Name string `json:"name"` - Slug string `json:"slug"` +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"` } // NestedTag Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a @@ -642,10 +2304,11 @@ type NestedTagRequest struct { Slug string `json:"slug"` } -// NestedTenant Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// 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 NestedTenant struct { +type NestedTenantGroup struct { + Depth *int `json:"_depth,omitempty"` Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` Name string `json:"name"` @@ -653,84 +2316,277 @@ type NestedTenant struct { Url *string `json:"url,omitempty"` } -// 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"` +// 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 *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 *interface{} `json:"postchange_data"` + PrechangeData *interface{} `json:"prechange_data"` + RequestId *openapi_types.UUID `json:"request_id,omitempty"` + Time *time.Time `json:"time,omitempty"` + Url *string `json:"url,omitempty"` + User *User `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 + +// ObjectType defines model for ObjectType. +type ObjectType 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"` } // PaginatedBGPPeerGroupList defines model for PaginatedBGPPeerGroupList. type PaginatedBGPPeerGroupList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]BGPPeerGroup `json:"results,omitempty"` + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []BGPPeerGroup `json:"results"` } // PaginatedBGPSessionList defines model for PaginatedBGPSessionList. type PaginatedBGPSessionList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]BGPSession `json:"results,omitempty"` + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []BGPSession `json:"results"` +} + +// PaginatedBookmarkList defines model for PaginatedBookmarkList. +type PaginatedBookmarkList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []Bookmark `json:"results"` } // PaginatedCommunityList defines model for PaginatedCommunityList. type PaginatedCommunityList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]Community `json:"results,omitempty"` + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []Community `json:"results"` } // PaginatedCommunityListList defines model for PaginatedCommunityListList. type PaginatedCommunityListList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]CommunityList `json:"results,omitempty"` + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []CommunityList `json:"results"` } // PaginatedCommunityListRuleList defines model for PaginatedCommunityListRuleList. type PaginatedCommunityListRuleList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]CommunityListRule `json:"results,omitempty"` + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []CommunityListRule `json:"results"` } -// PaginatedPrefixListList defines model for PaginatedPrefixListList. -type PaginatedPrefixListList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]PrefixList `json:"results,omitempty"` +// PaginatedConfigContextList defines model for PaginatedConfigContextList. +type PaginatedConfigContextList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []ConfigContext `json:"results"` } -// PaginatedPrefixListRuleList defines model for PaginatedPrefixListRuleList. -type PaginatedPrefixListRuleList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` +// PaginatedConfigTemplateList defines model for PaginatedConfigTemplateList. +type PaginatedConfigTemplateList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []ConfigTemplate `json:"results"` +} + +// PaginatedCustomFieldChoiceSetList defines model for PaginatedCustomFieldChoiceSetList. +type PaginatedCustomFieldChoiceSetList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []CustomFieldChoiceSet `json:"results"` +} + +// PaginatedCustomFieldList defines model for PaginatedCustomFieldList. +type PaginatedCustomFieldList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []CustomField `json:"results"` +} + +// PaginatedCustomLinkList defines model for PaginatedCustomLinkList. +type PaginatedCustomLinkList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []CustomLink `json:"results"` +} + +// PaginatedEventRuleList defines model for PaginatedEventRuleList. +type PaginatedEventRuleList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []EventRule `json:"results"` +} + +// PaginatedExportTemplateList defines model for PaginatedExportTemplateList. +type PaginatedExportTemplateList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []ExportTemplate `json:"results"` +} + +// PaginatedImageAttachmentList defines model for PaginatedImageAttachmentList. +type PaginatedImageAttachmentList struct { + Count int `json:"count"` + Next *string `json:"next"` Previous *string `json:"previous"` - Results *[]PrefixListRule `json:"results,omitempty"` + Results []ImageAttachment `json:"results"` } -// PaginatedRoutingPolicyList defines model for PaginatedRoutingPolicyList. -type PaginatedRoutingPolicyList struct { - Count *int `json:"count,omitempty"` +// PaginatedJournalEntryList defines model for PaginatedJournalEntryList. +type PaginatedJournalEntryList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []JournalEntry `json:"results"` +} + +// PaginatedObjectChangeList defines model for PaginatedObjectChangeList. +type PaginatedObjectChangeList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []ObjectChange `json:"results"` +} + +// PaginatedObjectTypeList defines model for PaginatedObjectTypeList. +type PaginatedObjectTypeList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []ObjectType `json:"results"` +} + +// PaginatedPrefixListList defines model for PaginatedPrefixListList. +type PaginatedPrefixListList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []PrefixList `json:"results"` +} + +// PaginatedPrefixListRuleList defines model for PaginatedPrefixListRuleList. +type PaginatedPrefixListRuleList struct { + Count int `json:"count"` Next *string `json:"next"` Previous *string `json:"previous"` - Results *[]RoutingPolicy `json:"results,omitempty"` + Results []PrefixListRule `json:"results"` +} + +// PaginatedRoutingPolicyList defines model for PaginatedRoutingPolicyList. +type PaginatedRoutingPolicyList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []RoutingPolicy `json:"results"` } // PaginatedRoutingPolicyRuleList defines model for PaginatedRoutingPolicyRuleList. type PaginatedRoutingPolicyRuleList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]RoutingPolicyRule `json:"results,omitempty"` + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []RoutingPolicyRule `json:"results"` +} + +// PaginatedSavedFilterList defines model for PaginatedSavedFilterList. +type PaginatedSavedFilterList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []SavedFilter `json:"results"` +} + +// PaginatedScriptList defines model for PaginatedScriptList. +type PaginatedScriptList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []Script `json:"results"` +} + +// PaginatedSecretList defines model for PaginatedSecretList. +type PaginatedSecretList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []Secret `json:"results"` +} + +// PaginatedSecretRoleList defines model for PaginatedSecretRoleList. +type PaginatedSecretRoleList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []SecretRole `json:"results"` +} + +// PaginatedSessionKeyList defines model for PaginatedSessionKeyList. +type PaginatedSessionKeyList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []SessionKey `json:"results"` +} + +// PaginatedTagList defines model for PaginatedTagList. +type PaginatedTagList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []Tag `json:"results"` +} + +// PaginatedUserKeyList defines model for PaginatedUserKeyList. +type PaginatedUserKeyList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []UserKey `json:"results"` +} + +// PaginatedWebhookList defines model for PaginatedWebhookList. +type PaginatedWebhookList struct { + Count int `json:"count"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results []Webhook `json:"results"` } // PatchedBGPPeerGroupRequest Adds support for custom fields and tags. @@ -742,6 +2598,17 @@ type PatchedBGPPeerGroupRequest struct { Name *string `json:"name,omitempty"` } +// PatchedBookmarkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedBookmarkRequest struct { + ObjectId *int64 `json:"object_id,omitempty"` + ObjectType *string `json:"object_type,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) + User *UserRequest `json:"user,omitempty"` +} + // PatchedCommunityListRequest Adds support for custom fields and tags. type PatchedCommunityListRequest struct { Comments *string `json:"comments,omitempty"` @@ -751,6 +2618,164 @@ type PatchedCommunityListRequest struct { Tags *[]NestedTagRequest `json:"tags,omitempty"` } +// PatchedCommunityListRuleRequest Adds support for custom fields and tags. +type PatchedCommunityListRuleRequest struct { + // Action * `permit` - Permit + // * `deny` - Deny + Action *PatchedCommunityListRuleRequestAction `json:"action,omitempty"` + Comments *string `json:"comments,omitempty"` + Community *CommunityRequest `json:"community"` + + // CommunityList Adds support for custom fields and tags. + CommunityList *CommunityListRequest `json:"community_list,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedCommunityListRuleRequestAction * `permit` - Permit +// * `deny` - Deny +type PatchedCommunityListRuleRequestAction string + +// PatchedConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedConfigContextRequest struct { + ClusterGroups *[]int `json:"cluster_groups,omitempty"` + ClusterTypes *[]int `json:"cluster_types,omitempty"` + Clusters *[]int `json:"clusters,omitempty"` + Data *interface{} `json:"data,omitempty"` + + // DataSource Adds support for custom fields and tags. + DataSource *DataSourceRequest `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,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"` +} + +// PatchedConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment +// on create() and update(). +type PatchedConfigTemplateRequest struct { + // DataSource Adds support for custom fields and tags. + DataSource *DataSourceRequest `json:"data_source,omitempty"` + Description *string `json:"description,omitempty"` + + // EnvironmentParams Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams *interface{} `json:"environment_params"` + Name *string `json:"name,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TemplateCode Jinja2 template code. + TemplateCode *string `json:"template_code,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"` + 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"` + ObjectTypes *[]string `json:"object_types,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 *interface{} `json:"config,omitempty"` + Layout *interface{} `json:"layout,omitempty"` +} + +// PatchedExportTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedExportTemplateRequest struct { + // AsAttachment Download file as attachment + AsAttachment *bool `json:"as_attachment,omitempty"` + + // DataSource Adds support for custom fields and tags. + DataSource *DataSourceRequest `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,omitempty"` + ObjectTypes *[]string `json:"object_types,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"` +} + +// 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 { + 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"` + ObjectType *string `json:"object_type,omitempty"` +} + // PatchedPrefixListRequest Adds support for custom fields and tags. type PatchedPrefixListRequest struct { Comments *string `json:"comments,omitempty"` @@ -768,6 +2793,29 @@ type PatchedPrefixListRequest struct { // * `ipv6` - IPv6 type PatchedPrefixListRequestFamily string +// PatchedPrefixListRuleRequest Adds support for custom fields and tags. +type PatchedPrefixListRuleRequest struct { + // Action * `permit` - Permit + // * `deny` - Deny + Action *PatchedPrefixListRuleRequestAction `json:"action,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Ge *int `json:"ge"` + Index *int `json:"index,omitempty"` + Le *int `json:"le"` + Prefix *PrefixRequest `json:"prefix"` + PrefixCustom *string `json:"prefix_custom"` + + // PrefixList Adds support for custom fields and tags. + PrefixList *PrefixListRequest `json:"prefix_list,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedPrefixListRuleRequestAction * `permit` - Permit +// * `deny` - Deny +type PatchedPrefixListRuleRequestAction string + // PatchedRoutingPolicyRequest Adds support for custom fields and tags. type PatchedRoutingPolicyRequest struct { Comments *string `json:"comments,omitempty"` @@ -777,23 +2825,146 @@ type PatchedRoutingPolicyRequest struct { Tags *[]NestedTagRequest `json:"tags,omitempty"` } +// PatchedRoutingPolicyRuleRequest Adds support for custom fields and tags. +type PatchedRoutingPolicyRuleRequest struct { + // Action * `permit` - Permit + // * `deny` - Deny + Action *PatchedRoutingPolicyRuleRequestAction `json:"action,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Index *int `json:"index,omitempty"` + MatchCommunity *[]int `json:"match_community,omitempty"` + MatchCommunityList *[]int `json:"match_community_list,omitempty"` + MatchCustom *interface{} `json:"match_custom"` + MatchIpAddress *[]int `json:"match_ip_address,omitempty"` + MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` + + // RoutingPolicy Adds support for custom fields and tags. + RoutingPolicy *RoutingPolicyRequest `json:"routing_policy,omitempty"` + SetActions *interface{} `json:"set_actions"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedRoutingPolicyRuleRequestAction * `permit` - Permit +// * `deny` - Deny +type PatchedRoutingPolicyRuleRequestAction string + +// 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 { + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name *string `json:"name,omitempty"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Parameters *interface{} `json:"parameters,omitempty"` + Shared *bool `json:"shared,omitempty"` + Slug *string `json:"slug,omitempty"` + User *int `json:"user"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedSecretRequest Adds support for custom fields and tags. +type PatchedSecretRequest struct { + AssignedObjectId *int `json:"assigned_object_id,omitempty"` + AssignedObjectType *string `json:"assigned_object_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Plaintext *string `json:"plaintext,omitempty"` + + // Role Adds support for custom fields and tags. + Role *SecretRoleRequest `json:"role,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedSecretRoleRequest Adds support for custom fields and tags. +type PatchedSecretRoleRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,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"` +} + +// 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"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,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"` +} + +// PatchedWebhookRequestHttpMethod * `GET` - GET +// * `POST` - POST +// * `PUT` - PUT +// * `PATCH` - PATCH +// * `DELETE` - DELETE +type PatchedWebhookRequestHttpMethod string + // PatchedWritableBGPSessionRequest Adds support for custom fields and tags. type PatchedWritableBGPSessionRequest struct { Comments *string `json:"comments,omitempty"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - Device *int `json:"device"` + Device *DeviceRequest `json:"device"` ExportPolicies *[]int `json:"export_policies,omitempty"` ImportPolicies *[]int `json:"import_policies,omitempty"` - LocalAddress *int `json:"local_address,omitempty"` - LocalAs *int `json:"local_as,omitempty"` - Name *string `json:"name"` - PeerGroup *int `json:"peer_group"` - PrefixListIn *int `json:"prefix_list_in"` - PrefixListOut *int `json:"prefix_list_out"` - RemoteAddress *int `json:"remote_address,omitempty"` - RemoteAs *int `json:"remote_as,omitempty"` - Site *int `json:"site"` + + // LocalAddress Adds support for custom fields and tags. + LocalAddress *IPAddressRequest `json:"local_address,omitempty"` + + // LocalAs Adds support for custom fields and tags. + LocalAs *ASNRequest `json:"local_as,omitempty"` + Name *string `json:"name"` + PeerGroup *BGPPeerGroupRequest `json:"peer_group"` + PrefixListIn *PrefixListRequest `json:"prefix_list_in"` + PrefixListOut *PrefixListRequest `json:"prefix_list_out"` + + // RemoteAddress Adds support for custom fields and tags. + RemoteAddress *IPAddressRequest `json:"remote_address,omitempty"` + + // RemoteAs Adds support for custom fields and tags. + RemoteAs *ASNRequest `json:"remote_as,omitempty"` + Site *SiteRequest `json:"site"` // Status * `offline` - Offline // * `active` - Active @@ -801,7 +2972,7 @@ type PatchedWritableBGPSessionRequest struct { // * `failed` - Failed Status *PatchedWritableBGPSessionRequestStatus `json:"status,omitempty"` Tags *[]NestedTagRequest `json:"tags,omitempty"` - Tenant *int `json:"tenant"` + Tenant *TenantRequest `json:"tenant"` } // PatchedWritableBGPSessionRequestStatus * `offline` - Offline @@ -810,22 +2981,6 @@ type PatchedWritableBGPSessionRequest struct { // * `failed` - Failed type PatchedWritableBGPSessionRequestStatus string -// PatchedWritableCommunityListRuleRequest Adds support for custom fields and tags. -type PatchedWritableCommunityListRuleRequest struct { - // Action * `permit` - Permit - // * `deny` - Deny - Action *PatchedWritableCommunityListRuleRequestAction `json:"action,omitempty"` - Comments *string `json:"comments,omitempty"` - Community *int `json:"community,omitempty"` - CommunityList *int `json:"community_list,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` -} - -// PatchedWritableCommunityListRuleRequestAction * `permit` - Permit -// * `deny` - Deny -type PatchedWritableCommunityListRuleRequestAction string - // PatchedWritableCommunityRequest Adds support for custom fields and tags. type PatchedWritableCommunityRequest struct { Comments *string `json:"comments,omitempty"` @@ -839,7 +2994,7 @@ type PatchedWritableCommunityRequest struct { // * `deprecated` - Deprecated Status *PatchedWritableCommunityRequestStatus `json:"status,omitempty"` Tags *[]NestedTagRequest `json:"tags,omitempty"` - Tenant *int `json:"tenant"` + Tenant *TenantRequest `json:"tenant"` Value *string `json:"value,omitempty"` } @@ -848,83 +3003,294 @@ type PatchedWritableCommunityRequest struct { // * `deprecated` - Deprecated type PatchedWritableCommunityRequestStatus string -// PatchedWritablePrefixListRuleRequest Adds support for custom fields and tags. -type PatchedWritablePrefixListRuleRequest struct { - // Action * `permit` - Permit - // * `deny` - Deny - Action *PatchedWritablePrefixListRuleRequestAction `json:"action,omitempty"` - Comments *string `json:"comments,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Ge *int `json:"ge"` - Index *int `json:"index,omitempty"` - Le *int `json:"le"` - Prefix *int `json:"prefix"` - PrefixCustom *string `json:"prefix_custom"` - PrefixList *int `json:"prefix_list,omitempty"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` -} - -// PatchedWritablePrefixListRuleRequestAction * `permit` - Permit -// * `deny` - Deny -type PatchedWritablePrefixListRuleRequestAction string +// 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 *[][]interface{} `json:"extra_choices,omitempty"` + Name *string `json:"name,omitempty"` -// PatchedWritableRoutingPolicyRuleRequest Adds support for custom fields and tags. -type PatchedWritableRoutingPolicyRuleRequest struct { - // Action * `permit` - Permit - // * `deny` - Deny - Action *PatchedWritableRoutingPolicyRuleRequestAction `json:"action,omitempty"` - Comments *string `json:"comments,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Index *int `json:"index,omitempty"` - MatchCommunity *[]int `json:"match_community,omitempty"` - MatchCustom *interface{} `json:"match_custom"` - MatchIpAddress *[]int `json:"match_ip_address,omitempty"` - MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` - RoutingPolicy *int `json:"routing_policy,omitempty"` - SetActions *interface{} `json:"set_actions"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` -} - -// PatchedWritableRoutingPolicyRuleRequestAction * `permit` - Permit -// * `deny` - Deny -type PatchedWritableRoutingPolicyRuleRequestAction string + // OrderAlphabetically Choices are automatically ordered alphabetically + OrderAlphabetically *bool `json:"order_alphabetically,omitempty"` +} -// PrefixList Adds support for custom fields and tags. -type PrefixList struct { - Comments *string `json:"comments,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 *CustomFieldChoiceSetRequest `json:"choice_set"` + Comments *string `json:"comments,omitempty"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *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"` + ObjectTypes *[]string `json:"object_types,omitempty"` + RelatedObjectType *string `json:"related_object_type"` + + // 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"` + + // UiEditable Specifies whether the custom field value can be edited in the UI + // + // * `yes` - Yes + // * `no` - No + // * `hidden` - Hidden + UiEditable *PatchedWritableCustomFieldRequestUiEditable `json:"ui_editable,omitempty"` + + // UiVisible Specifies whether the custom field is displayed in the UI + // + // * `always` - Always + // * `if-set` - If set + // * `hidden` - Hidden + UiVisible *PatchedWritableCustomFieldRequestUiVisible `json:"ui_visible,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + 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 + +// PatchedWritableCustomFieldRequestUiEditable Specifies whether the custom field value can be edited in the UI +// +// * `yes` - Yes +// * `no` - No +// * `hidden` - Hidden +type PatchedWritableCustomFieldRequestUiEditable string + +// PatchedWritableCustomFieldRequestUiVisible Specifies whether the custom field is displayed in the UI +// +// * `always` - Always +// * `if-set` - If set +// * `hidden` - Hidden +type PatchedWritableCustomFieldRequestUiVisible string + +// PatchedWritableEventRuleRequest Adds support for custom fields and tags. +type PatchedWritableEventRuleRequest struct { + ActionObjectId *int64 `json:"action_object_id"` + ActionObjectType *string `json:"action_object_type,omitempty"` + + // ActionType * `webhook` - Webhook + // * `script` - Script + ActionType *PatchedWritableEventRuleRequestActionType `json:"action_type,omitempty"` + + // Conditions A set of conditions which determine whether the event will be generated. + Conditions *interface{} `json:"conditions"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Description string `json:"description"` - Display *string `json:"display,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name *string `json:"name,omitempty"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` - // Family * `ipv4` - IPv4 - // * `ipv6` - IPv6 - Family PrefixListFamily `json:"family"` - Id *int `json:"id,omitempty"` - Name string `json:"name"` - 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"` } -// PrefixListFamily * `ipv4` - IPv4 -// * `ipv6` - IPv6 -type PrefixListFamily string +// PatchedWritableEventRuleRequestActionType * `webhook` - Webhook +// * `script` - Script +type PatchedWritableEventRuleRequestActionType string -// PrefixListRequest Adds support for custom fields and tags. -type PrefixListRequest struct { +// 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 + +// Platform Adds support for custom fields and tags. +type Platform struct { + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` +} + +// 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"` + 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 fully utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Prefix string `json:"prefix"` + Role *Role `json:"role"` + Site *Site `json:"site"` + Status *struct { + Label *PrefixStatusLabel `json:"label,omitempty"` - // Family * `ipv4` - IPv4 - // * `ipv6` - IPv6 - Family PrefixListRequestFamily `json:"family"` - Name string `json:"name"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` + // Value * `container` - Container + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Value *PrefixStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *Tenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vlan *VLAN `json:"vlan"` + Vrf *VRF `json:"vrf"` } -// PrefixListRequestFamily * `ipv4` - IPv4 -// * `ipv6` - IPv6 -type PrefixListRequestFamily string +// 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 + +// PrefixList Adds support for custom fields and tags. +type PrefixList struct { + Description string `json:"description"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// PrefixListRequest Adds support for custom fields and tags. +type PrefixListRequest struct { + Description string `json:"description"` + Name string `json:"name"` +} // PrefixListRule Adds support for custom fields and tags. type PrefixListRule struct { @@ -934,20 +3300,19 @@ type PrefixListRule 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"` Ge *int `json:"ge"` Id *int `json:"id,omitempty"` Index int `json:"index"` LastUpdated *time.Time `json:"last_updated"` Le *int `json:"le"` - Prefix *NestedPrefix `json:"prefix"` + Prefix *Prefix `json:"prefix"` PrefixCustom *string `json:"prefix_custom"` - // PrefixList 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. - PrefixList NestedPrefixList `json:"prefix_list"` - Tags *[]NestedTag `json:"tags,omitempty"` + // PrefixList Adds support for custom fields and tags. + PrefixList PrefixList `json:"prefix_list"` + Tags *[]NestedTag `json:"tags,omitempty"` } // PrefixListRuleAction * `permit` - Permit @@ -961,31 +3326,134 @@ type PrefixListRuleRequest struct { Action PrefixListRuleRequestAction `json:"action"` Comments *string `json:"comments,omitempty"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` Ge *int `json:"ge"` Index int `json:"index"` Le *int `json:"le"` - Prefix *NestedPrefixRequest `json:"prefix"` + Prefix *PrefixRequest `json:"prefix"` PrefixCustom *string `json:"prefix_custom"` - // PrefixList 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. - PrefixList NestedPrefixListRequest `json:"prefix_list"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` + // PrefixList Adds support for custom fields and tags. + PrefixList PrefixListRequest `json:"prefix_list"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` } // PrefixListRuleRequestAction * `permit` - Permit // * `deny` - Deny type PrefixListRuleRequestAction 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 fully utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Prefix string `json:"prefix"` + Role *RoleRequest `json:"role"` + Site *SiteRequest `json:"site"` + + // Status * `container` - Container + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *PrefixRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *TenantRequest `json:"tenant"` + Vlan *VLANRequest `json:"vlan"` + Vrf *VRFRequest `json:"vrf"` +} + +// PrefixRequestStatus * `container` - Container +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type PrefixRequestStatus string + +// RIR Adds support for custom fields and tags. +type RIR struct { + AggregateCount *int64 `json:"aggregate_count,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// RIRRequest Adds support for custom fields and tags. +type RIRRequest struct { + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` +} + +// RSAKeyPair defines model for RSAKeyPair. +type RSAKeyPair struct { + PrivateKey string `json:"private_key"` + PublicKey string `json:"public_key"` +} + +// Rack Adds support for custom fields and tags. +type Rack struct { + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// 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"` +} + +// Role Adds support for custom fields and tags. +type Role struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` + VlanCount *int64 `json:"vlan_count,omitempty"` +} + +// RoleRequest Adds support for custom fields and tags. +type RoleRequest struct { + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` +} + // RoutingPolicy Adds support for custom fields and tags. type RoutingPolicy struct { Comments *string `json:"comments,omitempty"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description string `json:"description"` + Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` Name string `json:"name"` Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } // RoutingPolicyRequest Adds support for custom fields and tags. @@ -1001,24 +3469,23 @@ type RoutingPolicyRequest struct { type RoutingPolicyRule struct { // Action * `permit` - Permit // * `deny` - Deny - Action RoutingPolicyRuleAction `json:"action"` - Comments *string `json:"comments,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Display *string `json:"display,omitempty"` - Id *int `json:"id,omitempty"` - Index int `json:"index"` - MatchCommunity *[]int `json:"match_community,omitempty"` - MatchCustom *interface{} `json:"match_custom"` - MatchIpAddress *[]int `json:"match_ip_address,omitempty"` - MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` - - // RoutingPolicy 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. - RoutingPolicy NestedRoutingPolicy `json:"routing_policy"` - SetActions *interface{} `json:"set_actions"` - Tags *[]NestedTag `json:"tags,omitempty"` + Action RoutingPolicyRuleAction `json:"action"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Index int `json:"index"` + MatchCommunity *[]Community `json:"match_community,omitempty"` + MatchCommunityList *[]CommunityList `json:"match_community_list,omitempty"` + MatchCustom *interface{} `json:"match_custom"` + MatchIpAddress *[]PrefixList `json:"match_ip_address,omitempty"` + MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` + + // RoutingPolicy Adds support for custom fields and tags. + RoutingPolicy RoutingPolicy `json:"routing_policy"` + SetActions *interface{} `json:"set_actions"` + Tags *[]NestedTag `json:"tags,omitempty"` } // RoutingPolicyRuleAction * `permit` - Permit @@ -1029,45 +3496,445 @@ type RoutingPolicyRuleAction string type RoutingPolicyRuleRequest struct { // Action * `permit` - Permit // * `deny` - Deny - Action RoutingPolicyRuleRequestAction `json:"action"` - Comments *string `json:"comments,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Index int `json:"index"` - MatchCommunity *[]int `json:"match_community,omitempty"` - MatchCustom *interface{} `json:"match_custom"` - MatchIpAddress *[]int `json:"match_ip_address,omitempty"` - MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` - - // RoutingPolicy 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. - RoutingPolicy NestedRoutingPolicyRequest `json:"routing_policy"` - SetActions *interface{} `json:"set_actions"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` + Action RoutingPolicyRuleRequestAction `json:"action"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Index int `json:"index"` + MatchCommunity *[]int `json:"match_community,omitempty"` + MatchCommunityList *[]int `json:"match_community_list,omitempty"` + MatchCustom *interface{} `json:"match_custom"` + MatchIpAddress *[]int `json:"match_ip_address,omitempty"` + MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` + + // RoutingPolicy Adds support for custom fields and tags. + RoutingPolicy RoutingPolicyRequest `json:"routing_policy"` + SetActions *interface{} `json:"set_actions"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` } // RoutingPolicyRuleRequestAction * `permit` - Permit // * `deny` - Deny type RoutingPolicyRuleRequestAction string +// 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 { + 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"` + ObjectTypes []string `json:"object_types"` + Parameters 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 { + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Parameters interface{} `json:"parameters"` + Shared *bool `json:"shared,omitempty"` + Slug string `json:"slug"` + User *int `json:"user"` + Weight *int `json:"weight,omitempty"` +} + +// Script Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 Script struct { + Description *string `json:"description"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + IsExecutable *bool `json:"is_executable,omitempty"` + Module *int `json:"module,omitempty"` + Name *string `json:"name,omitempty"` + Result *Job `json:"result,omitempty"` + Url *string `json:"url,omitempty"` + Vars *interface{} `json:"vars"` +} + +// Secret Adds support for custom fields and tags. +type Secret struct { + AssignedObject *interface{} `json:"assigned_object,omitempty"` + AssignedObjectId int `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"` + Hash *string `json:"hash,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name *string `json:"name,omitempty"` + Plaintext string `json:"plaintext"` + + // Role Adds support for custom fields and tags. + Role SecretRole `json:"role"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// SecretRequest Adds support for custom fields and tags. +type SecretRequest struct { + AssignedObjectId int `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"` + Name *string `json:"name,omitempty"` + Plaintext string `json:"plaintext"` + + // Role Adds support for custom fields and tags. + Role SecretRoleRequest `json:"role"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// SecretRole Adds support for custom fields and tags. +type SecretRole 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"` + SecretCount *int `json:"secret_count,omitempty"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// SecretRoleRequest Adds support for custom fields and tags. +type SecretRoleRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` +} + +// SessionKey defines model for SessionKey. +type SessionKey struct { + Created *time.Time `json:"created,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Pk *int `json:"pk,omitempty"` + SessionKey *string `json:"session_key,omitempty"` + Url *string `json:"url,omitempty"` + + // Userkey Adds support for custom fields and tags. + Userkey UserKey `json:"userkey"` +} + +// SessionKeyCreateRequest defines model for SessionKeyCreateRequest. +type SessionKeyCreateRequest struct { + PreserveKey *bool `json:"preserve_key,omitempty"` + PrivateKey *string `json:"private_key,omitempty"` +} + +// Site Adds support for custom fields and tags. +type Site struct { + Description *string `json:"description,omitempty"` + 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"` +} + +// 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"` +} + +// SiteRequest Adds support for custom fields and tags. +type SiteRequest struct { + Description *string `json:"description,omitempty"` + + // Name Full name of the site + Name string `json:"name"` + Slug string `json:"slug"` +} + +// 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 *int64 `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 { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,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"` +} + +// TenantRequest Adds support for custom fields and tags. +type TenantRequest struct { + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` +} + +// 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 { + 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"` +} + +// UserKey Adds support for custom fields and tags. +type UserKey struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Url *string `json:"url,omitempty"` +} + +// 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 { + // 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 { + Description *string `json:"description,omitempty"` + 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"` +} + +// VLANRequest Adds support for custom fields and tags. +type VLANRequest struct { + Description *string `json:"description,omitempty"` + Name string `json:"name"` + + // Vid Numeric VLAN ID (1-4094) + Vid int `json:"vid"` +} + +// VRF Adds support for custom fields and tags. +type VRF struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Url *string `json:"url,omitempty"` +} + +// VRFRequest Adds support for custom fields and tags. +type VRFRequest struct { + Description *string `json:"description,omitempty"` + Name string `json:"name"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` +} + +// VirtualChassis Adds support for custom fields and tags. +type VirtualChassis struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Master *NestedDevice `json:"master"` + MemberCount *int `json:"member_count,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// 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"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,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"` + 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"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,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"` +} + +// WebhookRequestHttpMethod * `GET` - GET +// * `POST` - POST +// * `PUT` - PUT +// * `PATCH` - PATCH +// * `DELETE` - DELETE +type WebhookRequestHttpMethod string + // WritableBGPSessionRequest Adds support for custom fields and tags. type WritableBGPSessionRequest struct { Comments *string `json:"comments,omitempty"` CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - Device *int `json:"device"` + Device *DeviceRequest `json:"device"` ExportPolicies *[]int `json:"export_policies,omitempty"` ImportPolicies *[]int `json:"import_policies,omitempty"` - LocalAddress int `json:"local_address"` - LocalAs int `json:"local_as"` - Name *string `json:"name"` - PeerGroup *int `json:"peer_group"` - PrefixListIn *int `json:"prefix_list_in"` - PrefixListOut *int `json:"prefix_list_out"` - RemoteAddress int `json:"remote_address"` - RemoteAs int `json:"remote_as"` - Site *int `json:"site"` + + // LocalAddress Adds support for custom fields and tags. + LocalAddress IPAddressRequest `json:"local_address"` + + // LocalAs Adds support for custom fields and tags. + LocalAs ASNRequest `json:"local_as"` + Name *string `json:"name"` + PeerGroup *BGPPeerGroupRequest `json:"peer_group"` + PrefixListIn *PrefixListRequest `json:"prefix_list_in"` + PrefixListOut *PrefixListRequest `json:"prefix_list_out"` + + // RemoteAddress Adds support for custom fields and tags. + RemoteAddress IPAddressRequest `json:"remote_address"` + + // RemoteAs Adds support for custom fields and tags. + RemoteAs ASNRequest `json:"remote_as"` + Site *SiteRequest `json:"site"` // Status * `offline` - Offline // * `active` - Active @@ -1075,7 +3942,7 @@ type WritableBGPSessionRequest struct { // * `failed` - Failed Status *WritableBGPSessionRequestStatus `json:"status,omitempty"` Tags *[]NestedTagRequest `json:"tags,omitempty"` - Tenant *int `json:"tenant"` + Tenant *TenantRequest `json:"tenant"` } // WritableBGPSessionRequestStatus * `offline` - Offline @@ -1084,22 +3951,6 @@ type WritableBGPSessionRequest struct { // * `failed` - Failed type WritableBGPSessionRequestStatus string -// WritableCommunityListRuleRequest Adds support for custom fields and tags. -type WritableCommunityListRuleRequest struct { - // Action * `permit` - Permit - // * `deny` - Deny - Action WritableCommunityListRuleRequestAction `json:"action"` - Comments *string `json:"comments,omitempty"` - Community int `json:"community"` - CommunityList int `json:"community_list"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` -} - -// WritableCommunityListRuleRequestAction * `permit` - Permit -// * `deny` - Deny -type WritableCommunityListRuleRequestAction string - // WritableCommunityRequest Adds support for custom fields and tags. type WritableCommunityRequest struct { Comments *string `json:"comments,omitempty"` @@ -1113,7 +3964,7 @@ type WritableCommunityRequest struct { // * `deprecated` - Deprecated Status *WritableCommunityRequestStatus `json:"status,omitempty"` Tags *[]NestedTagRequest `json:"tags,omitempty"` - Tenant *int `json:"tenant"` + Tenant *TenantRequest `json:"tenant"` Value string `json:"value"` } @@ -1122,56 +3973,315 @@ type WritableCommunityRequest struct { // * `deprecated` - Deprecated type WritableCommunityRequestStatus string -// WritablePrefixListRuleRequest Adds support for custom fields and tags. -type WritablePrefixListRuleRequest struct { - // Action * `permit` - Permit - // * `deny` - Deny - Action WritablePrefixListRuleRequestAction `json:"action"` - Comments *string `json:"comments,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Ge *int `json:"ge"` - Index int `json:"index"` - Le *int `json:"le"` - Prefix *int `json:"prefix"` - PrefixCustom *string `json:"prefix_custom"` - PrefixList int `json:"prefix_list"` - Tags *[]NestedTagRequest `json:"tags,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 [][]interface{} `json:"extra_choices"` + Name string `json:"name"` + + // OrderAlphabetically Choices are automatically ordered alphabetically + OrderAlphabetically *bool `json:"order_alphabetically,omitempty"` } -// WritablePrefixListRuleRequestAction * `permit` - Permit -// * `deny` - Deny -type WritablePrefixListRuleRequestAction string +// 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 *CustomFieldChoiceSetRequest `json:"choice_set"` + Comments *string `json:"comments,omitempty"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *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"` + ObjectTypes []string `json:"object_types"` + RelatedObjectType *string `json:"related_object_type"` + + // 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"` + + // UiEditable Specifies whether the custom field value can be edited in the UI + // + // * `yes` - Yes + // * `no` - No + // * `hidden` - Hidden + UiEditable *WritableCustomFieldRequestUiEditable `json:"ui_editable,omitempty"` + + // UiVisible Specifies whether the custom field is displayed in the UI + // + // * `always` - Always + // * `if-set` - If set + // * `hidden` - Hidden + UiVisible *WritableCustomFieldRequestUiVisible `json:"ui_visible,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + 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 -// WritableRoutingPolicyRuleRequest Adds support for custom fields and tags. -type WritableRoutingPolicyRuleRequest struct { - // Action * `permit` - Permit - // * `deny` - Deny - Action WritableRoutingPolicyRuleRequestAction `json:"action"` - Comments *string `json:"comments,omitempty"` - CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Index int `json:"index"` - MatchCommunity *[]int `json:"match_community,omitempty"` - MatchCustom *interface{} `json:"match_custom"` - MatchIpAddress *[]int `json:"match_ip_address,omitempty"` - MatchIpv6Address *[]int `json:"match_ipv6_address,omitempty"` - RoutingPolicy int `json:"routing_policy"` - SetActions *interface{} `json:"set_actions"` - Tags *[]NestedTagRequest `json:"tags,omitempty"` -} - -// WritableRoutingPolicyRuleRequestAction * `permit` - Permit -// * `deny` - Deny -type WritableRoutingPolicyRuleRequestAction 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 + +// WritableCustomFieldRequestUiEditable Specifies whether the custom field value can be edited in the UI +// +// * `yes` - Yes +// * `no` - No +// * `hidden` - Hidden +type WritableCustomFieldRequestUiEditable string -// PluginsBgpBgppeergroupBulkDestroyJSONBody defines parameters for PluginsBgpBgppeergroupBulkDestroy. -type PluginsBgpBgppeergroupBulkDestroyJSONBody = []BGPPeerGroupRequest +// WritableCustomFieldRequestUiVisible Specifies whether the custom field is displayed in the UI +// +// * `always` - Always +// * `if-set` - If set +// * `hidden` - Hidden +type WritableCustomFieldRequestUiVisible string + +// WritableEventRuleRequest Adds support for custom fields and tags. +type WritableEventRuleRequest struct { + ActionObjectId *int64 `json:"action_object_id"` + ActionObjectType string `json:"action_object_type"` + + // ActionType * `webhook` - Webhook + // * `script` - Script + ActionType *WritableEventRuleRequestActionType `json:"action_type,omitempty"` + + // Conditions A set of conditions which determine whether the event will be generated. + Conditions *interface{} `json:"conditions"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` -// PluginsBgpBgppeergroupBulkDestroyMultipartBody defines parameters for PluginsBgpBgppeergroupBulkDestroy. -type PluginsBgpBgppeergroupBulkDestroyMultipartBody = []BGPPeerGroupRequest + // TypeCreate Triggers when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` -// PluginsBgpBgppeergroupListParams defines parameters for PluginsBgpBgppeergroupList. -type PluginsBgpBgppeergroupListParams struct { + // 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"` +} + +// WritableEventRuleRequestActionType * `webhook` - Webhook +// * `script` - Script +type WritableEventRuleRequestActionType string + +// 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 + +// 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 { + AutoSyncEnabled *bool `form:"auto_sync_enabled,omitempty" json:"auto_sync_enabled,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 + 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"` @@ -1180,34 +4290,84 @@ type PluginsBgpBgppeergroupListParams struct { 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"` + + // 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"` + + // DeviceRole Role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Role + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Role + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__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"` + 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"` @@ -1227,38 +4387,135 @@ type PluginsBgpBgppeergroupListParams struct { // 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"` + // 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"` + 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"` } -// PluginsBgpBgppeergroupBulkPartialUpdateJSONBody defines parameters for PluginsBgpBgppeergroupBulkPartialUpdate. -type PluginsBgpBgppeergroupBulkPartialUpdateJSONBody = []BGPPeerGroupRequest - -// PluginsBgpBgppeergroupBulkPartialUpdateMultipartBody defines parameters for PluginsBgpBgppeergroupBulkPartialUpdate. -type PluginsBgpBgppeergroupBulkPartialUpdateMultipartBody = []BGPPeerGroupRequest +// ExtrasConfigContextsBulkPartialUpdateJSONBody defines parameters for ExtrasConfigContextsBulkPartialUpdate. +type ExtrasConfigContextsBulkPartialUpdateJSONBody = []ConfigContextRequest -// PluginsBgpBgppeergroupBulkUpdateJSONBody defines parameters for PluginsBgpBgppeergroupBulkUpdate. -type PluginsBgpBgppeergroupBulkUpdateJSONBody = []BGPPeerGroupRequest +// ExtrasConfigContextsBulkPartialUpdateMultipartBody defines parameters for ExtrasConfigContextsBulkPartialUpdate. +type ExtrasConfigContextsBulkPartialUpdateMultipartBody = []ConfigContextRequest -// PluginsBgpBgppeergroupBulkUpdateMultipartBody defines parameters for PluginsBgpBgppeergroupBulkUpdate. -type PluginsBgpBgppeergroupBulkUpdateMultipartBody = []BGPPeerGroupRequest +// ExtrasConfigContextsBulkUpdateJSONBody defines parameters for ExtrasConfigContextsBulkUpdate. +type ExtrasConfigContextsBulkUpdateJSONBody = []ConfigContextRequest -// PluginsBgpBgpsessionBulkDestroyJSONBody defines parameters for PluginsBgpBgpsessionBulkDestroy. -type PluginsBgpBgpsessionBulkDestroyJSONBody = []BGPSessionRequest +// ExtrasConfigContextsBulkUpdateMultipartBody defines parameters for ExtrasConfigContextsBulkUpdate. +type ExtrasConfigContextsBulkUpdateMultipartBody = []ConfigContextRequest -// PluginsBgpBgpsessionBulkDestroyMultipartBody defines parameters for PluginsBgpBgpsessionBulkDestroy. -type PluginsBgpBgpsessionBulkDestroyMultipartBody = []BGPSessionRequest +// ExtrasConfigTemplatesBulkDestroyJSONBody defines parameters for ExtrasConfigTemplatesBulkDestroy. +type ExtrasConfigTemplatesBulkDestroyJSONBody = []ConfigTemplateRequest -// PluginsBgpBgpsessionListParams defines parameters for PluginsBgpBgpsessionList. -type PluginsBgpBgpsessionListParams struct { - // ByLocalAddress Local Address - ByLocalAddress *string `form:"by_local_address,omitempty" json:"by_local_address,omitempty"` +// ExtrasConfigTemplatesBulkDestroyMultipartBody defines parameters for ExtrasConfigTemplatesBulkDestroy. +type ExtrasConfigTemplatesBulkDestroyMultipartBody = []ConfigTemplateRequest - // ByRemoteAddress Remote Address - ByRemoteAddress *string `form:"by_remote_address,omitempty" json:"by_remote_address,omitempty"` +// ExtrasConfigTemplatesListParams defines parameters for ExtrasConfigTemplatesList. +type ExtrasConfigTemplatesListParams struct { + AutoSyncEnabled *bool `form:"auto_sync_enabled,omitempty" json:"auto_sync_enabled,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"` @@ -1267,31 +4524,36 @@ type PluginsBgpBgpsessionListParams struct { 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"` - ExportPolicies *[]int `form:"export_policies,omitempty" json:"export_policies,omitempty"` - ExportPoliciesN *[]int `form:"export_policies__n,omitempty" json:"export_policies__n,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"` @@ -1299,8 +4561,6 @@ type PluginsBgpBgpsessionListParams struct { 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"` - ImportPolicies *[]int `form:"import_policies,omitempty" json:"import_policies,omitempty"` - ImportPoliciesN *[]int `form:"import_policies__n,omitempty" json:"import_policies__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"` @@ -1310,31 +4570,7 @@ type PluginsBgpBgpsessionListParams struct { 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"` - - // LocalAddress Local Address - LocalAddress *[]string `form:"local_address,omitempty" json:"local_address,omitempty"` - - // LocalAddressN Local Address - LocalAddressN *[]string `form:"local_address__n,omitempty" json:"local_address__n,omitempty"` - - // LocalAddressId Local Address (ID) - LocalAddressId *[]int `form:"local_address_id,omitempty" json:"local_address_id,omitempty"` - - // LocalAddressIdN Local Address (ID) - LocalAddressIdN *[]int `form:"local_address_id__n,omitempty" json:"local_address_id__n,omitempty"` - - // LocalAs Local AS (Number) - LocalAs *[]int64 `form:"local_as,omitempty" json:"local_as,omitempty"` - - // LocalAsN Local AS (Number) - LocalAsN *[]int64 `form:"local_as__n,omitempty" json:"local_as__n,omitempty"` - - // LocalAsId Local AS (ID) - LocalAsId *[]int `form:"local_as_id,omitempty" json:"local_as_id,omitempty"` - - // LocalAsIdN Local AS (ID) - LocalAsIdN *[]int `form:"local_as_id__n,omitempty" json:"local_as_id__n,omitempty"` + 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"` @@ -1352,143 +4588,148 @@ type PluginsBgpBgpsessionListParams struct { 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"` - PeerGroup *[]int `form:"peer_group,omitempty" json:"peer_group,omitempty"` - PeerGroupN *[]int `form:"peer_group__n,omitempty" json:"peer_group__n,omitempty"` + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` // Q Search - Q *string `form:"q,omitempty" json:"q,omitempty"` - - // RemoteAddress Remote Address - RemoteAddress *[]string `form:"remote_address,omitempty" json:"remote_address,omitempty"` - - // RemoteAddressN Remote Address - RemoteAddressN *[]string `form:"remote_address__n,omitempty" json:"remote_address__n,omitempty"` - - // RemoteAddressId Remote Address (ID) - RemoteAddressId *[]int `form:"remote_address_id,omitempty" json:"remote_address_id,omitempty"` - - // RemoteAddressIdN Remote Address (ID) - RemoteAddressIdN *[]int `form:"remote_address_id__n,omitempty" json:"remote_address_id__n,omitempty"` - - // RemoteAs Remote AS (Number) - RemoteAs *[]int64 `form:"remote_as,omitempty" json:"remote_as,omitempty"` - - // RemoteAsN Remote AS (Number) - RemoteAsN *[]int64 `form:"remote_as__n,omitempty" json:"remote_as__n,omitempty"` - - // RemoteAsId Remote AS (ID) - RemoteAsId *[]int `form:"remote_as_id,omitempty" json:"remote_as_id,omitempty"` - - // RemoteAsIdN Remote AS (ID) - RemoteAsIdN *[]int `form:"remote_as_id__n,omitempty" json:"remote_as_id__n,omitempty"` - - // Site DSite (name) - Site *[]string `form:"site,omitempty" json:"site,omitempty"` - - // SiteN DSite (name) - 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"` - Status *string `form:"status,omitempty" json:"status,omitempty"` - StatusN *string `form:"status__n,omitempty" json:"status__n,omitempty"` + 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 *int `form:"tenant,omitempty" json:"tenant,omitempty"` - TenantN *int `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` } -// PluginsBgpBgpsessionBulkPartialUpdateJSONBody defines parameters for PluginsBgpBgpsessionBulkPartialUpdate. -type PluginsBgpBgpsessionBulkPartialUpdateJSONBody = []BGPSessionRequest - -// PluginsBgpBgpsessionBulkPartialUpdateMultipartBody defines parameters for PluginsBgpBgpsessionBulkPartialUpdate. -type PluginsBgpBgpsessionBulkPartialUpdateMultipartBody = []BGPSessionRequest - -// PluginsBgpBgpsessionBulkUpdateJSONBody defines parameters for PluginsBgpBgpsessionBulkUpdate. -type PluginsBgpBgpsessionBulkUpdateJSONBody = []BGPSessionRequest - -// PluginsBgpBgpsessionBulkUpdateMultipartBody defines parameters for PluginsBgpBgpsessionBulkUpdate. -type PluginsBgpBgpsessionBulkUpdateMultipartBody = []BGPSessionRequest - -// PluginsBgpCommunityListRuleBulkDestroyJSONBody defines parameters for PluginsBgpCommunityListRuleBulkDestroy. -type PluginsBgpCommunityListRuleBulkDestroyJSONBody = []CommunityListRuleRequest - -// PluginsBgpCommunityListRuleBulkDestroyMultipartBody defines parameters for PluginsBgpCommunityListRuleBulkDestroy. -type PluginsBgpCommunityListRuleBulkDestroyMultipartBody = []CommunityListRuleRequest - -// PluginsBgpCommunityListRuleListParams defines parameters for PluginsBgpCommunityListRuleList. -type PluginsBgpCommunityListRuleListParams struct { - Action *string `form:"action,omitempty" json:"action,omitempty"` - ActionN *string `form:"action__n,omitempty" json:"action__n,omitempty"` - CommunityList *int `form:"community_list,omitempty" json:"community_list,omitempty"` - CommunityListN *int `form:"community_list__n,omitempty" json:"community_list__n,omitempty"` - CommunityListId *int `form:"community_list_id,omitempty" json:"community_list_id,omitempty"` - CommunityListIdN *int `form:"community_list_id__n,omitempty" json:"community_list_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"` +// 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 + +// 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) + // + // * `IATA` - IATA (Airport codes) + // * `ISO_3166` - ISO 3166 (Country codes) + // * `UN_LOCODE` - UN/LOCODE (Location codes) + BaseChoices *ExtrasCustomFieldChoiceSetsListParamsBaseChoices `form:"base_choices,omitempty" json:"base_choices,omitempty"` + + // BaseChoicesN Base set of predefined choices (optional) + // + // * `IATA` - IATA (Airport codes) + // * `ISO_3166` - ISO 3166 (Country codes) + // * `UN_LOCODE` - UN/LOCODE (Location codes) + BaseChoicesN *ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN `form:"base_choices__n,omitempty" json:"base_choices__n,omitempty"` + Choice *[]string `form:"choice,omitempty" json:"choice,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"` + 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"` - 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"` } -// PluginsBgpCommunityListRuleBulkPartialUpdateJSONBody defines parameters for PluginsBgpCommunityListRuleBulkPartialUpdate. -type PluginsBgpCommunityListRuleBulkPartialUpdateJSONBody = []CommunityListRuleRequest +// ExtrasCustomFieldChoiceSetsListParamsBaseChoices defines parameters for ExtrasCustomFieldChoiceSetsList. +type ExtrasCustomFieldChoiceSetsListParamsBaseChoices string -// PluginsBgpCommunityListRuleBulkPartialUpdateMultipartBody defines parameters for PluginsBgpCommunityListRuleBulkPartialUpdate. -type PluginsBgpCommunityListRuleBulkPartialUpdateMultipartBody = []CommunityListRuleRequest +// ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN defines parameters for ExtrasCustomFieldChoiceSetsList. +type ExtrasCustomFieldChoiceSetsListParamsBaseChoicesN string -// PluginsBgpCommunityListRuleBulkUpdateJSONBody defines parameters for PluginsBgpCommunityListRuleBulkUpdate. -type PluginsBgpCommunityListRuleBulkUpdateJSONBody = []CommunityListRuleRequest +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldChoiceSetsBulkPartialUpdate. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONBody = []CustomFieldChoiceSetRequest -// PluginsBgpCommunityListRuleBulkUpdateMultipartBody defines parameters for PluginsBgpCommunityListRuleBulkUpdate. -type PluginsBgpCommunityListRuleBulkUpdateMultipartBody = []CommunityListRuleRequest +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartBody defines parameters for ExtrasCustomFieldChoiceSetsBulkPartialUpdate. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartBody = []CustomFieldChoiceSetRequest -// PluginsBgpCommunityListBulkDestroyJSONBody defines parameters for PluginsBgpCommunityListBulkDestroy. -type PluginsBgpCommunityListBulkDestroyJSONBody = []CommunityListRequest +// ExtrasCustomFieldChoiceSetsBulkUpdateJSONBody defines parameters for ExtrasCustomFieldChoiceSetsBulkUpdate. +type ExtrasCustomFieldChoiceSetsBulkUpdateJSONBody = []CustomFieldChoiceSetRequest -// PluginsBgpCommunityListBulkDestroyMultipartBody defines parameters for PluginsBgpCommunityListBulkDestroy. -type PluginsBgpCommunityListBulkDestroyMultipartBody = []CommunityListRequest +// ExtrasCustomFieldChoiceSetsBulkUpdateMultipartBody defines parameters for ExtrasCustomFieldChoiceSetsBulkUpdate. +type ExtrasCustomFieldChoiceSetsBulkUpdateMultipartBody = []CustomFieldChoiceSetRequest -// PluginsBgpCommunityListListParams defines parameters for PluginsBgpCommunityListList. -type PluginsBgpCommunityListListParams struct { +// 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"` 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"` @@ -1508,20 +4749,421 @@ type PluginsBgpCommunityListListParams struct { 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"` + + // FilterLogic Loose matches any instance of a given string; exact matches the entire field. + // + // * `disabled` - Disabled + // * `loose` - Loose + // * `exact` - Exact + FilterLogic *ExtrasCustomFieldsListParamsFilterLogic `form:"filter_logic,omitempty" json:"filter_logic,omitempty"` + + // FilterLogicN Loose matches any instance of a given string; exact matches the entire field. + // + // * `disabled` - Disabled + // * `loose` - Loose + // * `exact` - Exact + FilterLogicN *ExtrasCustomFieldsListParamsFilterLogicN `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"` + 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"` + 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"` + ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeIc *string `form:"object_type__ic,omitempty" json:"object_type__ic,omitempty"` + ObjectTypeIe *string `form:"object_type__ie,omitempty" json:"object_type__ie,omitempty"` + ObjectTypeIew *string `form:"object_type__iew,omitempty" json:"object_type__iew,omitempty"` + ObjectTypeIsw *string `form:"object_type__isw,omitempty" json:"object_type__isw,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeNic *string `form:"object_type__nic,omitempty" json:"object_type__nic,omitempty"` + ObjectTypeNie *string `form:"object_type__nie,omitempty" json:"object_type__nie,omitempty"` + ObjectTypeNiew *string `form:"object_type__niew,omitempty" json:"object_type__niew,omitempty"` + ObjectTypeNisw *string `form:"object_type__nisw,omitempty" json:"object_type__nisw,omitempty"` + ObjectTypeId *[]int `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdN *[]int `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"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RelatedObjectType *string `form:"related_object_type,omitempty" json:"related_object_type,omitempty"` + RelatedObjectTypeN *string `form:"related_object_type__n,omitempty" json:"related_object_type__n,omitempty"` + RelatedObjectTypeId *[]int `form:"related_object_type_id,omitempty" json:"related_object_type_id,omitempty"` + RelatedObjectTypeIdN *[]int `form:"related_object_type_id__n,omitempty" json:"related_object_type_id__n,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"` + + // UiEditable Specifies whether the custom field value can be edited in the UI + // + // * `yes` - Yes + // * `no` - No + // * `hidden` - Hidden + UiEditable *ExtrasCustomFieldsListParamsUiEditable `form:"ui_editable,omitempty" json:"ui_editable,omitempty"` + + // UiEditableN Specifies whether the custom field value can be edited in the UI + // + // * `yes` - Yes + // * `no` - No + // * `hidden` - Hidden + UiEditableN *ExtrasCustomFieldsListParamsUiEditableN `form:"ui_editable__n,omitempty" json:"ui_editable__n,omitempty"` + + // UiVisible Specifies whether the custom field is displayed in the UI + // + // * `always` - Always + // * `if-set` - If set + // * `hidden` - Hidden + UiVisible *ExtrasCustomFieldsListParamsUiVisible `form:"ui_visible,omitempty" json:"ui_visible,omitempty"` + + // UiVisibleN Specifies whether the custom field is displayed in the UI + // + // * `always` - Always + // * `if-set` - If set + // * `hidden` - Hidden + UiVisibleN *ExtrasCustomFieldsListParamsUiVisibleN `form:"ui_visible__n,omitempty" json:"ui_visible__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + ValidationMaximum *[]int32 `form:"validation_maximum,omitempty" json:"validation_maximum,omitempty"` + ValidationMaximumEmpty *bool `form:"validation_maximum__empty,omitempty" json:"validation_maximum__empty,omitempty"` + ValidationMaximumGt *[]int32 `form:"validation_maximum__gt,omitempty" json:"validation_maximum__gt,omitempty"` + ValidationMaximumGte *[]int32 `form:"validation_maximum__gte,omitempty" json:"validation_maximum__gte,omitempty"` + ValidationMaximumLt *[]int32 `form:"validation_maximum__lt,omitempty" json:"validation_maximum__lt,omitempty"` + ValidationMaximumLte *[]int32 `form:"validation_maximum__lte,omitempty" json:"validation_maximum__lte,omitempty"` + ValidationMaximumN *[]int32 `form:"validation_maximum__n,omitempty" json:"validation_maximum__n,omitempty"` + ValidationMinimum *[]int32 `form:"validation_minimum,omitempty" json:"validation_minimum,omitempty"` + ValidationMinimumEmpty *bool `form:"validation_minimum__empty,omitempty" json:"validation_minimum__empty,omitempty"` + ValidationMinimumGt *[]int32 `form:"validation_minimum__gt,omitempty" json:"validation_minimum__gt,omitempty"` + ValidationMinimumGte *[]int32 `form:"validation_minimum__gte,omitempty" json:"validation_minimum__gte,omitempty"` + ValidationMinimumLt *[]int32 `form:"validation_minimum__lt,omitempty" json:"validation_minimum__lt,omitempty"` + ValidationMinimumLte *[]int32 `form:"validation_minimum__lte,omitempty" json:"validation_minimum__lte,omitempty"` + ValidationMinimumN *[]int32 `form:"validation_minimum__n,omitempty" json:"validation_minimum__n,omitempty"` + ValidationRegex *[]string `form:"validation_regex,omitempty" json:"validation_regex,omitempty"` + ValidationRegexEmpty *bool `form:"validation_regex__empty,omitempty" json:"validation_regex__empty,omitempty"` + ValidationRegexIc *[]string `form:"validation_regex__ic,omitempty" json:"validation_regex__ic,omitempty"` + ValidationRegexIe *[]string `form:"validation_regex__ie,omitempty" json:"validation_regex__ie,omitempty"` + ValidationRegexIew *[]string `form:"validation_regex__iew,omitempty" json:"validation_regex__iew,omitempty"` + ValidationRegexIsw *[]string `form:"validation_regex__isw,omitempty" json:"validation_regex__isw,omitempty"` + ValidationRegexN *[]string `form:"validation_regex__n,omitempty" json:"validation_regex__n,omitempty"` + ValidationRegexNic *[]string `form:"validation_regex__nic,omitempty" json:"validation_regex__nic,omitempty"` + ValidationRegexNie *[]string `form:"validation_regex__nie,omitempty" json:"validation_regex__nie,omitempty"` + ValidationRegexNiew *[]string `form:"validation_regex__niew,omitempty" json:"validation_regex__niew,omitempty"` + ValidationRegexNisw *[]string `form:"validation_regex__nisw,omitempty" json:"validation_regex__nisw,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"` +} + +// ExtrasCustomFieldsListParamsFilterLogic defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParamsFilterLogic string + +// ExtrasCustomFieldsListParamsFilterLogicN defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParamsFilterLogicN string + +// ExtrasCustomFieldsListParamsUiEditable defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParamsUiEditable string + +// ExtrasCustomFieldsListParamsUiEditableN defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParamsUiEditableN string + +// ExtrasCustomFieldsListParamsUiVisible defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParamsUiVisible string + +// ExtrasCustomFieldsListParamsUiVisibleN defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParamsUiVisibleN string + +// 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 { + // 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 *ExtrasCustomLinksListParamsButtonClass `form:"button_class,omitempty" json:"button_class,omitempty"` + + // ButtonClassN 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 + ButtonClassN *ExtrasCustomLinksListParamsButtonClassN `form:"button_class__n,omitempty" json:"button_class__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"` + 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"` + 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"` + 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"` + 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"` + NewWindow *bool `form:"new_window,omitempty" json:"new_window,omitempty"` + ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeIc *string `form:"object_type__ic,omitempty" json:"object_type__ic,omitempty"` + ObjectTypeIe *string `form:"object_type__ie,omitempty" json:"object_type__ie,omitempty"` + ObjectTypeIew *string `form:"object_type__iew,omitempty" json:"object_type__iew,omitempty"` + ObjectTypeIsw *string `form:"object_type__isw,omitempty" json:"object_type__isw,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeNic *string `form:"object_type__nic,omitempty" json:"object_type__nic,omitempty"` + ObjectTypeNie *string `form:"object_type__nie,omitempty" json:"object_type__nie,omitempty"` + ObjectTypeNiew *string `form:"object_type__niew,omitempty" json:"object_type__niew,omitempty"` + ObjectTypeNisw *string `form:"object_type__nisw,omitempty" json:"object_type__nisw,omitempty"` + ObjectTypeId *[]int `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdN *[]int `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"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,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"` +} + +// ExtrasCustomLinksListParamsButtonClass defines parameters for ExtrasCustomLinksList. +type ExtrasCustomLinksListParamsButtonClass string + +// ExtrasCustomLinksListParamsButtonClassN defines parameters for ExtrasCustomLinksList. +type ExtrasCustomLinksListParamsButtonClassN string + +// 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 + +// ExtrasEventRulesBulkDestroyJSONBody defines parameters for ExtrasEventRulesBulkDestroy. +type ExtrasEventRulesBulkDestroyJSONBody = []EventRuleRequest + +// ExtrasEventRulesBulkDestroyMultipartBody defines parameters for ExtrasEventRulesBulkDestroy. +type ExtrasEventRulesBulkDestroyMultipartBody = []EventRuleRequest + +// ExtrasEventRulesListParams defines parameters for ExtrasEventRulesList. +type ExtrasEventRulesListParams struct { + ActionObjectId *[]int32 `form:"action_object_id,omitempty" json:"action_object_id,omitempty"` + ActionObjectIdEmpty *[]int32 `form:"action_object_id__empty,omitempty" json:"action_object_id__empty,omitempty"` + ActionObjectIdGt *[]int32 `form:"action_object_id__gt,omitempty" json:"action_object_id__gt,omitempty"` + ActionObjectIdGte *[]int32 `form:"action_object_id__gte,omitempty" json:"action_object_id__gte,omitempty"` + ActionObjectIdLt *[]int32 `form:"action_object_id__lt,omitempty" json:"action_object_id__lt,omitempty"` + ActionObjectIdLte *[]int32 `form:"action_object_id__lte,omitempty" json:"action_object_id__lte,omitempty"` + ActionObjectIdN *[]int32 `form:"action_object_id__n,omitempty" json:"action_object_id__n,omitempty"` + ActionObjectType *string `form:"action_object_type,omitempty" json:"action_object_type,omitempty"` + ActionObjectTypeN *string `form:"action_object_type__n,omitempty" json:"action_object_type__n,omitempty"` + ActionType *[]string `form:"action_type,omitempty" json:"action_type,omitempty"` + ActionTypeN *[]string `form:"action_type__n,omitempty" json:"action_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"` + 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"` @@ -1537,6 +5179,18 @@ type PluginsBgpCommunityListListParams struct { 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"` + ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeIc *string `form:"object_type__ic,omitempty" json:"object_type__ic,omitempty"` + ObjectTypeIe *string `form:"object_type__ie,omitempty" json:"object_type__ie,omitempty"` + ObjectTypeIew *string `form:"object_type__iew,omitempty" json:"object_type__iew,omitempty"` + ObjectTypeIsw *string `form:"object_type__isw,omitempty" json:"object_type__isw,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeNic *string `form:"object_type__nic,omitempty" json:"object_type__nic,omitempty"` + ObjectTypeNie *string `form:"object_type__nie,omitempty" json:"object_type__nie,omitempty"` + ObjectTypeNiew *string `form:"object_type__niew,omitempty" json:"object_type__niew,omitempty"` + ObjectTypeNisw *string `form:"object_type__nisw,omitempty" json:"object_type__nisw,omitempty"` + ObjectTypeId *[]int `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdN *[]int `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"` @@ -1548,29 +5202,36 @@ type PluginsBgpCommunityListListParams struct { 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"` + 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"` } -// PluginsBgpCommunityListBulkPartialUpdateJSONBody defines parameters for PluginsBgpCommunityListBulkPartialUpdate. -type PluginsBgpCommunityListBulkPartialUpdateJSONBody = []CommunityListRequest +// ExtrasEventRulesBulkPartialUpdateJSONBody defines parameters for ExtrasEventRulesBulkPartialUpdate. +type ExtrasEventRulesBulkPartialUpdateJSONBody = []EventRuleRequest -// PluginsBgpCommunityListBulkPartialUpdateMultipartBody defines parameters for PluginsBgpCommunityListBulkPartialUpdate. -type PluginsBgpCommunityListBulkPartialUpdateMultipartBody = []CommunityListRequest +// ExtrasEventRulesBulkPartialUpdateMultipartBody defines parameters for ExtrasEventRulesBulkPartialUpdate. +type ExtrasEventRulesBulkPartialUpdateMultipartBody = []EventRuleRequest -// PluginsBgpCommunityListBulkUpdateJSONBody defines parameters for PluginsBgpCommunityListBulkUpdate. -type PluginsBgpCommunityListBulkUpdateJSONBody = []CommunityListRequest +// ExtrasEventRulesBulkUpdateJSONBody defines parameters for ExtrasEventRulesBulkUpdate. +type ExtrasEventRulesBulkUpdateJSONBody = []EventRuleRequest -// PluginsBgpCommunityListBulkUpdateMultipartBody defines parameters for PluginsBgpCommunityListBulkUpdate. -type PluginsBgpCommunityListBulkUpdateMultipartBody = []CommunityListRequest +// ExtrasEventRulesBulkUpdateMultipartBody defines parameters for ExtrasEventRulesBulkUpdate. +type ExtrasEventRulesBulkUpdateMultipartBody = []EventRuleRequest -// PluginsBgpCommunityBulkDestroyJSONBody defines parameters for PluginsBgpCommunityBulkDestroy. -type PluginsBgpCommunityBulkDestroyJSONBody = []CommunityRequest +// ExtrasExportTemplatesBulkDestroyJSONBody defines parameters for ExtrasExportTemplatesBulkDestroy. +type ExtrasExportTemplatesBulkDestroyJSONBody = []ExportTemplateRequest -// PluginsBgpCommunityBulkDestroyMultipartBody defines parameters for PluginsBgpCommunityBulkDestroy. -type PluginsBgpCommunityBulkDestroyMultipartBody = []CommunityRequest +// ExtrasExportTemplatesBulkDestroyMultipartBody defines parameters for ExtrasExportTemplatesBulkDestroy. +type ExtrasExportTemplatesBulkDestroyMultipartBody = []ExportTemplateRequest -// PluginsBgpCommunityListParams defines parameters for PluginsBgpCommunityList. -type PluginsBgpCommunityListParams struct { +// ExtrasExportTemplatesListParams defines parameters for ExtrasExportTemplatesList. +type ExtrasExportTemplatesListParams struct { + AsAttachment *bool `form:"as_attachment,omitempty" json:"as_attachment,omitempty"` + AutoSyncEnabled *bool `form:"auto_sync_enabled,omitempty" json:"auto_sync_enabled,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"` @@ -1579,35 +5240,99 @@ type PluginsBgpCommunityListParams struct { 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"` + + // 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"` + FileExtension *[]string `form:"file_extension,omitempty" json:"file_extension,omitempty"` + FileExtensionEmpty *bool `form:"file_extension__empty,omitempty" json:"file_extension__empty,omitempty"` + FileExtensionIc *[]string `form:"file_extension__ic,omitempty" json:"file_extension__ic,omitempty"` + FileExtensionIe *[]string `form:"file_extension__ie,omitempty" json:"file_extension__ie,omitempty"` + FileExtensionIew *[]string `form:"file_extension__iew,omitempty" json:"file_extension__iew,omitempty"` + FileExtensionIsw *[]string `form:"file_extension__isw,omitempty" json:"file_extension__isw,omitempty"` + FileExtensionN *[]string `form:"file_extension__n,omitempty" json:"file_extension__n,omitempty"` + FileExtensionNic *[]string `form:"file_extension__nic,omitempty" json:"file_extension__nic,omitempty"` + FileExtensionNie *[]string `form:"file_extension__nie,omitempty" json:"file_extension__nie,omitempty"` + FileExtensionNiew *[]string `form:"file_extension__niew,omitempty" json:"file_extension__niew,omitempty"` + FileExtensionNisw *[]string `form:"file_extension__nisw,omitempty" json:"file_extension__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"` + MimeType *[]string `form:"mime_type,omitempty" json:"mime_type,omitempty"` + MimeTypeEmpty *bool `form:"mime_type__empty,omitempty" json:"mime_type__empty,omitempty"` + MimeTypeIc *[]string `form:"mime_type__ic,omitempty" json:"mime_type__ic,omitempty"` + MimeTypeIe *[]string `form:"mime_type__ie,omitempty" json:"mime_type__ie,omitempty"` + MimeTypeIew *[]string `form:"mime_type__iew,omitempty" json:"mime_type__iew,omitempty"` + MimeTypeIsw *[]string `form:"mime_type__isw,omitempty" json:"mime_type__isw,omitempty"` + MimeTypeN *[]string `form:"mime_type__n,omitempty" json:"mime_type__n,omitempty"` + MimeTypeNic *[]string `form:"mime_type__nic,omitempty" json:"mime_type__nic,omitempty"` + MimeTypeNie *[]string `form:"mime_type__nie,omitempty" json:"mime_type__nie,omitempty"` + MimeTypeNiew *[]string `form:"mime_type__niew,omitempty" json:"mime_type__niew,omitempty"` + MimeTypeNisw *[]string `form:"mime_type__nisw,omitempty" json:"mime_type__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"` + ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeIc *string `form:"object_type__ic,omitempty" json:"object_type__ic,omitempty"` + ObjectTypeIe *string `form:"object_type__ie,omitempty" json:"object_type__ie,omitempty"` + ObjectTypeIew *string `form:"object_type__iew,omitempty" json:"object_type__iew,omitempty"` + ObjectTypeIsw *string `form:"object_type__isw,omitempty" json:"object_type__isw,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeNic *string `form:"object_type__nic,omitempty" json:"object_type__nic,omitempty"` + ObjectTypeNie *string `form:"object_type__nie,omitempty" json:"object_type__nie,omitempty"` + ObjectTypeNiew *string `form:"object_type__niew,omitempty" json:"object_type__niew,omitempty"` + ObjectTypeNisw *string `form:"object_type__nisw,omitempty" json:"object_type__nisw,omitempty"` + ObjectTypeId *[]int `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdN *[]int `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"` @@ -1617,46 +5342,29 @@ type PluginsBgpCommunityListParams struct { // 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 *int `form:"tenant,omitempty" json:"tenant,omitempty"` - TenantN *int `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` - Value *[]string `form:"value,omitempty" json:"value,omitempty"` - ValueEmpty *bool `form:"value__empty,omitempty" json:"value__empty,omitempty"` - ValueIc *[]string `form:"value__ic,omitempty" json:"value__ic,omitempty"` - ValueIe *[]string `form:"value__ie,omitempty" json:"value__ie,omitempty"` - ValueIew *[]string `form:"value__iew,omitempty" json:"value__iew,omitempty"` - ValueIsw *[]string `form:"value__isw,omitempty" json:"value__isw,omitempty"` - ValueN *[]string `form:"value__n,omitempty" json:"value__n,omitempty"` - ValueNic *[]string `form:"value__nic,omitempty" json:"value__nic,omitempty"` - ValueNie *[]string `form:"value__nie,omitempty" json:"value__nie,omitempty"` - ValueNiew *[]string `form:"value__niew,omitempty" json:"value__niew,omitempty"` - ValueNisw *[]string `form:"value__nisw,omitempty" json:"value__nisw,omitempty"` } -// PluginsBgpCommunityBulkPartialUpdateJSONBody defines parameters for PluginsBgpCommunityBulkPartialUpdate. -type PluginsBgpCommunityBulkPartialUpdateJSONBody = []CommunityRequest +// ExtrasExportTemplatesBulkPartialUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkPartialUpdate. +type ExtrasExportTemplatesBulkPartialUpdateJSONBody = []ExportTemplateRequest -// PluginsBgpCommunityBulkPartialUpdateMultipartBody defines parameters for PluginsBgpCommunityBulkPartialUpdate. -type PluginsBgpCommunityBulkPartialUpdateMultipartBody = []CommunityRequest +// ExtrasExportTemplatesBulkPartialUpdateMultipartBody defines parameters for ExtrasExportTemplatesBulkPartialUpdate. +type ExtrasExportTemplatesBulkPartialUpdateMultipartBody = []ExportTemplateRequest -// PluginsBgpCommunityBulkUpdateJSONBody defines parameters for PluginsBgpCommunityBulkUpdate. -type PluginsBgpCommunityBulkUpdateJSONBody = []CommunityRequest +// ExtrasExportTemplatesBulkUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkUpdate. +type ExtrasExportTemplatesBulkUpdateJSONBody = []ExportTemplateRequest -// PluginsBgpCommunityBulkUpdateMultipartBody defines parameters for PluginsBgpCommunityBulkUpdate. -type PluginsBgpCommunityBulkUpdateMultipartBody = []CommunityRequest +// ExtrasExportTemplatesBulkUpdateMultipartBody defines parameters for ExtrasExportTemplatesBulkUpdate. +type ExtrasExportTemplatesBulkUpdateMultipartBody = []ExportTemplateRequest -// PluginsBgpPeerGroupBulkDestroyJSONBody defines parameters for PluginsBgpPeerGroupBulkDestroy. -type PluginsBgpPeerGroupBulkDestroyJSONBody = []BGPPeerGroupRequest +// ExtrasImageAttachmentsBulkDestroyJSONBody defines parameters for ExtrasImageAttachmentsBulkDestroy. +type ExtrasImageAttachmentsBulkDestroyJSONBody = []ImageAttachmentRequest -// PluginsBgpPeerGroupBulkDestroyMultipartBody defines parameters for PluginsBgpPeerGroupBulkDestroy. -type PluginsBgpPeerGroupBulkDestroyMultipartBody = []BGPPeerGroupRequest +// ExtrasImageAttachmentsBulkDestroyMultipartBody defines parameters for ExtrasImageAttachmentsBulkDestroy. +type ExtrasImageAttachmentsBulkDestroyMultipartBody = []ImageAttachmentRequest -// PluginsBgpPeerGroupListParams defines parameters for PluginsBgpPeerGroupList. -type PluginsBgpPeerGroupListParams struct { +// ExtrasImageAttachmentsListParams defines parameters for ExtrasImageAttachmentsList. +type ExtrasImageAttachmentsListParams 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"` @@ -1665,17 +5373,6 @@ type PluginsBgpPeerGroupListParams struct { 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"` @@ -1683,6 +5380,20 @@ type PluginsBgpPeerGroupListParams struct { 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"` + ImageHeight *[]int32 `form:"image_height,omitempty" json:"image_height,omitempty"` + ImageHeightEmpty *bool `form:"image_height__empty,omitempty" json:"image_height__empty,omitempty"` + ImageHeightGt *[]int32 `form:"image_height__gt,omitempty" json:"image_height__gt,omitempty"` + ImageHeightGte *[]int32 `form:"image_height__gte,omitempty" json:"image_height__gte,omitempty"` + ImageHeightLt *[]int32 `form:"image_height__lt,omitempty" json:"image_height__lt,omitempty"` + ImageHeightLte *[]int32 `form:"image_height__lte,omitempty" json:"image_height__lte,omitempty"` + ImageHeightN *[]int32 `form:"image_height__n,omitempty" json:"image_height__n,omitempty"` + ImageWidth *[]int32 `form:"image_width,omitempty" json:"image_width,omitempty"` + ImageWidthEmpty *bool `form:"image_width__empty,omitempty" json:"image_width__empty,omitempty"` + ImageWidthGt *[]int32 `form:"image_width__gt,omitempty" json:"image_width__gt,omitempty"` + ImageWidthGte *[]int32 `form:"image_width__gte,omitempty" json:"image_width__gte,omitempty"` + ImageWidthLt *[]int32 `form:"image_width__lt,omitempty" json:"image_width__lt,omitempty"` + ImageWidthLte *[]int32 `form:"image_width__lte,omitempty" json:"image_width__lte,omitempty"` + ImageWidthN *[]int32 `form:"image_width__n,omitempty" json:"image_width__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"` @@ -1705,6 +5416,17 @@ type PluginsBgpPeerGroupListParams struct { 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 *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeId *int `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdN *int `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"` @@ -1714,48 +5436,55 @@ type PluginsBgpPeerGroupListParams struct { // 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"` } -// PluginsBgpPeerGroupBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeerGroupBulkPartialUpdate. -type PluginsBgpPeerGroupBulkPartialUpdateJSONBody = []BGPPeerGroupRequest +// ExtrasImageAttachmentsBulkPartialUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkPartialUpdate. +type ExtrasImageAttachmentsBulkPartialUpdateJSONBody = []ImageAttachmentRequest -// PluginsBgpPeerGroupBulkPartialUpdateMultipartBody defines parameters for PluginsBgpPeerGroupBulkPartialUpdate. -type PluginsBgpPeerGroupBulkPartialUpdateMultipartBody = []BGPPeerGroupRequest +// ExtrasImageAttachmentsBulkPartialUpdateMultipartBody defines parameters for ExtrasImageAttachmentsBulkPartialUpdate. +type ExtrasImageAttachmentsBulkPartialUpdateMultipartBody = []ImageAttachmentRequest -// PluginsBgpPeerGroupBulkUpdateJSONBody defines parameters for PluginsBgpPeerGroupBulkUpdate. -type PluginsBgpPeerGroupBulkUpdateJSONBody = []BGPPeerGroupRequest +// ExtrasImageAttachmentsBulkUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkUpdate. +type ExtrasImageAttachmentsBulkUpdateJSONBody = []ImageAttachmentRequest -// PluginsBgpPeerGroupBulkUpdateMultipartBody defines parameters for PluginsBgpPeerGroupBulkUpdate. -type PluginsBgpPeerGroupBulkUpdateMultipartBody = []BGPPeerGroupRequest +// ExtrasImageAttachmentsBulkUpdateMultipartBody defines parameters for ExtrasImageAttachmentsBulkUpdate. +type ExtrasImageAttachmentsBulkUpdateMultipartBody = []ImageAttachmentRequest -// PluginsBgpPrefixListRuleBulkDestroyJSONBody defines parameters for PluginsBgpPrefixListRuleBulkDestroy. -type PluginsBgpPrefixListRuleBulkDestroyJSONBody = []PrefixListRuleRequest +// ExtrasJournalEntriesBulkDestroyJSONBody defines parameters for ExtrasJournalEntriesBulkDestroy. +type ExtrasJournalEntriesBulkDestroyJSONBody = []JournalEntryRequest -// PluginsBgpPrefixListRuleBulkDestroyMultipartBody defines parameters for PluginsBgpPrefixListRuleBulkDestroy. -type PluginsBgpPrefixListRuleBulkDestroyMultipartBody = []PrefixListRuleRequest +// ExtrasJournalEntriesBulkDestroyMultipartBody defines parameters for ExtrasJournalEntriesBulkDestroy. +type ExtrasJournalEntriesBulkDestroyMultipartBody = []JournalEntryRequest -// PluginsBgpPrefixListRuleListParams defines parameters for PluginsBgpPrefixListRuleList. -type PluginsBgpPrefixListRuleListParams struct { - Action *string `form:"action,omitempty" json:"action,omitempty"` - ActionN *string `form:"action__n,omitempty" json:"action__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"` +// 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"` - Ge *[]int32 `form:"ge,omitempty" json:"ge,omitempty"` - GeEmpty *bool `form:"ge__empty,omitempty" json:"ge__empty,omitempty"` - GeGt *[]int32 `form:"ge__gt,omitempty" json:"ge__gt,omitempty"` - GeGte *[]int32 `form:"ge__gte,omitempty" json:"ge__gte,omitempty"` - GeLt *[]int32 `form:"ge__lt,omitempty" json:"ge__lt,omitempty"` - GeLte *[]int32 `form:"ge__lte,omitempty" json:"ge__lte,omitempty"` - GeN *[]int32 `form:"ge__n,omitempty" json:"ge__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"` @@ -1763,13 +5492,8 @@ type PluginsBgpPrefixListRuleListParams struct { 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"` - Index *[]int32 `form:"index,omitempty" json:"index,omitempty"` - IndexEmpty *bool `form:"index__empty,omitempty" json:"index__empty,omitempty"` - IndexGt *[]int32 `form:"index__gt,omitempty" json:"index__gt,omitempty"` - IndexGte *[]int32 `form:"index__gte,omitempty" json:"index__gte,omitempty"` - IndexLt *[]int32 `form:"index__lt,omitempty" json:"index__lt,omitempty"` - IndexLte *[]int32 `form:"index__lte,omitempty" json:"index__lte,omitempty"` - IndexN *[]int32 `form:"index__n,omitempty" json:"index__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"` @@ -1777,13 +5501,6 @@ type PluginsBgpPrefixListRuleListParams struct { 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"` - Le *[]int32 `form:"le,omitempty" json:"le,omitempty"` - LeEmpty *bool `form:"le__empty,omitempty" json:"le__empty,omitempty"` - LeGt *[]int32 `form:"le__gt,omitempty" json:"le__gt,omitempty"` - LeGte *[]int32 `form:"le__gte,omitempty" json:"le__gte,omitempty"` - LeLt *[]int32 `form:"le__lt,omitempty" json:"le__lt,omitempty"` - LeLte *[]int32 `form:"le__lte,omitempty" json:"le__lte,omitempty"` - LeN *[]int32 `form:"le__n,omitempty" json:"le__n,omitempty"` // Limit Number of results to return per page. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` @@ -1793,11 +5510,7 @@ type PluginsBgpPrefixListRuleListParams struct { 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"` - PrefixList *int `form:"prefix_list,omitempty" json:"prefix_list,omitempty"` - PrefixListN *int `form:"prefix_list__n,omitempty" json:"prefix_list__n,omitempty"` - PrefixListId *int `form:"prefix_list_id,omitempty" json:"prefix_list_id,omitempty"` - PrefixListIdN *int `form:"prefix_list_id__n,omitempty" json:"prefix_list_id__n,omitempty"` + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` // Q Search Q *string `form:"q,omitempty" json:"q,omitempty"` @@ -1806,26 +5519,140 @@ type PluginsBgpPrefixListRuleListParams struct { UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` } -// PluginsBgpPrefixListRuleBulkPartialUpdateJSONBody defines parameters for PluginsBgpPrefixListRuleBulkPartialUpdate. -type PluginsBgpPrefixListRuleBulkPartialUpdateJSONBody = []PrefixListRuleRequest +// 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 * `create` - Created + // * `update` - Updated + // * `delete` - Deleted + Action *ExtrasObjectChangesListParamsAction `form:"action,omitempty" json:"action,omitempty"` + + // ActionN * `create` - Created + // * `update` - Updated + // * `delete` - Deleted + ActionN *ExtrasObjectChangesListParamsActionN `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"` -// PluginsBgpPrefixListRuleBulkPartialUpdateMultipartBody defines parameters for PluginsBgpPrefixListRuleBulkPartialUpdate. -type PluginsBgpPrefixListRuleBulkPartialUpdateMultipartBody = []PrefixListRuleRequest + // 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"` -// PluginsBgpPrefixListRuleBulkUpdateJSONBody defines parameters for PluginsBgpPrefixListRuleBulkUpdate. -type PluginsBgpPrefixListRuleBulkUpdateJSONBody = []PrefixListRuleRequest + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpPrefixListRuleBulkUpdateMultipartBody defines parameters for PluginsBgpPrefixListRuleBulkUpdate. -type PluginsBgpPrefixListRuleBulkUpdateMultipartBody = []PrefixListRuleRequest + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpPrefixListBulkDestroyJSONBody defines parameters for PluginsBgpPrefixListBulkDestroy. -type PluginsBgpPrefixListBulkDestroyJSONBody = []PrefixListRequest + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RelatedObjectId *[]int32 `form:"related_object_id,omitempty" json:"related_object_id,omitempty"` + RelatedObjectIdEmpty *bool `form:"related_object_id__empty,omitempty" json:"related_object_id__empty,omitempty"` + RelatedObjectIdGt *[]int32 `form:"related_object_id__gt,omitempty" json:"related_object_id__gt,omitempty"` + RelatedObjectIdGte *[]int32 `form:"related_object_id__gte,omitempty" json:"related_object_id__gte,omitempty"` + RelatedObjectIdLt *[]int32 `form:"related_object_id__lt,omitempty" json:"related_object_id__lt,omitempty"` + RelatedObjectIdLte *[]int32 `form:"related_object_id__lte,omitempty" json:"related_object_id__lte,omitempty"` + RelatedObjectIdN *[]int32 `form:"related_object_id__n,omitempty" json:"related_object_id__n,omitempty"` + RelatedObjectType *int `form:"related_object_type,omitempty" json:"related_object_type,omitempty"` + RelatedObjectTypeN *int `form:"related_object_type__n,omitempty" json:"related_object_type__n,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"` +} + +// ExtrasObjectChangesListParamsAction defines parameters for ExtrasObjectChangesList. +type ExtrasObjectChangesListParamsAction string + +// ExtrasObjectChangesListParamsActionN defines parameters for ExtrasObjectChangesList. +type ExtrasObjectChangesListParamsActionN string + +// ExtrasObjectTypesListParams defines parameters for ExtrasObjectTypesList. +type ExtrasObjectTypesListParams struct { + AppLabel *string `form:"app_label,omitempty" json:"app_label,omitempty"` + Id *int `form:"id,omitempty" json:"id,omitempty"` -// PluginsBgpPrefixListBulkDestroyMultipartBody defines parameters for PluginsBgpPrefixListBulkDestroy. -type PluginsBgpPrefixListBulkDestroyMultipartBody = []PrefixListRequest + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Model *string `form:"model,omitempty" json:"model,omitempty"` -// PluginsBgpPrefixListListParams defines parameters for PluginsBgpPrefixListList. -type PluginsBgpPrefixListListParams struct { + // 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"` +} + +// ExtrasSavedFiltersBulkDestroyJSONBody defines parameters for ExtrasSavedFiltersBulkDestroy. +type ExtrasSavedFiltersBulkDestroyJSONBody = []SavedFilterRequest + +// ExtrasSavedFiltersBulkDestroyMultipartBody defines parameters for ExtrasSavedFiltersBulkDestroy. +type ExtrasSavedFiltersBulkDestroyMultipartBody = []SavedFilterRequest + +// ExtrasSavedFiltersListParams defines parameters for ExtrasSavedFiltersList. +type ExtrasSavedFiltersListParams 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"` @@ -1845,6 +5672,7 @@ type PluginsBgpPrefixListListParams struct { 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"` @@ -1874,6 +5702,18 @@ type PluginsBgpPrefixListListParams struct { 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"` + ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeIc *string `form:"object_type__ic,omitempty" json:"object_type__ic,omitempty"` + ObjectTypeIe *string `form:"object_type__ie,omitempty" json:"object_type__ie,omitempty"` + ObjectTypeIew *string `form:"object_type__iew,omitempty" json:"object_type__iew,omitempty"` + ObjectTypeIsw *string `form:"object_type__isw,omitempty" json:"object_type__isw,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeNic *string `form:"object_type__nic,omitempty" json:"object_type__nic,omitempty"` + ObjectTypeNie *string `form:"object_type__nie,omitempty" json:"object_type__nie,omitempty"` + ObjectTypeNiew *string `form:"object_type__niew,omitempty" json:"object_type__niew,omitempty"` + ObjectTypeNisw *string `form:"object_type__nisw,omitempty" json:"object_type__nisw,omitempty"` + ObjectTypeId *[]int `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdN *[]int `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"` @@ -1883,84 +5723,83 @@ type PluginsBgpPrefixListListParams struct { // 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"` + 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"` UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` -} + Usable *bool `form:"usable,omitempty" json:"usable,omitempty"` -// PluginsBgpPrefixListBulkPartialUpdateJSONBody defines parameters for PluginsBgpPrefixListBulkPartialUpdate. -type PluginsBgpPrefixListBulkPartialUpdateJSONBody = []PrefixListRequest + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` -// PluginsBgpPrefixListBulkPartialUpdateMultipartBody defines parameters for PluginsBgpPrefixListBulkPartialUpdate. -type PluginsBgpPrefixListBulkPartialUpdateMultipartBody = []PrefixListRequest + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` -// PluginsBgpPrefixListBulkUpdateJSONBody defines parameters for PluginsBgpPrefixListBulkUpdate. -type PluginsBgpPrefixListBulkUpdateJSONBody = []PrefixListRequest + // UserId User (ID) + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` -// PluginsBgpPrefixListBulkUpdateMultipartBody defines parameters for PluginsBgpPrefixListBulkUpdate. -type PluginsBgpPrefixListBulkUpdateMultipartBody = []PrefixListRequest + // 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"` +} -// PluginsBgpRoutingPolicyRuleBulkDestroyJSONBody defines parameters for PluginsBgpRoutingPolicyRuleBulkDestroy. -type PluginsBgpRoutingPolicyRuleBulkDestroyJSONBody = []RoutingPolicyRuleRequest +// ExtrasSavedFiltersBulkPartialUpdateJSONBody defines parameters for ExtrasSavedFiltersBulkPartialUpdate. +type ExtrasSavedFiltersBulkPartialUpdateJSONBody = []SavedFilterRequest -// PluginsBgpRoutingPolicyRuleBulkDestroyMultipartBody defines parameters for PluginsBgpRoutingPolicyRuleBulkDestroy. -type PluginsBgpRoutingPolicyRuleBulkDestroyMultipartBody = []RoutingPolicyRuleRequest +// ExtrasSavedFiltersBulkPartialUpdateMultipartBody defines parameters for ExtrasSavedFiltersBulkPartialUpdate. +type ExtrasSavedFiltersBulkPartialUpdateMultipartBody = []SavedFilterRequest -// PluginsBgpRoutingPolicyRuleListParams defines parameters for PluginsBgpRoutingPolicyRuleList. -type PluginsBgpRoutingPolicyRuleListParams struct { - Action *string `form:"action,omitempty" json:"action,omitempty"` - ActionN *string `form:"action__n,omitempty" json:"action__n,omitempty"` - ContinueEntry *[]int32 `form:"continue_entry,omitempty" json:"continue_entry,omitempty"` - ContinueEntryEmpty *bool `form:"continue_entry__empty,omitempty" json:"continue_entry__empty,omitempty"` - ContinueEntryGt *[]int32 `form:"continue_entry__gt,omitempty" json:"continue_entry__gt,omitempty"` - ContinueEntryGte *[]int32 `form:"continue_entry__gte,omitempty" json:"continue_entry__gte,omitempty"` - ContinueEntryLt *[]int32 `form:"continue_entry__lt,omitempty" json:"continue_entry__lt,omitempty"` - ContinueEntryLte *[]int32 `form:"continue_entry__lte,omitempty" json:"continue_entry__lte,omitempty"` - ContinueEntryN *[]int32 `form:"continue_entry__n,omitempty" json:"continue_entry__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"` - Index *[]int32 `form:"index,omitempty" json:"index,omitempty"` - IndexEmpty *bool `form:"index__empty,omitempty" json:"index__empty,omitempty"` - IndexGt *[]int32 `form:"index__gt,omitempty" json:"index__gt,omitempty"` - IndexGte *[]int32 `form:"index__gte,omitempty" json:"index__gte,omitempty"` - IndexLt *[]int32 `form:"index__lt,omitempty" json:"index__lt,omitempty"` - IndexLte *[]int32 `form:"index__lte,omitempty" json:"index__lte,omitempty"` - IndexN *[]int32 `form:"index__n,omitempty" json:"index__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"` +// ExtrasSavedFiltersBulkUpdateJSONBody defines parameters for ExtrasSavedFiltersBulkUpdate. +type ExtrasSavedFiltersBulkUpdateJSONBody = []SavedFilterRequest + +// ExtrasSavedFiltersBulkUpdateMultipartBody defines parameters for ExtrasSavedFiltersBulkUpdate. +type ExtrasSavedFiltersBulkUpdateMultipartBody = []SavedFilterRequest + +// ExtrasScriptsListParams defines parameters for ExtrasScriptsList. +type ExtrasScriptsListParams 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"` + IsExecutable *bool `form:"is_executable,omitempty" json:"is_executable,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"` + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // ModuleId Script module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Script 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"` // Offset The initial index from which to return the results. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` @@ -1969,34 +5808,30 @@ type PluginsBgpRoutingPolicyRuleListParams struct { Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` // Q Search - Q *string `form:"q,omitempty" json:"q,omitempty"` - RoutingPolicyId *int `form:"routing_policy_id,omitempty" json:"routing_policy_id,omitempty"` - RoutingPolicyIdN *int `form:"routing_policy_id__n,omitempty" json:"routing_policy_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"` + Q *string `form:"q,omitempty" json:"q,omitempty"` } -// PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyRuleBulkPartialUpdate. -type PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONBody = []RoutingPolicyRuleRequest - -// PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyRuleBulkPartialUpdate. -type PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartBody = []RoutingPolicyRuleRequest - -// PluginsBgpRoutingPolicyRuleBulkUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyRuleBulkUpdate. -type PluginsBgpRoutingPolicyRuleBulkUpdateJSONBody = []RoutingPolicyRuleRequest - -// PluginsBgpRoutingPolicyRuleBulkUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyRuleBulkUpdate. -type PluginsBgpRoutingPolicyRuleBulkUpdateMultipartBody = []RoutingPolicyRuleRequest - -// PluginsBgpRoutingPolicyBulkDestroyJSONBody defines parameters for PluginsBgpRoutingPolicyBulkDestroy. -type PluginsBgpRoutingPolicyBulkDestroyJSONBody = []RoutingPolicyRequest - -// PluginsBgpRoutingPolicyBulkDestroyMultipartBody defines parameters for PluginsBgpRoutingPolicyBulkDestroy. -type PluginsBgpRoutingPolicyBulkDestroyMultipartBody = []RoutingPolicyRequest - -// PluginsBgpRoutingPolicyListParams defines parameters for PluginsBgpRoutingPolicyList. -type PluginsBgpRoutingPolicyListParams struct { +// 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"` @@ -2016,6 +5851,7 @@ type PluginsBgpRoutingPolicyListParams struct { 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"` @@ -2045,6 +5881,8 @@ type PluginsBgpRoutingPolicyListParams struct { 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"` @@ -2054,31 +5892,241 @@ type PluginsBgpRoutingPolicyListParams struct { // 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"` + 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"` } -// PluginsBgpRoutingPolicyBulkPartialUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyBulkPartialUpdate. -type PluginsBgpRoutingPolicyBulkPartialUpdateJSONBody = []RoutingPolicyRequest +// 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"` + 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"` + 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"` -// PluginsBgpRoutingPolicyBulkPartialUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyBulkPartialUpdate. -type PluginsBgpRoutingPolicyBulkPartialUpdateMultipartBody = []RoutingPolicyRequest + // 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"` -// PluginsBgpRoutingPolicyBulkUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyBulkUpdate. -type PluginsBgpRoutingPolicyBulkUpdateJSONBody = []RoutingPolicyRequest + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpRoutingPolicyBulkUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyBulkUpdate. -type PluginsBgpRoutingPolicyBulkUpdateMultipartBody = []RoutingPolicyRequest + // 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"` -// PluginsBgpSessionBulkDestroyJSONBody defines parameters for PluginsBgpSessionBulkDestroy. -type PluginsBgpSessionBulkDestroyJSONBody = []BGPSessionRequest + // 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"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} -// PluginsBgpSessionBulkDestroyMultipartBody defines parameters for PluginsBgpSessionBulkDestroy. -type PluginsBgpSessionBulkDestroyMultipartBody = []BGPSessionRequest +// ExtrasWebhooksBulkPartialUpdateJSONBody defines parameters for ExtrasWebhooksBulkPartialUpdate. +type ExtrasWebhooksBulkPartialUpdateJSONBody = []WebhookRequest -// PluginsBgpSessionListParams defines parameters for PluginsBgpSessionList. -type PluginsBgpSessionListParams struct { +// ExtrasWebhooksBulkPartialUpdateMultipartBody defines parameters for ExtrasWebhooksBulkPartialUpdate. +type ExtrasWebhooksBulkPartialUpdateMultipartBody = []WebhookRequest + +// ExtrasWebhooksBulkUpdateJSONBody defines parameters for ExtrasWebhooksBulkUpdate. +type ExtrasWebhooksBulkUpdateJSONBody = []WebhookRequest + +// ExtrasWebhooksBulkUpdateMultipartBody defines parameters for ExtrasWebhooksBulkUpdate. +type ExtrasWebhooksBulkUpdateMultipartBody = []WebhookRequest + +// PluginsBgpBgppeergroupBulkDestroyJSONBody defines parameters for PluginsBgpBgppeergroupBulkDestroy. +type PluginsBgpBgppeergroupBulkDestroyJSONBody = []BGPPeerGroupRequest + +// PluginsBgpBgppeergroupBulkDestroyMultipartBody defines parameters for PluginsBgpBgppeergroupBulkDestroy. +type PluginsBgpBgppeergroupBulkDestroyMultipartBody = []BGPPeerGroupRequest + +// PluginsBgpBgppeergroupListParams defines parameters for PluginsBgpBgppeergroupList. +type PluginsBgpBgppeergroupListParams 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"` + 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"` +} + +// PluginsBgpBgppeergroupBulkPartialUpdateJSONBody defines parameters for PluginsBgpBgppeergroupBulkPartialUpdate. +type PluginsBgpBgppeergroupBulkPartialUpdateJSONBody = []BGPPeerGroupRequest + +// PluginsBgpBgppeergroupBulkPartialUpdateMultipartBody defines parameters for PluginsBgpBgppeergroupBulkPartialUpdate. +type PluginsBgpBgppeergroupBulkPartialUpdateMultipartBody = []BGPPeerGroupRequest + +// PluginsBgpBgppeergroupBulkUpdateJSONBody defines parameters for PluginsBgpBgppeergroupBulkUpdate. +type PluginsBgpBgppeergroupBulkUpdateJSONBody = []BGPPeerGroupRequest + +// PluginsBgpBgppeergroupBulkUpdateMultipartBody defines parameters for PluginsBgpBgppeergroupBulkUpdate. +type PluginsBgpBgppeergroupBulkUpdateMultipartBody = []BGPPeerGroupRequest + +// PluginsBgpBgpsessionBulkDestroyJSONBody defines parameters for PluginsBgpBgpsessionBulkDestroy. +type PluginsBgpBgpsessionBulkDestroyJSONBody = []BGPSessionRequest + +// PluginsBgpBgpsessionBulkDestroyMultipartBody defines parameters for PluginsBgpBgpsessionBulkDestroy. +type PluginsBgpBgpsessionBulkDestroyMultipartBody = []BGPSessionRequest + +// PluginsBgpBgpsessionListParams defines parameters for PluginsBgpBgpsessionList. +type PluginsBgpBgpsessionListParams struct { // ByLocalAddress Local Address ByLocalAddress *string `form:"by_local_address,omitempty" json:"by_local_address,omitempty"` @@ -2218,2920 +6266,44785 @@ type PluginsBgpSessionListParams struct { 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 *int `form:"tenant,omitempty" json:"tenant,omitempty"` - TenantN *int `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` -} + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` -// PluginsBgpSessionBulkPartialUpdateJSONBody defines parameters for PluginsBgpSessionBulkPartialUpdate. -type PluginsBgpSessionBulkPartialUpdateJSONBody = []BGPSessionRequest + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + Status *PluginsBgpBgpsessionListParamsStatus `form:"status,omitempty" json:"status,omitempty"` -// PluginsBgpSessionBulkPartialUpdateMultipartBody defines parameters for PluginsBgpSessionBulkPartialUpdate. -type PluginsBgpSessionBulkPartialUpdateMultipartBody = []BGPSessionRequest + // StatusN * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + StatusN *PluginsBgpBgpsessionListParamsStatusN `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"` -// PluginsBgpSessionBulkUpdateJSONBody defines parameters for PluginsBgpSessionBulkUpdate. -type PluginsBgpSessionBulkUpdateJSONBody = []BGPSessionRequest + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` -// PluginsBgpSessionBulkUpdateMultipartBody defines parameters for PluginsBgpSessionBulkUpdate. -type PluginsBgpSessionBulkUpdateMultipartBody = []BGPSessionRequest + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + TenantGroup *[]string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + TenantGroupN *[]string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + TenantGroupId *[]string `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + TenantGroupIdN *[]string `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` -// PluginsBgpBgppeergroupBulkDestroyJSONRequestBody defines body for PluginsBgpBgppeergroupBulkDestroy for application/json ContentType. -type PluginsBgpBgppeergroupBulkDestroyJSONRequestBody = PluginsBgpBgppeergroupBulkDestroyJSONBody + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` -// PluginsBgpBgppeergroupBulkDestroyMultipartRequestBody defines body for PluginsBgpBgppeergroupBulkDestroy for multipart/form-data ContentType. -type PluginsBgpBgppeergroupBulkDestroyMultipartRequestBody = PluginsBgpBgppeergroupBulkDestroyMultipartBody + // 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"` +} -// PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupBulkPartialUpdate for application/json ContentType. -type PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody = PluginsBgpBgppeergroupBulkPartialUpdateJSONBody +// PluginsBgpBgpsessionListParamsStatus defines parameters for PluginsBgpBgpsessionList. +type PluginsBgpBgpsessionListParamsStatus string -// PluginsBgpBgppeergroupBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpBgppeergroupBulkPartialUpdateMultipartRequestBody = PluginsBgpBgppeergroupBulkPartialUpdateMultipartBody +// PluginsBgpBgpsessionListParamsStatusN defines parameters for PluginsBgpBgpsessionList. +type PluginsBgpBgpsessionListParamsStatusN string -// PluginsBgpBgppeergroupCreateJSONRequestBody defines body for PluginsBgpBgppeergroupCreate for application/json ContentType. -type PluginsBgpBgppeergroupCreateJSONRequestBody = BGPPeerGroupRequest +// PluginsBgpBgpsessionBulkPartialUpdateJSONBody defines parameters for PluginsBgpBgpsessionBulkPartialUpdate. +type PluginsBgpBgpsessionBulkPartialUpdateJSONBody = []BGPSessionRequest -// PluginsBgpBgppeergroupCreateMultipartRequestBody defines body for PluginsBgpBgppeergroupCreate for multipart/form-data ContentType. -type PluginsBgpBgppeergroupCreateMultipartRequestBody = BGPPeerGroupRequest +// PluginsBgpBgpsessionBulkPartialUpdateMultipartBody defines parameters for PluginsBgpBgpsessionBulkPartialUpdate. +type PluginsBgpBgpsessionBulkPartialUpdateMultipartBody = []BGPSessionRequest -// PluginsBgpBgppeergroupBulkUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupBulkUpdate for application/json ContentType. -type PluginsBgpBgppeergroupBulkUpdateJSONRequestBody = PluginsBgpBgppeergroupBulkUpdateJSONBody +// PluginsBgpBgpsessionBulkUpdateJSONBody defines parameters for PluginsBgpBgpsessionBulkUpdate. +type PluginsBgpBgpsessionBulkUpdateJSONBody = []BGPSessionRequest -// PluginsBgpBgppeergroupBulkUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupBulkUpdate for multipart/form-data ContentType. -type PluginsBgpBgppeergroupBulkUpdateMultipartRequestBody = PluginsBgpBgppeergroupBulkUpdateMultipartBody +// PluginsBgpBgpsessionBulkUpdateMultipartBody defines parameters for PluginsBgpBgpsessionBulkUpdate. +type PluginsBgpBgpsessionBulkUpdateMultipartBody = []BGPSessionRequest -// PluginsBgpBgppeergroupPartialUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupPartialUpdate for application/json ContentType. -type PluginsBgpBgppeergroupPartialUpdateJSONRequestBody = PatchedBGPPeerGroupRequest +// PluginsBgpCommunityListRuleBulkDestroyJSONBody defines parameters for PluginsBgpCommunityListRuleBulkDestroy. +type PluginsBgpCommunityListRuleBulkDestroyJSONBody = []CommunityListRuleRequest -// PluginsBgpBgppeergroupPartialUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupPartialUpdate for multipart/form-data ContentType. -type PluginsBgpBgppeergroupPartialUpdateMultipartRequestBody = PatchedBGPPeerGroupRequest +// PluginsBgpCommunityListRuleBulkDestroyMultipartBody defines parameters for PluginsBgpCommunityListRuleBulkDestroy. +type PluginsBgpCommunityListRuleBulkDestroyMultipartBody = []CommunityListRuleRequest -// PluginsBgpBgppeergroupUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupUpdate for application/json ContentType. -type PluginsBgpBgppeergroupUpdateJSONRequestBody = BGPPeerGroupRequest +// PluginsBgpCommunityListRuleListParams defines parameters for PluginsBgpCommunityListRuleList. +type PluginsBgpCommunityListRuleListParams struct { + // Action * `permit` - Permit + // * `deny` - Deny + Action *PluginsBgpCommunityListRuleListParamsAction `form:"action,omitempty" json:"action,omitempty"` -// PluginsBgpBgppeergroupUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupUpdate for multipart/form-data ContentType. -type PluginsBgpBgppeergroupUpdateMultipartRequestBody = BGPPeerGroupRequest + // ActionN * `permit` - Permit + // * `deny` - Deny + ActionN *PluginsBgpCommunityListRuleListParamsActionN `form:"action__n,omitempty" json:"action__n,omitempty"` + CommunityList *int `form:"community_list,omitempty" json:"community_list,omitempty"` + CommunityListN *int `form:"community_list__n,omitempty" json:"community_list__n,omitempty"` + CommunityListId *int `form:"community_list_id,omitempty" json:"community_list_id,omitempty"` + CommunityListIdN *int `form:"community_list_id__n,omitempty" json:"community_list_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"` -// PluginsBgpBgpsessionBulkDestroyJSONRequestBody defines body for PluginsBgpBgpsessionBulkDestroy for application/json ContentType. -type PluginsBgpBgpsessionBulkDestroyJSONRequestBody = PluginsBgpBgpsessionBulkDestroyJSONBody + // 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"` -// PluginsBgpBgpsessionBulkDestroyMultipartRequestBody defines body for PluginsBgpBgpsessionBulkDestroy for multipart/form-data ContentType. -type PluginsBgpBgpsessionBulkDestroyMultipartRequestBody = PluginsBgpBgpsessionBulkDestroyMultipartBody + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody defines body for PluginsBgpBgpsessionBulkPartialUpdate for application/json ContentType. -type PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody = PluginsBgpBgpsessionBulkPartialUpdateJSONBody + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpBgpsessionBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpBgpsessionBulkPartialUpdateMultipartRequestBody = PluginsBgpBgpsessionBulkPartialUpdateMultipartBody + // 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"` +} -// PluginsBgpBgpsessionCreateJSONRequestBody defines body for PluginsBgpBgpsessionCreate for application/json ContentType. -type PluginsBgpBgpsessionCreateJSONRequestBody = WritableBGPSessionRequest +// PluginsBgpCommunityListRuleListParamsAction defines parameters for PluginsBgpCommunityListRuleList. +type PluginsBgpCommunityListRuleListParamsAction string -// PluginsBgpBgpsessionCreateMultipartRequestBody defines body for PluginsBgpBgpsessionCreate for multipart/form-data ContentType. -type PluginsBgpBgpsessionCreateMultipartRequestBody = WritableBGPSessionRequest +// PluginsBgpCommunityListRuleListParamsActionN defines parameters for PluginsBgpCommunityListRuleList. +type PluginsBgpCommunityListRuleListParamsActionN string -// PluginsBgpBgpsessionBulkUpdateJSONRequestBody defines body for PluginsBgpBgpsessionBulkUpdate for application/json ContentType. -type PluginsBgpBgpsessionBulkUpdateJSONRequestBody = PluginsBgpBgpsessionBulkUpdateJSONBody +// PluginsBgpCommunityListRuleBulkPartialUpdateJSONBody defines parameters for PluginsBgpCommunityListRuleBulkPartialUpdate. +type PluginsBgpCommunityListRuleBulkPartialUpdateJSONBody = []CommunityListRuleRequest -// PluginsBgpBgpsessionBulkUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionBulkUpdate for multipart/form-data ContentType. -type PluginsBgpBgpsessionBulkUpdateMultipartRequestBody = PluginsBgpBgpsessionBulkUpdateMultipartBody +// PluginsBgpCommunityListRuleBulkPartialUpdateMultipartBody defines parameters for PluginsBgpCommunityListRuleBulkPartialUpdate. +type PluginsBgpCommunityListRuleBulkPartialUpdateMultipartBody = []CommunityListRuleRequest -// PluginsBgpBgpsessionPartialUpdateJSONRequestBody defines body for PluginsBgpBgpsessionPartialUpdate for application/json ContentType. -type PluginsBgpBgpsessionPartialUpdateJSONRequestBody = PatchedWritableBGPSessionRequest +// PluginsBgpCommunityListRuleBulkUpdateJSONBody defines parameters for PluginsBgpCommunityListRuleBulkUpdate. +type PluginsBgpCommunityListRuleBulkUpdateJSONBody = []CommunityListRuleRequest -// PluginsBgpBgpsessionPartialUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionPartialUpdate for multipart/form-data ContentType. -type PluginsBgpBgpsessionPartialUpdateMultipartRequestBody = PatchedWritableBGPSessionRequest +// PluginsBgpCommunityListRuleBulkUpdateMultipartBody defines parameters for PluginsBgpCommunityListRuleBulkUpdate. +type PluginsBgpCommunityListRuleBulkUpdateMultipartBody = []CommunityListRuleRequest -// PluginsBgpBgpsessionUpdateJSONRequestBody defines body for PluginsBgpBgpsessionUpdate for application/json ContentType. -type PluginsBgpBgpsessionUpdateJSONRequestBody = WritableBGPSessionRequest +// PluginsBgpCommunityListBulkDestroyJSONBody defines parameters for PluginsBgpCommunityListBulkDestroy. +type PluginsBgpCommunityListBulkDestroyJSONBody = []CommunityListRequest -// PluginsBgpBgpsessionUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionUpdate for multipart/form-data ContentType. -type PluginsBgpBgpsessionUpdateMultipartRequestBody = WritableBGPSessionRequest +// PluginsBgpCommunityListBulkDestroyMultipartBody defines parameters for PluginsBgpCommunityListBulkDestroy. +type PluginsBgpCommunityListBulkDestroyMultipartBody = []CommunityListRequest -// PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody defines body for PluginsBgpCommunityListRuleBulkDestroy for application/json ContentType. -type PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody = PluginsBgpCommunityListRuleBulkDestroyJSONBody +// PluginsBgpCommunityListListParams defines parameters for PluginsBgpCommunityListList. +type PluginsBgpCommunityListListParams 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"` -// PluginsBgpCommunityListRuleBulkDestroyMultipartRequestBody defines body for PluginsBgpCommunityListRuleBulkDestroy for multipart/form-data ContentType. -type PluginsBgpCommunityListRuleBulkDestroyMultipartRequestBody = PluginsBgpCommunityListRuleBulkDestroyMultipartBody + // 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"` -// PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListRuleBulkPartialUpdate for application/json ContentType. -type PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody = PluginsBgpCommunityListRuleBulkPartialUpdateJSONBody + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpCommunityListRuleBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRuleBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListRuleBulkPartialUpdateMultipartRequestBody = PluginsBgpCommunityListRuleBulkPartialUpdateMultipartBody + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpCommunityListRuleCreateJSONRequestBody defines body for PluginsBgpCommunityListRuleCreate for application/json ContentType. -type PluginsBgpCommunityListRuleCreateJSONRequestBody = WritableCommunityListRuleRequest + // 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"` +} -// PluginsBgpCommunityListRuleCreateMultipartRequestBody defines body for PluginsBgpCommunityListRuleCreate for multipart/form-data ContentType. -type PluginsBgpCommunityListRuleCreateMultipartRequestBody = WritableCommunityListRuleRequest +// PluginsBgpCommunityListBulkPartialUpdateJSONBody defines parameters for PluginsBgpCommunityListBulkPartialUpdate. +type PluginsBgpCommunityListBulkPartialUpdateJSONBody = []CommunityListRequest -// PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody defines body for PluginsBgpCommunityListRuleBulkUpdate for application/json ContentType. -type PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody = PluginsBgpCommunityListRuleBulkUpdateJSONBody +// PluginsBgpCommunityListBulkPartialUpdateMultipartBody defines parameters for PluginsBgpCommunityListBulkPartialUpdate. +type PluginsBgpCommunityListBulkPartialUpdateMultipartBody = []CommunityListRequest -// PluginsBgpCommunityListRuleBulkUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRuleBulkUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListRuleBulkUpdateMultipartRequestBody = PluginsBgpCommunityListRuleBulkUpdateMultipartBody +// PluginsBgpCommunityListBulkUpdateJSONBody defines parameters for PluginsBgpCommunityListBulkUpdate. +type PluginsBgpCommunityListBulkUpdateJSONBody = []CommunityListRequest -// PluginsBgpCommunityListRulePartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListRulePartialUpdate for application/json ContentType. -type PluginsBgpCommunityListRulePartialUpdateJSONRequestBody = PatchedWritableCommunityListRuleRequest +// PluginsBgpCommunityListBulkUpdateMultipartBody defines parameters for PluginsBgpCommunityListBulkUpdate. +type PluginsBgpCommunityListBulkUpdateMultipartBody = []CommunityListRequest -// PluginsBgpCommunityListRulePartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRulePartialUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListRulePartialUpdateMultipartRequestBody = PatchedWritableCommunityListRuleRequest +// PluginsBgpCommunityBulkDestroyJSONBody defines parameters for PluginsBgpCommunityBulkDestroy. +type PluginsBgpCommunityBulkDestroyJSONBody = []CommunityRequest -// PluginsBgpCommunityListRuleUpdateJSONRequestBody defines body for PluginsBgpCommunityListRuleUpdate for application/json ContentType. -type PluginsBgpCommunityListRuleUpdateJSONRequestBody = WritableCommunityListRuleRequest +// PluginsBgpCommunityBulkDestroyMultipartBody defines parameters for PluginsBgpCommunityBulkDestroy. +type PluginsBgpCommunityBulkDestroyMultipartBody = []CommunityRequest -// PluginsBgpCommunityListRuleUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRuleUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListRuleUpdateMultipartRequestBody = WritableCommunityListRuleRequest +// PluginsBgpCommunityListParams defines parameters for PluginsBgpCommunityList. +type PluginsBgpCommunityListParams 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"` -// PluginsBgpCommunityListBulkDestroyJSONRequestBody defines body for PluginsBgpCommunityListBulkDestroy for application/json ContentType. -type PluginsBgpCommunityListBulkDestroyJSONRequestBody = PluginsBgpCommunityListBulkDestroyJSONBody + // 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"` -// PluginsBgpCommunityListBulkDestroyMultipartRequestBody defines body for PluginsBgpCommunityListBulkDestroy for multipart/form-data ContentType. -type PluginsBgpCommunityListBulkDestroyMultipartRequestBody = PluginsBgpCommunityListBulkDestroyMultipartBody + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListBulkPartialUpdate for application/json ContentType. -type PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody = PluginsBgpCommunityListBulkPartialUpdateJSONBody + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpCommunityListBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListBulkPartialUpdateMultipartRequestBody = PluginsBgpCommunityListBulkPartialUpdateMultipartBody + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` -// PluginsBgpCommunityListCreateJSONRequestBody defines body for PluginsBgpCommunityListCreate for application/json ContentType. -type PluginsBgpCommunityListCreateJSONRequestBody = CommunityListRequest + // Status * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *PluginsBgpCommunityListParamsStatus `form:"status,omitempty" json:"status,omitempty"` -// PluginsBgpCommunityListCreateMultipartRequestBody defines body for PluginsBgpCommunityListCreate for multipart/form-data ContentType. -type PluginsBgpCommunityListCreateMultipartRequestBody = CommunityListRequest + // StatusN * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + StatusN *PluginsBgpCommunityListParamsStatusN `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"` -// PluginsBgpCommunityListBulkUpdateJSONRequestBody defines body for PluginsBgpCommunityListBulkUpdate for application/json ContentType. -type PluginsBgpCommunityListBulkUpdateJSONRequestBody = PluginsBgpCommunityListBulkUpdateJSONBody + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` -// PluginsBgpCommunityListBulkUpdateMultipartRequestBody defines body for PluginsBgpCommunityListBulkUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListBulkUpdateMultipartRequestBody = PluginsBgpCommunityListBulkUpdateMultipartBody + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + TenantGroup *[]string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + TenantGroupN *[]string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + TenantGroupId *[]string `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + TenantGroupIdN *[]string `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` -// PluginsBgpCommunityListPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListPartialUpdate for application/json ContentType. -type PluginsBgpCommunityListPartialUpdateJSONRequestBody = PatchedCommunityListRequest + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` -// PluginsBgpCommunityListPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListPartialUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListPartialUpdateMultipartRequestBody = PatchedCommunityListRequest + // 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"` + Value *[]string `form:"value,omitempty" json:"value,omitempty"` + ValueEmpty *bool `form:"value__empty,omitempty" json:"value__empty,omitempty"` + ValueIc *[]string `form:"value__ic,omitempty" json:"value__ic,omitempty"` + ValueIe *[]string `form:"value__ie,omitempty" json:"value__ie,omitempty"` + ValueIew *[]string `form:"value__iew,omitempty" json:"value__iew,omitempty"` + ValueIsw *[]string `form:"value__isw,omitempty" json:"value__isw,omitempty"` + ValueN *[]string `form:"value__n,omitempty" json:"value__n,omitempty"` + ValueNic *[]string `form:"value__nic,omitempty" json:"value__nic,omitempty"` + ValueNie *[]string `form:"value__nie,omitempty" json:"value__nie,omitempty"` + ValueNiew *[]string `form:"value__niew,omitempty" json:"value__niew,omitempty"` + ValueNisw *[]string `form:"value__nisw,omitempty" json:"value__nisw,omitempty"` +} -// PluginsBgpCommunityListUpdateJSONRequestBody defines body for PluginsBgpCommunityListUpdate for application/json ContentType. -type PluginsBgpCommunityListUpdateJSONRequestBody = CommunityListRequest +// PluginsBgpCommunityListParamsStatus defines parameters for PluginsBgpCommunityList. +type PluginsBgpCommunityListParamsStatus string -// PluginsBgpCommunityListUpdateMultipartRequestBody defines body for PluginsBgpCommunityListUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityListUpdateMultipartRequestBody = CommunityListRequest +// PluginsBgpCommunityListParamsStatusN defines parameters for PluginsBgpCommunityList. +type PluginsBgpCommunityListParamsStatusN string -// PluginsBgpCommunityBulkDestroyJSONRequestBody defines body for PluginsBgpCommunityBulkDestroy for application/json ContentType. -type PluginsBgpCommunityBulkDestroyJSONRequestBody = PluginsBgpCommunityBulkDestroyJSONBody +// PluginsBgpCommunityBulkPartialUpdateJSONBody defines parameters for PluginsBgpCommunityBulkPartialUpdate. +type PluginsBgpCommunityBulkPartialUpdateJSONBody = []CommunityRequest -// PluginsBgpCommunityBulkDestroyMultipartRequestBody defines body for PluginsBgpCommunityBulkDestroy for multipart/form-data ContentType. -type PluginsBgpCommunityBulkDestroyMultipartRequestBody = PluginsBgpCommunityBulkDestroyMultipartBody +// PluginsBgpCommunityBulkPartialUpdateMultipartBody defines parameters for PluginsBgpCommunityBulkPartialUpdate. +type PluginsBgpCommunityBulkPartialUpdateMultipartBody = []CommunityRequest -// PluginsBgpCommunityBulkPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityBulkPartialUpdate for application/json ContentType. -type PluginsBgpCommunityBulkPartialUpdateJSONRequestBody = PluginsBgpCommunityBulkPartialUpdateJSONBody +// PluginsBgpCommunityBulkUpdateJSONBody defines parameters for PluginsBgpCommunityBulkUpdate. +type PluginsBgpCommunityBulkUpdateJSONBody = []CommunityRequest -// PluginsBgpCommunityBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityBulkPartialUpdateMultipartRequestBody = PluginsBgpCommunityBulkPartialUpdateMultipartBody +// PluginsBgpCommunityBulkUpdateMultipartBody defines parameters for PluginsBgpCommunityBulkUpdate. +type PluginsBgpCommunityBulkUpdateMultipartBody = []CommunityRequest -// PluginsBgpCommunityCreateJSONRequestBody defines body for PluginsBgpCommunityCreate for application/json ContentType. -type PluginsBgpCommunityCreateJSONRequestBody = WritableCommunityRequest +// PluginsBgpPeerGroupBulkDestroyJSONBody defines parameters for PluginsBgpPeerGroupBulkDestroy. +type PluginsBgpPeerGroupBulkDestroyJSONBody = []BGPPeerGroupRequest -// PluginsBgpCommunityCreateMultipartRequestBody defines body for PluginsBgpCommunityCreate for multipart/form-data ContentType. -type PluginsBgpCommunityCreateMultipartRequestBody = WritableCommunityRequest +// PluginsBgpPeerGroupBulkDestroyMultipartBody defines parameters for PluginsBgpPeerGroupBulkDestroy. +type PluginsBgpPeerGroupBulkDestroyMultipartBody = []BGPPeerGroupRequest -// PluginsBgpCommunityBulkUpdateJSONRequestBody defines body for PluginsBgpCommunityBulkUpdate for application/json ContentType. -type PluginsBgpCommunityBulkUpdateJSONRequestBody = PluginsBgpCommunityBulkUpdateJSONBody +// PluginsBgpPeerGroupListParams defines parameters for PluginsBgpPeerGroupList. +type PluginsBgpPeerGroupListParams 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"` -// PluginsBgpCommunityBulkUpdateMultipartRequestBody defines body for PluginsBgpCommunityBulkUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityBulkUpdateMultipartRequestBody = PluginsBgpCommunityBulkUpdateMultipartBody + // 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"` -// PluginsBgpCommunityPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityPartialUpdate for application/json ContentType. -type PluginsBgpCommunityPartialUpdateJSONRequestBody = PatchedWritableCommunityRequest + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpCommunityPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityPartialUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityPartialUpdateMultipartRequestBody = PatchedWritableCommunityRequest + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpCommunityUpdateJSONRequestBody defines body for PluginsBgpCommunityUpdate for application/json ContentType. -type PluginsBgpCommunityUpdateJSONRequestBody = WritableCommunityRequest + // 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"` +} -// PluginsBgpCommunityUpdateMultipartRequestBody defines body for PluginsBgpCommunityUpdate for multipart/form-data ContentType. -type PluginsBgpCommunityUpdateMultipartRequestBody = WritableCommunityRequest +// PluginsBgpPeerGroupBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeerGroupBulkPartialUpdate. +type PluginsBgpPeerGroupBulkPartialUpdateJSONBody = []BGPPeerGroupRequest -// PluginsBgpPeerGroupBulkDestroyJSONRequestBody defines body for PluginsBgpPeerGroupBulkDestroy for application/json ContentType. -type PluginsBgpPeerGroupBulkDestroyJSONRequestBody = PluginsBgpPeerGroupBulkDestroyJSONBody +// PluginsBgpPeerGroupBulkPartialUpdateMultipartBody defines parameters for PluginsBgpPeerGroupBulkPartialUpdate. +type PluginsBgpPeerGroupBulkPartialUpdateMultipartBody = []BGPPeerGroupRequest -// PluginsBgpPeerGroupBulkDestroyMultipartRequestBody defines body for PluginsBgpPeerGroupBulkDestroy for multipart/form-data ContentType. -type PluginsBgpPeerGroupBulkDestroyMultipartRequestBody = PluginsBgpPeerGroupBulkDestroyMultipartBody +// PluginsBgpPeerGroupBulkUpdateJSONBody defines parameters for PluginsBgpPeerGroupBulkUpdate. +type PluginsBgpPeerGroupBulkUpdateJSONBody = []BGPPeerGroupRequest -// PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupBulkPartialUpdate for application/json ContentType. -type PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody = PluginsBgpPeerGroupBulkPartialUpdateJSONBody +// PluginsBgpPeerGroupBulkUpdateMultipartBody defines parameters for PluginsBgpPeerGroupBulkUpdate. +type PluginsBgpPeerGroupBulkUpdateMultipartBody = []BGPPeerGroupRequest -// PluginsBgpPeerGroupBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpPeerGroupBulkPartialUpdateMultipartRequestBody = PluginsBgpPeerGroupBulkPartialUpdateMultipartBody +// PluginsBgpPrefixListRuleBulkDestroyJSONBody defines parameters for PluginsBgpPrefixListRuleBulkDestroy. +type PluginsBgpPrefixListRuleBulkDestroyJSONBody = []PrefixListRuleRequest -// PluginsBgpPeerGroupCreateJSONRequestBody defines body for PluginsBgpPeerGroupCreate for application/json ContentType. -type PluginsBgpPeerGroupCreateJSONRequestBody = BGPPeerGroupRequest +// PluginsBgpPrefixListRuleBulkDestroyMultipartBody defines parameters for PluginsBgpPrefixListRuleBulkDestroy. +type PluginsBgpPrefixListRuleBulkDestroyMultipartBody = []PrefixListRuleRequest -// PluginsBgpPeerGroupCreateMultipartRequestBody defines body for PluginsBgpPeerGroupCreate for multipart/form-data ContentType. -type PluginsBgpPeerGroupCreateMultipartRequestBody = BGPPeerGroupRequest +// PluginsBgpPrefixListRuleListParams defines parameters for PluginsBgpPrefixListRuleList. +type PluginsBgpPrefixListRuleListParams struct { + // Action * `permit` - Permit + // * `deny` - Deny + Action *PluginsBgpPrefixListRuleListParamsAction `form:"action,omitempty" json:"action,omitempty"` -// PluginsBgpPeerGroupBulkUpdateJSONRequestBody defines body for PluginsBgpPeerGroupBulkUpdate for application/json ContentType. -type PluginsBgpPeerGroupBulkUpdateJSONRequestBody = PluginsBgpPeerGroupBulkUpdateJSONBody + // ActionN * `permit` - Permit + // * `deny` - Deny + ActionN *PluginsBgpPrefixListRuleListParamsActionN `form:"action__n,omitempty" json:"action__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"` + Ge *[]int32 `form:"ge,omitempty" json:"ge,omitempty"` + GeEmpty *bool `form:"ge__empty,omitempty" json:"ge__empty,omitempty"` + GeGt *[]int32 `form:"ge__gt,omitempty" json:"ge__gt,omitempty"` + GeGte *[]int32 `form:"ge__gte,omitempty" json:"ge__gte,omitempty"` + GeLt *[]int32 `form:"ge__lt,omitempty" json:"ge__lt,omitempty"` + GeLte *[]int32 `form:"ge__lte,omitempty" json:"ge__lte,omitempty"` + GeN *[]int32 `form:"ge__n,omitempty" json:"ge__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"` + Index *[]int32 `form:"index,omitempty" json:"index,omitempty"` + IndexEmpty *bool `form:"index__empty,omitempty" json:"index__empty,omitempty"` + IndexGt *[]int32 `form:"index__gt,omitempty" json:"index__gt,omitempty"` + IndexGte *[]int32 `form:"index__gte,omitempty" json:"index__gte,omitempty"` + IndexLt *[]int32 `form:"index__lt,omitempty" json:"index__lt,omitempty"` + IndexLte *[]int32 `form:"index__lte,omitempty" json:"index__lte,omitempty"` + IndexN *[]int32 `form:"index__n,omitempty" json:"index__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"` + Le *[]int32 `form:"le,omitempty" json:"le,omitempty"` + LeEmpty *bool `form:"le__empty,omitempty" json:"le__empty,omitempty"` + LeGt *[]int32 `form:"le__gt,omitempty" json:"le__gt,omitempty"` + LeGte *[]int32 `form:"le__gte,omitempty" json:"le__gte,omitempty"` + LeLt *[]int32 `form:"le__lt,omitempty" json:"le__lt,omitempty"` + LeLte *[]int32 `form:"le__lte,omitempty" json:"le__lte,omitempty"` + LeN *[]int32 `form:"le__n,omitempty" json:"le__n,omitempty"` -// PluginsBgpPeerGroupBulkUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupBulkUpdate for multipart/form-data ContentType. -type PluginsBgpPeerGroupBulkUpdateMultipartRequestBody = PluginsBgpPeerGroupBulkUpdateMultipartBody + // 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"` -// PluginsBgpPeerGroupPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupPartialUpdate for application/json ContentType. -type PluginsBgpPeerGroupPartialUpdateJSONRequestBody = PatchedBGPPeerGroupRequest + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpPeerGroupPartialUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupPartialUpdate for multipart/form-data ContentType. -type PluginsBgpPeerGroupPartialUpdateMultipartRequestBody = PatchedBGPPeerGroupRequest + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PrefixList *int `form:"prefix_list,omitempty" json:"prefix_list,omitempty"` + PrefixListN *int `form:"prefix_list__n,omitempty" json:"prefix_list__n,omitempty"` + PrefixListId *int `form:"prefix_list_id,omitempty" json:"prefix_list_id,omitempty"` + PrefixListIdN *int `form:"prefix_list_id__n,omitempty" json:"prefix_list_id__n,omitempty"` -// PluginsBgpPeerGroupUpdateJSONRequestBody defines body for PluginsBgpPeerGroupUpdate for application/json ContentType. -type PluginsBgpPeerGroupUpdateJSONRequestBody = BGPPeerGroupRequest + // 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"` +} -// PluginsBgpPeerGroupUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupUpdate for multipart/form-data ContentType. -type PluginsBgpPeerGroupUpdateMultipartRequestBody = BGPPeerGroupRequest +// PluginsBgpPrefixListRuleListParamsAction defines parameters for PluginsBgpPrefixListRuleList. +type PluginsBgpPrefixListRuleListParamsAction string -// PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody defines body for PluginsBgpPrefixListRuleBulkDestroy for application/json ContentType. -type PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody = PluginsBgpPrefixListRuleBulkDestroyJSONBody +// PluginsBgpPrefixListRuleListParamsActionN defines parameters for PluginsBgpPrefixListRuleList. +type PluginsBgpPrefixListRuleListParamsActionN string -// PluginsBgpPrefixListRuleBulkDestroyMultipartRequestBody defines body for PluginsBgpPrefixListRuleBulkDestroy for multipart/form-data ContentType. -type PluginsBgpPrefixListRuleBulkDestroyMultipartRequestBody = PluginsBgpPrefixListRuleBulkDestroyMultipartBody +// PluginsBgpPrefixListRuleBulkPartialUpdateJSONBody defines parameters for PluginsBgpPrefixListRuleBulkPartialUpdate. +type PluginsBgpPrefixListRuleBulkPartialUpdateJSONBody = []PrefixListRuleRequest -// PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListRuleBulkPartialUpdate for application/json ContentType. -type PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody = PluginsBgpPrefixListRuleBulkPartialUpdateJSONBody +// PluginsBgpPrefixListRuleBulkPartialUpdateMultipartBody defines parameters for PluginsBgpPrefixListRuleBulkPartialUpdate. +type PluginsBgpPrefixListRuleBulkPartialUpdateMultipartBody = []PrefixListRuleRequest -// PluginsBgpPrefixListRuleBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRuleBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListRuleBulkPartialUpdateMultipartRequestBody = PluginsBgpPrefixListRuleBulkPartialUpdateMultipartBody +// PluginsBgpPrefixListRuleBulkUpdateJSONBody defines parameters for PluginsBgpPrefixListRuleBulkUpdate. +type PluginsBgpPrefixListRuleBulkUpdateJSONBody = []PrefixListRuleRequest -// PluginsBgpPrefixListRuleCreateJSONRequestBody defines body for PluginsBgpPrefixListRuleCreate for application/json ContentType. -type PluginsBgpPrefixListRuleCreateJSONRequestBody = WritablePrefixListRuleRequest +// PluginsBgpPrefixListRuleBulkUpdateMultipartBody defines parameters for PluginsBgpPrefixListRuleBulkUpdate. +type PluginsBgpPrefixListRuleBulkUpdateMultipartBody = []PrefixListRuleRequest -// PluginsBgpPrefixListRuleCreateMultipartRequestBody defines body for PluginsBgpPrefixListRuleCreate for multipart/form-data ContentType. -type PluginsBgpPrefixListRuleCreateMultipartRequestBody = WritablePrefixListRuleRequest +// PluginsBgpPrefixListBulkDestroyJSONBody defines parameters for PluginsBgpPrefixListBulkDestroy. +type PluginsBgpPrefixListBulkDestroyJSONBody = []PrefixListRequest -// PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody defines body for PluginsBgpPrefixListRuleBulkUpdate for application/json ContentType. -type PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody = PluginsBgpPrefixListRuleBulkUpdateJSONBody +// PluginsBgpPrefixListBulkDestroyMultipartBody defines parameters for PluginsBgpPrefixListBulkDestroy. +type PluginsBgpPrefixListBulkDestroyMultipartBody = []PrefixListRequest -// PluginsBgpPrefixListRuleBulkUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRuleBulkUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListRuleBulkUpdateMultipartRequestBody = PluginsBgpPrefixListRuleBulkUpdateMultipartBody +// PluginsBgpPrefixListListParams defines parameters for PluginsBgpPrefixListList. +type PluginsBgpPrefixListListParams 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"` -// PluginsBgpPrefixListRulePartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListRulePartialUpdate for application/json ContentType. -type PluginsBgpPrefixListRulePartialUpdateJSONRequestBody = PatchedWritablePrefixListRuleRequest + // Family * `ipv4` - IPv4 + // * `ipv6` - IPv6 + Family *PluginsBgpPrefixListListParamsFamily `form:"family,omitempty" json:"family,omitempty"` -// PluginsBgpPrefixListRulePartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRulePartialUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListRulePartialUpdateMultipartRequestBody = PatchedWritablePrefixListRuleRequest + // FamilyN * `ipv4` - IPv4 + // * `ipv6` - IPv6 + FamilyN *PluginsBgpPrefixListListParamsFamilyN `form:"family__n,omitempty" json:"family__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"` -// PluginsBgpPrefixListRuleUpdateJSONRequestBody defines body for PluginsBgpPrefixListRuleUpdate for application/json ContentType. -type PluginsBgpPrefixListRuleUpdateJSONRequestBody = WritablePrefixListRuleRequest + // 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"` -// PluginsBgpPrefixListRuleUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRuleUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListRuleUpdateMultipartRequestBody = WritablePrefixListRuleRequest + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpPrefixListBulkDestroyJSONRequestBody defines body for PluginsBgpPrefixListBulkDestroy for application/json ContentType. -type PluginsBgpPrefixListBulkDestroyJSONRequestBody = PluginsBgpPrefixListBulkDestroyJSONBody + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpPrefixListBulkDestroyMultipartRequestBody defines body for PluginsBgpPrefixListBulkDestroy for multipart/form-data ContentType. -type PluginsBgpPrefixListBulkDestroyMultipartRequestBody = PluginsBgpPrefixListBulkDestroyMultipartBody + // 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"` +} -// PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListBulkPartialUpdate for application/json ContentType. -type PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody = PluginsBgpPrefixListBulkPartialUpdateJSONBody +// PluginsBgpPrefixListListParamsFamily defines parameters for PluginsBgpPrefixListList. +type PluginsBgpPrefixListListParamsFamily string -// PluginsBgpPrefixListBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListBulkPartialUpdateMultipartRequestBody = PluginsBgpPrefixListBulkPartialUpdateMultipartBody +// PluginsBgpPrefixListListParamsFamilyN defines parameters for PluginsBgpPrefixListList. +type PluginsBgpPrefixListListParamsFamilyN string -// PluginsBgpPrefixListCreateJSONRequestBody defines body for PluginsBgpPrefixListCreate for application/json ContentType. -type PluginsBgpPrefixListCreateJSONRequestBody = PrefixListRequest +// PluginsBgpPrefixListBulkPartialUpdateJSONBody defines parameters for PluginsBgpPrefixListBulkPartialUpdate. +type PluginsBgpPrefixListBulkPartialUpdateJSONBody = []PrefixListRequest -// PluginsBgpPrefixListCreateMultipartRequestBody defines body for PluginsBgpPrefixListCreate for multipart/form-data ContentType. -type PluginsBgpPrefixListCreateMultipartRequestBody = PrefixListRequest +// PluginsBgpPrefixListBulkPartialUpdateMultipartBody defines parameters for PluginsBgpPrefixListBulkPartialUpdate. +type PluginsBgpPrefixListBulkPartialUpdateMultipartBody = []PrefixListRequest -// PluginsBgpPrefixListBulkUpdateJSONRequestBody defines body for PluginsBgpPrefixListBulkUpdate for application/json ContentType. -type PluginsBgpPrefixListBulkUpdateJSONRequestBody = PluginsBgpPrefixListBulkUpdateJSONBody +// PluginsBgpPrefixListBulkUpdateJSONBody defines parameters for PluginsBgpPrefixListBulkUpdate. +type PluginsBgpPrefixListBulkUpdateJSONBody = []PrefixListRequest -// PluginsBgpPrefixListBulkUpdateMultipartRequestBody defines body for PluginsBgpPrefixListBulkUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListBulkUpdateMultipartRequestBody = PluginsBgpPrefixListBulkUpdateMultipartBody +// PluginsBgpPrefixListBulkUpdateMultipartBody defines parameters for PluginsBgpPrefixListBulkUpdate. +type PluginsBgpPrefixListBulkUpdateMultipartBody = []PrefixListRequest -// PluginsBgpPrefixListPartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListPartialUpdate for application/json ContentType. -type PluginsBgpPrefixListPartialUpdateJSONRequestBody = PatchedPrefixListRequest +// PluginsBgpRoutingPolicyRuleBulkDestroyJSONBody defines parameters for PluginsBgpRoutingPolicyRuleBulkDestroy. +type PluginsBgpRoutingPolicyRuleBulkDestroyJSONBody = []RoutingPolicyRuleRequest -// PluginsBgpPrefixListPartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListPartialUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListPartialUpdateMultipartRequestBody = PatchedPrefixListRequest +// PluginsBgpRoutingPolicyRuleBulkDestroyMultipartBody defines parameters for PluginsBgpRoutingPolicyRuleBulkDestroy. +type PluginsBgpRoutingPolicyRuleBulkDestroyMultipartBody = []RoutingPolicyRuleRequest -// PluginsBgpPrefixListUpdateJSONRequestBody defines body for PluginsBgpPrefixListUpdate for application/json ContentType. -type PluginsBgpPrefixListUpdateJSONRequestBody = PrefixListRequest +// PluginsBgpRoutingPolicyRuleListParams defines parameters for PluginsBgpRoutingPolicyRuleList. +type PluginsBgpRoutingPolicyRuleListParams struct { + // Action * `permit` - Permit + // * `deny` - Deny + Action *PluginsBgpRoutingPolicyRuleListParamsAction `form:"action,omitempty" json:"action,omitempty"` -// PluginsBgpPrefixListUpdateMultipartRequestBody defines body for PluginsBgpPrefixListUpdate for multipart/form-data ContentType. -type PluginsBgpPrefixListUpdateMultipartRequestBody = PrefixListRequest + // ActionN * `permit` - Permit + // * `deny` - Deny + ActionN *PluginsBgpRoutingPolicyRuleListParamsActionN `form:"action__n,omitempty" json:"action__n,omitempty"` + ContinueEntry *[]int32 `form:"continue_entry,omitempty" json:"continue_entry,omitempty"` + ContinueEntryEmpty *bool `form:"continue_entry__empty,omitempty" json:"continue_entry__empty,omitempty"` + ContinueEntryGt *[]int32 `form:"continue_entry__gt,omitempty" json:"continue_entry__gt,omitempty"` + ContinueEntryGte *[]int32 `form:"continue_entry__gte,omitempty" json:"continue_entry__gte,omitempty"` + ContinueEntryLt *[]int32 `form:"continue_entry__lt,omitempty" json:"continue_entry__lt,omitempty"` + ContinueEntryLte *[]int32 `form:"continue_entry__lte,omitempty" json:"continue_entry__lte,omitempty"` + ContinueEntryN *[]int32 `form:"continue_entry__n,omitempty" json:"continue_entry__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"` + Index *[]int32 `form:"index,omitempty" json:"index,omitempty"` + IndexEmpty *bool `form:"index__empty,omitempty" json:"index__empty,omitempty"` + IndexGt *[]int32 `form:"index__gt,omitempty" json:"index__gt,omitempty"` + IndexGte *[]int32 `form:"index__gte,omitempty" json:"index__gte,omitempty"` + IndexLt *[]int32 `form:"index__lt,omitempty" json:"index__lt,omitempty"` + IndexLte *[]int32 `form:"index__lte,omitempty" json:"index__lte,omitempty"` + IndexN *[]int32 `form:"index__n,omitempty" json:"index__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"` -// PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkDestroy for application/json ContentType. -type PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody = PluginsBgpRoutingPolicyRuleBulkDestroyJSONBody + // 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"` -// PluginsBgpRoutingPolicyRuleBulkDestroyMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkDestroy for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyRuleBulkDestroyMultipartRequestBody = PluginsBgpRoutingPolicyRuleBulkDestroyMultipartBody + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkPartialUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody = PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONBody + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartRequestBody = PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartBody + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RoutingPolicyId *int `form:"routing_policy_id,omitempty" json:"routing_policy_id,omitempty"` + RoutingPolicyIdN *int `form:"routing_policy_id__n,omitempty" json:"routing_policy_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"` +} -// PluginsBgpRoutingPolicyRuleCreateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleCreate for application/json ContentType. -type PluginsBgpRoutingPolicyRuleCreateJSONRequestBody = WritableRoutingPolicyRuleRequest +// PluginsBgpRoutingPolicyRuleListParamsAction defines parameters for PluginsBgpRoutingPolicyRuleList. +type PluginsBgpRoutingPolicyRuleListParamsAction string -// PluginsBgpRoutingPolicyRuleCreateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleCreate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyRuleCreateMultipartRequestBody = WritableRoutingPolicyRuleRequest +// PluginsBgpRoutingPolicyRuleListParamsActionN defines parameters for PluginsBgpRoutingPolicyRuleList. +type PluginsBgpRoutingPolicyRuleListParamsActionN string -// PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody = PluginsBgpRoutingPolicyRuleBulkUpdateJSONBody +// PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyRuleBulkPartialUpdate. +type PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONBody = []RoutingPolicyRuleRequest -// PluginsBgpRoutingPolicyRuleBulkUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyRuleBulkUpdateMultipartRequestBody = PluginsBgpRoutingPolicyRuleBulkUpdateMultipartBody +// PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyRuleBulkPartialUpdate. +type PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartBody = []RoutingPolicyRuleRequest -// PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRulePartialUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody = PatchedWritableRoutingPolicyRuleRequest +// PluginsBgpRoutingPolicyRuleBulkUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyRuleBulkUpdate. +type PluginsBgpRoutingPolicyRuleBulkUpdateJSONBody = []RoutingPolicyRuleRequest -// PluginsBgpRoutingPolicyRulePartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRulePartialUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyRulePartialUpdateMultipartRequestBody = PatchedWritableRoutingPolicyRuleRequest +// PluginsBgpRoutingPolicyRuleBulkUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyRuleBulkUpdate. +type PluginsBgpRoutingPolicyRuleBulkUpdateMultipartBody = []RoutingPolicyRuleRequest -// PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody = WritableRoutingPolicyRuleRequest +// PluginsBgpRoutingPolicyBulkDestroyJSONBody defines parameters for PluginsBgpRoutingPolicyBulkDestroy. +type PluginsBgpRoutingPolicyBulkDestroyJSONBody = []RoutingPolicyRequest -// PluginsBgpRoutingPolicyRuleUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyRuleUpdateMultipartRequestBody = WritableRoutingPolicyRuleRequest +// PluginsBgpRoutingPolicyBulkDestroyMultipartBody defines parameters for PluginsBgpRoutingPolicyBulkDestroy. +type PluginsBgpRoutingPolicyBulkDestroyMultipartBody = []RoutingPolicyRequest -// PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody defines body for PluginsBgpRoutingPolicyBulkDestroy for application/json ContentType. -type PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody = PluginsBgpRoutingPolicyBulkDestroyJSONBody +// PluginsBgpRoutingPolicyListParams defines parameters for PluginsBgpRoutingPolicyList. +type PluginsBgpRoutingPolicyListParams 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"` -// PluginsBgpRoutingPolicyBulkDestroyMultipartRequestBody defines body for PluginsBgpRoutingPolicyBulkDestroy for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyBulkDestroyMultipartRequestBody = PluginsBgpRoutingPolicyBulkDestroyMultipartBody + // 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"` -// PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyBulkPartialUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody = PluginsBgpRoutingPolicyBulkPartialUpdateJSONBody + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` -// PluginsBgpRoutingPolicyBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyBulkPartialUpdateMultipartRequestBody = PluginsBgpRoutingPolicyBulkPartialUpdateMultipartBody + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` -// PluginsBgpRoutingPolicyCreateJSONRequestBody defines body for PluginsBgpRoutingPolicyCreate for application/json ContentType. -type PluginsBgpRoutingPolicyCreateJSONRequestBody = RoutingPolicyRequest + // 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"` +} -// PluginsBgpRoutingPolicyCreateMultipartRequestBody defines body for PluginsBgpRoutingPolicyCreate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyCreateMultipartRequestBody = RoutingPolicyRequest +// PluginsBgpRoutingPolicyBulkPartialUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyBulkPartialUpdate. +type PluginsBgpRoutingPolicyBulkPartialUpdateJSONBody = []RoutingPolicyRequest -// PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyBulkUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody = PluginsBgpRoutingPolicyBulkUpdateJSONBody +// PluginsBgpRoutingPolicyBulkPartialUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyBulkPartialUpdate. +type PluginsBgpRoutingPolicyBulkPartialUpdateMultipartBody = []RoutingPolicyRequest -// PluginsBgpRoutingPolicyBulkUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyBulkUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyBulkUpdateMultipartRequestBody = PluginsBgpRoutingPolicyBulkUpdateMultipartBody +// PluginsBgpRoutingPolicyBulkUpdateJSONBody defines parameters for PluginsBgpRoutingPolicyBulkUpdate. +type PluginsBgpRoutingPolicyBulkUpdateJSONBody = []RoutingPolicyRequest -// PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyPartialUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody = PatchedRoutingPolicyRequest +// PluginsBgpRoutingPolicyBulkUpdateMultipartBody defines parameters for PluginsBgpRoutingPolicyBulkUpdate. +type PluginsBgpRoutingPolicyBulkUpdateMultipartBody = []RoutingPolicyRequest -// PluginsBgpRoutingPolicyPartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyPartialUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyPartialUpdateMultipartRequestBody = PatchedRoutingPolicyRequest +// PluginsBgpSessionBulkDestroyJSONBody defines parameters for PluginsBgpSessionBulkDestroy. +type PluginsBgpSessionBulkDestroyJSONBody = []BGPSessionRequest -// PluginsBgpRoutingPolicyUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyUpdate for application/json ContentType. -type PluginsBgpRoutingPolicyUpdateJSONRequestBody = RoutingPolicyRequest +// PluginsBgpSessionBulkDestroyMultipartBody defines parameters for PluginsBgpSessionBulkDestroy. +type PluginsBgpSessionBulkDestroyMultipartBody = []BGPSessionRequest -// PluginsBgpRoutingPolicyUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyUpdate for multipart/form-data ContentType. -type PluginsBgpRoutingPolicyUpdateMultipartRequestBody = RoutingPolicyRequest +// PluginsBgpSessionListParams defines parameters for PluginsBgpSessionList. +type PluginsBgpSessionListParams struct { + // ByLocalAddress Local Address + ByLocalAddress *string `form:"by_local_address,omitempty" json:"by_local_address,omitempty"` -// PluginsBgpSessionBulkDestroyJSONRequestBody defines body for PluginsBgpSessionBulkDestroy for application/json ContentType. -type PluginsBgpSessionBulkDestroyJSONRequestBody = PluginsBgpSessionBulkDestroyJSONBody + // ByRemoteAddress Remote Address + ByRemoteAddress *string `form:"by_remote_address,omitempty" json:"by_remote_address,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"` -// PluginsBgpSessionBulkDestroyMultipartRequestBody defines body for PluginsBgpSessionBulkDestroy for multipart/form-data ContentType. -type PluginsBgpSessionBulkDestroyMultipartRequestBody = PluginsBgpSessionBulkDestroyMultipartBody + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` -// PluginsBgpSessionBulkPartialUpdateJSONRequestBody defines body for PluginsBgpSessionBulkPartialUpdate for application/json ContentType. -type PluginsBgpSessionBulkPartialUpdateJSONRequestBody = PluginsBgpSessionBulkPartialUpdateJSONBody + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` -// PluginsBgpSessionBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpSessionBulkPartialUpdate for multipart/form-data ContentType. -type PluginsBgpSessionBulkPartialUpdateMultipartRequestBody = PluginsBgpSessionBulkPartialUpdateMultipartBody + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` -// PluginsBgpSessionCreateJSONRequestBody defines body for PluginsBgpSessionCreate for application/json ContentType. -type PluginsBgpSessionCreateJSONRequestBody = WritableBGPSessionRequest + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + ExportPolicies *[]int `form:"export_policies,omitempty" json:"export_policies,omitempty"` + ExportPoliciesN *[]int `form:"export_policies__n,omitempty" json:"export_policies__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"` + ImportPolicies *[]int `form:"import_policies,omitempty" json:"import_policies,omitempty"` + ImportPoliciesN *[]int `form:"import_policies__n,omitempty" json:"import_policies__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"` -// PluginsBgpSessionCreateMultipartRequestBody defines body for PluginsBgpSessionCreate for multipart/form-data ContentType. -type PluginsBgpSessionCreateMultipartRequestBody = WritableBGPSessionRequest + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// PluginsBgpSessionBulkUpdateJSONRequestBody defines body for PluginsBgpSessionBulkUpdate for application/json ContentType. -type PluginsBgpSessionBulkUpdateJSONRequestBody = PluginsBgpSessionBulkUpdateJSONBody + // LocalAddress Local Address + LocalAddress *[]string `form:"local_address,omitempty" json:"local_address,omitempty"` -// PluginsBgpSessionBulkUpdateMultipartRequestBody defines body for PluginsBgpSessionBulkUpdate for multipart/form-data ContentType. -type PluginsBgpSessionBulkUpdateMultipartRequestBody = PluginsBgpSessionBulkUpdateMultipartBody + // LocalAddressN Local Address + LocalAddressN *[]string `form:"local_address__n,omitempty" json:"local_address__n,omitempty"` -// PluginsBgpSessionPartialUpdateJSONRequestBody defines body for PluginsBgpSessionPartialUpdate for application/json ContentType. -type PluginsBgpSessionPartialUpdateJSONRequestBody = PatchedWritableBGPSessionRequest + // LocalAddressId Local Address (ID) + LocalAddressId *[]int `form:"local_address_id,omitempty" json:"local_address_id,omitempty"` -// PluginsBgpSessionPartialUpdateMultipartRequestBody defines body for PluginsBgpSessionPartialUpdate for multipart/form-data ContentType. -type PluginsBgpSessionPartialUpdateMultipartRequestBody = PatchedWritableBGPSessionRequest + // LocalAddressIdN Local Address (ID) + LocalAddressIdN *[]int `form:"local_address_id__n,omitempty" json:"local_address_id__n,omitempty"` -// PluginsBgpSessionUpdateJSONRequestBody defines body for PluginsBgpSessionUpdate for application/json ContentType. -type PluginsBgpSessionUpdateJSONRequestBody = WritableBGPSessionRequest + // LocalAs Local AS (Number) + LocalAs *[]int64 `form:"local_as,omitempty" json:"local_as,omitempty"` -// PluginsBgpSessionUpdateMultipartRequestBody defines body for PluginsBgpSessionUpdate for multipart/form-data ContentType. -type PluginsBgpSessionUpdateMultipartRequestBody = WritableBGPSessionRequest + // LocalAsN Local AS (Number) + LocalAsN *[]int64 `form:"local_as__n,omitempty" json:"local_as__n,omitempty"` -// RequestEditorFn is the function signature for the RequestEditor callback function -type RequestEditorFn func(ctx context.Context, req *http.Request) error + // LocalAsId Local AS (ID) + LocalAsId *[]int `form:"local_as_id,omitempty" json:"local_as_id,omitempty"` -// Doer performs HTTP requests. -// -// The standard http.Client implements this interface. -type HttpRequestDoer interface { - Do(req *http.Request) (*http.Response, error) -} + // LocalAsIdN Local AS (ID) + LocalAsIdN *[]int `form:"local_as_id__n,omitempty" json:"local_as_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"` -// 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 + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Doer for performing requests, typically a *http.Client with any - // customized settings, such as certificate chains. - Client HttpRequestDoer + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PeerGroup *[]int `form:"peer_group,omitempty" json:"peer_group,omitempty"` + PeerGroupN *[]int `form:"peer_group__n,omitempty" json:"peer_group__n,omitempty"` - // A list of callbacks for modifying requests which are generated before sending over - // the network. - RequestEditors []RequestEditorFn -} + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` -// ClientOption allows setting custom parameters during construction -type ClientOption func(*Client) error + // RemoteAddress Remote Address + RemoteAddress *[]string `form:"remote_address,omitempty" json:"remote_address,omitempty"` -// 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 -} + // RemoteAddressN Remote Address + RemoteAddressN *[]string `form:"remote_address__n,omitempty" json:"remote_address__n,omitempty"` -// 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 - } -} + // RemoteAddressId Remote Address (ID) + RemoteAddressId *[]int `form:"remote_address_id,omitempty" json:"remote_address_id,omitempty"` -// 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 - } -} + // RemoteAddressIdN Remote Address (ID) + RemoteAddressIdN *[]int `form:"remote_address_id__n,omitempty" json:"remote_address_id__n,omitempty"` -// The interface specification for the client above. -type ClientInterface interface { - // PluginsBgpBgppeergroupBulkDestroyWithBody request with any body - PluginsBgpBgppeergroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // RemoteAs Remote AS (Number) + RemoteAs *[]int64 `form:"remote_as,omitempty" json:"remote_as,omitempty"` - PluginsBgpBgppeergroupBulkDestroy(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // RemoteAsN Remote AS (Number) + RemoteAsN *[]int64 `form:"remote_as__n,omitempty" json:"remote_as__n,omitempty"` - // PluginsBgpBgppeergroupList request - PluginsBgpBgppeergroupList(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // RemoteAsId Remote AS (ID) + RemoteAsId *[]int `form:"remote_as_id,omitempty" json:"remote_as_id,omitempty"` - // PluginsBgpBgppeergroupBulkPartialUpdateWithBody request with any body - PluginsBgpBgppeergroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // RemoteAsIdN Remote AS (ID) + RemoteAsIdN *[]int `form:"remote_as_id__n,omitempty" json:"remote_as_id__n,omitempty"` - PluginsBgpBgppeergroupBulkPartialUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // Site DSite (name) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // PluginsBgpBgppeergroupCreateWithBody request with any body - PluginsBgpBgppeergroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // SiteN DSite (name) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - PluginsBgpBgppeergroupCreate(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` - // PluginsBgpBgppeergroupBulkUpdateWithBody request with any body - PluginsBgpBgppeergroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` - PluginsBgpBgppeergroupBulkUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + Status *PluginsBgpSessionListParamsStatus `form:"status,omitempty" json:"status,omitempty"` - // PluginsBgpBgppeergroupDestroy request - PluginsBgpBgppeergroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + // StatusN * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + StatusN *PluginsBgpSessionListParamsStatusN `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"` - // PluginsBgpBgppeergroupRetrieve request - PluginsBgpBgppeergroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` - // PluginsBgpBgppeergroupPartialUpdateWithBody request with any body - PluginsBgpBgppeergroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + TenantGroup *[]string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + TenantGroupN *[]string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + TenantGroupId *[]string `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + TenantGroupIdN *[]string `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - PluginsBgpBgppeergroupPartialUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // PluginsBgpBgppeergroupUpdateWithBody request with any body - PluginsBgpBgppeergroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // 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"` +} - PluginsBgpBgppeergroupUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsBgpSessionListParamsStatus defines parameters for PluginsBgpSessionList. +type PluginsBgpSessionListParamsStatus string - // PluginsBgpBgpsessionBulkDestroyWithBody request with any body - PluginsBgpBgpsessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsBgpSessionListParamsStatusN defines parameters for PluginsBgpSessionList. +type PluginsBgpSessionListParamsStatusN string - PluginsBgpBgpsessionBulkDestroy(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsBgpSessionBulkPartialUpdateJSONBody defines parameters for PluginsBgpSessionBulkPartialUpdate. +type PluginsBgpSessionBulkPartialUpdateJSONBody = []BGPSessionRequest - // PluginsBgpBgpsessionList request - PluginsBgpBgpsessionList(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsBgpSessionBulkPartialUpdateMultipartBody defines parameters for PluginsBgpSessionBulkPartialUpdate. +type PluginsBgpSessionBulkPartialUpdateMultipartBody = []BGPSessionRequest - // PluginsBgpBgpsessionBulkPartialUpdateWithBody request with any body - PluginsBgpBgpsessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsBgpSessionBulkUpdateJSONBody defines parameters for PluginsBgpSessionBulkUpdate. +type PluginsBgpSessionBulkUpdateJSONBody = []BGPSessionRequest - PluginsBgpBgpsessionBulkPartialUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsBgpSessionBulkUpdateMultipartBody defines parameters for PluginsBgpSessionBulkUpdate. +type PluginsBgpSessionBulkUpdateMultipartBody = []BGPSessionRequest - // PluginsBgpBgpsessionCreateWithBody request with any body - PluginsBgpBgpsessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSecretRolesBulkDestroyJSONBody defines parameters for PluginsSecretsSecretRolesBulkDestroy. +type PluginsSecretsSecretRolesBulkDestroyJSONBody = []SecretRoleRequest + +// PluginsSecretsSecretRolesBulkDestroyMultipartBody defines parameters for PluginsSecretsSecretRolesBulkDestroy. +type PluginsSecretsSecretRolesBulkDestroyMultipartBody = []SecretRoleRequest + +// PluginsSecretsSecretRolesListParams defines parameters for PluginsSecretsSecretRolesList. +type PluginsSecretsSecretRolesListParams struct { + Comments *string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIsw *string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNisw *string `form:"comments__nisw,omitempty" json:"comments__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"` - PluginsBgpBgpsessionCreate(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // 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"` - // PluginsBgpBgpsessionBulkUpdateWithBody request with any body - PluginsBgpBgpsessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - PluginsBgpBgpsessionBulkUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` - // PluginsBgpBgpsessionDestroy request - PluginsBgpBgpsessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + // 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"` +} - // PluginsBgpBgpsessionRetrieve request - PluginsBgpBgpsessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSecretRolesBulkPartialUpdateJSONBody defines parameters for PluginsSecretsSecretRolesBulkPartialUpdate. +type PluginsSecretsSecretRolesBulkPartialUpdateJSONBody = []SecretRoleRequest + +// PluginsSecretsSecretRolesBulkPartialUpdateMultipartBody defines parameters for PluginsSecretsSecretRolesBulkPartialUpdate. +type PluginsSecretsSecretRolesBulkPartialUpdateMultipartBody = []SecretRoleRequest + +// PluginsSecretsSecretRolesBulkUpdateJSONBody defines parameters for PluginsSecretsSecretRolesBulkUpdate. +type PluginsSecretsSecretRolesBulkUpdateJSONBody = []SecretRoleRequest + +// PluginsSecretsSecretRolesBulkUpdateMultipartBody defines parameters for PluginsSecretsSecretRolesBulkUpdate. +type PluginsSecretsSecretRolesBulkUpdateMultipartBody = []SecretRoleRequest + +// PluginsSecretsSecretsBulkDestroyJSONBody defines parameters for PluginsSecretsSecretsBulkDestroy. +type PluginsSecretsSecretsBulkDestroyJSONBody = []SecretRequest + +// PluginsSecretsSecretsBulkDestroyMultipartBody defines parameters for PluginsSecretsSecretsBulkDestroy. +type PluginsSecretsSecretsBulkDestroyMultipartBody = []SecretRequest + +// PluginsSecretsSecretsListParams defines parameters for PluginsSecretsSecretsList. +type PluginsSecretsSecretsListParams struct { + 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"` + 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 Object type (ID) + AssignedObjectTypeId *[]int `form:"assigned_object_type_id,omitempty" json:"assigned_object_type_id,omitempty"` + + // AssignedObjectTypeIdN Object type (ID) + AssignedObjectTypeIdN *[]int `form:"assigned_object_type_id__n,omitempty" json:"assigned_object_type_id__n,omitempty"` + Comments *string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIsw *string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNisw *string `form:"comments__nisw,omitempty" json:"comments__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"` - // PluginsBgpBgpsessionPartialUpdateWithBody request with any body - PluginsBgpBgpsessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // 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"` - PluginsBgpBgpsessionPartialUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // PluginsBgpBgpsessionUpdateWithBody request with any body - PluginsBgpBgpsessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` - PluginsBgpBgpsessionUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // PluginsBgpCommunityListRuleBulkDestroyWithBody request with any body - PluginsBgpCommunityListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - PluginsBgpCommunityListRuleBulkDestroy(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` - // PluginsBgpCommunityListRuleList request - PluginsBgpCommunityListRuleList(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` - // PluginsBgpCommunityListRuleBulkPartialUpdateWithBody request with any body - PluginsBgpCommunityListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // RoleIdN 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"` +} - PluginsBgpCommunityListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSecretsBulkPartialUpdateJSONBody defines parameters for PluginsSecretsSecretsBulkPartialUpdate. +type PluginsSecretsSecretsBulkPartialUpdateJSONBody = []SecretRequest - // PluginsBgpCommunityListRuleCreateWithBody request with any body - PluginsBgpCommunityListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSecretsBulkPartialUpdateMultipartBody defines parameters for PluginsSecretsSecretsBulkPartialUpdate. +type PluginsSecretsSecretsBulkPartialUpdateMultipartBody = []SecretRequest - PluginsBgpCommunityListRuleCreate(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSecretsBulkUpdateJSONBody defines parameters for PluginsSecretsSecretsBulkUpdate. +type PluginsSecretsSecretsBulkUpdateJSONBody = []SecretRequest - // PluginsBgpCommunityListRuleBulkUpdateWithBody request with any body - PluginsBgpCommunityListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSecretsBulkUpdateMultipartBody defines parameters for PluginsSecretsSecretsBulkUpdate. +type PluginsSecretsSecretsBulkUpdateMultipartBody = []SecretRequest - PluginsBgpCommunityListRuleBulkUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsSessionKeysListParams defines parameters for PluginsSecretsSessionKeysList. +type PluginsSecretsSessionKeysListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // PluginsBgpCommunityListRuleDestroy request - PluginsBgpCommunityListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // PluginsBgpCommunityListRuleRetrieve request - PluginsBgpCommunityListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` +} - // PluginsBgpCommunityListRulePartialUpdateWithBody request with any body - PluginsBgpCommunityListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// PluginsSecretsUserKeysListParams defines parameters for PluginsSecretsUserKeysList. +type PluginsSecretsUserKeysListParams 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"` - PluginsBgpCommunityListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // 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"` - // PluginsBgpCommunityListRuleUpdateWithBody request with any body - PluginsBgpCommunityListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - PluginsBgpCommunityListRuleUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` - // PluginsBgpCommunityListBulkDestroyWithBody request with any body - PluginsBgpCommunityListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // 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"` - PluginsBgpCommunityListBulkDestroy(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` - // PluginsBgpCommunityListList request - PluginsBgpCommunityListList(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` - // PluginsBgpCommunityListBulkPartialUpdateWithBody request with any body - PluginsBgpCommunityListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UserId User (ID) + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` - PluginsBgpCommunityListBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // UserIdN User (ID) + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` +} - // PluginsBgpCommunityListCreateWithBody request with any body - PluginsBgpCommunityListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksBulkDestroyJSONRequestBody defines body for ExtrasBookmarksBulkDestroy for application/json ContentType. +type ExtrasBookmarksBulkDestroyJSONRequestBody = ExtrasBookmarksBulkDestroyJSONBody - PluginsBgpCommunityListCreate(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksBulkDestroyMultipartRequestBody defines body for ExtrasBookmarksBulkDestroy for multipart/form-data ContentType. +type ExtrasBookmarksBulkDestroyMultipartRequestBody = ExtrasBookmarksBulkDestroyMultipartBody - // PluginsBgpCommunityListBulkUpdateWithBody request with any body - PluginsBgpCommunityListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksBulkPartialUpdateJSONRequestBody defines body for ExtrasBookmarksBulkPartialUpdate for application/json ContentType. +type ExtrasBookmarksBulkPartialUpdateJSONRequestBody = ExtrasBookmarksBulkPartialUpdateJSONBody - PluginsBgpCommunityListBulkUpdate(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksBulkPartialUpdateMultipartRequestBody defines body for ExtrasBookmarksBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasBookmarksBulkPartialUpdateMultipartRequestBody = ExtrasBookmarksBulkPartialUpdateMultipartBody - // PluginsBgpCommunityListDestroy request - PluginsBgpCommunityListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksCreateJSONRequestBody defines body for ExtrasBookmarksCreate for application/json ContentType. +type ExtrasBookmarksCreateJSONRequestBody = BookmarkRequest - // PluginsBgpCommunityListRetrieve request - PluginsBgpCommunityListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksCreateMultipartRequestBody defines body for ExtrasBookmarksCreate for multipart/form-data ContentType. +type ExtrasBookmarksCreateMultipartRequestBody = BookmarkRequest - // PluginsBgpCommunityListPartialUpdateWithBody request with any body - PluginsBgpCommunityListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksBulkUpdateJSONRequestBody defines body for ExtrasBookmarksBulkUpdate for application/json ContentType. +type ExtrasBookmarksBulkUpdateJSONRequestBody = ExtrasBookmarksBulkUpdateJSONBody - PluginsBgpCommunityListPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksBulkUpdateMultipartRequestBody defines body for ExtrasBookmarksBulkUpdate for multipart/form-data ContentType. +type ExtrasBookmarksBulkUpdateMultipartRequestBody = ExtrasBookmarksBulkUpdateMultipartBody - // PluginsBgpCommunityListUpdateWithBody request with any body - PluginsBgpCommunityListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksPartialUpdateJSONRequestBody defines body for ExtrasBookmarksPartialUpdate for application/json ContentType. +type ExtrasBookmarksPartialUpdateJSONRequestBody = PatchedBookmarkRequest - PluginsBgpCommunityListUpdate(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksPartialUpdateMultipartRequestBody defines body for ExtrasBookmarksPartialUpdate for multipart/form-data ContentType. +type ExtrasBookmarksPartialUpdateMultipartRequestBody = PatchedBookmarkRequest - // PluginsBgpCommunityBulkDestroyWithBody request with any body - PluginsBgpCommunityBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksUpdateJSONRequestBody defines body for ExtrasBookmarksUpdate for application/json ContentType. +type ExtrasBookmarksUpdateJSONRequestBody = BookmarkRequest - PluginsBgpCommunityBulkDestroy(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasBookmarksUpdateMultipartRequestBody defines body for ExtrasBookmarksUpdate for multipart/form-data ContentType. +type ExtrasBookmarksUpdateMultipartRequestBody = BookmarkRequest - // PluginsBgpCommunityList request - PluginsBgpCommunityList(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsBulkDestroyJSONRequestBody defines body for ExtrasConfigContextsBulkDestroy for application/json ContentType. +type ExtrasConfigContextsBulkDestroyJSONRequestBody = ExtrasConfigContextsBulkDestroyJSONBody - // PluginsBgpCommunityBulkPartialUpdateWithBody request with any body - PluginsBgpCommunityBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsBulkDestroyMultipartRequestBody defines body for ExtrasConfigContextsBulkDestroy for multipart/form-data ContentType. +type ExtrasConfigContextsBulkDestroyMultipartRequestBody = ExtrasConfigContextsBulkDestroyMultipartBody - PluginsBgpCommunityBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkPartialUpdate for application/json ContentType. +type ExtrasConfigContextsBulkPartialUpdateJSONRequestBody = ExtrasConfigContextsBulkPartialUpdateJSONBody - // PluginsBgpCommunityCreateWithBody request with any body - PluginsBgpCommunityCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsBulkPartialUpdateMultipartRequestBody defines body for ExtrasConfigContextsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsBulkPartialUpdateMultipartRequestBody = ExtrasConfigContextsBulkPartialUpdateMultipartBody - PluginsBgpCommunityCreate(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsCreateJSONRequestBody defines body for ExtrasConfigContextsCreate for application/json ContentType. +type ExtrasConfigContextsCreateJSONRequestBody = ConfigContextRequest - // PluginsBgpCommunityBulkUpdateWithBody request with any body - PluginsBgpCommunityBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsCreateMultipartRequestBody defines body for ExtrasConfigContextsCreate for multipart/form-data ContentType. +type ExtrasConfigContextsCreateMultipartRequestBody = ConfigContextRequest - PluginsBgpCommunityBulkUpdate(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsBulkUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkUpdate for application/json ContentType. +type ExtrasConfigContextsBulkUpdateJSONRequestBody = ExtrasConfigContextsBulkUpdateJSONBody - // PluginsBgpCommunityDestroy request - PluginsBgpCommunityDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsBulkUpdateMultipartRequestBody defines body for ExtrasConfigContextsBulkUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsBulkUpdateMultipartRequestBody = ExtrasConfigContextsBulkUpdateMultipartBody - // PluginsBgpCommunityRetrieve request - PluginsBgpCommunityRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsPartialUpdate for application/json ContentType. +type ExtrasConfigContextsPartialUpdateJSONRequestBody = PatchedConfigContextRequest - // PluginsBgpCommunityPartialUpdateWithBody request with any body - PluginsBgpCommunityPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsPartialUpdateMultipartRequestBody defines body for ExtrasConfigContextsPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsPartialUpdateMultipartRequestBody = PatchedConfigContextRequest - PluginsBgpCommunityPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsUpdateJSONRequestBody defines body for ExtrasConfigContextsUpdate for application/json ContentType. +type ExtrasConfigContextsUpdateJSONRequestBody = ConfigContextRequest - // PluginsBgpCommunityUpdateWithBody request with any body - PluginsBgpCommunityUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsUpdateMultipartRequestBody defines body for ExtrasConfigContextsUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsUpdateMultipartRequestBody = ConfigContextRequest - PluginsBgpCommunityUpdate(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsSyncCreateJSONRequestBody defines body for ExtrasConfigContextsSyncCreate for application/json ContentType. +type ExtrasConfigContextsSyncCreateJSONRequestBody = ConfigContextRequest - // PluginsBgpPeerGroupBulkDestroyWithBody request with any body - PluginsBgpPeerGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigContextsSyncCreateMultipartRequestBody defines body for ExtrasConfigContextsSyncCreate for multipart/form-data ContentType. +type ExtrasConfigContextsSyncCreateMultipartRequestBody = ConfigContextRequest - PluginsBgpPeerGroupBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesBulkDestroyJSONRequestBody defines body for ExtrasConfigTemplatesBulkDestroy for application/json ContentType. +type ExtrasConfigTemplatesBulkDestroyJSONRequestBody = ExtrasConfigTemplatesBulkDestroyJSONBody - // PluginsBgpPeerGroupList request - PluginsBgpPeerGroupList(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesBulkDestroyMultipartRequestBody defines body for ExtrasConfigTemplatesBulkDestroy for multipart/form-data ContentType. +type ExtrasConfigTemplatesBulkDestroyMultipartRequestBody = ExtrasConfigTemplatesBulkDestroyMultipartBody - // PluginsBgpPeerGroupBulkPartialUpdateWithBody request with any body - PluginsBgpPeerGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigTemplatesBulkPartialUpdate for application/json ContentType. +type ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody = ExtrasConfigTemplatesBulkPartialUpdateJSONBody - PluginsBgpPeerGroupBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesBulkPartialUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesBulkPartialUpdateMultipartRequestBody = ExtrasConfigTemplatesBulkPartialUpdateMultipartBody - // PluginsBgpPeerGroupCreateWithBody request with any body - PluginsBgpPeerGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesCreateJSONRequestBody defines body for ExtrasConfigTemplatesCreate for application/json ContentType. +type ExtrasConfigTemplatesCreateJSONRequestBody = ConfigTemplateRequest - PluginsBgpPeerGroupCreate(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesCreateMultipartRequestBody defines body for ExtrasConfigTemplatesCreate for multipart/form-data ContentType. +type ExtrasConfigTemplatesCreateMultipartRequestBody = ConfigTemplateRequest - // PluginsBgpPeerGroupBulkUpdateWithBody request with any body - PluginsBgpPeerGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesBulkUpdateJSONRequestBody defines body for ExtrasConfigTemplatesBulkUpdate for application/json ContentType. +type ExtrasConfigTemplatesBulkUpdateJSONRequestBody = ExtrasConfigTemplatesBulkUpdateJSONBody - PluginsBgpPeerGroupBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesBulkUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesBulkUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesBulkUpdateMultipartRequestBody = ExtrasConfigTemplatesBulkUpdateMultipartBody - // PluginsBgpPeerGroupDestroy request - PluginsBgpPeerGroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesPartialUpdateJSONRequestBody defines body for ExtrasConfigTemplatesPartialUpdate for application/json ContentType. +type ExtrasConfigTemplatesPartialUpdateJSONRequestBody = PatchedConfigTemplateRequest - // PluginsBgpPeerGroupRetrieve request - PluginsBgpPeerGroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesPartialUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesPartialUpdateMultipartRequestBody = PatchedConfigTemplateRequest - // PluginsBgpPeerGroupPartialUpdateWithBody request with any body - PluginsBgpPeerGroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesUpdateJSONRequestBody defines body for ExtrasConfigTemplatesUpdate for application/json ContentType. +type ExtrasConfigTemplatesUpdateJSONRequestBody = ConfigTemplateRequest - PluginsBgpPeerGroupPartialUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesUpdateMultipartRequestBody = ConfigTemplateRequest - // PluginsBgpPeerGroupUpdateWithBody request with any body - PluginsBgpPeerGroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesRenderCreateJSONRequestBody defines body for ExtrasConfigTemplatesRenderCreate for application/json ContentType. +type ExtrasConfigTemplatesRenderCreateJSONRequestBody = ConfigTemplateRequest - PluginsBgpPeerGroupUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesRenderCreateMultipartRequestBody defines body for ExtrasConfigTemplatesRenderCreate for multipart/form-data ContentType. +type ExtrasConfigTemplatesRenderCreateMultipartRequestBody = ConfigTemplateRequest - // PluginsBgpPrefixListRuleBulkDestroyWithBody request with any body - PluginsBgpPrefixListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesSyncCreateJSONRequestBody defines body for ExtrasConfigTemplatesSyncCreate for application/json ContentType. +type ExtrasConfigTemplatesSyncCreateJSONRequestBody = ConfigTemplateRequest - PluginsBgpPrefixListRuleBulkDestroy(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasConfigTemplatesSyncCreateMultipartRequestBody defines body for ExtrasConfigTemplatesSyncCreate for multipart/form-data ContentType. +type ExtrasConfigTemplatesSyncCreateMultipartRequestBody = ConfigTemplateRequest - // PluginsBgpPrefixListRuleList request - PluginsBgpPrefixListRuleList(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkDestroy for application/json ContentType. +type ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody = ExtrasCustomFieldChoiceSetsBulkDestroyJSONBody - // PluginsBgpPrefixListRuleBulkPartialUpdateWithBody request with any body - PluginsBgpPrefixListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsBulkDestroyMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkDestroy for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsBulkDestroyMultipartRequestBody = ExtrasCustomFieldChoiceSetsBulkDestroyMultipartBody - PluginsBgpPrefixListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkPartialUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody = ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONBody - // PluginsBgpPrefixListRuleCreateWithBody request with any body - PluginsBgpPrefixListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartRequestBody = ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartBody - PluginsBgpPrefixListRuleCreate(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsCreateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsCreate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsCreateJSONRequestBody = WritableCustomFieldChoiceSetRequest - // PluginsBgpPrefixListRuleBulkUpdateWithBody request with any body - PluginsBgpPrefixListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsCreateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsCreate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsCreateMultipartRequestBody = WritableCustomFieldChoiceSetRequest - PluginsBgpPrefixListRuleBulkUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody = ExtrasCustomFieldChoiceSetsBulkUpdateJSONBody - // PluginsBgpPrefixListRuleDestroy request - PluginsBgpPrefixListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsBulkUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsBulkUpdateMultipartRequestBody = ExtrasCustomFieldChoiceSetsBulkUpdateMultipartBody - // PluginsBgpPrefixListRuleRetrieve request - PluginsBgpPrefixListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsPartialUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody = PatchedWritableCustomFieldChoiceSetRequest - // PluginsBgpPrefixListRulePartialUpdateWithBody request with any body - PluginsBgpPrefixListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsPartialUpdateMultipartRequestBody = PatchedWritableCustomFieldChoiceSetRequest - PluginsBgpPrefixListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody = WritableCustomFieldChoiceSetRequest - // PluginsBgpPrefixListRuleUpdateWithBody request with any body - PluginsBgpPrefixListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldChoiceSetsUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsUpdateMultipartRequestBody = WritableCustomFieldChoiceSetRequest - PluginsBgpPrefixListRuleUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsBulkDestroyJSONRequestBody defines body for ExtrasCustomFieldsBulkDestroy for application/json ContentType. +type ExtrasCustomFieldsBulkDestroyJSONRequestBody = ExtrasCustomFieldsBulkDestroyJSONBody - // PluginsBgpPrefixListBulkDestroyWithBody request with any body - PluginsBgpPrefixListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsBulkDestroyMultipartRequestBody defines body for ExtrasCustomFieldsBulkDestroy for multipart/form-data ContentType. +type ExtrasCustomFieldsBulkDestroyMultipartRequestBody = ExtrasCustomFieldsBulkDestroyMultipartBody - PluginsBgpPrefixListBulkDestroy(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkPartialUpdate for application/json ContentType. +type ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody = ExtrasCustomFieldsBulkPartialUpdateJSONBody - // PluginsBgpPrefixListList request - PluginsBgpPrefixListList(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsBulkPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsBulkPartialUpdateMultipartRequestBody = ExtrasCustomFieldsBulkPartialUpdateMultipartBody - // PluginsBgpPrefixListBulkPartialUpdateWithBody request with any body - PluginsBgpPrefixListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsCreateJSONRequestBody defines body for ExtrasCustomFieldsCreate for application/json ContentType. +type ExtrasCustomFieldsCreateJSONRequestBody = WritableCustomFieldRequest - PluginsBgpPrefixListBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsCreateMultipartRequestBody defines body for ExtrasCustomFieldsCreate for multipart/form-data ContentType. +type ExtrasCustomFieldsCreateMultipartRequestBody = WritableCustomFieldRequest - // PluginsBgpPrefixListCreateWithBody request with any body - PluginsBgpPrefixListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkUpdate for application/json ContentType. +type ExtrasCustomFieldsBulkUpdateJSONRequestBody = ExtrasCustomFieldsBulkUpdateJSONBody - PluginsBgpPrefixListCreate(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsBulkUpdateMultipartRequestBody defines body for ExtrasCustomFieldsBulkUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsBulkUpdateMultipartRequestBody = ExtrasCustomFieldsBulkUpdateMultipartBody - // PluginsBgpPrefixListBulkUpdateWithBody request with any body - PluginsBgpPrefixListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsPartialUpdate for application/json ContentType. +type ExtrasCustomFieldsPartialUpdateJSONRequestBody = PatchedWritableCustomFieldRequest - PluginsBgpPrefixListBulkUpdate(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldsPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsPartialUpdateMultipartRequestBody = PatchedWritableCustomFieldRequest - // PluginsBgpPrefixListDestroy request - PluginsBgpPrefixListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsUpdateJSONRequestBody defines body for ExtrasCustomFieldsUpdate for application/json ContentType. +type ExtrasCustomFieldsUpdateJSONRequestBody = WritableCustomFieldRequest - // PluginsBgpPrefixListRetrieve request - PluginsBgpPrefixListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomFieldsUpdateMultipartRequestBody defines body for ExtrasCustomFieldsUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsUpdateMultipartRequestBody = WritableCustomFieldRequest - // PluginsBgpPrefixListPartialUpdateWithBody request with any body - PluginsBgpPrefixListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksBulkDestroyJSONRequestBody defines body for ExtrasCustomLinksBulkDestroy for application/json ContentType. +type ExtrasCustomLinksBulkDestroyJSONRequestBody = ExtrasCustomLinksBulkDestroyJSONBody - PluginsBgpPrefixListPartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksBulkDestroyMultipartRequestBody defines body for ExtrasCustomLinksBulkDestroy for multipart/form-data ContentType. +type ExtrasCustomLinksBulkDestroyMultipartRequestBody = ExtrasCustomLinksBulkDestroyMultipartBody - // PluginsBgpPrefixListUpdateWithBody request with any body - PluginsBgpPrefixListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkPartialUpdate for application/json ContentType. +type ExtrasCustomLinksBulkPartialUpdateJSONRequestBody = ExtrasCustomLinksBulkPartialUpdateJSONBody - PluginsBgpPrefixListUpdate(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksBulkPartialUpdateMultipartRequestBody defines body for ExtrasCustomLinksBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksBulkPartialUpdateMultipartRequestBody = ExtrasCustomLinksBulkPartialUpdateMultipartBody - // PluginsBgpRoutingPolicyRuleBulkDestroyWithBody request with any body - PluginsBgpRoutingPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksCreateJSONRequestBody defines body for ExtrasCustomLinksCreate for application/json ContentType. +type ExtrasCustomLinksCreateJSONRequestBody = CustomLinkRequest - PluginsBgpRoutingPolicyRuleBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksCreateMultipartRequestBody defines body for ExtrasCustomLinksCreate for multipart/form-data ContentType. +type ExtrasCustomLinksCreateMultipartRequestBody = CustomLinkRequest - // PluginsBgpRoutingPolicyRuleList request - PluginsBgpRoutingPolicyRuleList(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksBulkUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkUpdate for application/json ContentType. +type ExtrasCustomLinksBulkUpdateJSONRequestBody = ExtrasCustomLinksBulkUpdateJSONBody - // PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody request with any body - PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksBulkUpdateMultipartRequestBody defines body for ExtrasCustomLinksBulkUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksBulkUpdateMultipartRequestBody = ExtrasCustomLinksBulkUpdateMultipartBody - PluginsBgpRoutingPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksPartialUpdate for application/json ContentType. +type ExtrasCustomLinksPartialUpdateJSONRequestBody = PatchedCustomLinkRequest - // PluginsBgpRoutingPolicyRuleCreateWithBody request with any body - PluginsBgpRoutingPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksPartialUpdateMultipartRequestBody defines body for ExtrasCustomLinksPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksPartialUpdateMultipartRequestBody = PatchedCustomLinkRequest - PluginsBgpRoutingPolicyRuleCreate(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksUpdateJSONRequestBody defines body for ExtrasCustomLinksUpdate for application/json ContentType. +type ExtrasCustomLinksUpdateJSONRequestBody = CustomLinkRequest - // PluginsBgpRoutingPolicyRuleBulkUpdateWithBody request with any body - PluginsBgpRoutingPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasCustomLinksUpdateMultipartRequestBody defines body for ExtrasCustomLinksUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksUpdateMultipartRequestBody = CustomLinkRequest - PluginsBgpRoutingPolicyRuleBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasDashboardPartialUpdateJSONRequestBody defines body for ExtrasDashboardPartialUpdate for application/json ContentType. +type ExtrasDashboardPartialUpdateJSONRequestBody = PatchedDashboardRequest - // PluginsBgpRoutingPolicyRuleDestroy request - PluginsBgpRoutingPolicyRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasDashboardPartialUpdateMultipartRequestBody defines body for ExtrasDashboardPartialUpdate for multipart/form-data ContentType. +type ExtrasDashboardPartialUpdateMultipartRequestBody = PatchedDashboardRequest - // PluginsBgpRoutingPolicyRuleRetrieve request - PluginsBgpRoutingPolicyRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasDashboardUpdateJSONRequestBody defines body for ExtrasDashboardUpdate for application/json ContentType. +type ExtrasDashboardUpdateJSONRequestBody = DashboardRequest - // PluginsBgpRoutingPolicyRulePartialUpdateWithBody request with any body - PluginsBgpRoutingPolicyRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasDashboardUpdateMultipartRequestBody defines body for ExtrasDashboardUpdate for multipart/form-data ContentType. +type ExtrasDashboardUpdateMultipartRequestBody = DashboardRequest - PluginsBgpRoutingPolicyRulePartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesBulkDestroyJSONRequestBody defines body for ExtrasEventRulesBulkDestroy for application/json ContentType. +type ExtrasEventRulesBulkDestroyJSONRequestBody = ExtrasEventRulesBulkDestroyJSONBody - // PluginsBgpRoutingPolicyRuleUpdateWithBody request with any body - PluginsBgpRoutingPolicyRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesBulkDestroyMultipartRequestBody defines body for ExtrasEventRulesBulkDestroy for multipart/form-data ContentType. +type ExtrasEventRulesBulkDestroyMultipartRequestBody = ExtrasEventRulesBulkDestroyMultipartBody - PluginsBgpRoutingPolicyRuleUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesBulkPartialUpdateJSONRequestBody defines body for ExtrasEventRulesBulkPartialUpdate for application/json ContentType. +type ExtrasEventRulesBulkPartialUpdateJSONRequestBody = ExtrasEventRulesBulkPartialUpdateJSONBody - // PluginsBgpRoutingPolicyBulkDestroyWithBody request with any body - PluginsBgpRoutingPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesBulkPartialUpdateMultipartRequestBody defines body for ExtrasEventRulesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasEventRulesBulkPartialUpdateMultipartRequestBody = ExtrasEventRulesBulkPartialUpdateMultipartBody - PluginsBgpRoutingPolicyBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesCreateJSONRequestBody defines body for ExtrasEventRulesCreate for application/json ContentType. +type ExtrasEventRulesCreateJSONRequestBody = WritableEventRuleRequest - // PluginsBgpRoutingPolicyList request - PluginsBgpRoutingPolicyList(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesCreateMultipartRequestBody defines body for ExtrasEventRulesCreate for multipart/form-data ContentType. +type ExtrasEventRulesCreateMultipartRequestBody = WritableEventRuleRequest - // PluginsBgpRoutingPolicyBulkPartialUpdateWithBody request with any body - PluginsBgpRoutingPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesBulkUpdateJSONRequestBody defines body for ExtrasEventRulesBulkUpdate for application/json ContentType. +type ExtrasEventRulesBulkUpdateJSONRequestBody = ExtrasEventRulesBulkUpdateJSONBody - PluginsBgpRoutingPolicyBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesBulkUpdateMultipartRequestBody defines body for ExtrasEventRulesBulkUpdate for multipart/form-data ContentType. +type ExtrasEventRulesBulkUpdateMultipartRequestBody = ExtrasEventRulesBulkUpdateMultipartBody - // PluginsBgpRoutingPolicyCreateWithBody request with any body - PluginsBgpRoutingPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesPartialUpdateJSONRequestBody defines body for ExtrasEventRulesPartialUpdate for application/json ContentType. +type ExtrasEventRulesPartialUpdateJSONRequestBody = PatchedWritableEventRuleRequest - PluginsBgpRoutingPolicyCreate(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesPartialUpdateMultipartRequestBody defines body for ExtrasEventRulesPartialUpdate for multipart/form-data ContentType. +type ExtrasEventRulesPartialUpdateMultipartRequestBody = PatchedWritableEventRuleRequest - // PluginsBgpRoutingPolicyBulkUpdateWithBody request with any body - PluginsBgpRoutingPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesUpdateJSONRequestBody defines body for ExtrasEventRulesUpdate for application/json ContentType. +type ExtrasEventRulesUpdateJSONRequestBody = WritableEventRuleRequest - PluginsBgpRoutingPolicyBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasEventRulesUpdateMultipartRequestBody defines body for ExtrasEventRulesUpdate for multipart/form-data ContentType. +type ExtrasEventRulesUpdateMultipartRequestBody = WritableEventRuleRequest - // PluginsBgpRoutingPolicyDestroy request - PluginsBgpRoutingPolicyDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesBulkDestroyJSONRequestBody defines body for ExtrasExportTemplatesBulkDestroy for application/json ContentType. +type ExtrasExportTemplatesBulkDestroyJSONRequestBody = ExtrasExportTemplatesBulkDestroyJSONBody - // PluginsBgpRoutingPolicyRetrieve request - PluginsBgpRoutingPolicyRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesBulkDestroyMultipartRequestBody defines body for ExtrasExportTemplatesBulkDestroy for multipart/form-data ContentType. +type ExtrasExportTemplatesBulkDestroyMultipartRequestBody = ExtrasExportTemplatesBulkDestroyMultipartBody - // PluginsBgpRoutingPolicyPartialUpdateWithBody request with any body - PluginsBgpRoutingPolicyPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkPartialUpdate for application/json ContentType. +type ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody = ExtrasExportTemplatesBulkPartialUpdateJSONBody - PluginsBgpRoutingPolicyPartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesBulkPartialUpdateMultipartRequestBody defines body for ExtrasExportTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesBulkPartialUpdateMultipartRequestBody = ExtrasExportTemplatesBulkPartialUpdateMultipartBody - // PluginsBgpRoutingPolicyUpdateWithBody request with any body - PluginsBgpRoutingPolicyUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesCreateJSONRequestBody defines body for ExtrasExportTemplatesCreate for application/json ContentType. +type ExtrasExportTemplatesCreateJSONRequestBody = ExportTemplateRequest - PluginsBgpRoutingPolicyUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesCreateMultipartRequestBody defines body for ExtrasExportTemplatesCreate for multipart/form-data ContentType. +type ExtrasExportTemplatesCreateMultipartRequestBody = ExportTemplateRequest - // PluginsBgpSessionBulkDestroyWithBody request with any body - PluginsBgpSessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesBulkUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkUpdate for application/json ContentType. +type ExtrasExportTemplatesBulkUpdateJSONRequestBody = ExtrasExportTemplatesBulkUpdateJSONBody - PluginsBgpSessionBulkDestroy(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesBulkUpdateMultipartRequestBody defines body for ExtrasExportTemplatesBulkUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesBulkUpdateMultipartRequestBody = ExtrasExportTemplatesBulkUpdateMultipartBody - // PluginsBgpSessionList request - PluginsBgpSessionList(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesPartialUpdate for application/json ContentType. +type ExtrasExportTemplatesPartialUpdateJSONRequestBody = PatchedExportTemplateRequest - // PluginsBgpSessionBulkPartialUpdateWithBody request with any body - PluginsBgpSessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesPartialUpdateMultipartRequestBody defines body for ExtrasExportTemplatesPartialUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesPartialUpdateMultipartRequestBody = PatchedExportTemplateRequest - PluginsBgpSessionBulkPartialUpdate(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesUpdateJSONRequestBody defines body for ExtrasExportTemplatesUpdate for application/json ContentType. +type ExtrasExportTemplatesUpdateJSONRequestBody = ExportTemplateRequest - // PluginsBgpSessionCreateWithBody request with any body - PluginsBgpSessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesUpdateMultipartRequestBody defines body for ExtrasExportTemplatesUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesUpdateMultipartRequestBody = ExportTemplateRequest - PluginsBgpSessionCreate(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesSyncCreateJSONRequestBody defines body for ExtrasExportTemplatesSyncCreate for application/json ContentType. +type ExtrasExportTemplatesSyncCreateJSONRequestBody = ExportTemplateRequest - // PluginsBgpSessionBulkUpdateWithBody request with any body - PluginsBgpSessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasExportTemplatesSyncCreateMultipartRequestBody defines body for ExtrasExportTemplatesSyncCreate for multipart/form-data ContentType. +type ExtrasExportTemplatesSyncCreateMultipartRequestBody = ExportTemplateRequest - PluginsBgpSessionBulkUpdate(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasImageAttachmentsBulkDestroyJSONRequestBody defines body for ExtrasImageAttachmentsBulkDestroy for application/json ContentType. +type ExtrasImageAttachmentsBulkDestroyJSONRequestBody = ExtrasImageAttachmentsBulkDestroyJSONBody - // PluginsBgpSessionDestroy request - PluginsBgpSessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasImageAttachmentsBulkDestroyMultipartRequestBody defines body for ExtrasImageAttachmentsBulkDestroy for multipart/form-data ContentType. +type ExtrasImageAttachmentsBulkDestroyMultipartRequestBody = ExtrasImageAttachmentsBulkDestroyMultipartBody - // PluginsBgpSessionRetrieve request - PluginsBgpSessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkPartialUpdate for application/json ContentType. +type ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody = ExtrasImageAttachmentsBulkPartialUpdateJSONBody - // PluginsBgpSessionPartialUpdateWithBody request with any body - PluginsBgpSessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasImageAttachmentsBulkPartialUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsBulkPartialUpdateMultipartRequestBody = ExtrasImageAttachmentsBulkPartialUpdateMultipartBody - PluginsBgpSessionPartialUpdate(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasImageAttachmentsCreateJSONRequestBody defines body for ExtrasImageAttachmentsCreate for application/json ContentType. +type ExtrasImageAttachmentsCreateJSONRequestBody = ImageAttachmentRequest - // PluginsBgpSessionUpdateWithBody request with any body - PluginsBgpSessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) +// ExtrasImageAttachmentsCreateMultipartRequestBody defines body for ExtrasImageAttachmentsCreate for multipart/form-data ContentType. +type ExtrasImageAttachmentsCreateMultipartRequestBody = ImageAttachmentRequest - PluginsBgpSessionUpdate(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) -} +// ExtrasImageAttachmentsBulkUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkUpdate for application/json ContentType. +type ExtrasImageAttachmentsBulkUpdateJSONRequestBody = ExtrasImageAttachmentsBulkUpdateJSONBody -func (c *Client) PluginsBgpBgppeergroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasImageAttachmentsBulkUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsBulkUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsBulkUpdateMultipartRequestBody = ExtrasImageAttachmentsBulkUpdateMultipartBody -func (c *Client) PluginsBgpBgppeergroupBulkDestroy(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasImageAttachmentsPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsPartialUpdate for application/json ContentType. +type ExtrasImageAttachmentsPartialUpdateJSONRequestBody = PatchedImageAttachmentRequest -func (c *Client) PluginsBgpBgppeergroupList(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupListRequest(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) -} +// ExtrasImageAttachmentsPartialUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsPartialUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsPartialUpdateMultipartRequestBody = PatchedImageAttachmentRequest -func (c *Client) PluginsBgpBgppeergroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasImageAttachmentsUpdateJSONRequestBody defines body for ExtrasImageAttachmentsUpdate for application/json ContentType. +type ExtrasImageAttachmentsUpdateJSONRequestBody = ImageAttachmentRequest -func (c *Client) PluginsBgpBgppeergroupBulkPartialUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasImageAttachmentsUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsUpdateMultipartRequestBody = ImageAttachmentRequest -func (c *Client) PluginsBgpBgppeergroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesBulkDestroyJSONRequestBody defines body for ExtrasJournalEntriesBulkDestroy for application/json ContentType. +type ExtrasJournalEntriesBulkDestroyJSONRequestBody = ExtrasJournalEntriesBulkDestroyJSONBody -func (c *Client) PluginsBgpBgppeergroupCreate(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesBulkDestroyMultipartRequestBody defines body for ExtrasJournalEntriesBulkDestroy for multipart/form-data ContentType. +type ExtrasJournalEntriesBulkDestroyMultipartRequestBody = ExtrasJournalEntriesBulkDestroyMultipartBody -func (c *Client) PluginsBgpBgppeergroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody defines body for ExtrasJournalEntriesBulkPartialUpdate for application/json ContentType. +type ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody = ExtrasJournalEntriesBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpBgppeergroupBulkUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesBulkPartialUpdateMultipartRequestBody defines body for ExtrasJournalEntriesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesBulkPartialUpdateMultipartRequestBody = ExtrasJournalEntriesBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpBgppeergroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesCreateJSONRequestBody defines body for ExtrasJournalEntriesCreate for application/json ContentType. +type ExtrasJournalEntriesCreateJSONRequestBody = WritableJournalEntryRequest -func (c *Client) PluginsBgpBgppeergroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesCreateMultipartRequestBody defines body for ExtrasJournalEntriesCreate for multipart/form-data ContentType. +type ExtrasJournalEntriesCreateMultipartRequestBody = WritableJournalEntryRequest -func (c *Client) PluginsBgpBgppeergroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesBulkUpdateJSONRequestBody defines body for ExtrasJournalEntriesBulkUpdate for application/json ContentType. +type ExtrasJournalEntriesBulkUpdateJSONRequestBody = ExtrasJournalEntriesBulkUpdateJSONBody -func (c *Client) PluginsBgpBgppeergroupPartialUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesBulkUpdateMultipartRequestBody defines body for ExtrasJournalEntriesBulkUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesBulkUpdateMultipartRequestBody = ExtrasJournalEntriesBulkUpdateMultipartBody -func (c *Client) PluginsBgpBgppeergroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesPartialUpdateJSONRequestBody defines body for ExtrasJournalEntriesPartialUpdate for application/json ContentType. +type ExtrasJournalEntriesPartialUpdateJSONRequestBody = PatchedWritableJournalEntryRequest -func (c *Client) PluginsBgpBgppeergroupUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgppeergroupUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesPartialUpdateMultipartRequestBody defines body for ExtrasJournalEntriesPartialUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesPartialUpdateMultipartRequestBody = PatchedWritableJournalEntryRequest -func (c *Client) PluginsBgpBgpsessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesUpdateJSONRequestBody defines body for ExtrasJournalEntriesUpdate for application/json ContentType. +type ExtrasJournalEntriesUpdateJSONRequestBody = WritableJournalEntryRequest -func (c *Client) PluginsBgpBgpsessionBulkDestroy(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasJournalEntriesUpdateMultipartRequestBody defines body for ExtrasJournalEntriesUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesUpdateMultipartRequestBody = WritableJournalEntryRequest -func (c *Client) PluginsBgpBgpsessionList(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionListRequest(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) -} +// ExtrasSavedFiltersBulkDestroyJSONRequestBody defines body for ExtrasSavedFiltersBulkDestroy for application/json ContentType. +type ExtrasSavedFiltersBulkDestroyJSONRequestBody = ExtrasSavedFiltersBulkDestroyJSONBody -func (c *Client) PluginsBgpBgpsessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersBulkDestroyMultipartRequestBody defines body for ExtrasSavedFiltersBulkDestroy for multipart/form-data ContentType. +type ExtrasSavedFiltersBulkDestroyMultipartRequestBody = ExtrasSavedFiltersBulkDestroyMultipartBody -func (c *Client) PluginsBgpBgpsessionBulkPartialUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody defines body for ExtrasSavedFiltersBulkPartialUpdate for application/json ContentType. +type ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody = ExtrasSavedFiltersBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpBgpsessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersBulkPartialUpdateMultipartRequestBody defines body for ExtrasSavedFiltersBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersBulkPartialUpdateMultipartRequestBody = ExtrasSavedFiltersBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpBgpsessionCreate(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersCreateJSONRequestBody defines body for ExtrasSavedFiltersCreate for application/json ContentType. +type ExtrasSavedFiltersCreateJSONRequestBody = SavedFilterRequest -func (c *Client) PluginsBgpBgpsessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersCreateMultipartRequestBody defines body for ExtrasSavedFiltersCreate for multipart/form-data ContentType. +type ExtrasSavedFiltersCreateMultipartRequestBody = SavedFilterRequest -func (c *Client) PluginsBgpBgpsessionBulkUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersBulkUpdateJSONRequestBody defines body for ExtrasSavedFiltersBulkUpdate for application/json ContentType. +type ExtrasSavedFiltersBulkUpdateJSONRequestBody = ExtrasSavedFiltersBulkUpdateJSONBody -func (c *Client) PluginsBgpBgpsessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersBulkUpdateMultipartRequestBody defines body for ExtrasSavedFiltersBulkUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersBulkUpdateMultipartRequestBody = ExtrasSavedFiltersBulkUpdateMultipartBody -func (c *Client) PluginsBgpBgpsessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersPartialUpdateJSONRequestBody defines body for ExtrasSavedFiltersPartialUpdate for application/json ContentType. +type ExtrasSavedFiltersPartialUpdateJSONRequestBody = PatchedSavedFilterRequest -func (c *Client) PluginsBgpBgpsessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersPartialUpdateMultipartRequestBody defines body for ExtrasSavedFiltersPartialUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersPartialUpdateMultipartRequestBody = PatchedSavedFilterRequest -func (c *Client) PluginsBgpBgpsessionPartialUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersUpdateJSONRequestBody defines body for ExtrasSavedFiltersUpdate for application/json ContentType. +type ExtrasSavedFiltersUpdateJSONRequestBody = SavedFilterRequest -func (c *Client) PluginsBgpBgpsessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasSavedFiltersUpdateMultipartRequestBody defines body for ExtrasSavedFiltersUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersUpdateMultipartRequestBody = SavedFilterRequest -func (c *Client) PluginsBgpBgpsessionUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpBgpsessionUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsBulkDestroyJSONRequestBody defines body for ExtrasTagsBulkDestroy for application/json ContentType. +type ExtrasTagsBulkDestroyJSONRequestBody = ExtrasTagsBulkDestroyJSONBody -func (c *Client) PluginsBgpCommunityListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsBulkDestroyMultipartRequestBody defines body for ExtrasTagsBulkDestroy for multipart/form-data ContentType. +type ExtrasTagsBulkDestroyMultipartRequestBody = ExtrasTagsBulkDestroyMultipartBody -func (c *Client) PluginsBgpCommunityListRuleBulkDestroy(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsBulkPartialUpdateJSONRequestBody defines body for ExtrasTagsBulkPartialUpdate for application/json ContentType. +type ExtrasTagsBulkPartialUpdateJSONRequestBody = ExtrasTagsBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpCommunityListRuleList(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleListRequest(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) -} +// ExtrasTagsBulkPartialUpdateMultipartRequestBody defines body for ExtrasTagsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasTagsBulkPartialUpdateMultipartRequestBody = ExtrasTagsBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpCommunityListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsCreateJSONRequestBody defines body for ExtrasTagsCreate for application/json ContentType. +type ExtrasTagsCreateJSONRequestBody = TagRequest -func (c *Client) PluginsBgpCommunityListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsCreateMultipartRequestBody defines body for ExtrasTagsCreate for multipart/form-data ContentType. +type ExtrasTagsCreateMultipartRequestBody = TagRequest -func (c *Client) PluginsBgpCommunityListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsBulkUpdateJSONRequestBody defines body for ExtrasTagsBulkUpdate for application/json ContentType. +type ExtrasTagsBulkUpdateJSONRequestBody = ExtrasTagsBulkUpdateJSONBody -func (c *Client) PluginsBgpCommunityListRuleCreate(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsBulkUpdateMultipartRequestBody defines body for ExtrasTagsBulkUpdate for multipart/form-data ContentType. +type ExtrasTagsBulkUpdateMultipartRequestBody = ExtrasTagsBulkUpdateMultipartBody -func (c *Client) PluginsBgpCommunityListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsPartialUpdateJSONRequestBody defines body for ExtrasTagsPartialUpdate for application/json ContentType. +type ExtrasTagsPartialUpdateJSONRequestBody = PatchedTagRequest -func (c *Client) PluginsBgpCommunityListRuleBulkUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsPartialUpdateMultipartRequestBody defines body for ExtrasTagsPartialUpdate for multipart/form-data ContentType. +type ExtrasTagsPartialUpdateMultipartRequestBody = PatchedTagRequest -func (c *Client) PluginsBgpCommunityListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsUpdateJSONRequestBody defines body for ExtrasTagsUpdate for application/json ContentType. +type ExtrasTagsUpdateJSONRequestBody = TagRequest -func (c *Client) PluginsBgpCommunityListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasTagsUpdateMultipartRequestBody defines body for ExtrasTagsUpdate for multipart/form-data ContentType. +type ExtrasTagsUpdateMultipartRequestBody = TagRequest -func (c *Client) PluginsBgpCommunityListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksBulkDestroyJSONRequestBody defines body for ExtrasWebhooksBulkDestroy for application/json ContentType. +type ExtrasWebhooksBulkDestroyJSONRequestBody = ExtrasWebhooksBulkDestroyJSONBody -func (c *Client) PluginsBgpCommunityListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRulePartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksBulkDestroyMultipartRequestBody defines body for ExtrasWebhooksBulkDestroy for multipart/form-data ContentType. +type ExtrasWebhooksBulkDestroyMultipartRequestBody = ExtrasWebhooksBulkDestroyMultipartBody -func (c *Client) PluginsBgpCommunityListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksBulkPartialUpdateJSONRequestBody defines body for ExtrasWebhooksBulkPartialUpdate for application/json ContentType. +type ExtrasWebhooksBulkPartialUpdateJSONRequestBody = ExtrasWebhooksBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpCommunityListRuleUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRuleUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksBulkPartialUpdateMultipartRequestBody defines body for ExtrasWebhooksBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasWebhooksBulkPartialUpdateMultipartRequestBody = ExtrasWebhooksBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpCommunityListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksCreateJSONRequestBody defines body for ExtrasWebhooksCreate for application/json ContentType. +type ExtrasWebhooksCreateJSONRequestBody = WebhookRequest -func (c *Client) PluginsBgpCommunityListBulkDestroy(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksCreateMultipartRequestBody defines body for ExtrasWebhooksCreate for multipart/form-data ContentType. +type ExtrasWebhooksCreateMultipartRequestBody = WebhookRequest -func (c *Client) PluginsBgpCommunityListList(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListListRequest(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) -} +// ExtrasWebhooksBulkUpdateJSONRequestBody defines body for ExtrasWebhooksBulkUpdate for application/json ContentType. +type ExtrasWebhooksBulkUpdateJSONRequestBody = ExtrasWebhooksBulkUpdateJSONBody -func (c *Client) PluginsBgpCommunityListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksBulkUpdateMultipartRequestBody defines body for ExtrasWebhooksBulkUpdate for multipart/form-data ContentType. +type ExtrasWebhooksBulkUpdateMultipartRequestBody = ExtrasWebhooksBulkUpdateMultipartBody -func (c *Client) PluginsBgpCommunityListBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksPartialUpdateJSONRequestBody defines body for ExtrasWebhooksPartialUpdate for application/json ContentType. +type ExtrasWebhooksPartialUpdateJSONRequestBody = PatchedWebhookRequest -func (c *Client) PluginsBgpCommunityListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksPartialUpdateMultipartRequestBody defines body for ExtrasWebhooksPartialUpdate for multipart/form-data ContentType. +type ExtrasWebhooksPartialUpdateMultipartRequestBody = PatchedWebhookRequest -func (c *Client) PluginsBgpCommunityListCreate(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksUpdateJSONRequestBody defines body for ExtrasWebhooksUpdate for application/json ContentType. +type ExtrasWebhooksUpdateJSONRequestBody = WebhookRequest -func (c *Client) PluginsBgpCommunityListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// ExtrasWebhooksUpdateMultipartRequestBody defines body for ExtrasWebhooksUpdate for multipart/form-data ContentType. +type ExtrasWebhooksUpdateMultipartRequestBody = WebhookRequest -func (c *Client) PluginsBgpCommunityListBulkUpdate(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupBulkDestroyJSONRequestBody defines body for PluginsBgpBgppeergroupBulkDestroy for application/json ContentType. +type PluginsBgpBgppeergroupBulkDestroyJSONRequestBody = PluginsBgpBgppeergroupBulkDestroyJSONBody -func (c *Client) PluginsBgpCommunityListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupBulkDestroyMultipartRequestBody defines body for PluginsBgpBgppeergroupBulkDestroy for multipart/form-data ContentType. +type PluginsBgpBgppeergroupBulkDestroyMultipartRequestBody = PluginsBgpBgppeergroupBulkDestroyMultipartBody -func (c *Client) PluginsBgpCommunityListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupBulkPartialUpdate for application/json ContentType. +type PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody = PluginsBgpBgppeergroupBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpCommunityListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpBgppeergroupBulkPartialUpdateMultipartRequestBody = PluginsBgpBgppeergroupBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpCommunityListPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupCreateJSONRequestBody defines body for PluginsBgpBgppeergroupCreate for application/json ContentType. +type PluginsBgpBgppeergroupCreateJSONRequestBody = BGPPeerGroupRequest -func (c *Client) PluginsBgpCommunityListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupCreateMultipartRequestBody defines body for PluginsBgpBgppeergroupCreate for multipart/form-data ContentType. +type PluginsBgpBgppeergroupCreateMultipartRequestBody = BGPPeerGroupRequest -func (c *Client) PluginsBgpCommunityListUpdate(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupBulkUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupBulkUpdate for application/json ContentType. +type PluginsBgpBgppeergroupBulkUpdateJSONRequestBody = PluginsBgpBgppeergroupBulkUpdateJSONBody -func (c *Client) PluginsBgpCommunityBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupBulkUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupBulkUpdate for multipart/form-data ContentType. +type PluginsBgpBgppeergroupBulkUpdateMultipartRequestBody = PluginsBgpBgppeergroupBulkUpdateMultipartBody -func (c *Client) PluginsBgpCommunityBulkDestroy(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupPartialUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupPartialUpdate for application/json ContentType. +type PluginsBgpBgppeergroupPartialUpdateJSONRequestBody = PatchedBGPPeerGroupRequest -func (c *Client) PluginsBgpCommunityList(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityListRequest(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) -} +// PluginsBgpBgppeergroupPartialUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupPartialUpdate for multipart/form-data ContentType. +type PluginsBgpBgppeergroupPartialUpdateMultipartRequestBody = PatchedBGPPeerGroupRequest -func (c *Client) PluginsBgpCommunityBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupUpdateJSONRequestBody defines body for PluginsBgpBgppeergroupUpdate for application/json ContentType. +type PluginsBgpBgppeergroupUpdateJSONRequestBody = BGPPeerGroupRequest -func (c *Client) PluginsBgpCommunityBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgppeergroupUpdateMultipartRequestBody defines body for PluginsBgpBgppeergroupUpdate for multipart/form-data ContentType. +type PluginsBgpBgppeergroupUpdateMultipartRequestBody = BGPPeerGroupRequest -func (c *Client) PluginsBgpCommunityCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionBulkDestroyJSONRequestBody defines body for PluginsBgpBgpsessionBulkDestroy for application/json ContentType. +type PluginsBgpBgpsessionBulkDestroyJSONRequestBody = PluginsBgpBgpsessionBulkDestroyJSONBody -func (c *Client) PluginsBgpCommunityCreate(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionBulkDestroyMultipartRequestBody defines body for PluginsBgpBgpsessionBulkDestroy for multipart/form-data ContentType. +type PluginsBgpBgpsessionBulkDestroyMultipartRequestBody = PluginsBgpBgpsessionBulkDestroyMultipartBody -func (c *Client) PluginsBgpCommunityBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody defines body for PluginsBgpBgpsessionBulkPartialUpdate for application/json ContentType. +type PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody = PluginsBgpBgpsessionBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpCommunityBulkUpdate(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpBgpsessionBulkPartialUpdateMultipartRequestBody = PluginsBgpBgpsessionBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpCommunityDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionCreateJSONRequestBody defines body for PluginsBgpBgpsessionCreate for application/json ContentType. +type PluginsBgpBgpsessionCreateJSONRequestBody = WritableBGPSessionRequest -func (c *Client) PluginsBgpCommunityRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionCreateMultipartRequestBody defines body for PluginsBgpBgpsessionCreate for multipart/form-data ContentType. +type PluginsBgpBgpsessionCreateMultipartRequestBody = WritableBGPSessionRequest -func (c *Client) PluginsBgpCommunityPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionBulkUpdateJSONRequestBody defines body for PluginsBgpBgpsessionBulkUpdate for application/json ContentType. +type PluginsBgpBgpsessionBulkUpdateJSONRequestBody = PluginsBgpBgpsessionBulkUpdateJSONBody -func (c *Client) PluginsBgpCommunityPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionBulkUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionBulkUpdate for multipart/form-data ContentType. +type PluginsBgpBgpsessionBulkUpdateMultipartRequestBody = PluginsBgpBgpsessionBulkUpdateMultipartBody -func (c *Client) PluginsBgpCommunityUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionPartialUpdateJSONRequestBody defines body for PluginsBgpBgpsessionPartialUpdate for application/json ContentType. +type PluginsBgpBgpsessionPartialUpdateJSONRequestBody = PatchedWritableBGPSessionRequest -func (c *Client) PluginsBgpCommunityUpdate(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpCommunityUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionPartialUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionPartialUpdate for multipart/form-data ContentType. +type PluginsBgpBgpsessionPartialUpdateMultipartRequestBody = PatchedWritableBGPSessionRequest -func (c *Client) PluginsBgpPeerGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionUpdateJSONRequestBody defines body for PluginsBgpBgpsessionUpdate for application/json ContentType. +type PluginsBgpBgpsessionUpdateJSONRequestBody = WritableBGPSessionRequest -func (c *Client) PluginsBgpPeerGroupBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpBgpsessionUpdateMultipartRequestBody defines body for PluginsBgpBgpsessionUpdate for multipart/form-data ContentType. +type PluginsBgpBgpsessionUpdateMultipartRequestBody = WritableBGPSessionRequest -func (c *Client) PluginsBgpPeerGroupList(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupListRequest(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) -} +// PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody defines body for PluginsBgpCommunityListRuleBulkDestroy for application/json ContentType. +type PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody = PluginsBgpCommunityListRuleBulkDestroyJSONBody -func (c *Client) PluginsBgpPeerGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleBulkDestroyMultipartRequestBody defines body for PluginsBgpCommunityListRuleBulkDestroy for multipart/form-data ContentType. +type PluginsBgpCommunityListRuleBulkDestroyMultipartRequestBody = PluginsBgpCommunityListRuleBulkDestroyMultipartBody -func (c *Client) PluginsBgpPeerGroupBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListRuleBulkPartialUpdate for application/json ContentType. +type PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody = PluginsBgpCommunityListRuleBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpPeerGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRuleBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListRuleBulkPartialUpdateMultipartRequestBody = PluginsBgpCommunityListRuleBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpPeerGroupCreate(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleCreateJSONRequestBody defines body for PluginsBgpCommunityListRuleCreate for application/json ContentType. +type PluginsBgpCommunityListRuleCreateJSONRequestBody = CommunityListRuleRequest -func (c *Client) PluginsBgpPeerGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleCreateMultipartRequestBody defines body for PluginsBgpCommunityListRuleCreate for multipart/form-data ContentType. +type PluginsBgpCommunityListRuleCreateMultipartRequestBody = CommunityListRuleRequest -func (c *Client) PluginsBgpPeerGroupBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody defines body for PluginsBgpCommunityListRuleBulkUpdate for application/json ContentType. +type PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody = PluginsBgpCommunityListRuleBulkUpdateJSONBody -func (c *Client) PluginsBgpPeerGroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleBulkUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRuleBulkUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListRuleBulkUpdateMultipartRequestBody = PluginsBgpCommunityListRuleBulkUpdateMultipartBody -func (c *Client) PluginsBgpPeerGroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRulePartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListRulePartialUpdate for application/json ContentType. +type PluginsBgpCommunityListRulePartialUpdateJSONRequestBody = PatchedCommunityListRuleRequest -func (c *Client) PluginsBgpPeerGroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRulePartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRulePartialUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListRulePartialUpdateMultipartRequestBody = PatchedCommunityListRuleRequest -func (c *Client) PluginsBgpPeerGroupPartialUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleUpdateJSONRequestBody defines body for PluginsBgpCommunityListRuleUpdate for application/json ContentType. +type PluginsBgpCommunityListRuleUpdateJSONRequestBody = CommunityListRuleRequest -func (c *Client) PluginsBgpPeerGroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListRuleUpdateMultipartRequestBody defines body for PluginsBgpCommunityListRuleUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListRuleUpdateMultipartRequestBody = CommunityListRuleRequest -func (c *Client) PluginsBgpPeerGroupUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPeerGroupUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListBulkDestroyJSONRequestBody defines body for PluginsBgpCommunityListBulkDestroy for application/json ContentType. +type PluginsBgpCommunityListBulkDestroyJSONRequestBody = PluginsBgpCommunityListBulkDestroyJSONBody -func (c *Client) PluginsBgpPrefixListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListBulkDestroyMultipartRequestBody defines body for PluginsBgpCommunityListBulkDestroy for multipart/form-data ContentType. +type PluginsBgpCommunityListBulkDestroyMultipartRequestBody = PluginsBgpCommunityListBulkDestroyMultipartBody -func (c *Client) PluginsBgpPrefixListRuleBulkDestroy(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListBulkPartialUpdate for application/json ContentType. +type PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody = PluginsBgpCommunityListBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpPrefixListRuleList(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleListRequest(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) -} +// PluginsBgpCommunityListBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListBulkPartialUpdateMultipartRequestBody = PluginsBgpCommunityListBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpPrefixListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListCreateJSONRequestBody defines body for PluginsBgpCommunityListCreate for application/json ContentType. +type PluginsBgpCommunityListCreateJSONRequestBody = CommunityListRequest -func (c *Client) PluginsBgpPrefixListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListCreateMultipartRequestBody defines body for PluginsBgpCommunityListCreate for multipart/form-data ContentType. +type PluginsBgpCommunityListCreateMultipartRequestBody = CommunityListRequest -func (c *Client) PluginsBgpPrefixListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListBulkUpdateJSONRequestBody defines body for PluginsBgpCommunityListBulkUpdate for application/json ContentType. +type PluginsBgpCommunityListBulkUpdateJSONRequestBody = PluginsBgpCommunityListBulkUpdateJSONBody -func (c *Client) PluginsBgpPrefixListRuleCreate(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListBulkUpdateMultipartRequestBody defines body for PluginsBgpCommunityListBulkUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListBulkUpdateMultipartRequestBody = PluginsBgpCommunityListBulkUpdateMultipartBody -func (c *Client) PluginsBgpPrefixListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityListPartialUpdate for application/json ContentType. +type PluginsBgpCommunityListPartialUpdateJSONRequestBody = PatchedCommunityListRequest -func (c *Client) PluginsBgpPrefixListRuleBulkUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityListPartialUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListPartialUpdateMultipartRequestBody = PatchedCommunityListRequest -func (c *Client) PluginsBgpPrefixListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListUpdateJSONRequestBody defines body for PluginsBgpCommunityListUpdate for application/json ContentType. +type PluginsBgpCommunityListUpdateJSONRequestBody = CommunityListRequest -func (c *Client) PluginsBgpPrefixListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityListUpdateMultipartRequestBody defines body for PluginsBgpCommunityListUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityListUpdateMultipartRequestBody = CommunityListRequest -func (c *Client) PluginsBgpPrefixListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityBulkDestroyJSONRequestBody defines body for PluginsBgpCommunityBulkDestroy for application/json ContentType. +type PluginsBgpCommunityBulkDestroyJSONRequestBody = PluginsBgpCommunityBulkDestroyJSONBody -func (c *Client) PluginsBgpPrefixListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRulePartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityBulkDestroyMultipartRequestBody defines body for PluginsBgpCommunityBulkDestroy for multipart/form-data ContentType. +type PluginsBgpCommunityBulkDestroyMultipartRequestBody = PluginsBgpCommunityBulkDestroyMultipartBody -func (c *Client) PluginsBgpPrefixListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityBulkPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityBulkPartialUpdate for application/json ContentType. +type PluginsBgpCommunityBulkPartialUpdateJSONRequestBody = PluginsBgpCommunityBulkPartialUpdateJSONBody -func (c *Client) PluginsBgpPrefixListRuleUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRuleUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// PluginsBgpCommunityBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityBulkPartialUpdateMultipartRequestBody = PluginsBgpCommunityBulkPartialUpdateMultipartBody -func (c *Client) PluginsBgpPrefixListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) +// PluginsBgpCommunityCreateJSONRequestBody defines body for PluginsBgpCommunityCreate for application/json ContentType. +type PluginsBgpCommunityCreateJSONRequestBody = WritableCommunityRequest + +// PluginsBgpCommunityCreateMultipartRequestBody defines body for PluginsBgpCommunityCreate for multipart/form-data ContentType. +type PluginsBgpCommunityCreateMultipartRequestBody = WritableCommunityRequest + +// PluginsBgpCommunityBulkUpdateJSONRequestBody defines body for PluginsBgpCommunityBulkUpdate for application/json ContentType. +type PluginsBgpCommunityBulkUpdateJSONRequestBody = PluginsBgpCommunityBulkUpdateJSONBody + +// PluginsBgpCommunityBulkUpdateMultipartRequestBody defines body for PluginsBgpCommunityBulkUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityBulkUpdateMultipartRequestBody = PluginsBgpCommunityBulkUpdateMultipartBody + +// PluginsBgpCommunityPartialUpdateJSONRequestBody defines body for PluginsBgpCommunityPartialUpdate for application/json ContentType. +type PluginsBgpCommunityPartialUpdateJSONRequestBody = PatchedWritableCommunityRequest + +// PluginsBgpCommunityPartialUpdateMultipartRequestBody defines body for PluginsBgpCommunityPartialUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityPartialUpdateMultipartRequestBody = PatchedWritableCommunityRequest + +// PluginsBgpCommunityUpdateJSONRequestBody defines body for PluginsBgpCommunityUpdate for application/json ContentType. +type PluginsBgpCommunityUpdateJSONRequestBody = WritableCommunityRequest + +// PluginsBgpCommunityUpdateMultipartRequestBody defines body for PluginsBgpCommunityUpdate for multipart/form-data ContentType. +type PluginsBgpCommunityUpdateMultipartRequestBody = WritableCommunityRequest + +// PluginsBgpPeerGroupBulkDestroyJSONRequestBody defines body for PluginsBgpPeerGroupBulkDestroy for application/json ContentType. +type PluginsBgpPeerGroupBulkDestroyJSONRequestBody = PluginsBgpPeerGroupBulkDestroyJSONBody + +// PluginsBgpPeerGroupBulkDestroyMultipartRequestBody defines body for PluginsBgpPeerGroupBulkDestroy for multipart/form-data ContentType. +type PluginsBgpPeerGroupBulkDestroyMultipartRequestBody = PluginsBgpPeerGroupBulkDestroyMultipartBody + +// PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupBulkPartialUpdate for application/json ContentType. +type PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody = PluginsBgpPeerGroupBulkPartialUpdateJSONBody + +// PluginsBgpPeerGroupBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpPeerGroupBulkPartialUpdateMultipartRequestBody = PluginsBgpPeerGroupBulkPartialUpdateMultipartBody + +// PluginsBgpPeerGroupCreateJSONRequestBody defines body for PluginsBgpPeerGroupCreate for application/json ContentType. +type PluginsBgpPeerGroupCreateJSONRequestBody = BGPPeerGroupRequest + +// PluginsBgpPeerGroupCreateMultipartRequestBody defines body for PluginsBgpPeerGroupCreate for multipart/form-data ContentType. +type PluginsBgpPeerGroupCreateMultipartRequestBody = BGPPeerGroupRequest + +// PluginsBgpPeerGroupBulkUpdateJSONRequestBody defines body for PluginsBgpPeerGroupBulkUpdate for application/json ContentType. +type PluginsBgpPeerGroupBulkUpdateJSONRequestBody = PluginsBgpPeerGroupBulkUpdateJSONBody + +// PluginsBgpPeerGroupBulkUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupBulkUpdate for multipart/form-data ContentType. +type PluginsBgpPeerGroupBulkUpdateMultipartRequestBody = PluginsBgpPeerGroupBulkUpdateMultipartBody + +// PluginsBgpPeerGroupPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupPartialUpdate for application/json ContentType. +type PluginsBgpPeerGroupPartialUpdateJSONRequestBody = PatchedBGPPeerGroupRequest + +// PluginsBgpPeerGroupPartialUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupPartialUpdate for multipart/form-data ContentType. +type PluginsBgpPeerGroupPartialUpdateMultipartRequestBody = PatchedBGPPeerGroupRequest + +// PluginsBgpPeerGroupUpdateJSONRequestBody defines body for PluginsBgpPeerGroupUpdate for application/json ContentType. +type PluginsBgpPeerGroupUpdateJSONRequestBody = BGPPeerGroupRequest + +// PluginsBgpPeerGroupUpdateMultipartRequestBody defines body for PluginsBgpPeerGroupUpdate for multipart/form-data ContentType. +type PluginsBgpPeerGroupUpdateMultipartRequestBody = BGPPeerGroupRequest + +// PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody defines body for PluginsBgpPrefixListRuleBulkDestroy for application/json ContentType. +type PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody = PluginsBgpPrefixListRuleBulkDestroyJSONBody + +// PluginsBgpPrefixListRuleBulkDestroyMultipartRequestBody defines body for PluginsBgpPrefixListRuleBulkDestroy for multipart/form-data ContentType. +type PluginsBgpPrefixListRuleBulkDestroyMultipartRequestBody = PluginsBgpPrefixListRuleBulkDestroyMultipartBody + +// PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListRuleBulkPartialUpdate for application/json ContentType. +type PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody = PluginsBgpPrefixListRuleBulkPartialUpdateJSONBody + +// PluginsBgpPrefixListRuleBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRuleBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListRuleBulkPartialUpdateMultipartRequestBody = PluginsBgpPrefixListRuleBulkPartialUpdateMultipartBody + +// PluginsBgpPrefixListRuleCreateJSONRequestBody defines body for PluginsBgpPrefixListRuleCreate for application/json ContentType. +type PluginsBgpPrefixListRuleCreateJSONRequestBody = PrefixListRuleRequest + +// PluginsBgpPrefixListRuleCreateMultipartRequestBody defines body for PluginsBgpPrefixListRuleCreate for multipart/form-data ContentType. +type PluginsBgpPrefixListRuleCreateMultipartRequestBody = PrefixListRuleRequest + +// PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody defines body for PluginsBgpPrefixListRuleBulkUpdate for application/json ContentType. +type PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody = PluginsBgpPrefixListRuleBulkUpdateJSONBody + +// PluginsBgpPrefixListRuleBulkUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRuleBulkUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListRuleBulkUpdateMultipartRequestBody = PluginsBgpPrefixListRuleBulkUpdateMultipartBody + +// PluginsBgpPrefixListRulePartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListRulePartialUpdate for application/json ContentType. +type PluginsBgpPrefixListRulePartialUpdateJSONRequestBody = PatchedPrefixListRuleRequest + +// PluginsBgpPrefixListRulePartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRulePartialUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListRulePartialUpdateMultipartRequestBody = PatchedPrefixListRuleRequest + +// PluginsBgpPrefixListRuleUpdateJSONRequestBody defines body for PluginsBgpPrefixListRuleUpdate for application/json ContentType. +type PluginsBgpPrefixListRuleUpdateJSONRequestBody = PrefixListRuleRequest + +// PluginsBgpPrefixListRuleUpdateMultipartRequestBody defines body for PluginsBgpPrefixListRuleUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListRuleUpdateMultipartRequestBody = PrefixListRuleRequest + +// PluginsBgpPrefixListBulkDestroyJSONRequestBody defines body for PluginsBgpPrefixListBulkDestroy for application/json ContentType. +type PluginsBgpPrefixListBulkDestroyJSONRequestBody = PluginsBgpPrefixListBulkDestroyJSONBody + +// PluginsBgpPrefixListBulkDestroyMultipartRequestBody defines body for PluginsBgpPrefixListBulkDestroy for multipart/form-data ContentType. +type PluginsBgpPrefixListBulkDestroyMultipartRequestBody = PluginsBgpPrefixListBulkDestroyMultipartBody + +// PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListBulkPartialUpdate for application/json ContentType. +type PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody = PluginsBgpPrefixListBulkPartialUpdateJSONBody + +// PluginsBgpPrefixListBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListBulkPartialUpdateMultipartRequestBody = PluginsBgpPrefixListBulkPartialUpdateMultipartBody + +// PluginsBgpPrefixListCreateJSONRequestBody defines body for PluginsBgpPrefixListCreate for application/json ContentType. +type PluginsBgpPrefixListCreateJSONRequestBody = PrefixListRequest + +// PluginsBgpPrefixListCreateMultipartRequestBody defines body for PluginsBgpPrefixListCreate for multipart/form-data ContentType. +type PluginsBgpPrefixListCreateMultipartRequestBody = PrefixListRequest + +// PluginsBgpPrefixListBulkUpdateJSONRequestBody defines body for PluginsBgpPrefixListBulkUpdate for application/json ContentType. +type PluginsBgpPrefixListBulkUpdateJSONRequestBody = PluginsBgpPrefixListBulkUpdateJSONBody + +// PluginsBgpPrefixListBulkUpdateMultipartRequestBody defines body for PluginsBgpPrefixListBulkUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListBulkUpdateMultipartRequestBody = PluginsBgpPrefixListBulkUpdateMultipartBody + +// PluginsBgpPrefixListPartialUpdateJSONRequestBody defines body for PluginsBgpPrefixListPartialUpdate for application/json ContentType. +type PluginsBgpPrefixListPartialUpdateJSONRequestBody = PatchedPrefixListRequest + +// PluginsBgpPrefixListPartialUpdateMultipartRequestBody defines body for PluginsBgpPrefixListPartialUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListPartialUpdateMultipartRequestBody = PatchedPrefixListRequest + +// PluginsBgpPrefixListUpdateJSONRequestBody defines body for PluginsBgpPrefixListUpdate for application/json ContentType. +type PluginsBgpPrefixListUpdateJSONRequestBody = PrefixListRequest + +// PluginsBgpPrefixListUpdateMultipartRequestBody defines body for PluginsBgpPrefixListUpdate for multipart/form-data ContentType. +type PluginsBgpPrefixListUpdateMultipartRequestBody = PrefixListRequest + +// PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkDestroy for application/json ContentType. +type PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody = PluginsBgpRoutingPolicyRuleBulkDestroyJSONBody + +// PluginsBgpRoutingPolicyRuleBulkDestroyMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkDestroy for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyRuleBulkDestroyMultipartRequestBody = PluginsBgpRoutingPolicyRuleBulkDestroyMultipartBody + +// PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkPartialUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody = PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONBody + +// PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartRequestBody = PluginsBgpRoutingPolicyRuleBulkPartialUpdateMultipartBody + +// PluginsBgpRoutingPolicyRuleCreateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleCreate for application/json ContentType. +type PluginsBgpRoutingPolicyRuleCreateJSONRequestBody = RoutingPolicyRuleRequest + +// PluginsBgpRoutingPolicyRuleCreateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleCreate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyRuleCreateMultipartRequestBody = RoutingPolicyRuleRequest + +// PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody = PluginsBgpRoutingPolicyRuleBulkUpdateJSONBody + +// PluginsBgpRoutingPolicyRuleBulkUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleBulkUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyRuleBulkUpdateMultipartRequestBody = PluginsBgpRoutingPolicyRuleBulkUpdateMultipartBody + +// PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRulePartialUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody = PatchedRoutingPolicyRuleRequest + +// PluginsBgpRoutingPolicyRulePartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRulePartialUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyRulePartialUpdateMultipartRequestBody = PatchedRoutingPolicyRuleRequest + +// PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyRuleUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody = RoutingPolicyRuleRequest + +// PluginsBgpRoutingPolicyRuleUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyRuleUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyRuleUpdateMultipartRequestBody = RoutingPolicyRuleRequest + +// PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody defines body for PluginsBgpRoutingPolicyBulkDestroy for application/json ContentType. +type PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody = PluginsBgpRoutingPolicyBulkDestroyJSONBody + +// PluginsBgpRoutingPolicyBulkDestroyMultipartRequestBody defines body for PluginsBgpRoutingPolicyBulkDestroy for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyBulkDestroyMultipartRequestBody = PluginsBgpRoutingPolicyBulkDestroyMultipartBody + +// PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyBulkPartialUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody = PluginsBgpRoutingPolicyBulkPartialUpdateJSONBody + +// PluginsBgpRoutingPolicyBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyBulkPartialUpdateMultipartRequestBody = PluginsBgpRoutingPolicyBulkPartialUpdateMultipartBody + +// PluginsBgpRoutingPolicyCreateJSONRequestBody defines body for PluginsBgpRoutingPolicyCreate for application/json ContentType. +type PluginsBgpRoutingPolicyCreateJSONRequestBody = RoutingPolicyRequest + +// PluginsBgpRoutingPolicyCreateMultipartRequestBody defines body for PluginsBgpRoutingPolicyCreate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyCreateMultipartRequestBody = RoutingPolicyRequest + +// PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyBulkUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody = PluginsBgpRoutingPolicyBulkUpdateJSONBody + +// PluginsBgpRoutingPolicyBulkUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyBulkUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyBulkUpdateMultipartRequestBody = PluginsBgpRoutingPolicyBulkUpdateMultipartBody + +// PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyPartialUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody = PatchedRoutingPolicyRequest + +// PluginsBgpRoutingPolicyPartialUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyPartialUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyPartialUpdateMultipartRequestBody = PatchedRoutingPolicyRequest + +// PluginsBgpRoutingPolicyUpdateJSONRequestBody defines body for PluginsBgpRoutingPolicyUpdate for application/json ContentType. +type PluginsBgpRoutingPolicyUpdateJSONRequestBody = RoutingPolicyRequest + +// PluginsBgpRoutingPolicyUpdateMultipartRequestBody defines body for PluginsBgpRoutingPolicyUpdate for multipart/form-data ContentType. +type PluginsBgpRoutingPolicyUpdateMultipartRequestBody = RoutingPolicyRequest + +// PluginsBgpSessionBulkDestroyJSONRequestBody defines body for PluginsBgpSessionBulkDestroy for application/json ContentType. +type PluginsBgpSessionBulkDestroyJSONRequestBody = PluginsBgpSessionBulkDestroyJSONBody + +// PluginsBgpSessionBulkDestroyMultipartRequestBody defines body for PluginsBgpSessionBulkDestroy for multipart/form-data ContentType. +type PluginsBgpSessionBulkDestroyMultipartRequestBody = PluginsBgpSessionBulkDestroyMultipartBody + +// PluginsBgpSessionBulkPartialUpdateJSONRequestBody defines body for PluginsBgpSessionBulkPartialUpdate for application/json ContentType. +type PluginsBgpSessionBulkPartialUpdateJSONRequestBody = PluginsBgpSessionBulkPartialUpdateJSONBody + +// PluginsBgpSessionBulkPartialUpdateMultipartRequestBody defines body for PluginsBgpSessionBulkPartialUpdate for multipart/form-data ContentType. +type PluginsBgpSessionBulkPartialUpdateMultipartRequestBody = PluginsBgpSessionBulkPartialUpdateMultipartBody + +// PluginsBgpSessionCreateJSONRequestBody defines body for PluginsBgpSessionCreate for application/json ContentType. +type PluginsBgpSessionCreateJSONRequestBody = WritableBGPSessionRequest + +// PluginsBgpSessionCreateMultipartRequestBody defines body for PluginsBgpSessionCreate for multipart/form-data ContentType. +type PluginsBgpSessionCreateMultipartRequestBody = WritableBGPSessionRequest + +// PluginsBgpSessionBulkUpdateJSONRequestBody defines body for PluginsBgpSessionBulkUpdate for application/json ContentType. +type PluginsBgpSessionBulkUpdateJSONRequestBody = PluginsBgpSessionBulkUpdateJSONBody + +// PluginsBgpSessionBulkUpdateMultipartRequestBody defines body for PluginsBgpSessionBulkUpdate for multipart/form-data ContentType. +type PluginsBgpSessionBulkUpdateMultipartRequestBody = PluginsBgpSessionBulkUpdateMultipartBody + +// PluginsBgpSessionPartialUpdateJSONRequestBody defines body for PluginsBgpSessionPartialUpdate for application/json ContentType. +type PluginsBgpSessionPartialUpdateJSONRequestBody = PatchedWritableBGPSessionRequest + +// PluginsBgpSessionPartialUpdateMultipartRequestBody defines body for PluginsBgpSessionPartialUpdate for multipart/form-data ContentType. +type PluginsBgpSessionPartialUpdateMultipartRequestBody = PatchedWritableBGPSessionRequest + +// PluginsBgpSessionUpdateJSONRequestBody defines body for PluginsBgpSessionUpdate for application/json ContentType. +type PluginsBgpSessionUpdateJSONRequestBody = WritableBGPSessionRequest + +// PluginsBgpSessionUpdateMultipartRequestBody defines body for PluginsBgpSessionUpdate for multipart/form-data ContentType. +type PluginsBgpSessionUpdateMultipartRequestBody = WritableBGPSessionRequest + +// PluginsSecretsActivateUserKeyCreateJSONRequestBody defines body for PluginsSecretsActivateUserKeyCreate for application/json ContentType. +type PluginsSecretsActivateUserKeyCreateJSONRequestBody = ActivateUserKeyRequest + +// PluginsSecretsActivateUserKeyCreateFormdataRequestBody defines body for PluginsSecretsActivateUserKeyCreate for application/x-www-form-urlencoded ContentType. +type PluginsSecretsActivateUserKeyCreateFormdataRequestBody = ActivateUserKeyRequest + +// PluginsSecretsActivateUserKeyCreateMultipartRequestBody defines body for PluginsSecretsActivateUserKeyCreate for multipart/form-data ContentType. +type PluginsSecretsActivateUserKeyCreateMultipartRequestBody = ActivateUserKeyRequest + +// PluginsSecretsSecretRolesBulkDestroyJSONRequestBody defines body for PluginsSecretsSecretRolesBulkDestroy for application/json ContentType. +type PluginsSecretsSecretRolesBulkDestroyJSONRequestBody = PluginsSecretsSecretRolesBulkDestroyJSONBody + +// PluginsSecretsSecretRolesBulkDestroyMultipartRequestBody defines body for PluginsSecretsSecretRolesBulkDestroy for multipart/form-data ContentType. +type PluginsSecretsSecretRolesBulkDestroyMultipartRequestBody = PluginsSecretsSecretRolesBulkDestroyMultipartBody + +// PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody defines body for PluginsSecretsSecretRolesBulkPartialUpdate for application/json ContentType. +type PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody = PluginsSecretsSecretRolesBulkPartialUpdateJSONBody + +// PluginsSecretsSecretRolesBulkPartialUpdateMultipartRequestBody defines body for PluginsSecretsSecretRolesBulkPartialUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretRolesBulkPartialUpdateMultipartRequestBody = PluginsSecretsSecretRolesBulkPartialUpdateMultipartBody + +// PluginsSecretsSecretRolesCreateJSONRequestBody defines body for PluginsSecretsSecretRolesCreate for application/json ContentType. +type PluginsSecretsSecretRolesCreateJSONRequestBody = SecretRoleRequest + +// PluginsSecretsSecretRolesCreateMultipartRequestBody defines body for PluginsSecretsSecretRolesCreate for multipart/form-data ContentType. +type PluginsSecretsSecretRolesCreateMultipartRequestBody = SecretRoleRequest + +// PluginsSecretsSecretRolesBulkUpdateJSONRequestBody defines body for PluginsSecretsSecretRolesBulkUpdate for application/json ContentType. +type PluginsSecretsSecretRolesBulkUpdateJSONRequestBody = PluginsSecretsSecretRolesBulkUpdateJSONBody + +// PluginsSecretsSecretRolesBulkUpdateMultipartRequestBody defines body for PluginsSecretsSecretRolesBulkUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretRolesBulkUpdateMultipartRequestBody = PluginsSecretsSecretRolesBulkUpdateMultipartBody + +// PluginsSecretsSecretRolesPartialUpdateJSONRequestBody defines body for PluginsSecretsSecretRolesPartialUpdate for application/json ContentType. +type PluginsSecretsSecretRolesPartialUpdateJSONRequestBody = PatchedSecretRoleRequest + +// PluginsSecretsSecretRolesPartialUpdateMultipartRequestBody defines body for PluginsSecretsSecretRolesPartialUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretRolesPartialUpdateMultipartRequestBody = PatchedSecretRoleRequest + +// PluginsSecretsSecretRolesUpdateJSONRequestBody defines body for PluginsSecretsSecretRolesUpdate for application/json ContentType. +type PluginsSecretsSecretRolesUpdateJSONRequestBody = SecretRoleRequest + +// PluginsSecretsSecretRolesUpdateMultipartRequestBody defines body for PluginsSecretsSecretRolesUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretRolesUpdateMultipartRequestBody = SecretRoleRequest + +// PluginsSecretsSecretsBulkDestroyJSONRequestBody defines body for PluginsSecretsSecretsBulkDestroy for application/json ContentType. +type PluginsSecretsSecretsBulkDestroyJSONRequestBody = PluginsSecretsSecretsBulkDestroyJSONBody + +// PluginsSecretsSecretsBulkDestroyMultipartRequestBody defines body for PluginsSecretsSecretsBulkDestroy for multipart/form-data ContentType. +type PluginsSecretsSecretsBulkDestroyMultipartRequestBody = PluginsSecretsSecretsBulkDestroyMultipartBody + +// PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody defines body for PluginsSecretsSecretsBulkPartialUpdate for application/json ContentType. +type PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody = PluginsSecretsSecretsBulkPartialUpdateJSONBody + +// PluginsSecretsSecretsBulkPartialUpdateMultipartRequestBody defines body for PluginsSecretsSecretsBulkPartialUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretsBulkPartialUpdateMultipartRequestBody = PluginsSecretsSecretsBulkPartialUpdateMultipartBody + +// PluginsSecretsSecretsCreateJSONRequestBody defines body for PluginsSecretsSecretsCreate for application/json ContentType. +type PluginsSecretsSecretsCreateJSONRequestBody = SecretRequest + +// PluginsSecretsSecretsCreateMultipartRequestBody defines body for PluginsSecretsSecretsCreate for multipart/form-data ContentType. +type PluginsSecretsSecretsCreateMultipartRequestBody = SecretRequest + +// PluginsSecretsSecretsBulkUpdateJSONRequestBody defines body for PluginsSecretsSecretsBulkUpdate for application/json ContentType. +type PluginsSecretsSecretsBulkUpdateJSONRequestBody = PluginsSecretsSecretsBulkUpdateJSONBody + +// PluginsSecretsSecretsBulkUpdateMultipartRequestBody defines body for PluginsSecretsSecretsBulkUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretsBulkUpdateMultipartRequestBody = PluginsSecretsSecretsBulkUpdateMultipartBody + +// PluginsSecretsSecretsPartialUpdateJSONRequestBody defines body for PluginsSecretsSecretsPartialUpdate for application/json ContentType. +type PluginsSecretsSecretsPartialUpdateJSONRequestBody = PatchedSecretRequest + +// PluginsSecretsSecretsPartialUpdateMultipartRequestBody defines body for PluginsSecretsSecretsPartialUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretsPartialUpdateMultipartRequestBody = PatchedSecretRequest + +// PluginsSecretsSecretsUpdateJSONRequestBody defines body for PluginsSecretsSecretsUpdate for application/json ContentType. +type PluginsSecretsSecretsUpdateJSONRequestBody = SecretRequest + +// PluginsSecretsSecretsUpdateMultipartRequestBody defines body for PluginsSecretsSecretsUpdate for multipart/form-data ContentType. +type PluginsSecretsSecretsUpdateMultipartRequestBody = SecretRequest + +// PluginsSecretsSessionKeysCreateJSONRequestBody defines body for PluginsSecretsSessionKeysCreate for application/json ContentType. +type PluginsSecretsSessionKeysCreateJSONRequestBody = SessionKeyCreateRequest + +// PluginsSecretsSessionKeysCreateMultipartRequestBody defines body for PluginsSecretsSessionKeysCreate for multipart/form-data ContentType. +type PluginsSecretsSessionKeysCreateMultipartRequestBody = SessionKeyCreateRequest + +// 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) } -func (c *Client) PluginsBgpPrefixListBulkDestroy(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) +// 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 } -func (c *Client) PluginsBgpPrefixListList(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListListRequest(c.Server, params) - if err != nil { - return nil, err +// 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, } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + // mutate client and add all optional params + for _, o := range opts { + if err := o(&client); err != nil { + return nil, err + } } - return c.Client.Do(req) -} - -func (c *Client) PluginsBgpPrefixListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err + // ensure the server URL always has a trailing slash + if !strings.HasSuffix(client.Server, "/") { + client.Server += "/" } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + // create httpClient, if not already present + if client.Client == nil { + client.Client = &http.Client{} } - return c.Client.Do(req) + return &client, nil } -func (c *Client) PluginsBgpPrefixListBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err +// 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 } - return c.Client.Do(req) } -func (c *Client) PluginsBgpPrefixListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err +// 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 } - return c.Client.Do(req) } -func (c *Client) PluginsBgpPrefixListCreate(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// The interface specification for the client above. +type ClientInterface interface { + // 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) + + // 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) + + // ExtrasEventRulesBulkDestroyWithBody request with any body + ExtrasEventRulesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasEventRulesBulkDestroy(ctx context.Context, body ExtrasEventRulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesList request + ExtrasEventRulesList(ctx context.Context, params *ExtrasEventRulesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesBulkPartialUpdateWithBody request with any body + ExtrasEventRulesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasEventRulesBulkPartialUpdate(ctx context.Context, body ExtrasEventRulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesCreateWithBody request with any body + ExtrasEventRulesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasEventRulesCreate(ctx context.Context, body ExtrasEventRulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesBulkUpdateWithBody request with any body + ExtrasEventRulesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasEventRulesBulkUpdate(ctx context.Context, body ExtrasEventRulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesDestroy request + ExtrasEventRulesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesRetrieve request + ExtrasEventRulesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesPartialUpdateWithBody request with any body + ExtrasEventRulesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasEventRulesPartialUpdate(ctx context.Context, id int, body ExtrasEventRulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasEventRulesUpdateWithBody request with any body + ExtrasEventRulesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasEventRulesUpdate(ctx context.Context, id int, body ExtrasEventRulesUpdateJSONRequestBody, 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) + + // ExtrasObjectTypesList request + ExtrasObjectTypesList(ctx context.Context, params *ExtrasObjectTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasObjectTypesRetrieve request + ExtrasObjectTypesRetrieve(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) + + // ExtrasScriptsList request + ExtrasScriptsList(ctx context.Context, params *ExtrasScriptsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScriptsCreate request + ExtrasScriptsCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScriptsDestroy request + ExtrasScriptsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScriptsRetrieve request + ExtrasScriptsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScriptsPartialUpdate request + ExtrasScriptsPartialUpdate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScriptsUpdate request + ExtrasScriptsUpdate(ctx context.Context, id string, 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) + + // PluginsBgpBgppeergroupBulkDestroyWithBody request with any body + PluginsBgpBgppeergroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgppeergroupBulkDestroy(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupList request + PluginsBgpBgppeergroupList(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupBulkPartialUpdateWithBody request with any body + PluginsBgpBgppeergroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgppeergroupBulkPartialUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupCreateWithBody request with any body + PluginsBgpBgppeergroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgppeergroupCreate(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupBulkUpdateWithBody request with any body + PluginsBgpBgppeergroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgppeergroupBulkUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupDestroy request + PluginsBgpBgppeergroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupRetrieve request + PluginsBgpBgppeergroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupPartialUpdateWithBody request with any body + PluginsBgpBgppeergroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgppeergroupPartialUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgppeergroupUpdateWithBody request with any body + PluginsBgpBgppeergroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgppeergroupUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionBulkDestroyWithBody request with any body + PluginsBgpBgpsessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgpsessionBulkDestroy(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionList request + PluginsBgpBgpsessionList(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionBulkPartialUpdateWithBody request with any body + PluginsBgpBgpsessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgpsessionBulkPartialUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionCreateWithBody request with any body + PluginsBgpBgpsessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgpsessionCreate(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionBulkUpdateWithBody request with any body + PluginsBgpBgpsessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgpsessionBulkUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionDestroy request + PluginsBgpBgpsessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionRetrieve request + PluginsBgpBgpsessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionPartialUpdateWithBody request with any body + PluginsBgpBgpsessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgpsessionPartialUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpBgpsessionUpdateWithBody request with any body + PluginsBgpBgpsessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpBgpsessionUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleBulkDestroyWithBody request with any body + PluginsBgpCommunityListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListRuleBulkDestroy(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleList request + PluginsBgpCommunityListRuleList(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleBulkPartialUpdateWithBody request with any body + PluginsBgpCommunityListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleCreateWithBody request with any body + PluginsBgpCommunityListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListRuleCreate(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleBulkUpdateWithBody request with any body + PluginsBgpCommunityListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListRuleBulkUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleDestroy request + PluginsBgpCommunityListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleRetrieve request + PluginsBgpCommunityListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRulePartialUpdateWithBody request with any body + PluginsBgpCommunityListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRuleUpdateWithBody request with any body + PluginsBgpCommunityListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListRuleUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListBulkDestroyWithBody request with any body + PluginsBgpCommunityListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListBulkDestroy(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListList request + PluginsBgpCommunityListList(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListBulkPartialUpdateWithBody request with any body + PluginsBgpCommunityListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListCreateWithBody request with any body + PluginsBgpCommunityListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListCreate(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListBulkUpdateWithBody request with any body + PluginsBgpCommunityListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListBulkUpdate(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListDestroy request + PluginsBgpCommunityListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListRetrieve request + PluginsBgpCommunityListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListPartialUpdateWithBody request with any body + PluginsBgpCommunityListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityListUpdateWithBody request with any body + PluginsBgpCommunityListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityListUpdate(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityBulkDestroyWithBody request with any body + PluginsBgpCommunityBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityBulkDestroy(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityList request + PluginsBgpCommunityList(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityBulkPartialUpdateWithBody request with any body + PluginsBgpCommunityBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityCreateWithBody request with any body + PluginsBgpCommunityCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityCreate(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityBulkUpdateWithBody request with any body + PluginsBgpCommunityBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityBulkUpdate(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityDestroy request + PluginsBgpCommunityDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityRetrieve request + PluginsBgpCommunityRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityPartialUpdateWithBody request with any body + PluginsBgpCommunityPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpCommunityUpdateWithBody request with any body + PluginsBgpCommunityUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpCommunityUpdate(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupBulkDestroyWithBody request with any body + PluginsBgpPeerGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupList request + PluginsBgpPeerGroupList(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupBulkPartialUpdateWithBody request with any body + PluginsBgpPeerGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupCreateWithBody request with any body + PluginsBgpPeerGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupCreate(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupBulkUpdateWithBody request with any body + PluginsBgpPeerGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupDestroy request + PluginsBgpPeerGroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupRetrieve request + PluginsBgpPeerGroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupPartialUpdateWithBody request with any body + PluginsBgpPeerGroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupPartialUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupUpdateWithBody request with any body + PluginsBgpPeerGroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleBulkDestroyWithBody request with any body + PluginsBgpPrefixListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListRuleBulkDestroy(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleList request + PluginsBgpPrefixListRuleList(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleBulkPartialUpdateWithBody request with any body + PluginsBgpPrefixListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleCreateWithBody request with any body + PluginsBgpPrefixListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListRuleCreate(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleBulkUpdateWithBody request with any body + PluginsBgpPrefixListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListRuleBulkUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleDestroy request + PluginsBgpPrefixListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleRetrieve request + PluginsBgpPrefixListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRulePartialUpdateWithBody request with any body + PluginsBgpPrefixListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRuleUpdateWithBody request with any body + PluginsBgpPrefixListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListRuleUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListBulkDestroyWithBody request with any body + PluginsBgpPrefixListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListBulkDestroy(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListList request + PluginsBgpPrefixListList(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListBulkPartialUpdateWithBody request with any body + PluginsBgpPrefixListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListCreateWithBody request with any body + PluginsBgpPrefixListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListCreate(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListBulkUpdateWithBody request with any body + PluginsBgpPrefixListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListBulkUpdate(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListDestroy request + PluginsBgpPrefixListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListRetrieve request + PluginsBgpPrefixListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListPartialUpdateWithBody request with any body + PluginsBgpPrefixListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListPartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPrefixListUpdateWithBody request with any body + PluginsBgpPrefixListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPrefixListUpdate(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleBulkDestroyWithBody request with any body + PluginsBgpRoutingPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyRuleBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleList request + PluginsBgpRoutingPolicyRuleList(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody request with any body + PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleCreateWithBody request with any body + PluginsBgpRoutingPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyRuleCreate(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleBulkUpdateWithBody request with any body + PluginsBgpRoutingPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyRuleBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleDestroy request + PluginsBgpRoutingPolicyRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleRetrieve request + PluginsBgpRoutingPolicyRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRulePartialUpdateWithBody request with any body + PluginsBgpRoutingPolicyRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyRulePartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRuleUpdateWithBody request with any body + PluginsBgpRoutingPolicyRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyRuleUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyBulkDestroyWithBody request with any body + PluginsBgpRoutingPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyList request + PluginsBgpRoutingPolicyList(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyBulkPartialUpdateWithBody request with any body + PluginsBgpRoutingPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyCreateWithBody request with any body + PluginsBgpRoutingPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyCreate(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyBulkUpdateWithBody request with any body + PluginsBgpRoutingPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyDestroy request + PluginsBgpRoutingPolicyDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyRetrieve request + PluginsBgpRoutingPolicyRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyPartialUpdateWithBody request with any body + PluginsBgpRoutingPolicyPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyPartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingPolicyUpdateWithBody request with any body + PluginsBgpRoutingPolicyUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingPolicyUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionBulkDestroyWithBody request with any body + PluginsBgpSessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpSessionBulkDestroy(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionList request + PluginsBgpSessionList(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionBulkPartialUpdateWithBody request with any body + PluginsBgpSessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpSessionBulkPartialUpdate(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionCreateWithBody request with any body + PluginsBgpSessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpSessionCreate(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionBulkUpdateWithBody request with any body + PluginsBgpSessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpSessionBulkUpdate(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionDestroy request + PluginsBgpSessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionRetrieve request + PluginsBgpSessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionPartialUpdateWithBody request with any body + PluginsBgpSessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpSessionPartialUpdate(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpSessionUpdateWithBody request with any body + PluginsBgpSessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpSessionUpdate(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsActivateUserKeyCreateWithBody request with any body + PluginsSecretsActivateUserKeyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsActivateUserKeyCreate(ctx context.Context, body PluginsSecretsActivateUserKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsActivateUserKeyCreateWithFormdataBody(ctx context.Context, body PluginsSecretsActivateUserKeyCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsGenerateRsaKeyPairList request + PluginsSecretsGenerateRsaKeyPairList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsGetSessionKeyCreate request + PluginsSecretsGetSessionKeyCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesBulkDestroyWithBody request with any body + PluginsSecretsSecretRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretRolesBulkDestroy(ctx context.Context, body PluginsSecretsSecretRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesList request + PluginsSecretsSecretRolesList(ctx context.Context, params *PluginsSecretsSecretRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesBulkPartialUpdateWithBody request with any body + PluginsSecretsSecretRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretRolesBulkPartialUpdate(ctx context.Context, body PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesCreateWithBody request with any body + PluginsSecretsSecretRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretRolesCreate(ctx context.Context, body PluginsSecretsSecretRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesBulkUpdateWithBody request with any body + PluginsSecretsSecretRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretRolesBulkUpdate(ctx context.Context, body PluginsSecretsSecretRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesDestroy request + PluginsSecretsSecretRolesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesRetrieve request + PluginsSecretsSecretRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesPartialUpdateWithBody request with any body + PluginsSecretsSecretRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretRolesPartialUpdate(ctx context.Context, id int, body PluginsSecretsSecretRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretRolesUpdateWithBody request with any body + PluginsSecretsSecretRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretRolesUpdate(ctx context.Context, id int, body PluginsSecretsSecretRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsBulkDestroyWithBody request with any body + PluginsSecretsSecretsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretsBulkDestroy(ctx context.Context, body PluginsSecretsSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsList request + PluginsSecretsSecretsList(ctx context.Context, params *PluginsSecretsSecretsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsBulkPartialUpdateWithBody request with any body + PluginsSecretsSecretsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretsBulkPartialUpdate(ctx context.Context, body PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsCreateWithBody request with any body + PluginsSecretsSecretsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretsCreate(ctx context.Context, body PluginsSecretsSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsBulkUpdateWithBody request with any body + PluginsSecretsSecretsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretsBulkUpdate(ctx context.Context, body PluginsSecretsSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsDestroy request + PluginsSecretsSecretsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsRetrieve request + PluginsSecretsSecretsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsPartialUpdateWithBody request with any body + PluginsSecretsSecretsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretsPartialUpdate(ctx context.Context, id int, body PluginsSecretsSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSecretsUpdateWithBody request with any body + PluginsSecretsSecretsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSecretsUpdate(ctx context.Context, id int, body PluginsSecretsSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSessionKeysBulkDestroy request + PluginsSecretsSessionKeysBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSessionKeysList request + PluginsSecretsSessionKeysList(ctx context.Context, params *PluginsSecretsSessionKeysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSessionKeysCreateWithBody request with any body + PluginsSecretsSessionKeysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsSecretsSessionKeysCreate(ctx context.Context, body PluginsSecretsSessionKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSessionKeysDestroy request + PluginsSecretsSessionKeysDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsSessionKeysRetrieve request + PluginsSecretsSessionKeysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsUserKeysList request + PluginsSecretsUserKeysList(ctx context.Context, params *PluginsSecretsUserKeysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsSecretsUserKeysRetrieve request + PluginsSecretsUserKeysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) +} + +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) 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) ExtrasEventRulesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesBulkDestroy(ctx context.Context, body ExtrasEventRulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesList(ctx context.Context, params *ExtrasEventRulesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesListRequest(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) ExtrasEventRulesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesBulkPartialUpdate(ctx context.Context, body ExtrasEventRulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesCreate(ctx context.Context, body ExtrasEventRulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesBulkUpdate(ctx context.Context, body ExtrasEventRulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesPartialUpdate(ctx context.Context, id int, body ExtrasEventRulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasEventRulesUpdate(ctx context.Context, id int, body ExtrasEventRulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasEventRulesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + 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) ExtrasObjectTypesList(ctx context.Context, params *ExtrasObjectTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasObjectTypesListRequest(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) ExtrasObjectTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasObjectTypesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + 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) ExtrasScriptsList(ctx context.Context, params *ExtrasScriptsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScriptsListRequest(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) ExtrasScriptsCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScriptsCreateRequest(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) ExtrasScriptsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScriptsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasScriptsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScriptsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasScriptsPartialUpdate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScriptsPartialUpdateRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasScriptsUpdate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScriptsUpdateRequest(c.Server, id) + if err != nil { + return nil, err + } + 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) PluginsBgpBgppeergroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupBulkDestroy(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupList(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupListRequest(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) PluginsBgpBgppeergroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupBulkPartialUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupCreate(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupBulkUpdate(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupPartialUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgppeergroupUpdate(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgppeergroupUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionBulkDestroy(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionList(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionListRequest(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) PluginsBgpBgpsessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionBulkPartialUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionCreate(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionBulkUpdate(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionPartialUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpBgpsessionUpdate(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpBgpsessionUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleBulkDestroy(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleList(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleListRequest(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) PluginsBgpCommunityListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleCreate(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleBulkUpdate(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRulePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRuleUpdate(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRuleUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListBulkDestroy(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListList(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListListRequest(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) PluginsBgpCommunityListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListCreate(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListBulkUpdate(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityListUpdate(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityBulkDestroy(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityList(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityListRequest(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) PluginsBgpCommunityBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityBulkPartialUpdate(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityCreate(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityBulkUpdate(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityPartialUpdate(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpCommunityUpdate(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpCommunityUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupList(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupListRequest(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) PluginsBgpPeerGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupCreate(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupPartialUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupUpdate(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleBulkDestroy(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleList(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleListRequest(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) PluginsBgpPrefixListRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleCreate(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleBulkUpdate(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRulePartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRulePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRuleUpdate(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRuleUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListBulkDestroy(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListList(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListListRequest(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) PluginsBgpPrefixListBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListBulkPartialUpdate(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListCreate(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListBulkUpdate(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListPartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPrefixListUpdate(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPrefixListUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleList(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleListRequest(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) PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleCreate(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRulePartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRulePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRuleUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRuleUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyList(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyListRequest(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) PluginsBgpRoutingPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyCreate(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyPartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingPolicyUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingPolicyUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionBulkDestroy(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionList(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionListRequest(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) PluginsBgpSessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionBulkPartialUpdate(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionCreate(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionBulkUpdate(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionPartialUpdate(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpSessionUpdate(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpSessionUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsActivateUserKeyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsActivateUserKeyCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsActivateUserKeyCreate(ctx context.Context, body PluginsSecretsActivateUserKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsActivateUserKeyCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsActivateUserKeyCreateWithFormdataBody(ctx context.Context, body PluginsSecretsActivateUserKeyCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsActivateUserKeyCreateRequestWithFormdataBody(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsGenerateRsaKeyPairList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsGenerateRsaKeyPairListRequest(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) PluginsSecretsGetSessionKeyCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsGetSessionKeyCreateRequest(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) PluginsSecretsSecretRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesBulkDestroy(ctx context.Context, body PluginsSecretsSecretRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesList(ctx context.Context, params *PluginsSecretsSecretRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesListRequest(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) PluginsSecretsSecretRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesBulkPartialUpdate(ctx context.Context, body PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesCreate(ctx context.Context, body PluginsSecretsSecretRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesBulkUpdate(ctx context.Context, body PluginsSecretsSecretRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesPartialUpdate(ctx context.Context, id int, body PluginsSecretsSecretRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretRolesUpdate(ctx context.Context, id int, body PluginsSecretsSecretRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretRolesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsBulkDestroy(ctx context.Context, body PluginsSecretsSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsList(ctx context.Context, params *PluginsSecretsSecretsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsListRequest(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) PluginsSecretsSecretsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsBulkPartialUpdate(ctx context.Context, body PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsCreate(ctx context.Context, body PluginsSecretsSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsBulkUpdate(ctx context.Context, body PluginsSecretsSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsPartialUpdate(ctx context.Context, id int, body PluginsSecretsSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSecretsUpdate(ctx context.Context, id int, body PluginsSecretsSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSecretsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSessionKeysBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSessionKeysBulkDestroyRequest(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) PluginsSecretsSessionKeysList(ctx context.Context, params *PluginsSecretsSessionKeysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSessionKeysListRequest(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) PluginsSecretsSessionKeysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSessionKeysCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSessionKeysCreate(ctx context.Context, body PluginsSecretsSessionKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSessionKeysCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSessionKeysDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSessionKeysDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsSessionKeysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsSessionKeysRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsSecretsUserKeysList(ctx context.Context, params *PluginsSecretsUserKeysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsUserKeysListRequest(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) PluginsSecretsUserKeysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsSecretsUserKeysRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +// 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.AutoSyncEnabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auto_sync_enabled", runtime.ParamLocationQuery, *params.AutoSyncEnabled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group", runtime.ParamLocationQuery, *params.ClusterGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group__n", runtime.ParamLocationQuery, *params.ClusterGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group_id", runtime.ParamLocationQuery, *params.ClusterGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group_id__n", runtime.ParamLocationQuery, *params.ClusterGroupIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id", runtime.ParamLocationQuery, *params.ClusterId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id__n", runtime.ParamLocationQuery, *params.ClusterIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type", runtime.ParamLocationQuery, *params.ClusterType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type__n", runtime.ParamLocationQuery, *params.ClusterTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type_id", runtime.ParamLocationQuery, *params.ClusterTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type_id__n", runtime.ParamLocationQuery, *params.ClusterTypeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.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.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.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) + } + } + } + + } + + 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 +} + +// 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.AutoSyncEnabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auto_sync_enabled", runtime.ParamLocationQuery, *params.AutoSyncEnabled); err != nil { + return nil, err + } else if parsed, err := 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.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.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 +} + +// 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 +} + +// 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.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.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) + } + } + } + + } + + 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 +} + +// 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.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.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.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.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.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.ObjectTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ic", runtime.ParamLocationQuery, *params.ObjectTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ie", runtime.ParamLocationQuery, *params.ObjectTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__iew", runtime.ParamLocationQuery, *params.ObjectTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__isw", runtime.ParamLocationQuery, *params.ObjectTypeIsw); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nic", runtime.ParamLocationQuery, *params.ObjectTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nie", runtime.ParamLocationQuery, *params.ObjectTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__niew", runtime.ParamLocationQuery, *params.ObjectTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nisw", runtime.ParamLocationQuery, *params.ObjectTypeNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RelatedObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_type", runtime.ParamLocationQuery, *params.RelatedObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_type__n", runtime.ParamLocationQuery, *params.RelatedObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_type_id", runtime.ParamLocationQuery, *params.RelatedObjectTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_type_id__n", runtime.ParamLocationQuery, *params.RelatedObjectTypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.UiEditable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ui_editable", runtime.ParamLocationQuery, *params.UiEditable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UiEditableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ui_editable__n", runtime.ParamLocationQuery, *params.UiEditableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UiVisible != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ui_visible", runtime.ParamLocationQuery, *params.UiVisible); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UiVisibleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ui_visible__n", runtime.ParamLocationQuery, *params.UiVisibleN); err != nil { + return nil, err + } else if parsed, err := 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.ValidationMaximum != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum", runtime.ParamLocationQuery, *params.ValidationMaximum); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMaximumEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum__empty", runtime.ParamLocationQuery, *params.ValidationMaximumEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMaximumGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum__gt", runtime.ParamLocationQuery, *params.ValidationMaximumGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMaximumGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum__gte", runtime.ParamLocationQuery, *params.ValidationMaximumGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMaximumLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum__lt", runtime.ParamLocationQuery, *params.ValidationMaximumLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMaximumLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum__lte", runtime.ParamLocationQuery, *params.ValidationMaximumLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMaximumN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_maximum__n", runtime.ParamLocationQuery, *params.ValidationMaximumN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimum != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum", runtime.ParamLocationQuery, *params.ValidationMinimum); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimumEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum__empty", runtime.ParamLocationQuery, *params.ValidationMinimumEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimumGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum__gt", runtime.ParamLocationQuery, *params.ValidationMinimumGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimumGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum__gte", runtime.ParamLocationQuery, *params.ValidationMinimumGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimumLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum__lt", runtime.ParamLocationQuery, *params.ValidationMinimumLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimumLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum__lte", runtime.ParamLocationQuery, *params.ValidationMinimumLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationMinimumN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_minimum__n", runtime.ParamLocationQuery, *params.ValidationMinimumN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegex != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex", runtime.ParamLocationQuery, *params.ValidationRegex); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__empty", runtime.ParamLocationQuery, *params.ValidationRegexEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__ic", runtime.ParamLocationQuery, *params.ValidationRegexIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__ie", runtime.ParamLocationQuery, *params.ValidationRegexIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__iew", runtime.ParamLocationQuery, *params.ValidationRegexIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__isw", runtime.ParamLocationQuery, *params.ValidationRegexIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__n", runtime.ParamLocationQuery, *params.ValidationRegexN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__nic", runtime.ParamLocationQuery, *params.ValidationRegexNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__nie", runtime.ParamLocationQuery, *params.ValidationRegexNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__niew", runtime.ParamLocationQuery, *params.ValidationRegexNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValidationRegexNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "validation_regex__nisw", runtime.ParamLocationQuery, *params.ValidationRegexNisw); err != nil { + return nil, err + } else if parsed, err := 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.ButtonClass != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "button_class", runtime.ParamLocationQuery, *params.ButtonClass); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ButtonClassN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "button_class__n", runtime.ParamLocationQuery, *params.ButtonClassN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.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.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.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.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.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.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.ObjectTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ic", runtime.ParamLocationQuery, *params.ObjectTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ie", runtime.ParamLocationQuery, *params.ObjectTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__iew", runtime.ParamLocationQuery, *params.ObjectTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__isw", runtime.ParamLocationQuery, *params.ObjectTypeIsw); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nic", runtime.ParamLocationQuery, *params.ObjectTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nie", runtime.ParamLocationQuery, *params.ObjectTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__niew", runtime.ParamLocationQuery, *params.ObjectTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nisw", runtime.ParamLocationQuery, *params.ObjectTypeNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.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) + } + } + } + + } + + 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 +} + +// NewExtrasEventRulesBulkDestroyRequest calls the generic ExtrasEventRulesBulkDestroy builder with application/json body +func NewExtrasEventRulesBulkDestroyRequest(server string, body ExtrasEventRulesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasEventRulesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasEventRulesBulkDestroyRequestWithBody generates requests for ExtrasEventRulesBulkDestroy with any type of body +func NewExtrasEventRulesBulkDestroyRequestWithBody(server string, contentType string, 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/event-rules/") + 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 +} + +// NewExtrasEventRulesListRequest generates requests for ExtrasEventRulesList +func NewExtrasEventRulesListRequest(server string, params *ExtrasEventRulesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/event-rules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.ActionObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id", runtime.ParamLocationQuery, *params.ActionObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id__empty", runtime.ParamLocationQuery, *params.ActionObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id__gt", runtime.ParamLocationQuery, *params.ActionObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id__gte", runtime.ParamLocationQuery, *params.ActionObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id__lt", runtime.ParamLocationQuery, *params.ActionObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id__lte", runtime.ParamLocationQuery, *params.ActionObjectIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_id__n", runtime.ParamLocationQuery, *params.ActionObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_type", runtime.ParamLocationQuery, *params.ActionObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_object_type__n", runtime.ParamLocationQuery, *params.ActionObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_type", runtime.ParamLocationQuery, *params.ActionType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action_type__n", runtime.ParamLocationQuery, *params.ActionTypeN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ObjectTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ic", runtime.ParamLocationQuery, *params.ObjectTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ie", runtime.ParamLocationQuery, *params.ObjectTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__iew", runtime.ParamLocationQuery, *params.ObjectTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__isw", runtime.ParamLocationQuery, *params.ObjectTypeIsw); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nic", runtime.ParamLocationQuery, *params.ObjectTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nie", runtime.ParamLocationQuery, *params.ObjectTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__niew", runtime.ParamLocationQuery, *params.ObjectTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nisw", runtime.ParamLocationQuery, *params.ObjectTypeNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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 +} + +// NewExtrasEventRulesBulkPartialUpdateRequest calls the generic ExtrasEventRulesBulkPartialUpdate builder with application/json body +func NewExtrasEventRulesBulkPartialUpdateRequest(server string, body ExtrasEventRulesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasEventRulesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasEventRulesBulkPartialUpdateRequestWithBody generates requests for ExtrasEventRulesBulkPartialUpdate with any type of body +func NewExtrasEventRulesBulkPartialUpdateRequestWithBody(server string, contentType string, 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/event-rules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasEventRulesCreateRequest calls the generic ExtrasEventRulesCreate builder with application/json body +func NewExtrasEventRulesCreateRequest(server string, body ExtrasEventRulesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasEventRulesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasEventRulesCreateRequestWithBody generates requests for ExtrasEventRulesCreate with any type of body +func NewExtrasEventRulesCreateRequestWithBody(server string, contentType string, 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/event-rules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasEventRulesBulkUpdateRequest calls the generic ExtrasEventRulesBulkUpdate builder with application/json body +func NewExtrasEventRulesBulkUpdateRequest(server string, body ExtrasEventRulesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasEventRulesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasEventRulesBulkUpdateRequestWithBody generates requests for ExtrasEventRulesBulkUpdate with any type of body +func NewExtrasEventRulesBulkUpdateRequestWithBody(server string, contentType string, 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/event-rules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasEventRulesDestroyRequest generates requests for ExtrasEventRulesDestroy +func NewExtrasEventRulesDestroyRequest(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/event-rules/%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 +} + +// NewExtrasEventRulesRetrieveRequest generates requests for ExtrasEventRulesRetrieve +func NewExtrasEventRulesRetrieveRequest(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/event-rules/%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 +} + +// NewExtrasEventRulesPartialUpdateRequest calls the generic ExtrasEventRulesPartialUpdate builder with application/json body +func NewExtrasEventRulesPartialUpdateRequest(server string, id int, body ExtrasEventRulesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasEventRulesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasEventRulesPartialUpdateRequestWithBody generates requests for ExtrasEventRulesPartialUpdate with any type of body +func NewExtrasEventRulesPartialUpdateRequestWithBody(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/event-rules/%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 +} + +// NewExtrasEventRulesUpdateRequest calls the generic ExtrasEventRulesUpdate builder with application/json body +func NewExtrasEventRulesUpdateRequest(server string, id int, body ExtrasEventRulesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasEventRulesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasEventRulesUpdateRequestWithBody generates requests for ExtrasEventRulesUpdate with any type of body +func NewExtrasEventRulesUpdateRequestWithBody(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/event-rules/%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 +} + +// 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.AsAttachment != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "as_attachment", runtime.ParamLocationQuery, *params.AsAttachment); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AutoSyncEnabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auto_sync_enabled", runtime.ParamLocationQuery, *params.AutoSyncEnabled); err != nil { + return nil, err + } else if parsed, err := 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.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.FileExtension != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension", runtime.ParamLocationQuery, *params.FileExtension); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__empty", runtime.ParamLocationQuery, *params.FileExtensionEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__ic", runtime.ParamLocationQuery, *params.FileExtensionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__ie", runtime.ParamLocationQuery, *params.FileExtensionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__iew", runtime.ParamLocationQuery, *params.FileExtensionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__isw", runtime.ParamLocationQuery, *params.FileExtensionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__n", runtime.ParamLocationQuery, *params.FileExtensionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__nic", runtime.ParamLocationQuery, *params.FileExtensionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__nie", runtime.ParamLocationQuery, *params.FileExtensionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__niew", runtime.ParamLocationQuery, *params.FileExtensionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FileExtensionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file_extension__nisw", runtime.ParamLocationQuery, *params.FileExtensionNisw); err != nil { + return nil, err + } else if parsed, err := 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.MimeType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type", runtime.ParamLocationQuery, *params.MimeType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__empty", runtime.ParamLocationQuery, *params.MimeTypeEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__ic", runtime.ParamLocationQuery, *params.MimeTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__ie", runtime.ParamLocationQuery, *params.MimeTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__iew", runtime.ParamLocationQuery, *params.MimeTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__isw", runtime.ParamLocationQuery, *params.MimeTypeIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__n", runtime.ParamLocationQuery, *params.MimeTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__nic", runtime.ParamLocationQuery, *params.MimeTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__nie", runtime.ParamLocationQuery, *params.MimeTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__niew", runtime.ParamLocationQuery, *params.MimeTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MimeTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mime_type__nisw", runtime.ParamLocationQuery, *params.MimeTypeNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.ObjectTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ic", runtime.ParamLocationQuery, *params.ObjectTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ie", runtime.ParamLocationQuery, *params.ObjectTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__iew", runtime.ParamLocationQuery, *params.ObjectTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__isw", runtime.ParamLocationQuery, *params.ObjectTypeIsw); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nic", runtime.ParamLocationQuery, *params.ObjectTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nie", runtime.ParamLocationQuery, *params.ObjectTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__niew", runtime.ParamLocationQuery, *params.ObjectTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nisw", runtime.ParamLocationQuery, *params.ObjectTypeNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.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 +} + +// 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.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.ImageHeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height", runtime.ParamLocationQuery, *params.ImageHeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageHeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height__empty", runtime.ParamLocationQuery, *params.ImageHeightEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageHeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height__gt", runtime.ParamLocationQuery, *params.ImageHeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageHeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height__gte", runtime.ParamLocationQuery, *params.ImageHeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageHeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height__lt", runtime.ParamLocationQuery, *params.ImageHeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageHeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height__lte", runtime.ParamLocationQuery, *params.ImageHeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageHeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_height__n", runtime.ParamLocationQuery, *params.ImageHeightN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width", runtime.ParamLocationQuery, *params.ImageWidth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width__empty", runtime.ParamLocationQuery, *params.ImageWidthEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width__gt", runtime.ParamLocationQuery, *params.ImageWidthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width__gte", runtime.ParamLocationQuery, *params.ImageWidthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width__lt", runtime.ParamLocationQuery, *params.ImageWidthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width__lte", runtime.ParamLocationQuery, *params.ImageWidthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageWidthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_width__n", runtime.ParamLocationQuery, *params.ImageWidthN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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 +} + +// 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.RelatedObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id", runtime.ParamLocationQuery, *params.RelatedObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id__empty", runtime.ParamLocationQuery, *params.RelatedObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id__gt", runtime.ParamLocationQuery, *params.RelatedObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id__gte", runtime.ParamLocationQuery, *params.RelatedObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id__lt", runtime.ParamLocationQuery, *params.RelatedObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id__lte", runtime.ParamLocationQuery, *params.RelatedObjectIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_id__n", runtime.ParamLocationQuery, *params.RelatedObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_type", runtime.ParamLocationQuery, *params.RelatedObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelatedObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_object_type__n", runtime.ParamLocationQuery, *params.RelatedObjectTypeN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasObjectTypesListRequest generates requests for ExtrasObjectTypesList +func NewExtrasObjectTypesListRequest(server string, params *ExtrasObjectTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/object-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 +} + +// NewExtrasObjectTypesRetrieveRequest generates requests for ExtrasObjectTypesRetrieve +func NewExtrasObjectTypesRetrieveRequest(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-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 +} + +// 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.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.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.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.ObjectTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ic", runtime.ParamLocationQuery, *params.ObjectTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__ie", runtime.ParamLocationQuery, *params.ObjectTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__iew", runtime.ParamLocationQuery, *params.ObjectTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__isw", runtime.ParamLocationQuery, *params.ObjectTypeIsw); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nic", runtime.ParamLocationQuery, *params.ObjectTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nie", runtime.ParamLocationQuery, *params.ObjectTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__niew", runtime.ParamLocationQuery, *params.ObjectTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__nisw", runtime.ParamLocationQuery, *params.ObjectTypeNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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 +} + +// NewExtrasScriptsListRequest generates requests for ExtrasScriptsList +func NewExtrasScriptsListRequest(server string, params *ExtrasScriptsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/scripts/") + 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.IsExecutable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_executable", runtime.ParamLocationQuery, *params.IsExecutable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := 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.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.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasScriptsCreateRequest generates requests for ExtrasScriptsCreate +func NewExtrasScriptsCreateRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/scripts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasScriptsDestroyRequest generates requests for ExtrasScriptsDestroy +func NewExtrasScriptsDestroyRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", 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/scripts/%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 +} + +// NewExtrasScriptsRetrieveRequest generates requests for ExtrasScriptsRetrieve +func NewExtrasScriptsRetrieveRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", 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/scripts/%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 +} + +// NewExtrasScriptsPartialUpdateRequest generates requests for ExtrasScriptsPartialUpdate +func NewExtrasScriptsPartialUpdateRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", 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/scripts/%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(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasScriptsUpdateRequest generates requests for ExtrasScriptsUpdate +func NewExtrasScriptsUpdateRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", 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/scripts/%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(), nil) + if err != nil { + return nil, err + } + + 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.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.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.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.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 +} + +// NewPluginsBgpBgppeergroupBulkDestroyRequest calls the generic PluginsBgpBgppeergroupBulkDestroy builder with application/json body +func NewPluginsBgpBgppeergroupBulkDestroyRequest(server string, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody generates requests for PluginsBgpBgppeergroupBulkDestroy with any type of body +func NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + 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 +} + +// NewPluginsBgpBgppeergroupListRequest generates requests for PluginsBgpBgppeergroupList +func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppeergroupListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + 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.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 +} + +// NewPluginsBgpBgppeergroupBulkPartialUpdateRequest calls the generic PluginsBgpBgppeergroupBulkPartialUpdate builder with application/json body +func NewPluginsBgpBgppeergroupBulkPartialUpdateRequest(server string, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupBulkPartialUpdate with any type of body +func NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpBgppeergroupCreateRequest calls the generic PluginsBgpBgppeergroupCreate builder with application/json body +func NewPluginsBgpBgppeergroupCreateRequest(server string, body PluginsBgpBgppeergroupCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgppeergroupCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgppeergroupCreateRequestWithBody generates requests for PluginsBgpBgppeergroupCreate with any type of body +func NewPluginsBgpBgppeergroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpBgppeergroupBulkUpdateRequest calls the generic PluginsBgpBgppeergroupBulkUpdate builder with application/json body +func NewPluginsBgpBgppeergroupBulkUpdateRequest(server string, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupBulkUpdate with any type of body +func NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpBgppeergroupDestroyRequest generates requests for PluginsBgpBgppeergroupDestroy +func NewPluginsBgpBgppeergroupDestroyRequest(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/plugins/bgp/bgppeergroup/%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 +} + +// NewPluginsBgpBgppeergroupRetrieveRequest generates requests for PluginsBgpBgppeergroupRetrieve +func NewPluginsBgpBgppeergroupRetrieveRequest(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/plugins/bgp/bgppeergroup/%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 +} + +// NewPluginsBgpBgppeergroupPartialUpdateRequest calls the generic PluginsBgpBgppeergroupPartialUpdate builder with application/json body +func NewPluginsBgpBgppeergroupPartialUpdateRequest(server string, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupPartialUpdate with any type of body +func NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(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/plugins/bgp/bgppeergroup/%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 +} + +// NewPluginsBgpBgppeergroupUpdateRequest calls the generic PluginsBgpBgppeergroupUpdate builder with application/json body +func NewPluginsBgpBgppeergroupUpdateRequest(server string, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgppeergroupUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpBgppeergroupUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupUpdate with any type of body +func NewPluginsBgpBgppeergroupUpdateRequestWithBody(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/plugins/bgp/bgppeergroup/%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 +} + +// NewPluginsBgpBgpsessionBulkDestroyRequest calls the generic PluginsBgpBgpsessionBulkDestroy builder with application/json body +func NewPluginsBgpBgpsessionBulkDestroyRequest(server string, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgpsessionBulkDestroyRequestWithBody generates requests for PluginsBgpBgpsessionBulkDestroy with any type of body +func NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + 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 +} + +// NewPluginsBgpBgpsessionListRequest generates requests for PluginsBgpBgpsessionList +func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsessionListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.ByLocalAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_local_address", runtime.ParamLocationQuery, *params.ByLocalAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ByRemoteAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_remote_address", runtime.ParamLocationQuery, *params.ByRemoteAddress); err != nil { + return nil, err + } else if parsed, err := 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.ExportPolicies != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies", runtime.ParamLocationQuery, *params.ExportPolicies); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportPoliciesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies__n", runtime.ParamLocationQuery, *params.ExportPoliciesN); err != nil { + return nil, err + } else if parsed, err := 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.ImportPolicies != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies", runtime.ParamLocationQuery, *params.ImportPolicies); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportPoliciesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies__n", runtime.ParamLocationQuery, *params.ImportPoliciesN); err != nil { + return nil, err + } else if parsed, err := 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.LocalAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address", runtime.ParamLocationQuery, *params.LocalAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address__n", runtime.ParamLocationQuery, *params.LocalAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAddressId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id", runtime.ParamLocationQuery, *params.LocalAddressId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAddressIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id__n", runtime.ParamLocationQuery, *params.LocalAddressIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAs != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as", runtime.ParamLocationQuery, *params.LocalAs); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as__n", runtime.ParamLocationQuery, *params.LocalAsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAsId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id", runtime.ParamLocationQuery, *params.LocalAsId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalAsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id__n", runtime.ParamLocationQuery, *params.LocalAsIdN); err != nil { + return nil, err + } else if parsed, err := 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.PeerGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group", runtime.ParamLocationQuery, *params.PeerGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PeerGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group__n", runtime.ParamLocationQuery, *params.PeerGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address", runtime.ParamLocationQuery, *params.RemoteAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address__n", runtime.ParamLocationQuery, *params.RemoteAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddressId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id", runtime.ParamLocationQuery, *params.RemoteAddressId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddressIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id__n", runtime.ParamLocationQuery, *params.RemoteAddressIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAs != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as", runtime.ParamLocationQuery, *params.RemoteAs); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as__n", runtime.ParamLocationQuery, *params.RemoteAsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAsId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id", runtime.ParamLocationQuery, *params.RemoteAsId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id__n", runtime.ParamLocationQuery, *params.RemoteAsIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Site != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site__n", runtime.ParamLocationQuery, *params.SiteN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tenant != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant", runtime.ParamLocationQuery, *params.Tenant); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant__n", runtime.ParamLocationQuery, *params.TenantN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group", runtime.ParamLocationQuery, *params.TenantGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group__n", runtime.ParamLocationQuery, *params.TenantGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group_id", runtime.ParamLocationQuery, *params.TenantGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group_id__n", runtime.ParamLocationQuery, *params.TenantGroupIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_id", runtime.ParamLocationQuery, *params.TenantId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_id__n", runtime.ParamLocationQuery, *params.TenantIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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 +} + +// NewPluginsBgpBgpsessionBulkPartialUpdateRequest calls the generic PluginsBgpBgpsessionBulkPartialUpdate builder with application/json body +func NewPluginsBgpBgpsessionBulkPartialUpdateRequest(server string, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody generates requests for PluginsBgpBgpsessionBulkPartialUpdate with any type of body +func NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpBgpsessionCreateRequest calls the generic PluginsBgpBgpsessionCreate builder with application/json body +func NewPluginsBgpBgpsessionCreateRequest(server string, body PluginsBgpBgpsessionCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgpsessionCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgpsessionCreateRequestWithBody generates requests for PluginsBgpBgpsessionCreate with any type of body +func NewPluginsBgpBgpsessionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpBgpsessionBulkUpdateRequest calls the generic PluginsBgpBgpsessionBulkUpdate builder with application/json body +func NewPluginsBgpBgpsessionBulkUpdateRequest(server string, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpBgpsessionBulkUpdateRequestWithBody generates requests for PluginsBgpBgpsessionBulkUpdate with any type of body +func NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpBgpsessionDestroyRequest generates requests for PluginsBgpBgpsessionDestroy +func NewPluginsBgpBgpsessionDestroyRequest(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/plugins/bgp/bgpsession/%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 +} + +// NewPluginsBgpBgpsessionRetrieveRequest generates requests for PluginsBgpBgpsessionRetrieve +func NewPluginsBgpBgpsessionRetrieveRequest(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/plugins/bgp/bgpsession/%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 +} + +// NewPluginsBgpBgpsessionPartialUpdateRequest calls the generic PluginsBgpBgpsessionPartialUpdate builder with application/json body +func NewPluginsBgpBgpsessionPartialUpdateRequest(server string, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpBgpsessionPartialUpdateRequestWithBody generates requests for PluginsBgpBgpsessionPartialUpdate with any type of body +func NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(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/plugins/bgp/bgpsession/%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 +} + +// NewPluginsBgpBgpsessionUpdateRequest calls the generic PluginsBgpBgpsessionUpdate builder with application/json body +func NewPluginsBgpBgpsessionUpdateRequest(server string, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpBgpsessionUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpBgpsessionUpdateRequestWithBody generates requests for PluginsBgpBgpsessionUpdate with any type of body +func NewPluginsBgpBgpsessionUpdateRequestWithBody(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/plugins/bgp/bgpsession/%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 +} + +// NewPluginsBgpCommunityListRuleBulkDestroyRequest calls the generic PluginsBgpCommunityListRuleBulkDestroy builder with application/json body +func NewPluginsBgpCommunityListRuleBulkDestroyRequest(server string, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody generates requests for PluginsBgpCommunityListRuleBulkDestroy with any type of body +func NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListRuleListRequest generates requests for PluginsBgpCommunityListRuleList +func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgpCommunityListRuleListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + 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.CommunityList != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list", runtime.ParamLocationQuery, *params.CommunityList); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommunityListN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list__n", runtime.ParamLocationQuery, *params.CommunityListN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommunityListId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list_id", runtime.ParamLocationQuery, *params.CommunityListId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommunityListIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list_id__n", runtime.ParamLocationQuery, *params.CommunityListIdN); err != nil { + return nil, err + } else if parsed, err := 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.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsBgpCommunityListRuleBulkPartialUpdateRequest calls the generic PluginsBgpCommunityListRuleBulkPartialUpdate builder with application/json body +func NewPluginsBgpCommunityListRuleBulkPartialUpdateRequest(server string, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListRuleBulkPartialUpdate with any type of body +func NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListRuleCreateRequest calls the generic PluginsBgpCommunityListRuleCreate builder with application/json body +func NewPluginsBgpCommunityListRuleCreateRequest(server string, body PluginsBgpCommunityListRuleCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListRuleCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListRuleCreateRequestWithBody generates requests for PluginsBgpCommunityListRuleCreate with any type of body +func NewPluginsBgpCommunityListRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListRuleBulkUpdateRequest calls the generic PluginsBgpCommunityListRuleBulkUpdate builder with application/json body +func NewPluginsBgpCommunityListRuleBulkUpdateRequest(server string, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody generates requests for PluginsBgpCommunityListRuleBulkUpdate with any type of body +func NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListRuleDestroyRequest generates requests for PluginsBgpCommunityListRuleDestroy +func NewPluginsBgpCommunityListRuleDestroyRequest(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/plugins/bgp/community-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpCommunityListRuleRetrieveRequest generates requests for PluginsBgpCommunityListRuleRetrieve +func NewPluginsBgpCommunityListRuleRetrieveRequest(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/plugins/bgp/community-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpCommunityListRulePartialUpdateRequest calls the generic PluginsBgpCommunityListRulePartialUpdate builder with application/json body +func NewPluginsBgpCommunityListRulePartialUpdateRequest(server string, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListRulePartialUpdate with any type of body +func NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody(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/plugins/bgp/community-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListRuleUpdateRequest calls the generic PluginsBgpCommunityListRuleUpdate builder with application/json body +func NewPluginsBgpCommunityListRuleUpdateRequest(server string, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListRuleUpdateRequestWithBody generates requests for PluginsBgpCommunityListRuleUpdate with any type of body +func NewPluginsBgpCommunityListRuleUpdateRequestWithBody(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/plugins/bgp/community-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListBulkDestroyRequest calls the generic PluginsBgpCommunityListBulkDestroy builder with application/json body +func NewPluginsBgpCommunityListBulkDestroyRequest(server string, body PluginsBgpCommunityListBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListBulkDestroyRequestWithBody generates requests for PluginsBgpCommunityListBulkDestroy with any type of body +func NewPluginsBgpCommunityListBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + 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 +} + +// NewPluginsBgpCommunityListListRequest generates requests for PluginsBgpCommunityListList +func NewPluginsBgpCommunityListListRequest(server string, params *PluginsBgpCommunityListListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + 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.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 +} + +// NewPluginsBgpCommunityListBulkPartialUpdateRequest calls the generic PluginsBgpCommunityListBulkPartialUpdate builder with application/json body +func NewPluginsBgpCommunityListBulkPartialUpdateRequest(server string, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListBulkPartialUpdate with any type of body +func NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListCreateRequest calls the generic PluginsBgpCommunityListCreate builder with application/json body +func NewPluginsBgpCommunityListCreateRequest(server string, body PluginsBgpCommunityListCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListCreateRequestWithBody generates requests for PluginsBgpCommunityListCreate with any type of body +func NewPluginsBgpCommunityListCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListBulkUpdateRequest calls the generic PluginsBgpCommunityListBulkUpdate builder with application/json body +func NewPluginsBgpCommunityListBulkUpdateRequest(server string, body PluginsBgpCommunityListBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListBulkUpdateRequestWithBody generates requests for PluginsBgpCommunityListBulkUpdate with any type of body +func NewPluginsBgpCommunityListBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityListDestroyRequest generates requests for PluginsBgpCommunityListDestroy +func NewPluginsBgpCommunityListDestroyRequest(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/plugins/bgp/community-list/%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 +} + +// NewPluginsBgpCommunityListRetrieveRequest generates requests for PluginsBgpCommunityListRetrieve +func NewPluginsBgpCommunityListRetrieveRequest(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/plugins/bgp/community-list/%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 +} + +// NewPluginsBgpCommunityListPartialUpdateRequest calls the generic PluginsBgpCommunityListPartialUpdate builder with application/json body +func NewPluginsBgpCommunityListPartialUpdateRequest(server string, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListPartialUpdate with any type of body +func NewPluginsBgpCommunityListPartialUpdateRequestWithBody(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/plugins/bgp/community-list/%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 +} + +// NewPluginsBgpCommunityListUpdateRequest calls the generic PluginsBgpCommunityListUpdate builder with application/json body +func NewPluginsBgpCommunityListUpdateRequest(server string, id int, body PluginsBgpCommunityListUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityListUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityListUpdateRequestWithBody generates requests for PluginsBgpCommunityListUpdate with any type of body +func NewPluginsBgpCommunityListUpdateRequestWithBody(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/plugins/bgp/community-list/%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 +} + +// NewPluginsBgpCommunityBulkDestroyRequest calls the generic PluginsBgpCommunityBulkDestroy builder with application/json body +func NewPluginsBgpCommunityBulkDestroyRequest(server string, body PluginsBgpCommunityBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityBulkDestroyRequestWithBody generates requests for PluginsBgpCommunityBulkDestroy with any type of body +func NewPluginsBgpCommunityBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + 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 +} + +// NewPluginsBgpCommunityListRequest generates requests for PluginsBgpCommunityList +func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunityListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + 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.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.Value != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value", runtime.ParamLocationQuery, *params.Value); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__empty", runtime.ParamLocationQuery, *params.ValueEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ic", runtime.ParamLocationQuery, *params.ValueIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ie", runtime.ParamLocationQuery, *params.ValueIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__iew", runtime.ParamLocationQuery, *params.ValueIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__isw", runtime.ParamLocationQuery, *params.ValueIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__n", runtime.ParamLocationQuery, *params.ValueN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nic", runtime.ParamLocationQuery, *params.ValueNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nie", runtime.ParamLocationQuery, *params.ValueNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__niew", runtime.ParamLocationQuery, *params.ValueNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nisw", runtime.ParamLocationQuery, *params.ValueNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpCommunityBulkPartialUpdateRequest calls the generic PluginsBgpCommunityBulkPartialUpdate builder with application/json body +func NewPluginsBgpCommunityBulkPartialUpdateRequest(server string, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityBulkPartialUpdate with any type of body +func NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityCreateRequest calls the generic PluginsBgpCommunityCreate builder with application/json body +func NewPluginsBgpCommunityCreateRequest(server string, body PluginsBgpCommunityCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityCreateRequestWithBody generates requests for PluginsBgpCommunityCreate with any type of body +func NewPluginsBgpCommunityCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityBulkUpdateRequest calls the generic PluginsBgpCommunityBulkUpdate builder with application/json body +func NewPluginsBgpCommunityBulkUpdateRequest(server string, body PluginsBgpCommunityBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityBulkUpdateRequestWithBody generates requests for PluginsBgpCommunityBulkUpdate with any type of body +func NewPluginsBgpCommunityBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpCommunityDestroyRequest generates requests for PluginsBgpCommunityDestroy +func NewPluginsBgpCommunityDestroyRequest(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/plugins/bgp/community/%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 +} + +// NewPluginsBgpCommunityRetrieveRequest generates requests for PluginsBgpCommunityRetrieve +func NewPluginsBgpCommunityRetrieveRequest(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/plugins/bgp/community/%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 +} + +// NewPluginsBgpCommunityPartialUpdateRequest calls the generic PluginsBgpCommunityPartialUpdate builder with application/json body +func NewPluginsBgpCommunityPartialUpdateRequest(server string, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityPartialUpdate with any type of body +func NewPluginsBgpCommunityPartialUpdateRequestWithBody(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/plugins/bgp/community/%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 +} + +// NewPluginsBgpCommunityUpdateRequest calls the generic PluginsBgpCommunityUpdate builder with application/json body +func NewPluginsBgpCommunityUpdateRequest(server string, id int, body PluginsBgpCommunityUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpCommunityUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpCommunityUpdateRequestWithBody generates requests for PluginsBgpCommunityUpdate with any type of body +func NewPluginsBgpCommunityUpdateRequestWithBody(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/plugins/bgp/community/%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 +} + +// NewPluginsBgpPeerGroupBulkDestroyRequest calls the generic PluginsBgpPeerGroupBulkDestroy builder with application/json body +func NewPluginsBgpPeerGroupBulkDestroyRequest(server string, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupBulkDestroyRequestWithBody generates requests for PluginsBgpPeerGroupBulkDestroy with any type of body +func NewPluginsBgpPeerGroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupListRequest generates requests for PluginsBgpPeerGroupList +func NewPluginsBgpPeerGroupListRequest(server string, params *PluginsBgpPeerGroupListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") + 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.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 +} + +// NewPluginsBgpPeerGroupBulkPartialUpdateRequest calls the generic PluginsBgpPeerGroupBulkPartialUpdate builder with application/json body +func NewPluginsBgpPeerGroupBulkPartialUpdateRequest(server string, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupBulkPartialUpdate with any type of body +func NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupCreateRequest calls the generic PluginsBgpPeerGroupCreate builder with application/json body +func NewPluginsBgpPeerGroupCreateRequest(server string, body PluginsBgpPeerGroupCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupCreateRequestWithBody generates requests for PluginsBgpPeerGroupCreate with any type of body +func NewPluginsBgpPeerGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupBulkUpdateRequest calls the generic PluginsBgpPeerGroupBulkUpdate builder with application/json body +func NewPluginsBgpPeerGroupBulkUpdateRequest(server string, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupBulkUpdateRequestWithBody generates requests for PluginsBgpPeerGroupBulkUpdate with any type of body +func NewPluginsBgpPeerGroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupDestroyRequest generates requests for PluginsBgpPeerGroupDestroy +func NewPluginsBgpPeerGroupDestroyRequest(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/plugins/bgp/peer-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupRetrieveRequest generates requests for PluginsBgpPeerGroupRetrieve +func NewPluginsBgpPeerGroupRetrieveRequest(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/plugins/bgp/peer-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupPartialUpdateRequest calls the generic PluginsBgpPeerGroupPartialUpdate builder with application/json body +func NewPluginsBgpPeerGroupPartialUpdateRequest(server string, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupPartialUpdate with any type of body +func NewPluginsBgpPeerGroupPartialUpdateRequestWithBody(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/plugins/bgp/peer-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupUpdateRequest calls the generic PluginsBgpPeerGroupUpdate builder with application/json body +func NewPluginsBgpPeerGroupUpdateRequest(server string, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupUpdateRequestWithBody generates requests for PluginsBgpPeerGroupUpdate with any type of body +func NewPluginsBgpPeerGroupUpdateRequestWithBody(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/plugins/bgp/peer-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListRuleBulkDestroyRequest calls the generic PluginsBgpPrefixListRuleBulkDestroy builder with application/json body +func NewPluginsBgpPrefixListRuleBulkDestroyRequest(server string, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody generates requests for PluginsBgpPrefixListRuleBulkDestroy with any type of body +func NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListRuleListRequest generates requests for PluginsBgpPrefixListRuleList +func NewPluginsBgpPrefixListRuleListRequest(server string, params *PluginsBgpPrefixListRuleListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") + 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.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.Ge != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge", runtime.ParamLocationQuery, *params.Ge); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__empty", runtime.ParamLocationQuery, *params.GeEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__gt", runtime.ParamLocationQuery, *params.GeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__gte", runtime.ParamLocationQuery, *params.GeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__lt", runtime.ParamLocationQuery, *params.GeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__lte", runtime.ParamLocationQuery, *params.GeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__n", runtime.ParamLocationQuery, *params.GeN); err != nil { + return nil, err + } else if parsed, err := 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.Index != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index", runtime.ParamLocationQuery, *params.Index); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__empty", runtime.ParamLocationQuery, *params.IndexEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gt", runtime.ParamLocationQuery, *params.IndexGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gte", runtime.ParamLocationQuery, *params.IndexGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lt", runtime.ParamLocationQuery, *params.IndexLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lte", runtime.ParamLocationQuery, *params.IndexLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__n", runtime.ParamLocationQuery, *params.IndexN); err != nil { + return nil, err + } else if parsed, err := 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.Le != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le", runtime.ParamLocationQuery, *params.Le); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__empty", runtime.ParamLocationQuery, *params.LeEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__gt", runtime.ParamLocationQuery, *params.LeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__gte", runtime.ParamLocationQuery, *params.LeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__lt", runtime.ParamLocationQuery, *params.LeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__lte", runtime.ParamLocationQuery, *params.LeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__n", runtime.ParamLocationQuery, *params.LeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := 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.PrefixList != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list", runtime.ParamLocationQuery, *params.PrefixList); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrefixListN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list__n", runtime.ParamLocationQuery, *params.PrefixListN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrefixListId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list_id", runtime.ParamLocationQuery, *params.PrefixListId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrefixListIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list_id__n", runtime.ParamLocationQuery, *params.PrefixListIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsBgpPrefixListRuleBulkPartialUpdateRequest calls the generic PluginsBgpPrefixListRuleBulkPartialUpdate builder with application/json body +func NewPluginsBgpPrefixListRuleBulkPartialUpdateRequest(server string, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListRuleBulkPartialUpdate with any type of body +func NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListRuleCreateRequest calls the generic PluginsBgpPrefixListRuleCreate builder with application/json body +func NewPluginsBgpPrefixListRuleCreateRequest(server string, body PluginsBgpPrefixListRuleCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListRuleCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListRuleCreateRequestWithBody generates requests for PluginsBgpPrefixListRuleCreate with any type of body +func NewPluginsBgpPrefixListRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListRuleBulkUpdateRequest calls the generic PluginsBgpPrefixListRuleBulkUpdate builder with application/json body +func NewPluginsBgpPrefixListRuleBulkUpdateRequest(server string, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody generates requests for PluginsBgpPrefixListRuleBulkUpdate with any type of body +func NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListRuleDestroyRequest generates requests for PluginsBgpPrefixListRuleDestroy +func NewPluginsBgpPrefixListRuleDestroyRequest(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/plugins/bgp/prefix-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPrefixListRuleRetrieveRequest generates requests for PluginsBgpPrefixListRuleRetrieve +func NewPluginsBgpPrefixListRuleRetrieveRequest(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/plugins/bgp/prefix-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPrefixListRulePartialUpdateRequest calls the generic PluginsBgpPrefixListRulePartialUpdate builder with application/json body +func NewPluginsBgpPrefixListRulePartialUpdateRequest(server string, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListRulePartialUpdate with any type of body +func NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody(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/plugins/bgp/prefix-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListRuleUpdateRequest calls the generic PluginsBgpPrefixListRuleUpdate builder with application/json body +func NewPluginsBgpPrefixListRuleUpdateRequest(server string, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListRuleUpdateRequestWithBody generates requests for PluginsBgpPrefixListRuleUpdate with any type of body +func NewPluginsBgpPrefixListRuleUpdateRequestWithBody(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/plugins/bgp/prefix-list-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListBulkDestroyRequest calls the generic PluginsBgpPrefixListBulkDestroy builder with application/json body +func NewPluginsBgpPrefixListBulkDestroyRequest(server string, body PluginsBgpPrefixListBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListBulkDestroyRequestWithBody generates requests for PluginsBgpPrefixListBulkDestroy with any type of body +func NewPluginsBgpPrefixListBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") + 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 +} + +// NewPluginsBgpPrefixListListRequest generates requests for PluginsBgpPrefixListList +func NewPluginsBgpPrefixListListRequest(server string, params *PluginsBgpPrefixListListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") + 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.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.FamilyN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "family__n", runtime.ParamLocationQuery, *params.FamilyN); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewPluginsBgpPrefixListBulkPartialUpdateRequest calls the generic PluginsBgpPrefixListBulkPartialUpdate builder with application/json body +func NewPluginsBgpPrefixListBulkPartialUpdateRequest(server string, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListBulkPartialUpdate with any type of body +func NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListCreateRequest calls the generic PluginsBgpPrefixListCreate builder with application/json body +func NewPluginsBgpPrefixListCreateRequest(server string, body PluginsBgpPrefixListCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListCreateRequestWithBody generates requests for PluginsBgpPrefixListCreate with any type of body +func NewPluginsBgpPrefixListCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListBulkUpdateRequest calls the generic PluginsBgpPrefixListBulkUpdate builder with application/json body +func NewPluginsBgpPrefixListBulkUpdateRequest(server string, body PluginsBgpPrefixListBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListBulkUpdateRequestWithBody generates requests for PluginsBgpPrefixListBulkUpdate with any type of body +func NewPluginsBgpPrefixListBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPrefixListDestroyRequest generates requests for PluginsBgpPrefixListDestroy +func NewPluginsBgpPrefixListDestroyRequest(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/plugins/bgp/prefix-list/%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 +} + +// NewPluginsBgpPrefixListRetrieveRequest generates requests for PluginsBgpPrefixListRetrieve +func NewPluginsBgpPrefixListRetrieveRequest(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/plugins/bgp/prefix-list/%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 +} + +// NewPluginsBgpPrefixListPartialUpdateRequest calls the generic PluginsBgpPrefixListPartialUpdate builder with application/json body +func NewPluginsBgpPrefixListPartialUpdateRequest(server string, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListPartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListPartialUpdate with any type of body +func NewPluginsBgpPrefixListPartialUpdateRequestWithBody(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/plugins/bgp/prefix-list/%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 +} + +// NewPluginsBgpPrefixListUpdateRequest calls the generic PluginsBgpPrefixListUpdate builder with application/json body +func NewPluginsBgpPrefixListUpdateRequest(server string, id int, body PluginsBgpPrefixListUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPrefixListUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPrefixListUpdateRequestWithBody generates requests for PluginsBgpPrefixListUpdate with any type of body +func NewPluginsBgpPrefixListUpdateRequestWithBody(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/plugins/bgp/prefix-list/%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 +} + +// NewPluginsBgpRoutingPolicyRuleBulkDestroyRequest calls the generic PluginsBgpRoutingPolicyRuleBulkDestroy builder with application/json body +func NewPluginsBgpRoutingPolicyRuleBulkDestroyRequest(server string, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleBulkDestroy with any type of body +func NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRuleListRequest generates requests for PluginsBgpRoutingPolicyRuleList +func NewPluginsBgpRoutingPolicyRuleListRequest(server string, params *PluginsBgpRoutingPolicyRuleListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") + 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.ContinueEntry != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry", runtime.ParamLocationQuery, *params.ContinueEntry); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContinueEntryEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__empty", runtime.ParamLocationQuery, *params.ContinueEntryEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContinueEntryGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__gt", runtime.ParamLocationQuery, *params.ContinueEntryGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContinueEntryGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__gte", runtime.ParamLocationQuery, *params.ContinueEntryGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContinueEntryLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__lt", runtime.ParamLocationQuery, *params.ContinueEntryLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContinueEntryLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__lte", runtime.ParamLocationQuery, *params.ContinueEntryLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContinueEntryN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__n", runtime.ParamLocationQuery, *params.ContinueEntryN); err != nil { + return nil, err + } else if parsed, err := 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.Index != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index", runtime.ParamLocationQuery, *params.Index); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__empty", runtime.ParamLocationQuery, *params.IndexEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gt", runtime.ParamLocationQuery, *params.IndexGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gte", runtime.ParamLocationQuery, *params.IndexGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lt", runtime.ParamLocationQuery, *params.IndexLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lte", runtime.ParamLocationQuery, *params.IndexLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IndexN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__n", runtime.ParamLocationQuery, *params.IndexN); err != nil { + return nil, err + } else if parsed, err := 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.RoutingPolicyId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_policy_id", runtime.ParamLocationQuery, *params.RoutingPolicyId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoutingPolicyIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_policy_id__n", runtime.ParamLocationQuery, *params.RoutingPolicyIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequest calls the generic PluginsBgpRoutingPolicyRuleBulkPartialUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequest(server string, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleBulkPartialUpdate with any type of body +func NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRuleCreateRequest calls the generic PluginsBgpRoutingPolicyRuleCreate builder with application/json body +func NewPluginsBgpRoutingPolicyRuleCreateRequest(server string, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleCreate with any type of body +func NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRuleBulkUpdateRequest calls the generic PluginsBgpRoutingPolicyRuleBulkUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyRuleBulkUpdateRequest(server string, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleBulkUpdate with any type of body +func NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRuleDestroyRequest generates requests for PluginsBgpRoutingPolicyRuleDestroy +func NewPluginsBgpRoutingPolicyRuleDestroyRequest(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/plugins/bgp/routing-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRuleRetrieveRequest generates requests for PluginsBgpRoutingPolicyRuleRetrieve +func NewPluginsBgpRoutingPolicyRuleRetrieveRequest(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/plugins/bgp/routing-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRulePartialUpdateRequest calls the generic PluginsBgpRoutingPolicyRulePartialUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyRulePartialUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRulePartialUpdate with any type of body +func NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody(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/plugins/bgp/routing-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyRuleUpdateRequest calls the generic PluginsBgpRoutingPolicyRuleUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyRuleUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleUpdate with any type of body +func NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody(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/plugins/bgp/routing-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyBulkDestroyRequest calls the generic PluginsBgpRoutingPolicyBulkDestroy builder with application/json body +func NewPluginsBgpRoutingPolicyBulkDestroyRequest(server string, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody generates requests for PluginsBgpRoutingPolicyBulkDestroy with any type of body +func NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingPolicyListRequest generates requests for PluginsBgpRoutingPolicyList +func NewPluginsBgpRoutingPolicyListRequest(server string, params *PluginsBgpRoutingPolicyListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") + 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) + } + } + } + + } -func (c *Client) PluginsBgpPrefixListBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if params.Offset != nil { -func (c *Client) PluginsBgpPrefixListBulkUpdate(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } -func (c *Client) PluginsBgpPrefixListDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + } -func (c *Client) PluginsBgpPrefixListRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if params.Ordering != nil { -func (c *Client) PluginsBgpPrefixListPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + 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) + } + } + } -func (c *Client) PluginsBgpPrefixListPartialUpdate(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + } -func (c *Client) PluginsBgpPrefixListUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if params.Q != nil { -func (c *Client) PluginsBgpPrefixListUpdate(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpPrefixListUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + 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) + } + } + } -func (c *Client) PluginsBgpRoutingPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + } -func (c *Client) PluginsBgpRoutingPolicyRuleBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if params.Tag != nil { -func (c *Client) PluginsBgpRoutingPolicyRuleList(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleListRequest(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) -} + 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) + } + } + } -func (c *Client) PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + } -func (c *Client) PluginsBgpRoutingPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if params.TagN != nil { -func (c *Client) PluginsBgpRoutingPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + 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) + } + } + } -func (c *Client) PluginsBgpRoutingPolicyRuleCreate(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + } -func (c *Client) PluginsBgpRoutingPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + if params.UpdatedByRequest != nil { -func (c *Client) PluginsBgpRoutingPolicyRuleBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + 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) + } + } + } -func (c *Client) PluginsBgpRoutingPolicyRuleDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + } -func (c *Client) PluginsBgpRoutingPolicyRuleRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleRetrieveRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + queryURL.RawQuery = queryValues.Encode() } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyRulePartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyRulePartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRulePartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + return req, nil } -func (c *Client) PluginsBgpRoutingPolicyRuleUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody(c.Server, id, contentType, body) +// NewPluginsBgpRoutingPolicyBulkPartialUpdateRequest calls the generic PluginsBgpRoutingPolicyBulkPartialUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyBulkPartialUpdateRequest(server string, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) } -func (c *Client) PluginsBgpRoutingPolicyRuleUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRuleUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyBulkPartialUpdate with any type of body +func NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error -func (c *Client) PluginsBgpRoutingPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody(c.Server, contentType, body) + serverURL, err := url.Parse(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) PluginsBgpRoutingPolicyBulkDestroy(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyBulkDestroyRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyList(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyListRequest(c.Server, params) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + req, err := http.NewRequest("PATCH", queryURL.String(), body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} + req.Header.Add("Content-Type", contentType) -func (c *Client) PluginsBgpRoutingPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + return req, nil } -func (c *Client) PluginsBgpRoutingPolicyCreate(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyCreateRequest(c.Server, body) +// NewPluginsBgpRoutingPolicyCreateRequest calls the generic PluginsBgpRoutingPolicyCreate builder with application/json body +func NewPluginsBgpRoutingPolicyCreateRequest(server string, body PluginsBgpRoutingPolicyCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyCreateRequestWithBody(server, "application/json", bodyReader) } -func (c *Client) PluginsBgpRoutingPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} +// NewPluginsBgpRoutingPolicyCreateRequestWithBody generates requests for PluginsBgpRoutingPolicyCreate with any type of body +func NewPluginsBgpRoutingPolicyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error -func (c *Client) PluginsBgpRoutingPolicyBulkUpdate(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyBulkUpdateRequest(c.Server, body) + serverURL, err := url.Parse(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) PluginsBgpRoutingPolicyDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyDestroyRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyRetrieveRequest(c.Server, id) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody(c.Server, id, contentType, body) + req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpRoutingPolicyPartialUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + req.Header.Add("Content-Type", contentType) + + return req, nil } -func (c *Client) PluginsBgpRoutingPolicyUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyUpdateRequestWithBody(c.Server, id, contentType, body) +// NewPluginsBgpRoutingPolicyBulkUpdateRequest calls the generic PluginsBgpRoutingPolicyBulkUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyBulkUpdateRequest(server string, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody(server, "application/json", bodyReader) } -func (c *Client) PluginsBgpRoutingPolicyUpdate(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpRoutingPolicyUpdateRequest(c.Server, id, body) +// NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyBulkUpdate with any type of body +func NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionBulkDestroyRequestWithBody(c.Server, contentType, body) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { return nil, err } - return c.Client.Do(req) + + req.Header.Add("Content-Type", contentType) + + return req, nil } -func (c *Client) PluginsBgpSessionBulkDestroy(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionBulkDestroyRequest(c.Server, body) +// NewPluginsBgpRoutingPolicyDestroyRequest generates requests for PluginsBgpRoutingPolicyDestroy +func NewPluginsBgpRoutingPolicyDestroyRequest(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 } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionList(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionListRequest(c.Server, params) + serverURL, err := url.Parse(server) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { return nil, err } - return c.Client.Do(req) + + return req, nil } -func (c *Client) PluginsBgpSessionBulkPartialUpdate(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionBulkPartialUpdateRequest(c.Server, body) +// NewPluginsBgpRoutingPolicyRetrieveRequest generates requests for PluginsBgpRoutingPolicyRetrieve +func NewPluginsBgpRoutingPolicyRetrieveRequest(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 } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionCreateRequestWithBody(c.Server, contentType, body) + serverURL, err := url.Parse(server) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionCreate(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionCreateRequest(c.Server, body) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { return nil, err } - return c.Client.Do(req) + + return req, nil } -func (c *Client) PluginsBgpSessionBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionBulkUpdateRequestWithBody(c.Server, contentType, body) +// NewPluginsBgpRoutingPolicyPartialUpdateRequest calls the generic PluginsBgpRoutingPolicyPartialUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyPartialUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) } -func (c *Client) PluginsBgpSessionBulkUpdate(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionBulkUpdateRequest(c.Server, body) +// NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyPartialUpdate with any type of body +func NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody(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 } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionDestroyRequest(c.Server, id) + serverURL, err := url.Parse(server) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionRetrieveRequest(c.Server, id) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { return nil, err } - return c.Client.Do(req) + + req.Header.Add("Content-Type", contentType) + + return req, nil } -func (c *Client) PluginsBgpSessionPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionPartialUpdateRequestWithBody(c.Server, id, contentType, body) +// NewPluginsBgpRoutingPolicyUpdateRequest calls the generic PluginsBgpRoutingPolicyUpdate builder with application/json body +func NewPluginsBgpRoutingPolicyUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingPolicyUpdateRequestWithBody(server, id, "application/json", bodyReader) } -func (c *Client) PluginsBgpSessionPartialUpdate(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionPartialUpdateRequest(c.Server, id, body) +// NewPluginsBgpRoutingPolicyUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyUpdate with any type of body +func NewPluginsBgpRoutingPolicyUpdateRequestWithBody(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 } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionUpdateRequestWithBody(c.Server, id, contentType, body) + serverURL, err := url.Parse(server) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err + + operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath } - return c.Client.Do(req) -} -func (c *Client) PluginsBgpSessionUpdate(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsBgpSessionUpdateRequest(c.Server, id, body) + queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { return nil, err } - return c.Client.Do(req) + + req.Header.Add("Content-Type", contentType) + + return req, nil } -// NewPluginsBgpBgppeergroupBulkDestroyRequest calls the generic PluginsBgpBgppeergroupBulkDestroy builder with application/json body -func NewPluginsBgpBgppeergroupBulkDestroyRequest(server string, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody) (*http.Request, error) { +// NewPluginsBgpSessionBulkDestroyRequest calls the generic PluginsBgpSessionBulkDestroy builder with application/json body +func NewPluginsBgpSessionBulkDestroyRequest(server string, body PluginsBgpSessionBulkDestroyJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return NewPluginsBgpSessionBulkDestroyRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody generates requests for PluginsBgpBgppeergroupBulkDestroy with any type of body -func NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsBgpSessionBulkDestroyRequestWithBody generates requests for PluginsBgpSessionBulkDestroy with any type of body +func NewPluginsBgpSessionBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -5139,7 +51052,7 @@ func NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(server string, contentT return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + operationPath := fmt.Sprintf("/api/plugins/bgp/session/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -5159,8 +51072,8 @@ func NewPluginsBgpBgppeergroupBulkDestroyRequestWithBody(server string, contentT return req, nil } -// NewPluginsBgpBgppeergroupListRequest generates requests for PluginsBgpBgppeergroupList -func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppeergroupListParams) (*http.Request, error) { +// NewPluginsBgpSessionListRequest generates requests for PluginsBgpSessionList +func NewPluginsBgpSessionListRequest(server string, params *PluginsBgpSessionListParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -5168,7 +51081,7 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + operationPath := fmt.Sprintf("/api/plugins/bgp/session/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -5178,12 +51091,300 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe return nil, err } - if params != nil { - queryValues := queryURL.Query() + if params != nil { + queryValues := queryURL.Query() + + if params.ByLocalAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_local_address", runtime.ParamLocationQuery, *params.ByLocalAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ByRemoteAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_remote_address", runtime.ParamLocationQuery, *params.ByRemoteAddress); err != nil { + return nil, err + } else if parsed, err := 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.Created != nil { + if params.DescriptionNie != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != 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 @@ -5197,9 +51398,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedEmpty != nil { + if params.DescriptionNiew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != 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 @@ -5213,9 +51414,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedGt != nil { + if params.DescriptionNisw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gt", runtime.ParamLocationQuery, *params.CreatedGt); err != 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 @@ -5229,9 +51430,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedGte != nil { + if params.Device != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != 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 @@ -5245,9 +51446,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedLt != nil { + if params.DeviceN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lt", runtime.ParamLocationQuery, *params.CreatedLt); err != 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 @@ -5261,9 +51462,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedLte != nil { + if params.DeviceId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != 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 @@ -5277,9 +51478,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedN != nil { + if params.DeviceIdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__n", runtime.ParamLocationQuery, *params.CreatedN); err != 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 @@ -5293,9 +51494,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.CreatedByRequest != nil { + if params.ExportPolicies != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies", runtime.ParamLocationQuery, *params.ExportPolicies); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5309,9 +51510,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.Description != nil { + if params.ExportPoliciesN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies__n", runtime.ParamLocationQuery, *params.ExportPoliciesN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5325,9 +51526,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionEmpty != nil { + if params.Id != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != 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 @@ -5341,9 +51542,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionIc != nil { + if params.IdEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != 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 @@ -5357,9 +51558,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionIe != nil { + if params.IdGt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != 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 @@ -5373,9 +51574,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionIew != nil { + if params.IdGte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != 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 @@ -5389,9 +51590,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionIsw != nil { + if params.IdLt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != 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 @@ -5405,9 +51606,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionN != nil { + if params.IdLte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != 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 @@ -5421,9 +51622,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionNic != nil { + if params.IdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != 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 @@ -5437,9 +51638,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionNie != nil { + if params.ImportPolicies != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies", runtime.ParamLocationQuery, *params.ImportPolicies); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5453,9 +51654,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionNiew != nil { + if params.ImportPoliciesN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies__n", runtime.ParamLocationQuery, *params.ImportPoliciesN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5469,9 +51670,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.DescriptionNisw != nil { + if params.LastUpdated != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != 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 @@ -5485,9 +51686,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.Id != nil { + if params.LastUpdatedEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != 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 @@ -5501,9 +51702,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.IdEmpty != nil { + if params.LastUpdatedGt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != 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 @@ -5517,9 +51718,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.IdGt != nil { + if params.LastUpdatedGte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gt", runtime.ParamLocationQuery, *params.IdGt); err != 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 @@ -5533,9 +51734,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.IdGte != nil { + if params.LastUpdatedLt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gte", runtime.ParamLocationQuery, *params.IdGte); err != 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 @@ -5549,9 +51750,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.IdLt != nil { + if params.LastUpdatedLte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lt", runtime.ParamLocationQuery, *params.IdLt); err != 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 @@ -5565,9 +51766,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.IdLte != nil { + if params.LastUpdatedN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lte", runtime.ParamLocationQuery, *params.IdLte); err != 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 @@ -5581,9 +51782,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.IdN != nil { + if params.Limit != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5597,9 +51798,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdated != nil { + if params.LocalAddress != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address", runtime.ParamLocationQuery, *params.LocalAddress); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5613,9 +51814,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdatedEmpty != nil { + if params.LocalAddressN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address__n", runtime.ParamLocationQuery, *params.LocalAddressN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5629,9 +51830,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdatedGt != nil { + if params.LocalAddressId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id", runtime.ParamLocationQuery, *params.LocalAddressId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5645,9 +51846,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdatedGte != nil { + if params.LocalAddressIdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id__n", runtime.ParamLocationQuery, *params.LocalAddressIdN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5661,9 +51862,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdatedLt != nil { + if params.LocalAs != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as", runtime.ParamLocationQuery, *params.LocalAs); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5677,9 +51878,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdatedLte != nil { + if params.LocalAsN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as__n", runtime.ParamLocationQuery, *params.LocalAsN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5693,9 +51894,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.LastUpdatedN != nil { + if params.LocalAsId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id", runtime.ParamLocationQuery, *params.LocalAsId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5709,9 +51910,9 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } - if params.Limit != nil { + if params.LocalAsIdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id__n", runtime.ParamLocationQuery, *params.LocalAsIdN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -5949,6 +52150,38 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } + if params.PeerGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group", runtime.ParamLocationQuery, *params.PeerGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PeerGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group__n", runtime.ParamLocationQuery, *params.PeerGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -5965,6 +52198,230 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } + if params.RemoteAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address", runtime.ParamLocationQuery, *params.RemoteAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address__n", runtime.ParamLocationQuery, *params.RemoteAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddressId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id", runtime.ParamLocationQuery, *params.RemoteAddressId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAddressIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id__n", runtime.ParamLocationQuery, *params.RemoteAddressIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAs != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as", runtime.ParamLocationQuery, *params.RemoteAs); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as__n", runtime.ParamLocationQuery, *params.RemoteAsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAsId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id", runtime.ParamLocationQuery, *params.RemoteAsId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteAsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id__n", runtime.ParamLocationQuery, *params.RemoteAsIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Site != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site__n", runtime.ParamLocationQuery, *params.SiteN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Tag != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { @@ -5997,6 +52454,134 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe } + 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 { @@ -6024,19 +52609,19 @@ func NewPluginsBgpBgppeergroupListRequest(server string, params *PluginsBgpBgppe return req, nil } -// NewPluginsBgpBgppeergroupBulkPartialUpdateRequest calls the generic PluginsBgpBgppeergroupBulkPartialUpdate builder with application/json body -func NewPluginsBgpBgppeergroupBulkPartialUpdateRequest(server string, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsBgpSessionBulkPartialUpdateRequest calls the generic PluginsBgpSessionBulkPartialUpdate builder with application/json body +func NewPluginsBgpSessionBulkPartialUpdateRequest(server string, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsBgpSessionBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupBulkPartialUpdate with any type of body -func NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsBgpSessionBulkPartialUpdateRequestWithBody generates requests for PluginsBgpSessionBulkPartialUpdate with any type of body +func NewPluginsBgpSessionBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -6044,7 +52629,7 @@ func NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(server string, co return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + operationPath := fmt.Sprintf("/api/plugins/bgp/session/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6064,19 +52649,19 @@ func NewPluginsBgpBgppeergroupBulkPartialUpdateRequestWithBody(server string, co return req, nil } -// NewPluginsBgpBgppeergroupCreateRequest calls the generic PluginsBgpBgppeergroupCreate builder with application/json body -func NewPluginsBgpBgppeergroupCreateRequest(server string, body PluginsBgpBgppeergroupCreateJSONRequestBody) (*http.Request, error) { +// NewPluginsBgpSessionCreateRequest calls the generic PluginsBgpSessionCreate builder with application/json body +func NewPluginsBgpSessionCreateRequest(server string, body PluginsBgpSessionCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgppeergroupCreateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsBgpSessionCreateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgppeergroupCreateRequestWithBody generates requests for PluginsBgpBgppeergroupCreate with any type of body -func NewPluginsBgpBgppeergroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsBgpSessionCreateRequestWithBody generates requests for PluginsBgpSessionCreate with any type of body +func NewPluginsBgpSessionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -6084,7 +52669,7 @@ func NewPluginsBgpBgppeergroupCreateRequestWithBody(server string, contentType s return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + operationPath := fmt.Sprintf("/api/plugins/bgp/session/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6104,19 +52689,19 @@ func NewPluginsBgpBgppeergroupCreateRequestWithBody(server string, contentType s return req, nil } -// NewPluginsBgpBgppeergroupBulkUpdateRequest calls the generic PluginsBgpBgppeergroupBulkUpdate builder with application/json body -func NewPluginsBgpBgppeergroupBulkUpdateRequest(server string, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsBgpSessionBulkUpdateRequest calls the generic PluginsBgpSessionBulkUpdate builder with application/json body +func NewPluginsBgpSessionBulkUpdateRequest(server string, body PluginsBgpSessionBulkUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsBgpSessionBulkUpdateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupBulkUpdate with any type of body -func NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsBgpSessionBulkUpdateRequestWithBody generates requests for PluginsBgpSessionBulkUpdate with any type of body +func NewPluginsBgpSessionBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -6124,7 +52709,7 @@ func NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(server string, contentTy return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/") + operationPath := fmt.Sprintf("/api/plugins/bgp/session/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6144,8 +52729,8 @@ func NewPluginsBgpBgppeergroupBulkUpdateRequestWithBody(server string, contentTy return req, nil } -// NewPluginsBgpBgppeergroupDestroyRequest generates requests for PluginsBgpBgppeergroupDestroy -func NewPluginsBgpBgppeergroupDestroyRequest(server string, id int) (*http.Request, error) { +// NewPluginsBgpSessionDestroyRequest generates requests for PluginsBgpSessionDestroy +func NewPluginsBgpSessionDestroyRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string @@ -6160,7 +52745,7 @@ func NewPluginsBgpBgppeergroupDestroyRequest(server string, id int) (*http.Reque return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6178,8 +52763,8 @@ func NewPluginsBgpBgppeergroupDestroyRequest(server string, id int) (*http.Reque return req, nil } -// NewPluginsBgpBgppeergroupRetrieveRequest generates requests for PluginsBgpBgppeergroupRetrieve -func NewPluginsBgpBgppeergroupRetrieveRequest(server string, id int) (*http.Request, error) { +// NewPluginsBgpSessionRetrieveRequest generates requests for PluginsBgpSessionRetrieve +func NewPluginsBgpSessionRetrieveRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string @@ -6194,7 +52779,7 @@ func NewPluginsBgpBgppeergroupRetrieveRequest(server string, id int) (*http.Requ return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6212,19 +52797,19 @@ func NewPluginsBgpBgppeergroupRetrieveRequest(server string, id int) (*http.Requ return req, nil } -// NewPluginsBgpBgppeergroupPartialUpdateRequest calls the generic PluginsBgpBgppeergroupPartialUpdate builder with application/json body -func NewPluginsBgpBgppeergroupPartialUpdateRequest(server string, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsBgpSessionPartialUpdateRequest calls the generic PluginsBgpSessionPartialUpdate builder with application/json body +func NewPluginsBgpSessionPartialUpdateRequest(server string, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return NewPluginsBgpSessionPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) } -// NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupPartialUpdate with any type of body -func NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsBgpSessionPartialUpdateRequestWithBody generates requests for PluginsBgpSessionPartialUpdate with any type of body +func NewPluginsBgpSessionPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -6239,7 +52824,7 @@ func NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(server string, id int return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6259,19 +52844,19 @@ func NewPluginsBgpBgppeergroupPartialUpdateRequestWithBody(server string, id int return req, nil } -// NewPluginsBgpBgppeergroupUpdateRequest calls the generic PluginsBgpBgppeergroupUpdate builder with application/json body -func NewPluginsBgpBgppeergroupUpdateRequest(server string, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsBgpSessionUpdateRequest calls the generic PluginsBgpSessionUpdate builder with application/json body +func NewPluginsBgpSessionUpdateRequest(server string, id int, body PluginsBgpSessionUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgppeergroupUpdateRequestWithBody(server, id, "application/json", bodyReader) + return NewPluginsBgpSessionUpdateRequestWithBody(server, id, "application/json", bodyReader) } -// NewPluginsBgpBgppeergroupUpdateRequestWithBody generates requests for PluginsBgpBgppeergroupUpdate with any type of body -func NewPluginsBgpBgppeergroupUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsBgpSessionUpdateRequestWithBody generates requests for PluginsBgpSessionUpdate with any type of body +func NewPluginsBgpSessionUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -6286,7 +52871,7 @@ func NewPluginsBgpBgppeergroupUpdateRequestWithBody(server string, id int, conte return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgppeergroup/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6306,19 +52891,30 @@ func NewPluginsBgpBgppeergroupUpdateRequestWithBody(server string, id int, conte return req, nil } -// NewPluginsBgpBgpsessionBulkDestroyRequest calls the generic PluginsBgpBgpsessionBulkDestroy builder with application/json body -func NewPluginsBgpBgpsessionBulkDestroyRequest(server string, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsActivateUserKeyCreateRequest calls the generic PluginsSecretsActivateUserKeyCreate builder with application/json body +func NewPluginsSecretsActivateUserKeyCreateRequest(server string, body PluginsSecretsActivateUserKeyCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsActivateUserKeyCreateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgpsessionBulkDestroyRequestWithBody generates requests for PluginsBgpBgpsessionBulkDestroy with any type of body -func NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsActivateUserKeyCreateRequestWithFormdataBody calls the generic PluginsSecretsActivateUserKeyCreate builder with application/x-www-form-urlencoded body +func NewPluginsSecretsActivateUserKeyCreateRequestWithFormdataBody(server string, body PluginsSecretsActivateUserKeyCreateFormdataRequestBody) (*http.Request, error) { + var bodyReader io.Reader + bodyStr, err := runtime.MarshalForm(body, nil) + if err != nil { + return nil, err + } + bodyReader = strings.NewReader(bodyStr.Encode()) + return NewPluginsSecretsActivateUserKeyCreateRequestWithBody(server, "application/x-www-form-urlencoded", bodyReader) +} + +// NewPluginsSecretsActivateUserKeyCreateRequestWithBody generates requests for PluginsSecretsActivateUserKeyCreate with any type of body +func NewPluginsSecretsActivateUserKeyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -6326,7 +52922,101 @@ func NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(server string, contentTyp return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + operationPath := fmt.Sprintf("/api/plugins/secrets/activate-user-key/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsSecretsGenerateRsaKeyPairListRequest generates requests for PluginsSecretsGenerateRsaKeyPairList +func NewPluginsSecretsGenerateRsaKeyPairListRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/secrets/generate-rsa-key-pair/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsSecretsGetSessionKeyCreateRequest generates requests for PluginsSecretsGetSessionKeyCreate +func NewPluginsSecretsGetSessionKeyCreateRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/secrets/get-session-key/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsSecretsSecretRolesBulkDestroyRequest calls the generic PluginsSecretsSecretRolesBulkDestroy builder with application/json body +func NewPluginsSecretsSecretRolesBulkDestroyRequest(server string, body PluginsSecretsSecretRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsSecretsSecretRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsSecretsSecretRolesBulkDestroyRequestWithBody generates requests for PluginsSecretsSecretRolesBulkDestroy with any type of body +func NewPluginsSecretsSecretRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6346,8 +53036,8 @@ func NewPluginsBgpBgpsessionBulkDestroyRequestWithBody(server string, contentTyp return req, nil } -// NewPluginsBgpBgpsessionListRequest generates requests for PluginsBgpBgpsessionList -func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsessionListParams) (*http.Request, error) { +// NewPluginsSecretsSecretRolesListRequest generates requests for PluginsSecretsSecretRolesList +func NewPluginsSecretsSecretRolesListRequest(server string, params *PluginsSecretsSecretRolesListParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -6355,7 +53045,7 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -6368,9 +53058,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess if params != nil { queryValues := queryURL.Query() - if params.ByLocalAddress != nil { + if params.Comments != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_local_address", runtime.ParamLocationQuery, *params.ByLocalAddress); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6384,9 +53074,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.ByRemoteAddress != nil { + if params.CommentsIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_remote_address", runtime.ParamLocationQuery, *params.ByRemoteAddress); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6400,9 +53090,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.Created != nil { + if params.CommentsIe != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6416,9 +53106,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedEmpty != nil { + if params.CommentsIew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6432,9 +53122,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedGt != nil { + if params.CommentsIsw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gt", runtime.ParamLocationQuery, *params.CreatedGt); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6448,9 +53138,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedGte != nil { + if params.CommentsN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6464,9 +53154,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedLt != nil { + if params.CommentsNic != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lt", runtime.ParamLocationQuery, *params.CreatedLt); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6480,9 +53170,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedLte != nil { + if params.CommentsNie != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6496,9 +53186,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedN != nil { + if params.CommentsNiew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__n", runtime.ParamLocationQuery, *params.CreatedN); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6512,9 +53202,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.CreatedByRequest != nil { + if params.CommentsNisw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -6528,9 +53218,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.Description != nil { + if params.Created != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != 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 @@ -6544,9 +53234,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionEmpty != nil { + if params.CreatedEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != 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 @@ -6560,9 +53250,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionIc != nil { + if params.CreatedGt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != 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 @@ -6576,9 +53266,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionIe != nil { + if params.CreatedGte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != 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 @@ -6592,9 +53282,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionIew != nil { + if params.CreatedLt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != 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 @@ -6608,9 +53298,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionIsw != nil { + if params.CreatedLte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != 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 @@ -6624,9 +53314,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionN != nil { + if params.CreatedN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != 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 @@ -6640,9 +53330,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionNic != nil { + if params.CreatedByRequest != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != 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 @@ -6656,9 +53346,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionNie != nil { + if params.Description != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != 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 @@ -6672,9 +53362,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionNiew != nil { + if params.DescriptionEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != 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 @@ -6688,9 +53378,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DescriptionNisw != nil { + if params.DescriptionIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != 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 @@ -6704,9 +53394,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.Device != nil { + if params.DescriptionIe != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device", runtime.ParamLocationQuery, *params.Device); err != 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 @@ -6720,9 +53410,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DeviceN != nil { + if params.DescriptionIew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device__n", runtime.ParamLocationQuery, *params.DeviceN); err != 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 @@ -6736,9 +53426,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DeviceId != nil { + if params.DescriptionIsw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id", runtime.ParamLocationQuery, *params.DeviceId); err != 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 @@ -6752,9 +53442,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.DeviceIdN != nil { + if params.DescriptionN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id__n", runtime.ParamLocationQuery, *params.DeviceIdN); err != 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 @@ -6768,9 +53458,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.ExportPolicies != nil { + if params.DescriptionNic != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies", runtime.ParamLocationQuery, *params.ExportPolicies); err != 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 @@ -6784,9 +53474,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.ExportPoliciesN != nil { + if params.DescriptionNie != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies__n", runtime.ParamLocationQuery, *params.ExportPoliciesN); err != 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 @@ -6800,9 +53490,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.Id != nil { + if params.DescriptionNiew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != 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 @@ -6816,9 +53506,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.IdEmpty != nil { + if params.DescriptionNisw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != 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 @@ -6832,9 +53522,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.IdGt != nil { + if params.Id != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gt", runtime.ParamLocationQuery, *params.IdGt); err != 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 @@ -6848,9 +53538,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.IdGte != nil { + if params.IdEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gte", runtime.ParamLocationQuery, *params.IdGte); err != 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 @@ -6864,9 +53554,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.IdLt != nil { + if params.IdGt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lt", runtime.ParamLocationQuery, *params.IdLt); err != 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 @@ -6880,9 +53570,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.IdLte != nil { + if params.IdGte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lte", runtime.ParamLocationQuery, *params.IdLte); err != 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 @@ -6896,9 +53586,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.IdN != nil { + if params.IdLt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != 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 @@ -6912,9 +53602,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.ImportPolicies != nil { + if params.IdLte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies", runtime.ParamLocationQuery, *params.ImportPolicies); err != 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 @@ -6928,9 +53618,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.ImportPoliciesN != nil { + if params.IdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies__n", runtime.ParamLocationQuery, *params.ImportPoliciesN); err != 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 @@ -7072,134 +53762,6 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.LocalAddress != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address", runtime.ParamLocationQuery, *params.LocalAddress); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAddressN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address__n", runtime.ParamLocationQuery, *params.LocalAddressN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAddressId != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id", runtime.ParamLocationQuery, *params.LocalAddressId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAddressIdN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id__n", runtime.ParamLocationQuery, *params.LocalAddressIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAs != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as", runtime.ParamLocationQuery, *params.LocalAs); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAsN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as__n", runtime.ParamLocationQuery, *params.LocalAsN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAsId != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id", runtime.ParamLocationQuery, *params.LocalAsId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.LocalAsIdN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id__n", runtime.ParamLocationQuery, *params.LocalAsIdN); err != nil { - return nil, err - } else if parsed, err := 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 { @@ -7424,38 +53986,6 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.PeerGroup != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group", runtime.ParamLocationQuery, *params.PeerGroup); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.PeerGroupN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group__n", runtime.ParamLocationQuery, *params.PeerGroupN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -7472,57 +54002,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.RemoteAddress != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address", runtime.ParamLocationQuery, *params.RemoteAddress); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.RemoteAddressN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address__n", runtime.ParamLocationQuery, *params.RemoteAddressN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.RemoteAddressId != nil { + if params.Slug != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id", runtime.ParamLocationQuery, *params.RemoteAddressId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.RemoteAddressIdN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id__n", runtime.ParamLocationQuery, *params.RemoteAddressIdN); err != 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 @@ -7536,9 +54018,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.RemoteAs != nil { + if params.SlugEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as", runtime.ParamLocationQuery, *params.RemoteAs); err != 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 @@ -7552,9 +54034,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.RemoteAsN != nil { + if params.SlugIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as__n", runtime.ParamLocationQuery, *params.RemoteAsN); err != 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 @@ -7568,9 +54050,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.RemoteAsId != nil { + if params.SlugIe != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id", runtime.ParamLocationQuery, *params.RemoteAsId); err != 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 @@ -7584,9 +54066,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.RemoteAsIdN != nil { + if params.SlugIew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id__n", runtime.ParamLocationQuery, *params.RemoteAsIdN); err != 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 @@ -7600,9 +54082,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.Site != nil { + if params.SlugIsw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != 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 @@ -7616,9 +54098,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.SiteN != nil { + if params.SlugN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site__n", runtime.ParamLocationQuery, *params.SiteN); err != 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 @@ -7632,9 +54114,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.SiteId != nil { + if params.SlugNic != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != 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 @@ -7648,9 +54130,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.SiteIdN != nil { + if params.SlugNie != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != 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 @@ -7664,9 +54146,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.Status != nil { + if params.SlugNiew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != 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 @@ -7680,9 +54162,9 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - if params.StatusN != nil { + if params.SlugNisw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != 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 @@ -7728,38 +54210,6 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess } - 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.UpdatedByRequest != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { @@ -7787,19 +54237,19 @@ func NewPluginsBgpBgpsessionListRequest(server string, params *PluginsBgpBgpsess return req, nil } -// NewPluginsBgpBgpsessionBulkPartialUpdateRequest calls the generic PluginsBgpBgpsessionBulkPartialUpdate builder with application/json body -func NewPluginsBgpBgpsessionBulkPartialUpdateRequest(server string, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretRolesBulkPartialUpdateRequest calls the generic PluginsSecretsSecretRolesBulkPartialUpdate builder with application/json body +func NewPluginsSecretsSecretRolesBulkPartialUpdateRequest(server string, body PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody generates requests for PluginsBgpBgpsessionBulkPartialUpdate with any type of body -func NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretRolesBulkPartialUpdateRequestWithBody generates requests for PluginsSecretsSecretRolesBulkPartialUpdate with any type of body +func NewPluginsSecretsSecretRolesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -7807,7 +54257,7 @@ func NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(server string, cont return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -7827,19 +54277,19 @@ func NewPluginsBgpBgpsessionBulkPartialUpdateRequestWithBody(server string, cont return req, nil } -// NewPluginsBgpBgpsessionCreateRequest calls the generic PluginsBgpBgpsessionCreate builder with application/json body -func NewPluginsBgpBgpsessionCreateRequest(server string, body PluginsBgpBgpsessionCreateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretRolesCreateRequest calls the generic PluginsSecretsSecretRolesCreate builder with application/json body +func NewPluginsSecretsSecretRolesCreateRequest(server string, body PluginsSecretsSecretRolesCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgpsessionCreateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretRolesCreateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpBgpsessionCreateRequestWithBody generates requests for PluginsBgpBgpsessionCreate with any type of body -func NewPluginsBgpBgpsessionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretRolesCreateRequestWithBody generates requests for PluginsSecretsSecretRolesCreate with any type of body +func NewPluginsSecretsSecretRolesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -7847,7 +54297,7 @@ func NewPluginsBgpBgpsessionCreateRequestWithBody(server string, contentType str return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -7867,19 +54317,19 @@ func NewPluginsBgpBgpsessionCreateRequestWithBody(server string, contentType str return req, nil } -// NewPluginsBgpBgpsessionBulkUpdateRequest calls the generic PluginsBgpBgpsessionBulkUpdate builder with application/json body -func NewPluginsBgpBgpsessionBulkUpdateRequest(server string, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretRolesBulkUpdateRequest calls the generic PluginsSecretsSecretRolesBulkUpdate builder with application/json body +func NewPluginsSecretsSecretRolesBulkUpdateRequest(server string, body PluginsSecretsSecretRolesBulkUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) } - -// NewPluginsBgpBgpsessionBulkUpdateRequestWithBody generates requests for PluginsBgpBgpsessionBulkUpdate with any type of body -func NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + +// NewPluginsSecretsSecretRolesBulkUpdateRequestWithBody generates requests for PluginsSecretsSecretRolesBulkUpdate with any type of body +func NewPluginsSecretsSecretRolesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -7887,7 +54337,7 @@ func NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(server string, contentType return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -7907,8 +54357,8 @@ func NewPluginsBgpBgpsessionBulkUpdateRequestWithBody(server string, contentType return req, nil } -// NewPluginsBgpBgpsessionDestroyRequest generates requests for PluginsBgpBgpsessionDestroy -func NewPluginsBgpBgpsessionDestroyRequest(server string, id int) (*http.Request, error) { +// NewPluginsSecretsSecretRolesDestroyRequest generates requests for PluginsSecretsSecretRolesDestroy +func NewPluginsSecretsSecretRolesDestroyRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string @@ -7923,7 +54373,7 @@ func NewPluginsBgpBgpsessionDestroyRequest(server string, id int) (*http.Request return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -7941,8 +54391,8 @@ func NewPluginsBgpBgpsessionDestroyRequest(server string, id int) (*http.Request return req, nil } -// NewPluginsBgpBgpsessionRetrieveRequest generates requests for PluginsBgpBgpsessionRetrieve -func NewPluginsBgpBgpsessionRetrieveRequest(server string, id int) (*http.Request, error) { +// NewPluginsSecretsSecretRolesRetrieveRequest generates requests for PluginsSecretsSecretRolesRetrieve +func NewPluginsSecretsSecretRolesRetrieveRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string @@ -7957,7 +54407,7 @@ func NewPluginsBgpBgpsessionRetrieveRequest(server string, id int) (*http.Reques return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -7975,19 +54425,19 @@ func NewPluginsBgpBgpsessionRetrieveRequest(server string, id int) (*http.Reques return req, nil } -// NewPluginsBgpBgpsessionPartialUpdateRequest calls the generic PluginsBgpBgpsessionPartialUpdate builder with application/json body -func NewPluginsBgpBgpsessionPartialUpdateRequest(server string, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretRolesPartialUpdateRequest calls the generic PluginsSecretsSecretRolesPartialUpdate builder with application/json body +func NewPluginsSecretsSecretRolesPartialUpdateRequest(server string, id int, body PluginsSecretsSecretRolesPartialUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return NewPluginsSecretsSecretRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) } -// NewPluginsBgpBgpsessionPartialUpdateRequestWithBody generates requests for PluginsBgpBgpsessionPartialUpdate with any type of body -func NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretRolesPartialUpdateRequestWithBody generates requests for PluginsSecretsSecretRolesPartialUpdate with any type of body +func NewPluginsSecretsSecretRolesPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -8002,7 +54452,7 @@ func NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(server string, id int, return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -8022,19 +54472,19 @@ func NewPluginsBgpBgpsessionPartialUpdateRequestWithBody(server string, id int, return req, nil } -// NewPluginsBgpBgpsessionUpdateRequest calls the generic PluginsBgpBgpsessionUpdate builder with application/json body -func NewPluginsBgpBgpsessionUpdateRequest(server string, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretRolesUpdateRequest calls the generic PluginsSecretsSecretRolesUpdate builder with application/json body +func NewPluginsSecretsSecretRolesUpdateRequest(server string, id int, body PluginsSecretsSecretRolesUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpBgpsessionUpdateRequestWithBody(server, id, "application/json", bodyReader) + return NewPluginsSecretsSecretRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) } -// NewPluginsBgpBgpsessionUpdateRequestWithBody generates requests for PluginsBgpBgpsessionUpdate with any type of body -func NewPluginsBgpBgpsessionUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretRolesUpdateRequestWithBody generates requests for PluginsSecretsSecretRolesUpdate with any type of body +func NewPluginsSecretsSecretRolesUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -8049,7 +54499,7 @@ func NewPluginsBgpBgpsessionUpdateRequestWithBody(server string, id int, content return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/bgpsession/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secret-roles/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -8069,19 +54519,19 @@ func NewPluginsBgpBgpsessionUpdateRequestWithBody(server string, id int, content return req, nil } -// NewPluginsBgpCommunityListRuleBulkDestroyRequest calls the generic PluginsBgpCommunityListRuleBulkDestroy builder with application/json body -func NewPluginsBgpCommunityListRuleBulkDestroyRequest(server string, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretsBulkDestroyRequest calls the generic PluginsSecretsSecretsBulkDestroy builder with application/json body +func NewPluginsSecretsSecretsBulkDestroyRequest(server string, body PluginsSecretsSecretsBulkDestroyJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretsBulkDestroyRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody generates requests for PluginsBgpCommunityListRuleBulkDestroy with any type of body -func NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretsBulkDestroyRequestWithBody generates requests for PluginsSecretsSecretsBulkDestroy with any type of body +func NewPluginsSecretsSecretsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -8089,7 +54539,7 @@ func NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(server string, con return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -8109,8 +54559,8 @@ func NewPluginsBgpCommunityListRuleBulkDestroyRequestWithBody(server string, con return req, nil } -// NewPluginsBgpCommunityListRuleListRequest generates requests for PluginsBgpCommunityListRuleList -func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgpCommunityListRuleListParams) (*http.Request, error) { +// NewPluginsSecretsSecretsListRequest generates requests for PluginsSecretsSecretsList +func NewPluginsSecretsSecretsListRequest(server string, params *PluginsSecretsSecretsListParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -8118,7 +54568,7 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -8131,73 +54581,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp 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.CommunityList != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list", runtime.ParamLocationQuery, *params.CommunityList); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.CommunityListN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list__n", runtime.ParamLocationQuery, *params.CommunityListN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.CommunityListId != nil { + if params.ObjectRepr != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list_id", runtime.ParamLocationQuery, *params.CommunityListId); err != 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 @@ -8211,9 +54597,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CommunityListIdN != nil { + if params.ObjectReprEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "community_list_id__n", runtime.ParamLocationQuery, *params.CommunityListIdN); err != 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 @@ -8227,9 +54613,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Created != nil { + if params.ObjectReprIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != 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 @@ -8243,9 +54629,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedEmpty != nil { + if params.ObjectReprIe != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != 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 @@ -8259,9 +54645,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedGt != nil { + if params.ObjectReprIew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gt", runtime.ParamLocationQuery, *params.CreatedGt); err != 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 @@ -8275,9 +54661,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedGte != nil { + if params.ObjectReprIsw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != 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 @@ -8291,9 +54677,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedLt != nil { + if params.ObjectReprN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lt", runtime.ParamLocationQuery, *params.CreatedLt); err != 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 @@ -8307,9 +54693,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedLte != nil { + if params.ObjectReprNic != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != 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 @@ -8323,9 +54709,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedN != nil { + if params.ObjectReprNie != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__n", runtime.ParamLocationQuery, *params.CreatedN); err != 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 @@ -8339,9 +54725,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.CreatedByRequest != nil { + if params.ObjectReprNiew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != 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 @@ -8355,9 +54741,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Id != nil { + if params.ObjectReprNisw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != 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 @@ -8371,9 +54757,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.IdEmpty != nil { + if params.AssignedObjectId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != 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 @@ -8387,9 +54773,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.IdGt != nil { + if params.AssignedObjectIdEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gt", runtime.ParamLocationQuery, *params.IdGt); err != 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 @@ -8403,9 +54789,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.IdGte != nil { + if params.AssignedObjectIdGt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gte", runtime.ParamLocationQuery, *params.IdGte); err != 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 @@ -8419,9 +54805,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.IdLt != nil { + if params.AssignedObjectIdGte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lt", runtime.ParamLocationQuery, *params.IdLt); err != 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 @@ -8435,9 +54821,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.IdLte != nil { + if params.AssignedObjectIdLt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lte", runtime.ParamLocationQuery, *params.IdLte); err != 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 @@ -8451,9 +54837,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.IdN != nil { + if params.AssignedObjectIdLte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != 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 @@ -8467,9 +54853,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdated != nil { + if params.AssignedObjectIdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != 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 @@ -8483,9 +54869,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdatedEmpty != nil { + if params.AssignedObjectType != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != 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 @@ -8499,9 +54885,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdatedGt != nil { + if params.AssignedObjectTypeN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != 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 @@ -8515,9 +54901,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdatedGte != nil { + if params.AssignedObjectTypeId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != 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 @@ -8531,9 +54917,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdatedLt != nil { + if params.AssignedObjectTypeIdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != 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 @@ -8547,9 +54933,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdatedLte != nil { + if params.Comments != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8563,9 +54949,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.LastUpdatedN != nil { + if params.CommentsIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8579,9 +54965,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Limit != nil { + if params.CommentsIe != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8595,9 +54981,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.ModifiedByRequest != nil { + if params.CommentsIew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8611,9 +54997,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Offset != nil { + if params.CommentsIsw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8627,9 +55013,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Ordering != nil { + if params.CommentsN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8643,9 +55029,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Q != nil { + if params.CommentsNic != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8659,9 +55045,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.Tag != nil { + if params.CommentsNie != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8675,9 +55061,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.TagN != nil { + if params.CommentsNiew != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8691,9 +55077,9 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - if params.UpdatedByRequest != nil { + if params.CommentsNisw != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -8707,361 +55093,6 @@ func NewPluginsBgpCommunityListRuleListRequest(server string, params *PluginsBgp } - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPluginsBgpCommunityListRuleBulkPartialUpdateRequest calls the generic PluginsBgpCommunityListRuleBulkPartialUpdate builder with application/json body -func NewPluginsBgpCommunityListRuleBulkPartialUpdateRequest(server string, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListRuleBulkPartialUpdate with any type of body -func NewPluginsBgpCommunityListRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPluginsBgpCommunityListRuleCreateRequest calls the generic PluginsBgpCommunityListRuleCreate builder with application/json body -func NewPluginsBgpCommunityListRuleCreateRequest(server string, body PluginsBgpCommunityListRuleCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListRuleCreateRequestWithBody(server, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityListRuleCreateRequestWithBody generates requests for PluginsBgpCommunityListRuleCreate with any type of body -func NewPluginsBgpCommunityListRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPluginsBgpCommunityListRuleBulkUpdateRequest calls the generic PluginsBgpCommunityListRuleBulkUpdate builder with application/json body -func NewPluginsBgpCommunityListRuleBulkUpdateRequest(server string, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody generates requests for PluginsBgpCommunityListRuleBulkUpdate with any type of body -func NewPluginsBgpCommunityListRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPluginsBgpCommunityListRuleDestroyRequest generates requests for PluginsBgpCommunityListRuleDestroy -func NewPluginsBgpCommunityListRuleDestroyRequest(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/plugins/bgp/community-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPluginsBgpCommunityListRuleRetrieveRequest generates requests for PluginsBgpCommunityListRuleRetrieve -func NewPluginsBgpCommunityListRuleRetrieveRequest(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/plugins/bgp/community-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPluginsBgpCommunityListRulePartialUpdateRequest calls the generic PluginsBgpCommunityListRulePartialUpdate builder with application/json body -func NewPluginsBgpCommunityListRulePartialUpdateRequest(server string, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListRulePartialUpdate with any type of body -func NewPluginsBgpCommunityListRulePartialUpdateRequestWithBody(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/plugins/bgp/community-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPluginsBgpCommunityListRuleUpdateRequest calls the generic PluginsBgpCommunityListRuleUpdate builder with application/json body -func NewPluginsBgpCommunityListRuleUpdateRequest(server string, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityListRuleUpdateRequestWithBody generates requests for PluginsBgpCommunityListRuleUpdate with any type of body -func NewPluginsBgpCommunityListRuleUpdateRequestWithBody(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/plugins/bgp/community-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPluginsBgpCommunityListBulkDestroyRequest calls the generic PluginsBgpCommunityListBulkDestroy builder with application/json body -func NewPluginsBgpCommunityListBulkDestroyRequest(server string, body PluginsBgpCommunityListBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListBulkDestroyRequestWithBody(server, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityListBulkDestroyRequestWithBody generates requests for PluginsBgpCommunityListBulkDestroy with any type of body -func NewPluginsBgpCommunityListBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") - 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 -} - -// NewPluginsBgpCommunityListListRequest generates requests for PluginsBgpCommunityListList -func NewPluginsBgpCommunityListListRequest(server string, params *PluginsBgpCommunityListListParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") - 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 { @@ -9846,6 +55877,70 @@ func NewPluginsBgpCommunityListListRequest(server string, params *PluginsBgpComm } + 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 { @@ -9905,19 +56000,19 @@ func NewPluginsBgpCommunityListListRequest(server string, params *PluginsBgpComm return req, nil } -// NewPluginsBgpCommunityListBulkPartialUpdateRequest calls the generic PluginsBgpCommunityListBulkPartialUpdate builder with application/json body -func NewPluginsBgpCommunityListBulkPartialUpdateRequest(server string, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretsBulkPartialUpdateRequest calls the generic PluginsSecretsSecretsBulkPartialUpdate builder with application/json body +func NewPluginsSecretsSecretsBulkPartialUpdateRequest(server string, body PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListBulkPartialUpdate with any type of body -func NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretsBulkPartialUpdateRequestWithBody generates requests for PluginsSecretsSecretsBulkPartialUpdate with any type of body +func NewPluginsSecretsSecretsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -9925,7 +56020,7 @@ func NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(server string, c return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -9945,19 +56040,19 @@ func NewPluginsBgpCommunityListBulkPartialUpdateRequestWithBody(server string, c return req, nil } -// NewPluginsBgpCommunityListCreateRequest calls the generic PluginsBgpCommunityListCreate builder with application/json body -func NewPluginsBgpCommunityListCreateRequest(server string, body PluginsBgpCommunityListCreateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretsCreateRequest calls the generic PluginsSecretsSecretsCreate builder with application/json body +func NewPluginsSecretsSecretsCreateRequest(server string, body PluginsSecretsSecretsCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListCreateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretsCreateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpCommunityListCreateRequestWithBody generates requests for PluginsBgpCommunityListCreate with any type of body -func NewPluginsBgpCommunityListCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretsCreateRequestWithBody generates requests for PluginsSecretsSecretsCreate with any type of body +func NewPluginsSecretsSecretsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -9965,7 +56060,7 @@ func NewPluginsBgpCommunityListCreateRequestWithBody(server string, contentType return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -9985,19 +56080,19 @@ func NewPluginsBgpCommunityListCreateRequestWithBody(server string, contentType return req, nil } -// NewPluginsBgpCommunityListBulkUpdateRequest calls the generic PluginsBgpCommunityListBulkUpdate builder with application/json body -func NewPluginsBgpCommunityListBulkUpdateRequest(server string, body PluginsBgpCommunityListBulkUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretsBulkUpdateRequest calls the generic PluginsSecretsSecretsBulkUpdate builder with application/json body +func NewPluginsSecretsSecretsBulkUpdateRequest(server string, body PluginsSecretsSecretsBulkUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return NewPluginsSecretsSecretsBulkUpdateRequestWithBody(server, "application/json", bodyReader) } -// NewPluginsBgpCommunityListBulkUpdateRequestWithBody generates requests for PluginsBgpCommunityListBulkUpdate with any type of body -func NewPluginsBgpCommunityListBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretsBulkUpdateRequestWithBody generates requests for PluginsSecretsSecretsBulkUpdate with any type of body +func NewPluginsSecretsSecretsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -10005,7 +56100,7 @@ func NewPluginsBgpCommunityListBulkUpdateRequestWithBody(server string, contentT return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/") + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10025,8 +56120,8 @@ func NewPluginsBgpCommunityListBulkUpdateRequestWithBody(server string, contentT return req, nil } -// NewPluginsBgpCommunityListDestroyRequest generates requests for PluginsBgpCommunityListDestroy -func NewPluginsBgpCommunityListDestroyRequest(server string, id int) (*http.Request, error) { +// NewPluginsSecretsSecretsDestroyRequest generates requests for PluginsSecretsSecretsDestroy +func NewPluginsSecretsSecretsDestroyRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string @@ -10041,7 +56136,7 @@ func NewPluginsBgpCommunityListDestroyRequest(server string, id int) (*http.Requ return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10059,8 +56154,8 @@ func NewPluginsBgpCommunityListDestroyRequest(server string, id int) (*http.Requ return req, nil } -// NewPluginsBgpCommunityListRetrieveRequest generates requests for PluginsBgpCommunityListRetrieve -func NewPluginsBgpCommunityListRetrieveRequest(server string, id int) (*http.Request, error) { +// NewPluginsSecretsSecretsRetrieveRequest generates requests for PluginsSecretsSecretsRetrieve +func NewPluginsSecretsSecretsRetrieveRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string @@ -10075,7 +56170,7 @@ func NewPluginsBgpCommunityListRetrieveRequest(server string, id int) (*http.Req return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10093,19 +56188,19 @@ func NewPluginsBgpCommunityListRetrieveRequest(server string, id int) (*http.Req return req, nil } -// NewPluginsBgpCommunityListPartialUpdateRequest calls the generic PluginsBgpCommunityListPartialUpdate builder with application/json body -func NewPluginsBgpCommunityListPartialUpdateRequest(server string, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretsPartialUpdateRequest calls the generic PluginsSecretsSecretsPartialUpdate builder with application/json body +func NewPluginsSecretsSecretsPartialUpdateRequest(server string, id int, body PluginsSecretsSecretsPartialUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return NewPluginsSecretsSecretsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) } -// NewPluginsBgpCommunityListPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityListPartialUpdate with any type of body -func NewPluginsBgpCommunityListPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretsPartialUpdateRequestWithBody generates requests for PluginsSecretsSecretsPartialUpdate with any type of body +func NewPluginsSecretsSecretsPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -10120,7 +56215,7 @@ func NewPluginsBgpCommunityListPartialUpdateRequestWithBody(server string, id in return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10140,19 +56235,19 @@ func NewPluginsBgpCommunityListPartialUpdateRequestWithBody(server string, id in return req, nil } -// NewPluginsBgpCommunityListUpdateRequest calls the generic PluginsBgpCommunityListUpdate builder with application/json body -func NewPluginsBgpCommunityListUpdateRequest(server string, id int, body PluginsBgpCommunityListUpdateJSONRequestBody) (*http.Request, error) { +// NewPluginsSecretsSecretsUpdateRequest calls the generic PluginsSecretsSecretsUpdate builder with application/json body +func NewPluginsSecretsSecretsUpdateRequest(server string, id int, body PluginsSecretsSecretsUpdateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityListUpdateRequestWithBody(server, id, "application/json", bodyReader) + return NewPluginsSecretsSecretsUpdateRequestWithBody(server, id, "application/json", bodyReader) } -// NewPluginsBgpCommunityListUpdateRequestWithBody generates requests for PluginsBgpCommunityListUpdate with any type of body -func NewPluginsBgpCommunityListUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSecretsUpdateRequestWithBody generates requests for PluginsSecretsSecretsUpdate with any type of body +func NewPluginsSecretsSecretsUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -10167,7 +56262,7 @@ func NewPluginsBgpCommunityListUpdateRequestWithBody(server string, id int, cont return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community-list/%s/", pathParam0) + operationPath := fmt.Sprintf("/api/plugins/secrets/secrets/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10187,19 +56282,8 @@ func NewPluginsBgpCommunityListUpdateRequestWithBody(server string, id int, cont return req, nil } -// NewPluginsBgpCommunityBulkDestroyRequest calls the generic PluginsBgpCommunityBulkDestroy builder with application/json body -func NewPluginsBgpCommunityBulkDestroyRequest(server string, body PluginsBgpCommunityBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityBulkDestroyRequestWithBody(server, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityBulkDestroyRequestWithBody generates requests for PluginsBgpCommunityBulkDestroy with any type of body -func NewPluginsBgpCommunityBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPluginsSecretsSessionKeysBulkDestroyRequest generates requests for PluginsSecretsSessionKeysBulkDestroy +func NewPluginsSecretsSessionKeysBulkDestroyRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -10207,7 +56291,7 @@ func NewPluginsBgpCommunityBulkDestroyRequestWithBody(server string, contentType return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + operationPath := fmt.Sprintf("/api/plugins/secrets/session-keys/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10217,18 +56301,16 @@ func NewPluginsBgpCommunityBulkDestroyRequestWithBody(server string, contentType return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPluginsBgpCommunityListRequest generates requests for PluginsBgpCommunityList -func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunityListParams) (*http.Request, error) { +// NewPluginsSecretsSessionKeysListRequest generates requests for PluginsSecretsSessionKeysList +func NewPluginsSecretsSessionKeysListRequest(server string, params *PluginsSecretsSessionKeysListParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -10236,7 +56318,7 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + operationPath := fmt.Sprintf("/api/plugins/secrets/session-keys/") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -10249,9 +56331,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit if params != nil { queryValues := queryURL.Query() - if params.Created != nil { + if params.Limit != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -10265,9 +56347,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.CreatedEmpty != nil { + if params.Offset != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -10281,9 +56363,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.CreatedGt != nil { + if params.Ordering != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gt", runtime.ParamLocationQuery, *params.CreatedGt); err != 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 @@ -10297,137 +56379,150 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.CreatedGte != nil { + queryURL.RawQuery = queryValues.Encode() + } - 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) - } - } - } + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } - } + return req, nil +} - if params.CreatedLt != nil { +// NewPluginsSecretsSessionKeysCreateRequest calls the generic PluginsSecretsSessionKeysCreate builder with application/json body +func NewPluginsSecretsSessionKeysCreateRequest(server string, body PluginsSecretsSessionKeysCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsSecretsSessionKeysCreateRequestWithBody(server, "application/json", bodyReader) +} - 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) - } - } - } +// NewPluginsSecretsSessionKeysCreateRequestWithBody generates requests for PluginsSecretsSessionKeysCreate with any type of body +func NewPluginsSecretsSessionKeysCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error - } + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } - if params.CreatedLte != nil { + operationPath := fmt.Sprintf("/api/plugins/secrets/session-keys/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } - 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) - } - } - } + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } - } + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } - if params.CreatedN != nil { + req.Header.Add("Content-Type", contentType) - 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) - } - } - } + return req, nil +} - } +// NewPluginsSecretsSessionKeysDestroyRequest generates requests for PluginsSecretsSessionKeysDestroy +func NewPluginsSecretsSessionKeysDestroyRequest(server string, id int) (*http.Request, error) { + var err error - if params.CreatedByRequest != nil { + var pathParam0 string - 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) - } - } - } + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } - } + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } - if params.Description != nil { + operationPath := fmt.Sprintf("/api/plugins/secrets/session-keys/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } - 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) - } - } - } + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } - } + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } - if params.DescriptionEmpty != nil { + return req, 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) - } - } - } +// NewPluginsSecretsSessionKeysRetrieveRequest generates requests for PluginsSecretsSessionKeysRetrieve +func NewPluginsSecretsSessionKeysRetrieveRequest(server string, id int) (*http.Request, error) { + var err error - } + var pathParam0 string - if params.DescriptionIc != nil { + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } - 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) - } - } - } + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/plugins/secrets/session-keys/%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 +} + +// NewPluginsSecretsUserKeysListRequest generates requests for PluginsSecretsUserKeysList +func NewPluginsSecretsUserKeysListRequest(server string, params *PluginsSecretsUserKeysListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } - } + operationPath := fmt.Sprintf("/api/plugins/secrets/user-keys/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } - if params.DescriptionIe != nil { + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + 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 @@ -10441,9 +56536,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionIew != nil { + if params.CreatedEmpty != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != 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 @@ -10457,9 +56552,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionIsw != nil { + if params.CreatedGt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != 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 @@ -10473,9 +56568,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionN != nil { + if params.CreatedGte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != 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 @@ -10489,9 +56584,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionNic != nil { + if params.CreatedLt != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != 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 @@ -10505,9 +56600,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionNie != nil { + if params.CreatedLte != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != 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 @@ -10521,9 +56616,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionNiew != nil { + if params.CreatedN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != 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 @@ -10537,9 +56632,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.DescriptionNisw != nil { + if params.CreatedByRequest != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != 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 @@ -10857,38 +56952,6 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - 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 { @@ -10921,38 +56984,6 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - 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.UpdatedByRequest != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { @@ -10969,121 +57000,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.Value != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value", runtime.ParamLocationQuery, *params.Value); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueEmpty != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__empty", runtime.ParamLocationQuery, *params.ValueEmpty); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueIc != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ic", runtime.ParamLocationQuery, *params.ValueIc); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueIe != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ie", runtime.ParamLocationQuery, *params.ValueIe); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueIew != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__iew", runtime.ParamLocationQuery, *params.ValueIew); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueIsw != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__isw", runtime.ParamLocationQuery, *params.ValueIsw); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__n", runtime.ParamLocationQuery, *params.ValueN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ValueNic != nil { + if params.User != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nic", runtime.ParamLocationQuery, *params.ValueNic); err != 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 @@ -11097,9 +57016,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.ValueNie != nil { + if params.UserN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nie", runtime.ParamLocationQuery, *params.ValueNie); err != 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 @@ -11113,9 +57032,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.ValueNiew != nil { + if params.UserId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__niew", runtime.ParamLocationQuery, *params.ValueNiew); err != 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 @@ -11129,9 +57048,9 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit } - if params.ValueNisw != nil { + if params.UserIdN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nisw", runtime.ParamLocationQuery, *params.ValueNisw); err != 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 @@ -11156,27 +57075,23 @@ func NewPluginsBgpCommunityListRequest(server string, params *PluginsBgpCommunit return req, nil } -// NewPluginsBgpCommunityBulkPartialUpdateRequest calls the generic PluginsBgpCommunityBulkPartialUpdate builder with application/json body -func NewPluginsBgpCommunityBulkPartialUpdateRequest(server string, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// NewPluginsSecretsUserKeysRetrieveRequest generates requests for PluginsSecretsUserKeysRetrieve +func NewPluginsSecretsUserKeysRetrieveRequest(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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) -} - -// NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityBulkPartialUpdate with any type of body -func NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/plugins/bgp/community/") + operationPath := fmt.Sprintf("/api/plugins/secrets/user-keys/%s/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -11186,12205 +57101,14505 @@ func NewPluginsBgpCommunityBulkPartialUpdateRequestWithBody(server string, conte return nil, err } - req, err := http.NewRequest("PATCH", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPluginsBgpCommunityCreateRequest calls the generic PluginsBgpCommunityCreate builder with application/json body -func NewPluginsBgpCommunityCreateRequest(server string, body PluginsBgpCommunityCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +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 + } } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityCreateRequestWithBody(server, "application/json", bodyReader) + for _, r := range additionalEditors { + if err := r(ctx, req); err != nil { + return err + } + } + return nil } -// NewPluginsBgpCommunityCreateRequestWithBody generates requests for PluginsBgpCommunityCreate with any type of body -func NewPluginsBgpCommunityCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +// ClientWithResponses builds on ClientInterface to offer response payloads +type ClientWithResponses struct { + ClientInterface +} - serverURL, err := url.Parse(server) +// 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 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/community/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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 } +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } +// ClientWithResponsesInterface is the interface specification for the client with responses above. +type ClientWithResponsesInterface interface { + // ExtrasBookmarksBulkDestroyWithBodyWithResponse request with any body + ExtrasBookmarksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkDestroyResponse, error) - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } + 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) + + // 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) + + // ExtrasEventRulesBulkDestroyWithBodyWithResponse request with any body + ExtrasEventRulesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkDestroyResponse, error) + + ExtrasEventRulesBulkDestroyWithResponse(ctx context.Context, body ExtrasEventRulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkDestroyResponse, error) + + // ExtrasEventRulesListWithResponse request + ExtrasEventRulesListWithResponse(ctx context.Context, params *ExtrasEventRulesListParams, reqEditors ...RequestEditorFn) (*ExtrasEventRulesListResponse, error) + + // ExtrasEventRulesBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasEventRulesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkPartialUpdateResponse, error) + + ExtrasEventRulesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasEventRulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkPartialUpdateResponse, error) + + // ExtrasEventRulesCreateWithBodyWithResponse request with any body + ExtrasEventRulesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesCreateResponse, error) + + ExtrasEventRulesCreateWithResponse(ctx context.Context, body ExtrasEventRulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesCreateResponse, error) + + // ExtrasEventRulesBulkUpdateWithBodyWithResponse request with any body + ExtrasEventRulesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkUpdateResponse, error) + + ExtrasEventRulesBulkUpdateWithResponse(ctx context.Context, body ExtrasEventRulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkUpdateResponse, error) + + // ExtrasEventRulesDestroyWithResponse request + ExtrasEventRulesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasEventRulesDestroyResponse, error) + + // ExtrasEventRulesRetrieveWithResponse request + ExtrasEventRulesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasEventRulesRetrieveResponse, error) + + // ExtrasEventRulesPartialUpdateWithBodyWithResponse request with any body + ExtrasEventRulesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesPartialUpdateResponse, error) + + ExtrasEventRulesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasEventRulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesPartialUpdateResponse, error) + + // ExtrasEventRulesUpdateWithBodyWithResponse request with any body + ExtrasEventRulesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesUpdateResponse, error) + + ExtrasEventRulesUpdateWithResponse(ctx context.Context, id int, body ExtrasEventRulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesUpdateResponse, 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) + + // ExtrasObjectTypesListWithResponse request + ExtrasObjectTypesListWithResponse(ctx context.Context, params *ExtrasObjectTypesListParams, reqEditors ...RequestEditorFn) (*ExtrasObjectTypesListResponse, error) + + // ExtrasObjectTypesRetrieveWithResponse request + ExtrasObjectTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasObjectTypesRetrieveResponse, 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) + + // ExtrasScriptsListWithResponse request + ExtrasScriptsListWithResponse(ctx context.Context, params *ExtrasScriptsListParams, reqEditors ...RequestEditorFn) (*ExtrasScriptsListResponse, error) + + // ExtrasScriptsCreateWithResponse request + ExtrasScriptsCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasScriptsCreateResponse, error) + + // ExtrasScriptsDestroyWithResponse request + ExtrasScriptsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsDestroyResponse, error) + + // ExtrasScriptsRetrieveWithResponse request + ExtrasScriptsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsRetrieveResponse, error) + + // ExtrasScriptsPartialUpdateWithResponse request + ExtrasScriptsPartialUpdateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsPartialUpdateResponse, error) + + // ExtrasScriptsUpdateWithResponse request + ExtrasScriptsUpdateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsUpdateResponse, 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) - req.Header.Add("Content-Type", contentType) + // ExtrasWebhooksBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasWebhooksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkPartialUpdateResponse, error) - return req, nil -} + ExtrasWebhooksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasWebhooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkPartialUpdateResponse, error) -// NewPluginsBgpCommunityBulkUpdateRequest calls the generic PluginsBgpCommunityBulkUpdate builder with application/json body -func NewPluginsBgpCommunityBulkUpdateRequest(server string, body PluginsBgpCommunityBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityBulkUpdateRequestWithBody(server, "application/json", bodyReader) -} + // ExtrasWebhooksCreateWithBodyWithResponse request with any body + ExtrasWebhooksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksCreateResponse, error) -// NewPluginsBgpCommunityBulkUpdateRequestWithBody generates requests for PluginsBgpCommunityBulkUpdate with any type of body -func NewPluginsBgpCommunityBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error + ExtrasWebhooksCreateWithResponse(ctx context.Context, body ExtrasWebhooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksCreateResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + // ExtrasWebhooksBulkUpdateWithBodyWithResponse request with any body + ExtrasWebhooksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkUpdateResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/community/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + ExtrasWebhooksBulkUpdateWithResponse(ctx context.Context, body ExtrasWebhooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkUpdateResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + // ExtrasWebhooksDestroyWithResponse request + ExtrasWebhooksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasWebhooksDestroyResponse, error) - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } + // ExtrasWebhooksRetrieveWithResponse request + ExtrasWebhooksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasWebhooksRetrieveResponse, error) - req.Header.Add("Content-Type", contentType) + // ExtrasWebhooksPartialUpdateWithBodyWithResponse request with any body + ExtrasWebhooksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) - return req, nil -} + ExtrasWebhooksPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) -// NewPluginsBgpCommunityDestroyRequest generates requests for PluginsBgpCommunityDestroy -func NewPluginsBgpCommunityDestroyRequest(server string, id int) (*http.Request, error) { - var err error + // ExtrasWebhooksUpdateWithBodyWithResponse request with any body + ExtrasWebhooksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) - var pathParam0 string + ExtrasWebhooksUpdateWithResponse(ctx context.Context, id int, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } + // PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse request with any body + PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + PluginsBgpBgppeergroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/community/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + // PluginsBgpBgppeergroupListWithResponse request + PluginsBgpBgppeergroupListWithResponse(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupListResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + // PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } + PluginsBgpBgppeergroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) - return req, nil -} + // PluginsBgpBgppeergroupCreateWithBodyWithResponse request with any body + PluginsBgpBgppeergroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) -// NewPluginsBgpCommunityRetrieveRequest generates requests for PluginsBgpCommunityRetrieve -func NewPluginsBgpCommunityRetrieveRequest(server string, id int) (*http.Request, error) { - var err error + PluginsBgpBgppeergroupCreateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) - var pathParam0 string + // PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse request with any body + PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } + PluginsBgpBgppeergroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + // PluginsBgpBgppeergroupDestroyWithResponse request + PluginsBgpBgppeergroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupDestroyResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/community/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + // PluginsBgpBgppeergroupRetrieveWithResponse request + PluginsBgpBgppeergroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupRetrieveResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + // PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse request with any body + PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } + PluginsBgpBgppeergroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) - return req, nil -} + // PluginsBgpBgppeergroupUpdateWithBodyWithResponse request with any body + PluginsBgpBgppeergroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) -// NewPluginsBgpCommunityPartialUpdateRequest calls the generic PluginsBgpCommunityPartialUpdate builder with application/json body -func NewPluginsBgpCommunityPartialUpdateRequest(server string, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) -} + PluginsBgpBgppeergroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) -// NewPluginsBgpCommunityPartialUpdateRequestWithBody generates requests for PluginsBgpCommunityPartialUpdate with any type of body -func NewPluginsBgpCommunityPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error + // PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse request with any body + PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) - var pathParam0 string + PluginsBgpBgpsessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } + // PluginsBgpBgpsessionListWithResponse request + PluginsBgpBgpsessionListWithResponse(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionListResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + // PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/community/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + PluginsBgpBgpsessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + // PluginsBgpBgpsessionCreateWithBodyWithResponse request with any body + PluginsBgpBgpsessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } + PluginsBgpBgpsessionCreateWithResponse(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) - req.Header.Add("Content-Type", contentType) + // PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse request with any body + PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) - return req, nil -} + PluginsBgpBgpsessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) -// NewPluginsBgpCommunityUpdateRequest calls the generic PluginsBgpCommunityUpdate builder with application/json body -func NewPluginsBgpCommunityUpdateRequest(server string, id int, body PluginsBgpCommunityUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpCommunityUpdateRequestWithBody(server, id, "application/json", bodyReader) -} + // PluginsBgpBgpsessionDestroyWithResponse request + PluginsBgpBgpsessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionDestroyResponse, error) -// NewPluginsBgpCommunityUpdateRequestWithBody generates requests for PluginsBgpCommunityUpdate with any type of body -func NewPluginsBgpCommunityUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error + // PluginsBgpBgpsessionRetrieveWithResponse request + PluginsBgpBgpsessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionRetrieveResponse, error) - var pathParam0 string + // PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse request with any body + PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } + PluginsBgpBgpsessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + // PluginsBgpBgpsessionUpdateWithBodyWithResponse request with any body + PluginsBgpBgpsessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/community/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + PluginsBgpBgpsessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + // PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse request with any body + PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } + PluginsBgpCommunityListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) - req.Header.Add("Content-Type", contentType) + // PluginsBgpCommunityListRuleListWithResponse request + PluginsBgpCommunityListRuleListWithResponse(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleListResponse, error) - return req, nil -} + // PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) -// NewPluginsBgpPeerGroupBulkDestroyRequest calls the generic PluginsBgpPeerGroupBulkDestroy builder with application/json body -func NewPluginsBgpPeerGroupBulkDestroyRequest(server string, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPeerGroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) -} + PluginsBgpCommunityListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) -// NewPluginsBgpPeerGroupBulkDestroyRequestWithBody generates requests for PluginsBgpPeerGroupBulkDestroy with any type of body -func NewPluginsBgpPeerGroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error + // PluginsBgpCommunityListRuleCreateWithBodyWithResponse request with any body + PluginsBgpCommunityListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + PluginsBgpCommunityListRuleCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + // PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + PluginsBgpCommunityListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) - req, err := http.NewRequest("DELETE", queryURL.String(), body) - if err != nil { - return nil, err - } + // PluginsBgpCommunityListRuleDestroyWithResponse request + PluginsBgpCommunityListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleDestroyResponse, error) - req.Header.Add("Content-Type", contentType) + // PluginsBgpCommunityListRuleRetrieveWithResponse request + PluginsBgpCommunityListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleRetrieveResponse, error) - return req, nil -} + // PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) -// NewPluginsBgpPeerGroupListRequest generates requests for PluginsBgpPeerGroupList -func NewPluginsBgpPeerGroupListRequest(server string, params *PluginsBgpPeerGroupListParams) (*http.Request, error) { - var err error + PluginsBgpCommunityListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + // PluginsBgpCommunityListRuleUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + PluginsBgpCommunityListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + // PluginsBgpCommunityListBulkDestroyWithBodyWithResponse request with any body + PluginsBgpCommunityListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) - if params != nil { - queryValues := queryURL.Query() + PluginsBgpCommunityListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) - if params.Created != nil { + // PluginsBgpCommunityListListWithResponse request + PluginsBgpCommunityListListWithResponse(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListListResponse, error) - 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) - } - } - } + // PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) - } + PluginsBgpCommunityListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) - if params.CreatedEmpty != nil { + // PluginsBgpCommunityListCreateWithBodyWithResponse request with any body + PluginsBgpCommunityListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) - 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) - } - } - } + PluginsBgpCommunityListCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) - } + // PluginsBgpCommunityListBulkUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) - if params.CreatedGt != nil { + PluginsBgpCommunityListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpCommunityListDestroyWithResponse request + PluginsBgpCommunityListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListDestroyResponse, error) - } + // PluginsBgpCommunityListRetrieveWithResponse request + PluginsBgpCommunityListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRetrieveResponse, error) - if params.CreatedGte != nil { + // PluginsBgpCommunityListPartialUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpCommunityListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) - } + // PluginsBgpCommunityListUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) - if params.CreatedLt != nil { + PluginsBgpCommunityListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) - 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) - } - } - } + // PluginsBgpCommunityBulkDestroyWithBodyWithResponse request with any body + PluginsBgpCommunityBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) - } + PluginsBgpCommunityBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) - if params.CreatedLte != nil { + // PluginsBgpCommunityListWithResponse request + PluginsBgpCommunityListWithResponse(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListResponse, error) - 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) - } - } - } + // PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) - } + PluginsBgpCommunityBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) - if params.CreatedN != nil { + // PluginsBgpCommunityCreateWithBodyWithResponse request with any body + PluginsBgpCommunityCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) - 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) - } - } - } + PluginsBgpCommunityCreateWithResponse(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) - } + // PluginsBgpCommunityBulkUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) - if params.CreatedByRequest != nil { + PluginsBgpCommunityBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpCommunityDestroyWithResponse request + PluginsBgpCommunityDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityDestroyResponse, error) - } + // PluginsBgpCommunityRetrieveWithResponse request + PluginsBgpCommunityRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityRetrieveResponse, error) - if params.Description != nil { + // PluginsBgpCommunityPartialUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpCommunityPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) - } + // PluginsBgpCommunityUpdateWithBodyWithResponse request with any body + PluginsBgpCommunityUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) - if params.DescriptionEmpty != nil { + PluginsBgpCommunityUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) - 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) - } - } - } + // PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse request with any body + PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) - } + PluginsBgpPeerGroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) - if params.DescriptionIc != nil { + // PluginsBgpPeerGroupListWithResponse request + PluginsBgpPeerGroupListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupListResponse, error) - 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) - } - } - } + // PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) - } + PluginsBgpPeerGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) - if params.DescriptionIe != nil { + // PluginsBgpPeerGroupCreateWithBodyWithResponse request with any body + PluginsBgpPeerGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) - 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) - } - } - } + PluginsBgpPeerGroupCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) - } + // PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse request with any body + PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) - if params.DescriptionIew != nil { + PluginsBgpPeerGroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpPeerGroupDestroyWithResponse request + PluginsBgpPeerGroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupDestroyResponse, error) - } + // PluginsBgpPeerGroupRetrieveWithResponse request + PluginsBgpPeerGroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupRetrieveResponse, error) - if params.DescriptionIsw != nil { + // PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse request with any body + PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpPeerGroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) - } + // PluginsBgpPeerGroupUpdateWithBodyWithResponse request with any body + PluginsBgpPeerGroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) - if params.DescriptionN != nil { + PluginsBgpPeerGroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) - 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) - } - } - } + // PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse request with any body + PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) - } + PluginsBgpPrefixListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) - if params.DescriptionNic != nil { + // PluginsBgpPrefixListRuleListWithResponse request + PluginsBgpPrefixListRuleListWithResponse(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleListResponse, error) - 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) - } - } - } + // PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) - } + PluginsBgpPrefixListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) - if params.DescriptionNie != nil { + // PluginsBgpPrefixListRuleCreateWithBodyWithResponse request with any body + PluginsBgpPrefixListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) - 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) - } - } - } + PluginsBgpPrefixListRuleCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) - } + // PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) - if params.DescriptionNiew != nil { + PluginsBgpPrefixListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpPrefixListRuleDestroyWithResponse request + PluginsBgpPrefixListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleDestroyResponse, error) - } + // PluginsBgpPrefixListRuleRetrieveWithResponse request + PluginsBgpPrefixListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleRetrieveResponse, error) - if params.DescriptionNisw != nil { + // PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpPrefixListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) - } + // PluginsBgpPrefixListRuleUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) - if params.Id != nil { + PluginsBgpPrefixListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) - 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) - } - } - } + // PluginsBgpPrefixListBulkDestroyWithBodyWithResponse request with any body + PluginsBgpPrefixListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) - } + PluginsBgpPrefixListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) - if params.IdEmpty != nil { + // PluginsBgpPrefixListListWithResponse request + PluginsBgpPrefixListListWithResponse(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListListResponse, error) - 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) - } - } - } + // PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) - } + PluginsBgpPrefixListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) - if params.IdGt != nil { + // PluginsBgpPrefixListCreateWithBodyWithResponse request with any body + PluginsBgpPrefixListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) - 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) - } - } - } + PluginsBgpPrefixListCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) - } + // PluginsBgpPrefixListBulkUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) - if params.IdGte != nil { + PluginsBgpPrefixListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpPrefixListDestroyWithResponse request + PluginsBgpPrefixListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListDestroyResponse, error) - } + // PluginsBgpPrefixListRetrieveWithResponse request + PluginsBgpPrefixListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRetrieveResponse, error) - if params.IdLt != nil { + // PluginsBgpPrefixListPartialUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpPrefixListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) - } + // PluginsBgpPrefixListUpdateWithBodyWithResponse request with any body + PluginsBgpPrefixListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) - if params.IdLte != nil { + PluginsBgpPrefixListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) - 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) - } - } - } + // PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) - } + PluginsBgpRoutingPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) - if params.IdN != nil { + // PluginsBgpRoutingPolicyRuleListWithResponse request + PluginsBgpRoutingPolicyRuleListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleListResponse, error) - 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) - } - } - } + // PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) - } + PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) - if params.LastUpdated != nil { + // PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) - 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) - } - } - } + PluginsBgpRoutingPolicyRuleCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) - } + // PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) - if params.LastUpdatedEmpty != nil { + PluginsBgpRoutingPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpRoutingPolicyRuleDestroyWithResponse request + PluginsBgpRoutingPolicyRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleDestroyResponse, error) - } + // PluginsBgpRoutingPolicyRuleRetrieveWithResponse request + PluginsBgpRoutingPolicyRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleRetrieveResponse, error) - if params.LastUpdatedGt != nil { + // PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpRoutingPolicyRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) - } + // PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) - if params.LastUpdatedGte != nil { + PluginsBgpRoutingPolicyRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) - 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) - } - } - } + // PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) - } + PluginsBgpRoutingPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) - if params.LastUpdatedLt != nil { + // PluginsBgpRoutingPolicyListWithResponse request + PluginsBgpRoutingPolicyListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyListResponse, error) - 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) - } - } - } + // PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) - } + PluginsBgpRoutingPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) - if params.LastUpdatedLte != nil { + // PluginsBgpRoutingPolicyCreateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) - 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) - } - } - } + PluginsBgpRoutingPolicyCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) - } + // PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) - if params.LastUpdatedN != nil { + PluginsBgpRoutingPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpRoutingPolicyDestroyWithResponse request + PluginsBgpRoutingPolicyDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyDestroyResponse, error) - } + // PluginsBgpRoutingPolicyRetrieveWithResponse request + PluginsBgpRoutingPolicyRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRetrieveResponse, error) - if params.Limit != nil { + // PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } + PluginsBgpRoutingPolicyPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) - } + // PluginsBgpRoutingPolicyUpdateWithBodyWithResponse request with any body + PluginsBgpRoutingPolicyUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) - if params.ModifiedByRequest != nil { + PluginsBgpRoutingPolicyUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) - 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) - } - } - } + // PluginsBgpSessionBulkDestroyWithBodyWithResponse request with any body + PluginsBgpSessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) - } + PluginsBgpSessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) - if params.Name != nil { + // PluginsBgpSessionListWithResponse request + PluginsBgpSessionListWithResponse(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpSessionListResponse, error) - 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) - } - } - } + // PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse request with any body + PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) - } + PluginsBgpSessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) - if params.NameEmpty != nil { + // PluginsBgpSessionCreateWithBodyWithResponse request with any body + PluginsBgpSessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) - 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) - } - } - } + PluginsBgpSessionCreateWithResponse(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) - } + // PluginsBgpSessionBulkUpdateWithBodyWithResponse request with any body + PluginsBgpSessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) - if params.NameIc != nil { + PluginsBgpSessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) - 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) - } - } - } + // PluginsBgpSessionDestroyWithResponse request + PluginsBgpSessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionDestroyResponse, error) - } + // PluginsBgpSessionRetrieveWithResponse request + PluginsBgpSessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionRetrieveResponse, error) - if params.NameIe != nil { + // PluginsBgpSessionPartialUpdateWithBodyWithResponse request with any body + PluginsBgpSessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) - 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) - } - } - } + PluginsBgpSessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) - } + // PluginsBgpSessionUpdateWithBodyWithResponse request with any body + PluginsBgpSessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) - if params.NameIew != nil { + PluginsBgpSessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) - 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) - } - } - } + // PluginsSecretsActivateUserKeyCreateWithBodyWithResponse request with any body + PluginsSecretsActivateUserKeyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsActivateUserKeyCreateResponse, error) - } + PluginsSecretsActivateUserKeyCreateWithResponse(ctx context.Context, body PluginsSecretsActivateUserKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsActivateUserKeyCreateResponse, error) - if params.NameIsw != nil { + PluginsSecretsActivateUserKeyCreateWithFormdataBodyWithResponse(ctx context.Context, body PluginsSecretsActivateUserKeyCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsActivateUserKeyCreateResponse, error) - 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) - } - } - } + // PluginsSecretsGenerateRsaKeyPairListWithResponse request + PluginsSecretsGenerateRsaKeyPairListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsSecretsGenerateRsaKeyPairListResponse, error) - } + // PluginsSecretsGetSessionKeyCreateWithResponse request + PluginsSecretsGetSessionKeyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsSecretsGetSessionKeyCreateResponse, error) - if params.NameN != nil { + // PluginsSecretsSecretRolesBulkDestroyWithBodyWithResponse request with any body + PluginsSecretsSecretRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkDestroyResponse, error) - 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) - } - } - } + PluginsSecretsSecretRolesBulkDestroyWithResponse(ctx context.Context, body PluginsSecretsSecretRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkDestroyResponse, error) - } + // PluginsSecretsSecretRolesListWithResponse request + PluginsSecretsSecretRolesListWithResponse(ctx context.Context, params *PluginsSecretsSecretRolesListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesListResponse, error) - if params.NameNic != nil { + // PluginsSecretsSecretRolesBulkPartialUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkPartialUpdateResponse, error) + + PluginsSecretsSecretRolesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkPartialUpdateResponse, error) + + // PluginsSecretsSecretRolesCreateWithBodyWithResponse request with any body + PluginsSecretsSecretRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesCreateResponse, error) + + PluginsSecretsSecretRolesCreateWithResponse(ctx context.Context, body PluginsSecretsSecretRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesCreateResponse, error) - 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) - } - } - } + // PluginsSecretsSecretRolesBulkUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkUpdateResponse, error) - } + PluginsSecretsSecretRolesBulkUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkUpdateResponse, error) - if params.NameNie != nil { + // PluginsSecretsSecretRolesDestroyWithResponse request + PluginsSecretsSecretRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesDestroyResponse, error) - 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) - } - } - } + // PluginsSecretsSecretRolesRetrieveWithResponse request + PluginsSecretsSecretRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesRetrieveResponse, error) - } + // PluginsSecretsSecretRolesPartialUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesPartialUpdateResponse, error) - if params.NameNiew != nil { + PluginsSecretsSecretRolesPartialUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesPartialUpdateResponse, error) - 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) - } - } - } + // PluginsSecretsSecretRolesUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesUpdateResponse, error) - } + PluginsSecretsSecretRolesUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesUpdateResponse, error) - if params.NameNisw != nil { + // PluginsSecretsSecretsBulkDestroyWithBodyWithResponse request with any body + PluginsSecretsSecretsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkDestroyResponse, error) - 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) - } - } - } + PluginsSecretsSecretsBulkDestroyWithResponse(ctx context.Context, body PluginsSecretsSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkDestroyResponse, error) - } + // PluginsSecretsSecretsListWithResponse request + PluginsSecretsSecretsListWithResponse(ctx context.Context, params *PluginsSecretsSecretsListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsListResponse, error) - if params.Offset != nil { + // PluginsSecretsSecretsBulkPartialUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkPartialUpdateResponse, error) - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } + PluginsSecretsSecretsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkPartialUpdateResponse, error) - } + // PluginsSecretsSecretsCreateWithBodyWithResponse request with any body + PluginsSecretsSecretsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsCreateResponse, error) - if params.Ordering != nil { + PluginsSecretsSecretsCreateWithResponse(ctx context.Context, body PluginsSecretsSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsCreateResponse, error) - 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) - } - } - } + // PluginsSecretsSecretsBulkUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkUpdateResponse, error) - } + PluginsSecretsSecretsBulkUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkUpdateResponse, error) - if params.Q != nil { + // PluginsSecretsSecretsDestroyWithResponse request + PluginsSecretsSecretsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsDestroyResponse, error) - 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) - } - } - } + // PluginsSecretsSecretsRetrieveWithResponse request + PluginsSecretsSecretsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsRetrieveResponse, error) - } + // PluginsSecretsSecretsPartialUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsPartialUpdateResponse, error) - if params.Tag != nil { + PluginsSecretsSecretsPartialUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsPartialUpdateResponse, error) - 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) - } - } - } + // PluginsSecretsSecretsUpdateWithBodyWithResponse request with any body + PluginsSecretsSecretsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsUpdateResponse, error) - } + PluginsSecretsSecretsUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsUpdateResponse, error) - if params.TagN != nil { + // PluginsSecretsSessionKeysBulkDestroyWithResponse request + PluginsSecretsSessionKeysBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysBulkDestroyResponse, error) - 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) - } - } - } + // PluginsSecretsSessionKeysListWithResponse request + PluginsSecretsSessionKeysListWithResponse(ctx context.Context, params *PluginsSecretsSessionKeysListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysListResponse, error) - } + // PluginsSecretsSessionKeysCreateWithBodyWithResponse request with any body + PluginsSecretsSessionKeysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysCreateResponse, error) - if params.UpdatedByRequest != nil { + PluginsSecretsSessionKeysCreateWithResponse(ctx context.Context, body PluginsSecretsSessionKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysCreateResponse, error) - 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) - } - } - } + // PluginsSecretsSessionKeysDestroyWithResponse request + PluginsSecretsSessionKeysDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysDestroyResponse, error) - } + // PluginsSecretsSessionKeysRetrieveWithResponse request + PluginsSecretsSessionKeysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysRetrieveResponse, error) - queryURL.RawQuery = queryValues.Encode() - } + // PluginsSecretsUserKeysListWithResponse request + PluginsSecretsUserKeysListWithResponse(ctx context.Context, params *PluginsSecretsUserKeysListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsUserKeysListResponse, error) - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } + // PluginsSecretsUserKeysRetrieveWithResponse request + PluginsSecretsUserKeysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsUserKeysRetrieveResponse, error) +} - return req, nil +type ExtrasBookmarksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response } -// NewPluginsBgpPeerGroupBulkPartialUpdateRequest calls the generic PluginsBgpPeerGroupBulkPartialUpdate builder with application/json body -func NewPluginsBgpPeerGroupBulkPartialUpdateRequest(server string, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupBulkPartialUpdate with any type of body -func NewPluginsBgpPeerGroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasBookmarksListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedBookmarkList +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasBookmarksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Bookmark +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPeerGroupCreateRequest calls the generic PluginsBgpPeerGroupCreate builder with application/json body -func NewPluginsBgpPeerGroupCreateRequest(server string, body PluginsBgpPeerGroupCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPeerGroupCreateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPeerGroupCreateRequestWithBody generates requests for PluginsBgpPeerGroupCreate with any type of body -func NewPluginsBgpPeerGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type ExtrasBookmarksCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Bookmark +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +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) +} - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasBookmarksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPeerGroupBulkUpdateRequest calls the generic PluginsBgpPeerGroupBulkUpdate builder with application/json body -func NewPluginsBgpPeerGroupBulkUpdateRequest(server string, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPeerGroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPeerGroupBulkUpdateRequestWithBody generates requests for PluginsBgpPeerGroupBulkUpdate with any type of body -func NewPluginsBgpPeerGroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type ExtrasBookmarksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Bookmark +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +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) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasBookmarksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Bookmark +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPeerGroupDestroyRequest generates requests for PluginsBgpPeerGroupDestroy -func NewPluginsBgpPeerGroupDestroyRequest(server string, id int) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type ExtrasConfigContextsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasConfigContextsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedConfigContextList +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - - return req, nil + return 0 } -// NewPluginsBgpPeerGroupRetrieveRequest generates requests for PluginsBgpPeerGroupRetrieve -func NewPluginsBgpPeerGroupRetrieveRequest(server string, id int) (*http.Request, error) { - var err error - - var pathParam0 string +type ExtrasConfigContextsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ConfigContext +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasConfigContextsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ConfigContext +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type ExtrasConfigContextsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ConfigContext } -// NewPluginsBgpPeerGroupPartialUpdateRequest calls the generic PluginsBgpPeerGroupPartialUpdate builder with application/json body -func NewPluginsBgpPeerGroupPartialUpdateRequest(server string, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPeerGroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPeerGroupPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupPartialUpdate with any type of body -func NewPluginsBgpPeerGroupPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type ExtrasConfigContextsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasConfigContextsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigContext +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasConfigContextsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigContext +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPeerGroupUpdateRequest calls the generic PluginsBgpPeerGroupUpdate builder with application/json body -func NewPluginsBgpPeerGroupUpdateRequest(server string, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPeerGroupUpdateRequestWithBody(server, id, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPeerGroupUpdateRequestWithBody generates requests for PluginsBgpPeerGroupUpdate with any type of body -func NewPluginsBgpPeerGroupUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string +type ExtrasConfigContextsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigContext +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/peer-group/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasConfigContextsSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigContext +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsSyncCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsSyncCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasConfigTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleBulkDestroyRequest calls the generic PluginsBgpPrefixListRuleBulkDestroy builder with application/json body -func NewPluginsBgpPrefixListRuleBulkDestroyRequest(server string, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody generates requests for PluginsBgpPrefixListRuleBulkDestroy with any type of body -func NewPluginsBgpPrefixListRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type ExtrasConfigTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedConfigTemplateList +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } +type ExtrasConfigTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ConfigTemplate +} - req, err := http.NewRequest("DELETE", queryURL.String(), body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req.Header.Add("Content-Type", contentType) - - return req, nil +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 } -// NewPluginsBgpPrefixListRuleListRequest generates requests for PluginsBgpPrefixListRuleList -func NewPluginsBgpPrefixListRuleListRequest(server string, params *PluginsBgpPrefixListRuleListParams) (*http.Request, error) { - var err error +type ExtrasConfigTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ConfigTemplate +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +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) +} - if params != nil { - queryValues := queryURL.Query() +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Action != nil { +type ExtrasConfigTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// 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 +} - if params.ActionN != nil { +type ExtrasConfigTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} - 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) - } - } - } +// 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 +} - if params.Created != nil { +type ExtrasConfigTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} - 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) - } - } - } +// 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 +} - if params.CreatedEmpty != nil { +type ExtrasConfigTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} - 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) - } - } - } +// 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 +} - if params.CreatedGt != nil { +type ExtrasConfigTemplatesRenderCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} - 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) - } - } - } +// 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 +} - if params.CreatedGte != nil { +type ExtrasConfigTemplatesSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} - 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) - } - } - } +// 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 +} - if params.CreatedLt != nil { +type ExtrasCustomFieldChoiceSetsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// 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 +} - if params.CreatedLte != nil { +type ExtrasCustomFieldChoiceSetsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCustomFieldChoiceSetList +} - 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) - } - } - } +// 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 +} - if params.CreatedN != nil { +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomFieldChoiceSet +} - 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) - } - } - } +// 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 +} - if params.CreatedByRequest != nil { +type ExtrasCustomFieldChoiceSetsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CustomFieldChoiceSet +} - 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) - } - } - } +// 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 +} - if params.Ge != nil { +type ExtrasCustomFieldChoiceSetsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomFieldChoiceSet +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge", runtime.ParamLocationQuery, *params.Ge); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.GeEmpty != nil { +type ExtrasCustomFieldChoiceSetsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__empty", runtime.ParamLocationQuery, *params.GeEmpty); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.GeGt != nil { +type ExtrasCustomFieldChoiceSetsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__gt", runtime.ParamLocationQuery, *params.GeGt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.GeGte != nil { +type ExtrasCustomFieldChoiceSetsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__gte", runtime.ParamLocationQuery, *params.GeGte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.GeLt != nil { +type ExtrasCustomFieldChoiceSetsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__lt", runtime.ParamLocationQuery, *params.GeLt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.GeLte != nil { +type ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__lte", runtime.ParamLocationQuery, *params.GeLte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.GeN != nil { +type ExtrasCustomFieldsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ge__n", runtime.ParamLocationQuery, *params.GeN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.Id != nil { +type ExtrasCustomFieldsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCustomFieldList +} - 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) - } - } - } +// 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 +} - if params.IdEmpty != nil { +type ExtrasCustomFieldsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomField +} - 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) - } - } - } +// 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 +} - if params.IdGt != nil { +type ExtrasCustomFieldsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CustomField +} - 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) - } - } - } +// 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 +} - if params.IdGte != nil { +type ExtrasCustomFieldsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomField +} - 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) - } - } - } +// 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 +} - if params.IdLt != nil { +type ExtrasCustomFieldsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// 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 +} - if params.IdLte != nil { +type ExtrasCustomFieldsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomField +} - 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) - } - } - } +// 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 +} - if params.IdN != nil { +type ExtrasCustomFieldsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomField +} - 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) - } - } - } +// 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 +} - if params.Index != nil { +type ExtrasCustomFieldsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomField +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index", runtime.ParamLocationQuery, *params.Index); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.IndexEmpty != nil { +type ExtrasCustomLinksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__empty", runtime.ParamLocationQuery, *params.IndexEmpty); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.IndexGt != nil { +type ExtrasCustomLinksListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCustomLinkList +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gt", runtime.ParamLocationQuery, *params.IndexGt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.IndexGte != nil { +type ExtrasCustomLinksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomLink +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gte", runtime.ParamLocationQuery, *params.IndexGte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.IndexLt != nil { +type ExtrasCustomLinksCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CustomLink +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lt", runtime.ParamLocationQuery, *params.IndexLt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.IndexLte != nil { +type ExtrasCustomLinksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomLink +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lte", runtime.ParamLocationQuery, *params.IndexLte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.IndexN != nil { +type ExtrasCustomLinksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__n", runtime.ParamLocationQuery, *params.IndexN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.LastUpdated != nil { +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedEmpty != nil { +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedGt != nil { +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedGte != nil { +// Status returns HTTPResponse.Status +func (r ExtrasDashboardDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedLt != nil { +// Status returns HTTPResponse.Status +func (r ExtrasDashboardRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedLte != nil { +// Status returns HTTPResponse.Status +func (r ExtrasDashboardPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedN != nil { +// Status returns HTTPResponse.Status +func (r ExtrasDashboardUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDashboardUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.Le != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le", runtime.ParamLocationQuery, *params.Le); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedEventRuleList +} - if params.LeEmpty != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__empty", runtime.ParamLocationQuery, *params.LeEmpty); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]EventRule +} - if params.LeGt != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__gt", runtime.ParamLocationQuery, *params.LeGt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *EventRule +} - if params.LeGte != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__gte", runtime.ParamLocationQuery, *params.LeGte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]EventRule +} - if params.LeLt != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__lt", runtime.ParamLocationQuery, *params.LeLt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.LeLte != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__lte", runtime.ParamLocationQuery, *params.LeLte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *EventRule +} - if params.LeN != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "le__n", runtime.ParamLocationQuery, *params.LeN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *EventRule +} - if params.Limit != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasEventRulesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *EventRule +} - if params.ModifiedByRequest != nil { +// Status returns HTTPResponse.Status +func (r ExtrasEventRulesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasEventRulesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type ExtrasExportTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.Offset != nil { +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.Ordering != nil { +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// 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 +} - if params.PrefixList != nil { +type ExtrasExportTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ExportTemplate +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list", runtime.ParamLocationQuery, *params.PrefixList); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.PrefixListN != nil { +type ExtrasExportTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ExportTemplate +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list__n", runtime.ParamLocationQuery, *params.PrefixListN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.PrefixListId != nil { +type ExtrasExportTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list_id", runtime.ParamLocationQuery, *params.PrefixListId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.PrefixListIdN != nil { +type ExtrasExportTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ExportTemplate +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix_list_id__n", runtime.ParamLocationQuery, *params.PrefixListIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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 +} - if params.Q != nil { +type ExtrasExportTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ExportTemplate +} - 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) - } - } - } +// 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 +} - if params.Tag != nil { +type ExtrasExportTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ExportTemplate +} - 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) - } - } - } +// 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 +} - if params.TagN != nil { +type ExtrasExportTemplatesSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ExportTemplate +} - 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) - } - } - } +// 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 +} - if params.UpdatedByRequest != nil { +type ExtrasImageAttachmentsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// 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 +} - queryURL.RawQuery = queryValues.Encode() +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) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type ExtrasImageAttachmentsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ImageAttachment } -// NewPluginsBgpPrefixListRuleBulkPartialUpdateRequest calls the generic PluginsBgpPrefixListRuleBulkPartialUpdate builder with application/json body -func NewPluginsBgpPrefixListRuleBulkPartialUpdateRequest(server string, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListRuleBulkPartialUpdate with any type of body -func NewPluginsBgpPrefixListRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +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) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasImageAttachmentsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleCreateRequest calls the generic PluginsBgpPrefixListRuleCreate builder with application/json body -func NewPluginsBgpPrefixListRuleCreateRequest(server string, body PluginsBgpPrefixListRuleCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListRuleCreateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPrefixListRuleCreateRequestWithBody generates requests for PluginsBgpPrefixListRuleCreate with any type of body -func NewPluginsBgpPrefixListRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type ExtrasImageAttachmentsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ImageAttachment +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +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) +} - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasImageAttachmentsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ImageAttachment +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleBulkUpdateRequest calls the generic PluginsBgpPrefixListRuleBulkUpdate builder with application/json body -func NewPluginsBgpPrefixListRuleBulkUpdateRequest(server string, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody generates requests for PluginsBgpPrefixListRuleBulkUpdate with any type of body -func NewPluginsBgpPrefixListRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type ExtrasJournalEntriesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +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) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasJournalEntriesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]JournalEntry +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleDestroyRequest generates requests for PluginsBgpPrefixListRuleDestroy -func NewPluginsBgpPrefixListRuleDestroyRequest(server string, id int) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type ExtrasJournalEntriesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *JournalEntry +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +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) +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err +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 req, nil + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleRetrieveRequest generates requests for PluginsBgpPrefixListRuleRetrieve -func NewPluginsBgpPrefixListRuleRetrieveRequest(server string, id int) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type ExtrasJournalEntriesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *JournalEntry +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasJournalEntriesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *JournalEntry +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type ExtrasJournalEntriesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *JournalEntry } -// NewPluginsBgpPrefixListRulePartialUpdateRequest calls the generic PluginsBgpPrefixListRulePartialUpdate builder with application/json body -func NewPluginsBgpPrefixListRulePartialUpdateRequest(server string, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListRulePartialUpdate with any type of body -func NewPluginsBgpPrefixListRulePartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type ExtrasObjectChangesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedObjectChangeList +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasObjectChangesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasObjectChangesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasObjectChangesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ObjectChange +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasObjectChangesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasObjectChangesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) - - return req, nil +type ExtrasObjectTypesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedObjectTypeList } -// NewPluginsBgpPrefixListRuleUpdateRequest calls the generic PluginsBgpPrefixListRuleUpdate builder with application/json body -func NewPluginsBgpPrefixListRuleUpdateRequest(server string, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasObjectTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPrefixListRuleUpdateRequestWithBody generates requests for PluginsBgpPrefixListRuleUpdate with any type of body -func NewPluginsBgpPrefixListRuleUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasObjectTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type ExtrasObjectTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ObjectType +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasObjectTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasObjectTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type ExtrasSavedFiltersBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type ExtrasSavedFiltersListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedSavedFilterList +} - return req, nil +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListBulkDestroyRequest calls the generic PluginsBgpPrefixListBulkDestroy builder with application/json body -func NewPluginsBgpPrefixListBulkDestroyRequest(server string, body PluginsBgpPrefixListBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPrefixListBulkDestroyRequestWithBody generates requests for PluginsBgpPrefixListBulkDestroy with any type of body -func NewPluginsBgpPrefixListBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type ExtrasSavedFiltersBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SavedFilter +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } +type ExtrasSavedFiltersCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *SavedFilter +} - req, err := http.NewRequest("DELETE", queryURL.String(), body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req.Header.Add("Content-Type", contentType) - - return req, nil +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 } -// NewPluginsBgpPrefixListListRequest generates requests for PluginsBgpPrefixListList -func NewPluginsBgpPrefixListListRequest(server string, params *PluginsBgpPrefixListListParams) (*http.Request, error) { - var err error +type ExtrasSavedFiltersBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SavedFilter +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } +type ExtrasSavedFiltersDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params != nil { - queryValues := queryURL.Query() +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.Created != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.CreatedEmpty != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.CreatedGt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.CreatedGte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type ExtrasScriptsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedScriptList +} - } +// Status returns HTTPResponse.Status +func (r ExtrasScriptsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.CreatedLt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScriptsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type ExtrasScriptsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Script +} - } +// Status returns HTTPResponse.Status +func (r ExtrasScriptsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.CreatedLte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScriptsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type ExtrasScriptsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - } +// Status returns HTTPResponse.Status +func (r ExtrasScriptsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.CreatedN != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScriptsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type ExtrasScriptsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Script +} - } +// Status returns HTTPResponse.Status +func (r ExtrasScriptsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.CreatedByRequest != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScriptsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type ExtrasScriptsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Script +} - } +// Status returns HTTPResponse.Status +func (r ExtrasScriptsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.Description != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScriptsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type ExtrasScriptsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Script +} - } +// Status returns HTTPResponse.Status +func (r ExtrasScriptsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.DescriptionEmpty != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScriptsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionIc != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionIe != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionIew != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionIsw != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionN != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionNic != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionNie != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionNiew != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.DescriptionNisw != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.Id != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.IdEmpty != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.IdGt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.IdGte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.IdLt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.IdLte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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) +} - if params.IdN != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +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 +} - if params.LastUpdated != nil { +type ExtrasWebhooksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Webhook +} - 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) - } - } - } +// 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 +} - if params.LastUpdatedEmpty != nil { +type PluginsBgpBgppeergroupBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.LastUpdatedGt != nil { +type PluginsBgpBgppeergroupListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedBGPPeerGroupList +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.LastUpdatedGte != nil { +type PluginsBgpBgppeergroupBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPPeerGroup +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.LastUpdatedLt != nil { +type PluginsBgpBgppeergroupCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *BGPPeerGroup +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.LastUpdatedLte != nil { +type PluginsBgpBgppeergroupBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPPeerGroup +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.LastUpdatedN != nil { +type PluginsBgpBgppeergroupDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Limit != nil { +type PluginsBgpBgppeergroupRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPPeerGroup +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.ModifiedByRequest != nil { +type PluginsBgpBgppeergroupPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPPeerGroup +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Name != nil { +type PluginsBgpBgppeergroupUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPPeerGroup +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgppeergroupUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgppeergroupUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.NameEmpty != nil { +type PluginsBgpBgpsessionBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.NameIc != nil { +type PluginsBgpBgpsessionListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedBGPSessionList +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.NameIe != nil { +type PluginsBgpBgpsessionBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPSession +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.NameIew != nil { +type PluginsBgpBgpsessionCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *BGPSession +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.NameIsw != nil { +type PluginsBgpBgpsessionBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPSession +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.NameN != nil { +type PluginsBgpBgpsessionDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpBgpsessionRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPSession +} - if params.NameNic != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpBgpsessionPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPSession +} - if params.NameNie != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpBgpsessionUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPSession +} - if params.NameNiew != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpBgpsessionUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpBgpsessionUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.NameNisw != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCommunityListRuleList +} - if params.Offset != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CommunityListRule +} - if params.Ordering != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CommunityListRule +} - if params.Q != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CommunityListRule +} - if params.Tag != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.TagN != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRuleRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CommunityListRule +} - if params.UpdatedByRequest != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpCommunityListRulePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CommunityListRule +} - queryURL.RawQuery = queryValues.Encode() +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRulePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRulePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type PluginsBgpCommunityListRuleUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CommunityListRule } -// NewPluginsBgpPrefixListBulkPartialUpdateRequest calls the generic PluginsBgpPrefixListBulkPartialUpdate builder with application/json body -func NewPluginsBgpPrefixListBulkPartialUpdateRequest(server string, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRuleUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListBulkPartialUpdate with any type of body -func NewPluginsBgpPrefixListBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRuleUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +type PluginsBgpCommunityListBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +type PluginsBgpCommunityListListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCommunityListList +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type PluginsBgpCommunityListBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CommunityList +} - return req, nil +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListCreateRequest calls the generic PluginsBgpPrefixListCreate builder with application/json body -func NewPluginsBgpPrefixListCreateRequest(server string, body PluginsBgpPrefixListCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListCreateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPrefixListCreateRequestWithBody generates requests for PluginsBgpPrefixListCreate with any type of body -func NewPluginsBgpPrefixListCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type PluginsBgpCommunityListCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CommunityList +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +type PluginsBgpCommunityListBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CommunityList +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type PluginsBgpCommunityListDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - return req, nil +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpPrefixListBulkUpdateRequest calls the generic PluginsBgpPrefixListBulkUpdate builder with application/json body -func NewPluginsBgpPrefixListBulkUpdateRequest(server string, body PluginsBgpPrefixListBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpPrefixListBulkUpdateRequestWithBody generates requests for PluginsBgpPrefixListBulkUpdate with any type of body -func NewPluginsBgpPrefixListBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type PluginsBgpCommunityListRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CommunityList +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } +type PluginsBgpCommunityListPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CommunityList +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return http.StatusText(0) } -// NewPluginsBgpPrefixListDestroyRequest generates requests for PluginsBgpPrefixListDestroy -func NewPluginsBgpPrefixListDestroyRequest(server string, id int) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type PluginsBgpCommunityListUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CommunityList +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsBgpCommunityBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - - return req, nil + return 0 } -// NewPluginsBgpPrefixListRetrieveRequest generates requests for PluginsBgpPrefixListRetrieve -func NewPluginsBgpPrefixListRetrieveRequest(server string, id int) (*http.Request, error) { - var err error - - var pathParam0 string +type PluginsBgpCommunityListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCommunityList +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsBgpCommunityBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Community +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type PluginsBgpCommunityCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Community } -// NewPluginsBgpPrefixListPartialUpdateRequest calls the generic PluginsBgpPrefixListPartialUpdate builder with application/json body -func NewPluginsBgpPrefixListPartialUpdateRequest(server string, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPrefixListPartialUpdateRequestWithBody generates requests for PluginsBgpPrefixListPartialUpdate with any type of body -func NewPluginsBgpPrefixListPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type PluginsBgpCommunityBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Community +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsBgpCommunityDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) - - return req, nil +type PluginsBgpCommunityRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Community } -// NewPluginsBgpPrefixListUpdateRequest calls the generic PluginsBgpPrefixListUpdate builder with application/json body -func NewPluginsBgpPrefixListUpdateRequest(server string, id int, body PluginsBgpPrefixListUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpPrefixListUpdateRequestWithBody(server, id, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpPrefixListUpdateRequestWithBody generates requests for PluginsBgpPrefixListUpdate with any type of body -func NewPluginsBgpPrefixListUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type PluginsBgpCommunityPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Community +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/prefix-list/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsBgpCommunityUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Community +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpCommunityUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpCommunityUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) - - return req, nil +type PluginsBgpPeerGroupBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response } -// NewPluginsBgpRoutingPolicyRuleBulkDestroyRequest calls the generic PluginsBgpRoutingPolicyRuleBulkDestroy builder with application/json body -func NewPluginsBgpRoutingPolicyRuleBulkDestroyRequest(server string, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleBulkDestroy with any type of body -func NewPluginsBgpRoutingPolicyRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsBgpPeerGroupListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedBGPPeerGroupList +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("DELETE", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return 0 } -// NewPluginsBgpRoutingPolicyRuleListRequest generates requests for PluginsBgpRoutingPolicyRuleList -func NewPluginsBgpRoutingPolicyRuleListRequest(server string, params *PluginsBgpRoutingPolicyRuleListParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } +type PluginsBgpPeerGroupBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPPeerGroup +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - if params != nil { - queryValues := queryURL.Query() +type PluginsBgpPeerGroupCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *BGPPeerGroup +} - if params.Action != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPeerGroupBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPPeerGroup +} - if params.ActionN != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPeerGroupDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.ContinueEntry != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry", runtime.ParamLocationQuery, *params.ContinueEntry); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPeerGroupRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPPeerGroup +} - if params.ContinueEntryEmpty != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__empty", runtime.ParamLocationQuery, *params.ContinueEntryEmpty); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPeerGroupPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPPeerGroup +} - if params.ContinueEntryGt != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__gt", runtime.ParamLocationQuery, *params.ContinueEntryGt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPeerGroupUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPPeerGroup +} - if params.ContinueEntryGte != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__gte", runtime.ParamLocationQuery, *params.ContinueEntryGte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.ContinueEntryLt != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__lt", runtime.ParamLocationQuery, *params.ContinueEntryLt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedPrefixListRuleList +} - if params.ContinueEntryLte != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__lte", runtime.ParamLocationQuery, *params.ContinueEntryLte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]PrefixListRule +} - if params.ContinueEntryN != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "continue_entry__n", runtime.ParamLocationQuery, *params.ContinueEntryN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *PrefixListRule +} - if params.Created != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]PrefixListRule +} - if params.CreatedEmpty != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.CreatedGt != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PrefixListRule +} - if params.CreatedGte != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRulePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PrefixListRule +} - if params.CreatedLt != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRulePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRulePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRuleUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PrefixListRule +} - if params.CreatedLte != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRuleUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRuleUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.CreatedN != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedPrefixListList +} - if params.CreatedByRequest != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]PrefixList +} - if params.Description != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *PrefixList +} - if params.DescriptionEmpty != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]PrefixList +} - if params.DescriptionIc != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.DescriptionIe != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PrefixList +} - if params.DescriptionIew != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PrefixList +} - if params.DescriptionIsw != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpPrefixListUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PrefixList +} - if params.DescriptionN != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpPrefixListUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPrefixListUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.DescriptionNic != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedRoutingPolicyRuleList +} - if params.DescriptionNie != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]RoutingPolicyRule +} - if params.DescriptionNiew != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *RoutingPolicyRule +} - if params.DescriptionNisw != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]RoutingPolicyRule +} - if params.Id != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.IdEmpty != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *RoutingPolicyRule +} - if params.IdGt != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRulePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *RoutingPolicyRule +} - if params.IdGte != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRulePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRulePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyRuleUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *RoutingPolicyRule +} - if params.IdLt != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRuleUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRuleUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - if params.IdLte != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - } +type PluginsBgpRoutingPolicyListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedRoutingPolicyList +} - if params.IdN != nil { +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - 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) - } - } - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingPolicyBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]RoutingPolicy +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.Index != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index", runtime.ParamLocationQuery, *params.Index); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpRoutingPolicyCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *RoutingPolicy +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.IndexEmpty != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__empty", runtime.ParamLocationQuery, *params.IndexEmpty); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpRoutingPolicyBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]RoutingPolicy +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.IndexGt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gt", runtime.ParamLocationQuery, *params.IndexGt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpRoutingPolicyDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.IndexGte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__gte", runtime.ParamLocationQuery, *params.IndexGte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpRoutingPolicyRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *RoutingPolicy +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.IndexLt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lt", runtime.ParamLocationQuery, *params.IndexLt); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpRoutingPolicyPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *RoutingPolicy +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.IndexLte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__lte", runtime.ParamLocationQuery, *params.IndexLte); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpRoutingPolicyUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *RoutingPolicy +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingPolicyUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.IndexN != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingPolicyUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "index__n", runtime.ParamLocationQuery, *params.IndexN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpSessionBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdated != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedBGPSessionList +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdatedEmpty != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPSession +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdatedGt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *BGPSession +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdatedGte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]BGPSession +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdatedLt != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdatedLte != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPSession +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.LastUpdatedN != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsBgpSessionPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPSession +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.Limit != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +type PluginsBgpSessionUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *BGPSession +} - } +// Status returns HTTPResponse.Status +func (r PluginsBgpSessionUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - if params.ModifiedByRequest != nil { +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpSessionUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - 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) - } - } - } +type PluginsSecretsActivateUserKeyCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *string + JSON400 *string +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsActivateUserKeyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsActivateUserKeyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Offset != nil { +type PluginsSecretsGenerateRsaKeyPairListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]RSAKeyPair +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsGenerateRsaKeyPairListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsGenerateRsaKeyPairListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Ordering != nil { +type PluginsSecretsGetSessionKeyCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsGetSessionKeyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsGetSessionKeyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Q != nil { +type PluginsSecretsSecretRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.RoutingPolicyId != nil { +type PluginsSecretsSecretRolesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedSecretRoleList +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_policy_id", runtime.ParamLocationQuery, *params.RoutingPolicyId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.RoutingPolicyIdN != nil { +type PluginsSecretsSecretRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SecretRole +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_policy_id__n", runtime.ParamLocationQuery, *params.RoutingPolicyIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.Tag != nil { +type PluginsSecretsSecretRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *SecretRole +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.TagN != nil { +type PluginsSecretsSecretRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SecretRole +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - if params.UpdatedByRequest != nil { +type PluginsSecretsSecretRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - 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) - } - } - } +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} - } +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - queryURL.RawQuery = queryValues.Encode() +type PluginsSecretsSecretRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecretRole +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type PluginsSecretsSecretRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecretRole } -// NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequest calls the generic PluginsBgpRoutingPolicyRuleBulkPartialUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequest(server string, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleBulkPartialUpdate with any type of body -func NewPluginsBgpRoutingPolicyRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +type PluginsSecretsSecretRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecretRole +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +type PluginsSecretsSecretsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type PluginsSecretsSecretsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedSecretList +} - return req, nil +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRuleCreateRequest calls the generic PluginsBgpRoutingPolicyRuleCreate builder with application/json body -func NewPluginsBgpRoutingPolicyRuleCreateRequest(server string, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleCreate with any type of body -func NewPluginsBgpRoutingPolicyRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type PluginsSecretsSecretsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Secret +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +type PluginsSecretsSecretsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Secret +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type PluginsSecretsSecretsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Secret +} - return req, nil +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRuleBulkUpdateRequest calls the generic PluginsBgpRoutingPolicyRuleBulkUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyRuleBulkUpdateRequest(server string, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return 0 } -// NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleBulkUpdate with any type of body -func NewPluginsBgpRoutingPolicyRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +type PluginsSecretsSecretsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +type PluginsSecretsSecretsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Secret +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req.Header.Add("Content-Type", contentType) +type PluginsSecretsSecretsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Secret +} - return req, nil +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRuleDestroyRequest generates requests for PluginsBgpRoutingPolicyRuleDestroy -func NewPluginsBgpRoutingPolicyRuleDestroyRequest(server string, id int) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type PluginsSecretsSecretsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Secret +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSecretsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSecretsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +type PluginsSecretsSessionKeysBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSessionKeysBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSessionKeysBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err +type PluginsSecretsSessionKeysListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedSessionKeyList +} + +// Status returns HTTPResponse.Status +func (r PluginsSecretsSessionKeysListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - - return req, nil + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRuleRetrieveRequest generates requests for PluginsBgpRoutingPolicyRuleRetrieve -func NewPluginsBgpRoutingPolicyRuleRetrieveRequest(server string, id int) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSessionKeysListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type PluginsSecretsSessionKeysCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *SessionKey + JSON400 *string +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSessionKeysCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSessionKeysCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsSecretsSessionKeysDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSessionKeysDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSessionKeysDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - return req, nil +type PluginsSecretsSessionKeysRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SessionKey } -// NewPluginsBgpRoutingPolicyRulePartialUpdateRequest calls the generic PluginsBgpRoutingPolicyRulePartialUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyRulePartialUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsSessionKeysRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return http.StatusText(0) } -// NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRulePartialUpdate with any type of body -func NewPluginsBgpRoutingPolicyRulePartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsSessionKeysRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} - var pathParam0 string +type PluginsSecretsUserKeysListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedUserKeyList +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsUserKeysListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - serverURL, err := url.Parse(server) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsUserKeysListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } + return 0 +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } +type PluginsSecretsUserKeysRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *UserKey +} - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err +// Status returns HTTPResponse.Status +func (r PluginsSecretsUserKeysRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status } + return http.StatusText(0) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsSecretsUserKeysRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return 0 } -// NewPluginsBgpRoutingPolicyRuleUpdateRequest calls the generic PluginsBgpRoutingPolicyRuleUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyRuleUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// 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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) + return ParseExtrasBookmarksBulkDestroyResponse(rsp) } -// NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyRuleUpdate with any type of body -func NewPluginsBgpRoutingPolicyRuleUpdateRequestWithBody(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) +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) +} - serverURL, err := url.Parse(server) +// 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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy-rule/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) +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 } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParseExtrasBookmarksBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyBulkDestroyRequest calls the generic PluginsBgpRoutingPolicyBulkDestroy builder with application/json body -func NewPluginsBgpRoutingPolicyBulkDestroyRequest(server string, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// 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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return ParseExtrasBookmarksCreateResponse(rsp) } -// NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody generates requests for PluginsBgpRoutingPolicyBulkDestroy with any type of body -func NewPluginsBgpRoutingPolicyBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - req, err := http.NewRequest("DELETE", queryURL.String(), body) +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 } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParseExtrasBookmarksBulkUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyListRequest generates requests for PluginsBgpRoutingPolicyList -func NewPluginsBgpRoutingPolicyListRequest(server string, params *PluginsBgpRoutingPolicyListParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +// 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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - 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) - } - } - } +// 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) +} - if params.IdEmpty != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.IdGt != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.IdGte != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.IdLt != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.IdLte != nil { +// 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) +} - 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) - } - } - } +// 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) +} - if params.IdN != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.LastUpdated != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedEmpty != nil { +// 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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedGt != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.LastUpdatedGte != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedLt != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.LastUpdatedLte != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedN != nil { +// 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) +} - 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) - } - } - } +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) +} - } +// 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) +} - if params.Limit != nil { +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) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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) +} - if params.ModifiedByRequest != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.Name != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.NameEmpty != nil { +// 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) +} - 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) - } - } - } +// 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) +} - if params.NameIc != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.NameIe != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.NameIew != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.NameIsw != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.NameN != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.NameNic != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.NameNie != nil { +// 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) +} - 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) - } - } - } +// 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) +} - if params.NameNiew != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.NameNisw != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.Offset != nil { +// 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) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +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) +} - if params.Ordering != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.Q != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.Tag != nil { +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) +} - 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) - } - } - } +// ExtrasEventRulesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasEventRulesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasEventRulesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkDestroyResponse, error) { + rsp, err := c.ExtrasEventRulesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesBulkDestroyResponse(rsp) +} - } +func (c *ClientWithResponses) ExtrasEventRulesBulkDestroyWithResponse(ctx context.Context, body ExtrasEventRulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkDestroyResponse, error) { + rsp, err := c.ExtrasEventRulesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesBulkDestroyResponse(rsp) +} - if params.TagN != nil { +// ExtrasEventRulesListWithResponse request returning *ExtrasEventRulesListResponse +func (c *ClientWithResponses) ExtrasEventRulesListWithResponse(ctx context.Context, params *ExtrasEventRulesListParams, reqEditors ...RequestEditorFn) (*ExtrasEventRulesListResponse, error) { + rsp, err := c.ExtrasEventRulesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesListResponse(rsp) +} - 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) - } - } - } +// ExtrasEventRulesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasEventRulesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasEventRulesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesBulkPartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) ExtrasEventRulesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasEventRulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesBulkPartialUpdateResponse(rsp) +} - if params.UpdatedByRequest != nil { +// ExtrasEventRulesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasEventRulesCreateResponse +func (c *ClientWithResponses) ExtrasEventRulesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesCreateResponse, error) { + rsp, err := c.ExtrasEventRulesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesCreateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) ExtrasEventRulesCreateWithResponse(ctx context.Context, body ExtrasEventRulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesCreateResponse, error) { + rsp, err := c.ExtrasEventRulesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesCreateResponse(rsp) +} - } +// ExtrasEventRulesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasEventRulesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasEventRulesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesBulkUpdateResponse(rsp) +} - queryURL.RawQuery = queryValues.Encode() +func (c *ClientWithResponses) ExtrasEventRulesBulkUpdateWithResponse(ctx context.Context, body ExtrasEventRulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesBulkUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err } + return ParseExtrasEventRulesBulkUpdateResponse(rsp) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) +// ExtrasEventRulesDestroyWithResponse request returning *ExtrasEventRulesDestroyResponse +func (c *ClientWithResponses) ExtrasEventRulesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasEventRulesDestroyResponse, error) { + rsp, err := c.ExtrasEventRulesDestroy(ctx, id, reqEditors...) if err != nil { return nil, err } + return ParseExtrasEventRulesDestroyResponse(rsp) +} - return req, nil +// ExtrasEventRulesRetrieveWithResponse request returning *ExtrasEventRulesRetrieveResponse +func (c *ClientWithResponses) ExtrasEventRulesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasEventRulesRetrieveResponse, error) { + rsp, err := c.ExtrasEventRulesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesRetrieveResponse(rsp) } -// NewPluginsBgpRoutingPolicyBulkPartialUpdateRequest calls the generic PluginsBgpRoutingPolicyBulkPartialUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyBulkPartialUpdateRequest(server string, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// ExtrasEventRulesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasEventRulesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasEventRulesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesPartialUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return ParseExtrasEventRulesPartialUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyBulkPartialUpdate with any type of body -func NewPluginsBgpRoutingPolicyBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +func (c *ClientWithResponses) ExtrasEventRulesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasEventRulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesPartialUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasEventRulesPartialUpdateResponse(rsp) +} - serverURL, err := url.Parse(server) +// ExtrasEventRulesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasEventRulesUpdateResponse +func (c *ClientWithResponses) ExtrasEventRulesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasEventRulesUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesUpdateWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParseExtrasEventRulesUpdateResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +func (c *ClientWithResponses) ExtrasEventRulesUpdateWithResponse(ctx context.Context, id int, body ExtrasEventRulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasEventRulesUpdateResponse, error) { + rsp, err := c.ExtrasEventRulesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err } + return ParseExtrasEventRulesUpdateResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) +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) +} - req.Header.Add("Content-Type", contentType) +// 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) +} - return req, nil +// 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) } -// NewPluginsBgpRoutingPolicyCreateRequest calls the generic PluginsBgpRoutingPolicyCreate builder with application/json body -func NewPluginsBgpRoutingPolicyCreateRequest(server string, body PluginsBgpRoutingPolicyCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyCreateRequestWithBody(server, "application/json", bodyReader) + return ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyCreateRequestWithBody generates requests for PluginsBgpRoutingPolicyCreate with any type of body -func NewPluginsBgpRoutingPolicyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +// 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) +} - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +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) +} - req, err := http.NewRequest("POST", queryURL.String(), body) +// 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) +} - req.Header.Add("Content-Type", contentType) +// 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) +} - return req, nil +// 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) } -// NewPluginsBgpRoutingPolicyBulkUpdateRequest calls the generic PluginsBgpRoutingPolicyBulkUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyBulkUpdateRequest(server string, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return ParseExtrasExportTemplatesPartialUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyBulkUpdate with any type of body -func NewPluginsBgpRoutingPolicyBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error +// 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) +} - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +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) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) +// 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) +} - req.Header.Add("Content-Type", contentType) +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) +} - return req, nil +// 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) } -// NewPluginsBgpRoutingPolicyDestroyRequest generates requests for PluginsBgpRoutingPolicyDestroy -func NewPluginsBgpRoutingPolicyDestroyRequest(server string, id int) (*http.Request, error) { - var err error +// 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) +} - var pathParam0 string +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) +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) +// 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) +} - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +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) +} - req, err := http.NewRequest("DELETE", queryURL.String(), nil) +// 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) +} - return req, nil +// 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) } -// NewPluginsBgpRoutingPolicyRetrieveRequest generates requests for PluginsBgpRoutingPolicyRetrieve -func NewPluginsBgpRoutingPolicyRetrieveRequest(server string, id int) (*http.Request, error) { - var err error +// 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) +} - var pathParam0 string +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) +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) +// 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) +} - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +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) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) +// 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) +} - return req, nil +// 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) } -// NewPluginsBgpRoutingPolicyPartialUpdateRequest calls the generic PluginsBgpRoutingPolicyPartialUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyPartialUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return ParseExtrasJournalEntriesBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyPartialUpdate with any type of body -func NewPluginsBgpRoutingPolicyPartialUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { - var err error +// 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) +} - var pathParam0 string +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) +} - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) +// 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) +} - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) +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 } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParseExtrasJournalEntriesPartialUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyUpdateRequest calls the generic PluginsBgpRoutingPolicyUpdate builder with application/json body -func NewPluginsBgpRoutingPolicyUpdateRequest(server string, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// 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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpRoutingPolicyUpdateRequestWithBody(server, id, "application/json", bodyReader) + return ParseExtrasJournalEntriesUpdateResponse(rsp) } -// NewPluginsBgpRoutingPolicyUpdateRequestWithBody generates requests for PluginsBgpRoutingPolicyUpdate with any type of body -func NewPluginsBgpRoutingPolicyUpdateRequestWithBody(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) +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) +} - serverURL, err := url.Parse(server) +// 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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/routing-policy/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +// ExtrasObjectTypesListWithResponse request returning *ExtrasObjectTypesListResponse +func (c *ClientWithResponses) ExtrasObjectTypesListWithResponse(ctx context.Context, params *ExtrasObjectTypesListParams, reqEditors ...RequestEditorFn) (*ExtrasObjectTypesListResponse, error) { + rsp, err := c.ExtrasObjectTypesList(ctx, params, reqEditors...) if err != nil { return nil, err } + return ParseExtrasObjectTypesListResponse(rsp) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) +// ExtrasObjectTypesRetrieveWithResponse request returning *ExtrasObjectTypesRetrieveResponse +func (c *ClientWithResponses) ExtrasObjectTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasObjectTypesRetrieveResponse, error) { + rsp, err := c.ExtrasObjectTypesRetrieve(ctx, id, reqEditors...) if err != nil { return nil, err } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParseExtrasObjectTypesRetrieveResponse(rsp) } -// NewPluginsBgpSessionBulkDestroyRequest calls the generic PluginsBgpSessionBulkDestroy builder with application/json body -func NewPluginsBgpSessionBulkDestroyRequest(server string, body PluginsBgpSessionBulkDestroyJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// 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 } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpSessionBulkDestroyRequestWithBody(server, "application/json", bodyReader) + return ParseExtrasSavedFiltersBulkDestroyResponse(rsp) } -// NewPluginsBgpSessionBulkDestroyRequestWithBody generates requests for PluginsBgpSessionBulkDestroy with any type of body -func NewPluginsBgpSessionBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// 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) +} - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - req, err := http.NewRequest("DELETE", queryURL.String(), body) +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 } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParseExtrasSavedFiltersBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpSessionListRequest generates requests for PluginsBgpSessionList -func NewPluginsBgpSessionListRequest(server string, params *PluginsBgpSessionListParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +// 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) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +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) +} - queryURL, err := serverURL.Parse(operationPath) +// 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) +} - if params != nil { - queryValues := queryURL.Query() - - if params.ByLocalAddress != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_local_address", runtime.ParamLocationQuery, *params.ByLocalAddress); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ByRemoteAddress != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_remote_address", runtime.ParamLocationQuery, *params.ByRemoteAddress); err != nil { - return nil, err - } else if parsed, err := 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.ExportPolicies != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies", runtime.ParamLocationQuery, *params.ExportPolicies); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ExportPoliciesN != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_policies__n", runtime.ParamLocationQuery, *params.ExportPoliciesN); err != nil { - return nil, err - } else if parsed, err := 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 { +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) +} - 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) - } - } - } +// 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) +} - if params.IdEmpty != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.IdGt != nil { +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) +} - 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) - } - } - } +// ExtrasScriptsListWithResponse request returning *ExtrasScriptsListResponse +func (c *ClientWithResponses) ExtrasScriptsListWithResponse(ctx context.Context, params *ExtrasScriptsListParams, reqEditors ...RequestEditorFn) (*ExtrasScriptsListResponse, error) { + rsp, err := c.ExtrasScriptsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScriptsListResponse(rsp) +} - } +// ExtrasScriptsCreateWithResponse request returning *ExtrasScriptsCreateResponse +func (c *ClientWithResponses) ExtrasScriptsCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasScriptsCreateResponse, error) { + rsp, err := c.ExtrasScriptsCreate(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScriptsCreateResponse(rsp) +} - if params.IdGte != nil { +// ExtrasScriptsDestroyWithResponse request returning *ExtrasScriptsDestroyResponse +func (c *ClientWithResponses) ExtrasScriptsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsDestroyResponse, error) { + rsp, err := c.ExtrasScriptsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScriptsDestroyResponse(rsp) +} - 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) - } - } - } +// ExtrasScriptsRetrieveWithResponse request returning *ExtrasScriptsRetrieveResponse +func (c *ClientWithResponses) ExtrasScriptsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsRetrieveResponse, error) { + rsp, err := c.ExtrasScriptsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScriptsRetrieveResponse(rsp) +} - } +// ExtrasScriptsPartialUpdateWithResponse request returning *ExtrasScriptsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasScriptsPartialUpdateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsPartialUpdateResponse, error) { + rsp, err := c.ExtrasScriptsPartialUpdate(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScriptsPartialUpdateResponse(rsp) +} - if params.IdLt != nil { +// ExtrasScriptsUpdateWithResponse request returning *ExtrasScriptsUpdateResponse +func (c *ClientWithResponses) ExtrasScriptsUpdateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExtrasScriptsUpdateResponse, error) { + rsp, err := c.ExtrasScriptsUpdate(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScriptsUpdateResponse(rsp) +} - 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) - } - } - } +// 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) +} - if params.IdLte != nil { +// 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) +} - 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) - } - } - } +// 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) +} - if params.IdN != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.ImportPolicies != nil { +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) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies", runtime.ParamLocationQuery, *params.ImportPolicies); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// 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) +} - if params.ImportPoliciesN != nil { +// 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) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_policies__n", runtime.ParamLocationQuery, *params.ImportPoliciesN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +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) +} - if params.LastUpdated != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedEmpty != nil { +// 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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedGt != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.LastUpdatedGte != nil { +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) +} - 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) - } - } - } +// 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) +} - if params.LastUpdatedLt != nil { +// 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) +} - 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) - } - } - } +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) +} - if params.LastUpdatedLte != nil { +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) +} - 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) - } - } - } +// PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp) +} - if params.LastUpdatedN != nil { +// PluginsBgpBgppeergroupListWithResponse request returning *PluginsBgpBgppeergroupListResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupListWithResponse(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupListResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupListResponse(rsp) +} - 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) - } - } - } +// PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp) +} - if params.Limit != nil { +// PluginsBgpBgppeergroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupCreateResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupCreateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpBgppeergroupCreateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupCreateResponse(rsp) +} - } +// PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp) +} - if params.LocalAddress != nil { +func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address", runtime.ParamLocationQuery, *params.LocalAddress); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpBgppeergroupDestroyWithResponse request returning *PluginsBgpBgppeergroupDestroyResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupDestroyResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupDestroyResponse(rsp) +} - } +// PluginsBgpBgppeergroupRetrieveWithResponse request returning *PluginsBgpBgppeergroupRetrieveResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupRetrieveResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupRetrieveResponse(rsp) +} - if params.LocalAddressN != nil { +// PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address__n", runtime.ParamLocationQuery, *params.LocalAddressN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpBgppeergroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp) +} - } +// PluginsBgpBgppeergroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgppeergroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupUpdateResponse(rsp) +} - if params.LocalAddressId != nil { +func (c *ClientWithResponses) PluginsBgpBgppeergroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) { + rsp, err := c.PluginsBgpBgppeergroupUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgppeergroupUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id", runtime.ParamLocationQuery, *params.LocalAddressId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpBgpsessionBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpBgpsessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpBgpsessionBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp) +} - if params.LocalAddressIdN != nil { +// PluginsBgpBgpsessionListWithResponse request returning *PluginsBgpBgpsessionListResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionListWithResponse(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionListResponse, error) { + rsp, err := c.PluginsBgpBgpsessionList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionListResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_address_id__n", runtime.ParamLocationQuery, *params.LocalAddressIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpBgpsessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp) +} - if params.LocalAs != nil { +// PluginsBgpBgpsessionCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionCreateResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionCreateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as", runtime.ParamLocationQuery, *params.LocalAs); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpBgpsessionCreateWithResponse(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionCreateResponse(rsp) +} - } +// PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp) +} - if params.LocalAsN != nil { +func (c *ClientWithResponses) PluginsBgpBgpsessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as__n", runtime.ParamLocationQuery, *params.LocalAsN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpBgpsessionDestroyWithResponse request returning *PluginsBgpBgpsessionDestroyResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionDestroyResponse, error) { + rsp, err := c.PluginsBgpBgpsessionDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionDestroyResponse(rsp) +} - } +// PluginsBgpBgpsessionRetrieveWithResponse request returning *PluginsBgpBgpsessionRetrieveResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionRetrieveResponse, error) { + rsp, err := c.PluginsBgpBgpsessionRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionRetrieveResponse(rsp) +} - if params.LocalAsId != nil { +// PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id", runtime.ParamLocationQuery, *params.LocalAsId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpBgpsessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp) +} - } +// PluginsBgpBgpsessionUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionUpdateResponse +func (c *ClientWithResponses) PluginsBgpBgpsessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionUpdateResponse(rsp) +} - if params.LocalAsIdN != nil { +func (c *ClientWithResponses) PluginsBgpBgpsessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) { + rsp, err := c.PluginsBgpBgpsessionUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpBgpsessionUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_as_id__n", runtime.ParamLocationQuery, *params.LocalAsIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp) +} - if params.ModifiedByRequest != nil { +// PluginsBgpCommunityListRuleListWithResponse request returning *PluginsBgpCommunityListRuleListResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleListWithResponse(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleListResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleListResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp) +} - if params.Name != nil { +// PluginsBgpCommunityListRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleCreateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleCreateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpCommunityListRuleCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleCreateResponse(rsp) +} - } +// PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp) +} - if params.NameEmpty != nil { +func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityListRuleDestroyWithResponse request returning *PluginsBgpCommunityListRuleDestroyResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleDestroyResponse(rsp) +} - } +// PluginsBgpCommunityListRuleRetrieveWithResponse request returning *PluginsBgpCommunityListRuleRetrieveResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleRetrieveResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleRetrieveResponse(rsp) +} - if params.NameIc != nil { +// PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRulePartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpCommunityListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRulePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp) +} - } +// PluginsBgpCommunityListRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleUpdateResponse(rsp) +} - if params.NameIe != nil { +func (c *ClientWithResponses) PluginsBgpCommunityListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListRuleUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRuleUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityListBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpCommunityListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityListBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListBulkDestroyResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityListBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListBulkDestroyResponse(rsp) +} - if params.NameIew != nil { +// PluginsBgpCommunityListListWithResponse request returning *PluginsBgpCommunityListListResponse +func (c *ClientWithResponses) PluginsBgpCommunityListListWithResponse(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListListResponse, error) { + rsp, err := c.PluginsBgpCommunityListList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListListResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp) +} - if params.NameIsw != nil { +// PluginsBgpCommunityListCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListCreateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) { + rsp, err := c.PluginsBgpCommunityListCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListCreateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpCommunityListCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) { + rsp, err := c.PluginsBgpCommunityListCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListCreateResponse(rsp) +} - } +// PluginsBgpCommunityListBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListBulkUpdateResponse(rsp) +} - if params.NameN != nil { +func (c *ClientWithResponses) PluginsBgpCommunityListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListBulkUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityListDestroyWithResponse request returning *PluginsBgpCommunityListDestroyResponse +func (c *ClientWithResponses) PluginsBgpCommunityListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityListDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListDestroyResponse(rsp) +} + +// PluginsBgpCommunityListRetrieveWithResponse request returning *PluginsBgpCommunityListRetrieveResponse +func (c *ClientWithResponses) PluginsBgpCommunityListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRetrieveResponse, error) { + rsp, err := c.PluginsBgpCommunityListRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListRetrieveResponse(rsp) +} - } +// PluginsBgpCommunityListPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListPartialUpdateResponse(rsp) +} - if params.NameNic != nil { +func (c *ClientWithResponses) PluginsBgpCommunityListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListPartialUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityListUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityListUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListUpdateResponse(rsp) +} - if params.NameNie != nil { +// PluginsBgpCommunityBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpCommunityBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityBulkDestroyResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpCommunityBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityBulkDestroyResponse(rsp) +} - } +// PluginsBgpCommunityListWithResponse request returning *PluginsBgpCommunityListResponse +func (c *ClientWithResponses) PluginsBgpCommunityListWithResponse(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListResponse, error) { + rsp, err := c.PluginsBgpCommunityList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityListResponse(rsp) +} - if params.NameNiew != nil { +// PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpCommunityBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp) +} - } +// PluginsBgpCommunityCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityCreateResponse +func (c *ClientWithResponses) PluginsBgpCommunityCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) { + rsp, err := c.PluginsBgpCommunityCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityCreateResponse(rsp) +} - if params.NameNisw != nil { +func (c *ClientWithResponses) PluginsBgpCommunityCreateWithResponse(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) { + rsp, err := c.PluginsBgpCommunityCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityCreateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityBulkUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityBulkUpdateResponse(rsp) +} - if params.Offset != nil { +// PluginsBgpCommunityDestroyWithResponse request returning *PluginsBgpCommunityDestroyResponse +func (c *ClientWithResponses) PluginsBgpCommunityDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityDestroyResponse, error) { + rsp, err := c.PluginsBgpCommunityDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityDestroyResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpCommunityRetrieveWithResponse request returning *PluginsBgpCommunityRetrieveResponse +func (c *ClientWithResponses) PluginsBgpCommunityRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityRetrieveResponse, error) { + rsp, err := c.PluginsBgpCommunityRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityRetrieveResponse(rsp) +} - } +// PluginsBgpCommunityPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityPartialUpdateResponse(rsp) +} - if params.Ordering != nil { +func (c *ClientWithResponses) PluginsBgpCommunityPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityPartialUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpCommunityUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityUpdateResponse +func (c *ClientWithResponses) PluginsBgpCommunityUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpCommunityUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) { + rsp, err := c.PluginsBgpCommunityUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpCommunityUpdateResponse(rsp) +} - if params.PeerGroup != nil { +// PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group", runtime.ParamLocationQuery, *params.PeerGroup); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpPeerGroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp) +} - } +// PluginsBgpPeerGroupListWithResponse request returning *PluginsBgpPeerGroupListResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupListResponse, error) { + rsp, err := c.PluginsBgpPeerGroupList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupListResponse(rsp) +} - if params.PeerGroupN != nil { +// PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group__n", runtime.ParamLocationQuery, *params.PeerGroupN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpPeerGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp) +} - } +// PluginsBgpPeerGroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupCreateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupCreateResponse(rsp) +} - if params.Q != nil { +func (c *ClientWithResponses) PluginsBgpPeerGroupCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupCreateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpPeerGroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp) +} - if params.RemoteAddress != nil { +// PluginsBgpPeerGroupDestroyWithResponse request returning *PluginsBgpPeerGroupDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupDestroyResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address", runtime.ParamLocationQuery, *params.RemoteAddress); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpPeerGroupRetrieveWithResponse request returning *PluginsBgpPeerGroupRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupRetrieveResponse, error) { + rsp, err := c.PluginsBgpPeerGroupRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupRetrieveResponse(rsp) +} - } +// PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp) +} - if params.RemoteAddressN != nil { +func (c *ClientWithResponses) PluginsBgpPeerGroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address__n", runtime.ParamLocationQuery, *params.RemoteAddressN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpPeerGroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpPeerGroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupUpdateResponse(rsp) +} - if params.RemoteAddressId != nil { +// PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleBulkDestroyResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id", runtime.ParamLocationQuery, *params.RemoteAddressId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleBulkDestroyResponse(rsp) +} - } +// PluginsBgpPrefixListRuleListWithResponse request returning *PluginsBgpPrefixListRuleListResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleListWithResponse(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleListResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleListResponse(rsp) +} - if params.RemoteAddressIdN != nil { +// PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_address_id__n", runtime.ParamLocationQuery, *params.RemoteAddressIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp) +} - } +// PluginsBgpPrefixListRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleCreateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleCreateResponse(rsp) +} - if params.RemoteAs != nil { +func (c *ClientWithResponses) PluginsBgpPrefixListRuleCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleCreateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as", runtime.ParamLocationQuery, *params.RemoteAs); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp) +} + +// PluginsBgpPrefixListRuleDestroyWithResponse request returning *PluginsBgpPrefixListRuleDestroyResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleDestroyResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleDestroyResponse(rsp) +} - if params.RemoteAsN != nil { +// PluginsBgpPrefixListRuleRetrieveWithResponse request returning *PluginsBgpPrefixListRuleRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleRetrieveResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleRetrieveResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as__n", runtime.ParamLocationQuery, *params.RemoteAsN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRulePartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpPrefixListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRulePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp) +} - if params.RemoteAsId != nil { +// PluginsBgpPrefixListRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleUpdateResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id", runtime.ParamLocationQuery, *params.RemoteAsId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +func (c *ClientWithResponses) PluginsBgpPrefixListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListRuleUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRuleUpdateResponse(rsp) +} - } +// PluginsBgpPrefixListBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPrefixListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPrefixListBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListBulkDestroyResponse(rsp) +} - if params.RemoteAsIdN != nil { +func (c *ClientWithResponses) PluginsBgpPrefixListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPrefixListBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListBulkDestroyResponse(rsp) +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_as_id__n", runtime.ParamLocationQuery, *params.RemoteAsIdN); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } +// PluginsBgpPrefixListListWithResponse request returning *PluginsBgpPrefixListListResponse +func (c *ClientWithResponses) PluginsBgpPrefixListListWithResponse(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListListResponse, error) { + rsp, err := c.PluginsBgpPrefixListList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListListResponse(rsp) +} - } +// PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp) +} - if params.Site != nil { +func (c *ClientWithResponses) PluginsBgpPrefixListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpPrefixListCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListCreateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) { + rsp, err := c.PluginsBgpPrefixListCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListCreateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpPrefixListCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) { + rsp, err := c.PluginsBgpPrefixListCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListCreateResponse(rsp) +} - if params.SiteN != nil { +// PluginsBgpPrefixListBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListBulkUpdateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpPrefixListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListBulkUpdateResponse(rsp) +} - } +// PluginsBgpPrefixListDestroyWithResponse request returning *PluginsBgpPrefixListDestroyResponse +func (c *ClientWithResponses) PluginsBgpPrefixListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListDestroyResponse, error) { + rsp, err := c.PluginsBgpPrefixListDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListDestroyResponse(rsp) +} - if params.SiteId != nil { +// PluginsBgpPrefixListRetrieveWithResponse request returning *PluginsBgpPrefixListRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPrefixListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRetrieveResponse, error) { + rsp, err := c.PluginsBgpPrefixListRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListRetrieveResponse(rsp) +} - 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) - } - } - } +// PluginsBgpPrefixListPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListPartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpPrefixListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListPartialUpdateResponse(rsp) +} - if params.SiteIdN != nil { +// PluginsBgpPrefixListUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListUpdateResponse +func (c *ClientWithResponses) PluginsBgpPrefixListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListUpdateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpPrefixListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) { + rsp, err := c.PluginsBgpPrefixListUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPrefixListUpdateResponse(rsp) +} - } +// PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse(rsp) +} - if params.Status != nil { +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse(rsp) +} - 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) - } - } - } +// PluginsBgpRoutingPolicyRuleListWithResponse request returning *PluginsBgpRoutingPolicyRuleListResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleListResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleListResponse(rsp) +} - } +// PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp) +} - if params.StatusN != nil { +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleCreateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp) +} - if params.Tag != nil { +// PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp) +} - } +// PluginsBgpRoutingPolicyRuleDestroyWithResponse request returning *PluginsBgpRoutingPolicyRuleDestroyResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleDestroyResponse(rsp) +} - if params.TagN != nil { +// PluginsBgpRoutingPolicyRuleRetrieveWithResponse request returning *PluginsBgpRoutingPolicyRuleRetrieveResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleRetrieveResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleRetrieveResponse(rsp) +} - 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) - } - } - } +// PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRulePartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRulePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp) +} - if params.Tenant != nil { +// PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp) +} - 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) - } - } - } +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRuleUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp) +} - } +// PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp) +} - if params.TenantN != nil { +func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp) +} - 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) - } - } - } +// PluginsBgpRoutingPolicyListWithResponse request returning *PluginsBgpRoutingPolicyListResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyListResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyListResponse(rsp) +} - } +// PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp) +} - if params.UpdatedByRequest != nil { +func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp) +} - 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) - } - } - } +// PluginsBgpRoutingPolicyCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyCreateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyCreateResponse(rsp) +} - } +func (c *ClientWithResponses) PluginsBgpRoutingPolicyCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingPolicyCreateResponse(rsp) +} - queryURL.RawQuery = queryValues.Encode() +// PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) +func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyBulkUpdate(ctx, body, reqEditors...) if err != nil { return nil, err } - - return req, nil + return ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp) } -// NewPluginsBgpSessionBulkPartialUpdateRequest calls the generic PluginsBgpSessionBulkPartialUpdate builder with application/json body -func NewPluginsBgpSessionBulkPartialUpdateRequest(server string, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// PluginsBgpRoutingPolicyDestroyWithResponse request returning *PluginsBgpRoutingPolicyDestroyResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyDestroy(ctx, id, reqEditors...) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpSessionBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) + return ParsePluginsBgpRoutingPolicyDestroyResponse(rsp) } -// NewPluginsBgpSessionBulkPartialUpdateRequestWithBody generates requests for PluginsBgpSessionBulkPartialUpdate with any type of body -func NewPluginsBgpSessionBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +// PluginsBgpRoutingPolicyRetrieveWithResponse request returning *PluginsBgpRoutingPolicyRetrieveResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRetrieveResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyRetrieve(ctx, id, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpRoutingPolicyRetrieveResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +// PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +func (c *ClientWithResponses) PluginsBgpRoutingPolicyPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyPartialUpdate(ctx, id, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) +// PluginsBgpRoutingPolicyUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingPolicyUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyUpdateWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParsePluginsBgpRoutingPolicyUpdateResponse(rsp) } -// NewPluginsBgpSessionCreateRequest calls the generic PluginsBgpSessionCreate builder with application/json body -func NewPluginsBgpSessionCreateRequest(server string, body PluginsBgpSessionCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +func (c *ClientWithResponses) PluginsBgpRoutingPolicyUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingPolicyUpdate(ctx, id, body, reqEditors...) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpSessionCreateRequestWithBody(server, "application/json", bodyReader) + return ParsePluginsBgpRoutingPolicyUpdateResponse(rsp) } -// NewPluginsBgpSessionCreateRequestWithBody generates requests for PluginsBgpSessionCreate with any type of body -func NewPluginsBgpSessionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +// PluginsBgpSessionBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpSessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpSessionBulkDestroyWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionBulkDestroyResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +func (c *ClientWithResponses) PluginsBgpSessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpSessionBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsBgpSessionBulkDestroyResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +// PluginsBgpSessionListWithResponse request returning *PluginsBgpSessionListResponse +func (c *ClientWithResponses) PluginsBgpSessionListWithResponse(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpSessionListResponse, error) { + rsp, err := c.PluginsBgpSessionList(ctx, params, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionListResponse(rsp) +} - req, err := http.NewRequest("POST", queryURL.String(), body) +// PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpSessionBulkUpdateRequest calls the generic PluginsBgpSessionBulkUpdate builder with application/json body -func NewPluginsBgpSessionBulkUpdateRequest(server string, body PluginsBgpSessionBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +func (c *ClientWithResponses) PluginsBgpSessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionBulkPartialUpdate(ctx, body, reqEditors...) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpSessionBulkUpdateRequestWithBody(server, "application/json", bodyReader) + return ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpSessionBulkUpdateRequestWithBody generates requests for PluginsBgpSessionBulkUpdate with any type of body -func NewPluginsBgpSessionBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) +// PluginsBgpSessionCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionCreateResponse +func (c *ClientWithResponses) PluginsBgpSessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) { + rsp, err := c.PluginsBgpSessionCreateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionCreateResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/") - if operationPath[0] == '/' { - operationPath = "." + operationPath +func (c *ClientWithResponses) PluginsBgpSessionCreateWithResponse(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) { + rsp, err := c.PluginsBgpSessionCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsBgpSessionCreateResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +// PluginsBgpSessionBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpSessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionBulkUpdateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionBulkUpdateResponse(rsp) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) +func (c *ClientWithResponses) PluginsBgpSessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionBulkUpdate(ctx, body, reqEditors...) if err != nil { return nil, err } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParsePluginsBgpSessionBulkUpdateResponse(rsp) } -// NewPluginsBgpSessionDestroyRequest generates requests for PluginsBgpSessionDestroy -func NewPluginsBgpSessionDestroyRequest(server string, id int) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) +// PluginsBgpSessionDestroyWithResponse request returning *PluginsBgpSessionDestroyResponse +func (c *ClientWithResponses) PluginsBgpSessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionDestroyResponse, error) { + rsp, err := c.PluginsBgpSessionDestroy(ctx, id, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionDestroyResponse(rsp) +} - serverURL, err := url.Parse(server) +// PluginsBgpSessionRetrieveWithResponse request returning *PluginsBgpSessionRetrieveResponse +func (c *ClientWithResponses) PluginsBgpSessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionRetrieveResponse, error) { + rsp, err := c.PluginsBgpSessionRetrieve(ctx, id, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionRetrieveResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +// PluginsBgpSessionPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpSessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsBgpSessionPartialUpdateResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +func (c *ClientWithResponses) PluginsBgpSessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionPartialUpdate(ctx, id, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionPartialUpdateResponse(rsp) +} - req, err := http.NewRequest("DELETE", queryURL.String(), nil) +// PluginsBgpSessionUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionUpdateResponse +func (c *ClientWithResponses) PluginsBgpSessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionUpdateWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } - - return req, nil + return ParsePluginsBgpSessionUpdateResponse(rsp) } -// NewPluginsBgpSessionRetrieveRequest generates requests for PluginsBgpSessionRetrieve -func NewPluginsBgpSessionRetrieveRequest(server string, id int) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) +func (c *ClientWithResponses) PluginsBgpSessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) { + rsp, err := c.PluginsBgpSessionUpdate(ctx, id, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsBgpSessionUpdateResponse(rsp) +} - serverURL, err := url.Parse(server) +// PluginsSecretsActivateUserKeyCreateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsActivateUserKeyCreateResponse +func (c *ClientWithResponses) PluginsSecretsActivateUserKeyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsActivateUserKeyCreateResponse, error) { + rsp, err := c.PluginsSecretsActivateUserKeyCreateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsActivateUserKeyCreateResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +func (c *ClientWithResponses) PluginsSecretsActivateUserKeyCreateWithResponse(ctx context.Context, body PluginsSecretsActivateUserKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsActivateUserKeyCreateResponse, error) { + rsp, err := c.PluginsSecretsActivateUserKeyCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsSecretsActivateUserKeyCreateResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +func (c *ClientWithResponses) PluginsSecretsActivateUserKeyCreateWithFormdataBodyWithResponse(ctx context.Context, body PluginsSecretsActivateUserKeyCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsActivateUserKeyCreateResponse, error) { + rsp, err := c.PluginsSecretsActivateUserKeyCreateWithFormdataBody(ctx, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsActivateUserKeyCreateResponse(rsp) +} - req, err := http.NewRequest("GET", queryURL.String(), nil) +// PluginsSecretsGenerateRsaKeyPairListWithResponse request returning *PluginsSecretsGenerateRsaKeyPairListResponse +func (c *ClientWithResponses) PluginsSecretsGenerateRsaKeyPairListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsSecretsGenerateRsaKeyPairListResponse, error) { + rsp, err := c.PluginsSecretsGenerateRsaKeyPairList(ctx, reqEditors...) if err != nil { return nil, err } - - return req, nil + return ParsePluginsSecretsGenerateRsaKeyPairListResponse(rsp) } -// NewPluginsBgpSessionPartialUpdateRequest calls the generic PluginsBgpSessionPartialUpdate builder with application/json body -func NewPluginsBgpSessionPartialUpdateRequest(server string, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// PluginsSecretsGetSessionKeyCreateWithResponse request returning *PluginsSecretsGetSessionKeyCreateResponse +func (c *ClientWithResponses) PluginsSecretsGetSessionKeyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsSecretsGetSessionKeyCreateResponse, error) { + rsp, err := c.PluginsSecretsGetSessionKeyCreate(ctx, reqEditors...) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpSessionPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) + return ParsePluginsSecretsGetSessionKeyCreateResponse(rsp) } -// NewPluginsBgpSessionPartialUpdateRequestWithBody generates requests for PluginsBgpSessionPartialUpdate with any type of body -func NewPluginsBgpSessionPartialUpdateRequestWithBody(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) +// PluginsSecretsSecretRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretRolesBulkDestroyResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkDestroyResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsSecretRolesBulkDestroyResponse(rsp) +} - serverURL, err := url.Parse(server) +func (c *ClientWithResponses) PluginsSecretsSecretRolesBulkDestroyWithResponse(ctx context.Context, body PluginsSecretsSecretRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkDestroyResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsSecretRolesBulkDestroyResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +// PluginsSecretsSecretRolesListWithResponse request returning *PluginsSecretsSecretRolesListResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesListWithResponse(ctx context.Context, params *PluginsSecretsSecretRolesListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesListResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsSecretsSecretRolesListResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +// PluginsSecretsSecretRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsSecretRolesBulkPartialUpdateResponse(rsp) +} - req, err := http.NewRequest("PATCH", queryURL.String(), body) +func (c *ClientWithResponses) PluginsSecretsSecretRolesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesBulkPartialUpdate(ctx, body, reqEditors...) if err != nil { return nil, err } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParsePluginsSecretsSecretRolesBulkPartialUpdateResponse(rsp) } -// NewPluginsBgpSessionUpdateRequest calls the generic PluginsBgpSessionUpdate builder with application/json body -func NewPluginsBgpSessionUpdateRequest(server string, id int, body PluginsBgpSessionUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// PluginsSecretsSecretRolesCreateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretRolesCreateResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesCreateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesCreateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewPluginsBgpSessionUpdateRequestWithBody(server, id, "application/json", bodyReader) + return ParsePluginsSecretsSecretRolesCreateResponse(rsp) } -// NewPluginsBgpSessionUpdateRequestWithBody generates requests for PluginsBgpSessionUpdate with any type of body -func NewPluginsBgpSessionUpdateRequestWithBody(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) +func (c *ClientWithResponses) PluginsSecretsSecretRolesCreateWithResponse(ctx context.Context, body PluginsSecretsSecretRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesCreateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesCreate(ctx, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsSecretRolesCreateResponse(rsp) +} - serverURL, err := url.Parse(server) +// PluginsSecretsSecretRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretRolesBulkUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsSecretRolesBulkUpdateResponse(rsp) +} - operationPath := fmt.Sprintf("/api/plugins/bgp/session/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath +func (c *ClientWithResponses) PluginsSecretsSecretRolesBulkUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesBulkUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsSecretsSecretRolesBulkUpdateResponse(rsp) +} - queryURL, err := serverURL.Parse(operationPath) +// PluginsSecretsSecretRolesDestroyWithResponse request returning *PluginsSecretsSecretRolesDestroyResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesDestroyResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesDestroy(ctx, id, reqEditors...) if err != nil { return nil, err } + return ParsePluginsSecretsSecretRolesDestroyResponse(rsp) +} - req, err := http.NewRequest("PUT", queryURL.String(), body) +// PluginsSecretsSecretRolesRetrieveWithResponse request returning *PluginsSecretsSecretRolesRetrieveResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesRetrieveResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesRetrieve(ctx, id, reqEditors...) if err != nil { return nil, err } - - req.Header.Add("Content-Type", contentType) - - return req, nil + return ParsePluginsSecretsSecretRolesRetrieveResponse(rsp) } -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 - } +// PluginsSecretsSecretRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretRolesPartialUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err } - return nil + return ParsePluginsSecretsSecretRolesPartialUpdateResponse(rsp) } -// ClientWithResponses builds on ClientInterface to offer response payloads -type ClientWithResponses struct { - ClientInterface +func (c *ClientWithResponses) PluginsSecretsSecretRolesPartialUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretRolesPartialUpdateResponse(rsp) } -// 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...) +// PluginsSecretsSecretRolesUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretRolesUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } - return &ClientWithResponses{client}, nil + return ParsePluginsSecretsSecretRolesUpdateResponse(rsp) } -// 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 +func (c *ClientWithResponses) PluginsSecretsSecretRolesUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretRolesUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err } + return ParsePluginsSecretsSecretRolesUpdateResponse(rsp) } -// ClientWithResponsesInterface is the interface specification for the client with responses above. -type ClientWithResponsesInterface interface { - // PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse request with any body - PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) - - PluginsBgpBgppeergroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) - - // PluginsBgpBgppeergroupListWithResponse request - PluginsBgpBgppeergroupListWithResponse(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupListResponse, error) - - // PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) - - PluginsBgpBgppeergroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) - - // PluginsBgpBgppeergroupCreateWithBodyWithResponse request with any body - PluginsBgpBgppeergroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) - - PluginsBgpBgppeergroupCreateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) - - // PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse request with any body - PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) - - PluginsBgpBgppeergroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) - - // PluginsBgpBgppeergroupDestroyWithResponse request - PluginsBgpBgppeergroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupDestroyResponse, error) - - // PluginsBgpBgppeergroupRetrieveWithResponse request - PluginsBgpBgppeergroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupRetrieveResponse, error) - - // PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse request with any body - PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) - - PluginsBgpBgppeergroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) - - // PluginsBgpBgppeergroupUpdateWithBodyWithResponse request with any body - PluginsBgpBgppeergroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) - - PluginsBgpBgppeergroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) - - // PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse request with any body - PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) - - PluginsBgpBgpsessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) - - // PluginsBgpBgpsessionListWithResponse request - PluginsBgpBgpsessionListWithResponse(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionListResponse, error) - - // PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) - - PluginsBgpBgpsessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) - - // PluginsBgpBgpsessionCreateWithBodyWithResponse request with any body - PluginsBgpBgpsessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) - - PluginsBgpBgpsessionCreateWithResponse(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) - - // PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse request with any body - PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) - - PluginsBgpBgpsessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) - - // PluginsBgpBgpsessionDestroyWithResponse request - PluginsBgpBgpsessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionDestroyResponse, error) - - // PluginsBgpBgpsessionRetrieveWithResponse request - PluginsBgpBgpsessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionRetrieveResponse, error) +// PluginsSecretsSecretsBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretsBulkDestroyResponse +func (c *ClientWithResponses) PluginsSecretsSecretsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkDestroyResponse, error) { + rsp, err := c.PluginsSecretsSecretsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsBulkDestroyResponse(rsp) +} - // PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse request with any body - PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) +func (c *ClientWithResponses) PluginsSecretsSecretsBulkDestroyWithResponse(ctx context.Context, body PluginsSecretsSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkDestroyResponse, error) { + rsp, err := c.PluginsSecretsSecretsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsBulkDestroyResponse(rsp) +} - PluginsBgpBgpsessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) +// PluginsSecretsSecretsListWithResponse request returning *PluginsSecretsSecretsListResponse +func (c *ClientWithResponses) PluginsSecretsSecretsListWithResponse(ctx context.Context, params *PluginsSecretsSecretsListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsListResponse, error) { + rsp, err := c.PluginsSecretsSecretsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsListResponse(rsp) +} - // PluginsBgpBgpsessionUpdateWithBodyWithResponse request with any body - PluginsBgpBgpsessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) +// PluginsSecretsSecretsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretsBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsBulkPartialUpdateResponse(rsp) +} - PluginsBgpBgpsessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) +func (c *ClientWithResponses) PluginsSecretsSecretsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsBulkPartialUpdateResponse(rsp) +} - // PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse request with any body - PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) +// PluginsSecretsSecretsCreateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretsCreateResponse +func (c *ClientWithResponses) PluginsSecretsSecretsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsCreateResponse, error) { + rsp, err := c.PluginsSecretsSecretsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsCreateResponse(rsp) +} - PluginsBgpCommunityListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) +func (c *ClientWithResponses) PluginsSecretsSecretsCreateWithResponse(ctx context.Context, body PluginsSecretsSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsCreateResponse, error) { + rsp, err := c.PluginsSecretsSecretsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsCreateResponse(rsp) +} - // PluginsBgpCommunityListRuleListWithResponse request - PluginsBgpCommunityListRuleListWithResponse(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleListResponse, error) +// PluginsSecretsSecretsBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretsBulkUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsBulkUpdateResponse(rsp) +} - // PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) +func (c *ClientWithResponses) PluginsSecretsSecretsBulkUpdateWithResponse(ctx context.Context, body PluginsSecretsSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsBulkUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsBulkUpdateResponse(rsp) +} - PluginsBgpCommunityListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) +// PluginsSecretsSecretsDestroyWithResponse request returning *PluginsSecretsSecretsDestroyResponse +func (c *ClientWithResponses) PluginsSecretsSecretsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsDestroyResponse, error) { + rsp, err := c.PluginsSecretsSecretsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsDestroyResponse(rsp) +} - // PluginsBgpCommunityListRuleCreateWithBodyWithResponse request with any body - PluginsBgpCommunityListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) +// PluginsSecretsSecretsRetrieveWithResponse request returning *PluginsSecretsSecretsRetrieveResponse +func (c *ClientWithResponses) PluginsSecretsSecretsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsRetrieveResponse, error) { + rsp, err := c.PluginsSecretsSecretsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsRetrieveResponse(rsp) +} - PluginsBgpCommunityListRuleCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) +// PluginsSecretsSecretsPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretsPartialUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsPartialUpdateResponse(rsp) +} - // PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) +func (c *ClientWithResponses) PluginsSecretsSecretsPartialUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsPartialUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsPartialUpdateResponse(rsp) +} - PluginsBgpCommunityListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) +// PluginsSecretsSecretsUpdateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSecretsUpdateResponse +func (c *ClientWithResponses) PluginsSecretsSecretsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsUpdateResponse(rsp) +} - // PluginsBgpCommunityListRuleDestroyWithResponse request - PluginsBgpCommunityListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleDestroyResponse, error) +func (c *ClientWithResponses) PluginsSecretsSecretsUpdateWithResponse(ctx context.Context, id int, body PluginsSecretsSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSecretsUpdateResponse, error) { + rsp, err := c.PluginsSecretsSecretsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSecretsUpdateResponse(rsp) +} - // PluginsBgpCommunityListRuleRetrieveWithResponse request - PluginsBgpCommunityListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleRetrieveResponse, error) +// PluginsSecretsSessionKeysBulkDestroyWithResponse request returning *PluginsSecretsSessionKeysBulkDestroyResponse +func (c *ClientWithResponses) PluginsSecretsSessionKeysBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysBulkDestroyResponse, error) { + rsp, err := c.PluginsSecretsSessionKeysBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSessionKeysBulkDestroyResponse(rsp) +} - // PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) +// PluginsSecretsSessionKeysListWithResponse request returning *PluginsSecretsSessionKeysListResponse +func (c *ClientWithResponses) PluginsSecretsSessionKeysListWithResponse(ctx context.Context, params *PluginsSecretsSessionKeysListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysListResponse, error) { + rsp, err := c.PluginsSecretsSessionKeysList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSessionKeysListResponse(rsp) +} - PluginsBgpCommunityListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) +// PluginsSecretsSessionKeysCreateWithBodyWithResponse request with arbitrary body returning *PluginsSecretsSessionKeysCreateResponse +func (c *ClientWithResponses) PluginsSecretsSessionKeysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysCreateResponse, error) { + rsp, err := c.PluginsSecretsSessionKeysCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSessionKeysCreateResponse(rsp) +} - // PluginsBgpCommunityListRuleUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) +func (c *ClientWithResponses) PluginsSecretsSessionKeysCreateWithResponse(ctx context.Context, body PluginsSecretsSessionKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysCreateResponse, error) { + rsp, err := c.PluginsSecretsSessionKeysCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSessionKeysCreateResponse(rsp) +} - PluginsBgpCommunityListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) +// PluginsSecretsSessionKeysDestroyWithResponse request returning *PluginsSecretsSessionKeysDestroyResponse +func (c *ClientWithResponses) PluginsSecretsSessionKeysDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysDestroyResponse, error) { + rsp, err := c.PluginsSecretsSessionKeysDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSessionKeysDestroyResponse(rsp) +} - // PluginsBgpCommunityListBulkDestroyWithBodyWithResponse request with any body - PluginsBgpCommunityListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) +// PluginsSecretsSessionKeysRetrieveWithResponse request returning *PluginsSecretsSessionKeysRetrieveResponse +func (c *ClientWithResponses) PluginsSecretsSessionKeysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsSessionKeysRetrieveResponse, error) { + rsp, err := c.PluginsSecretsSessionKeysRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsSessionKeysRetrieveResponse(rsp) +} - PluginsBgpCommunityListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) +// PluginsSecretsUserKeysListWithResponse request returning *PluginsSecretsUserKeysListResponse +func (c *ClientWithResponses) PluginsSecretsUserKeysListWithResponse(ctx context.Context, params *PluginsSecretsUserKeysListParams, reqEditors ...RequestEditorFn) (*PluginsSecretsUserKeysListResponse, error) { + rsp, err := c.PluginsSecretsUserKeysList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsUserKeysListResponse(rsp) +} - // PluginsBgpCommunityListListWithResponse request - PluginsBgpCommunityListListWithResponse(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListListResponse, error) +// PluginsSecretsUserKeysRetrieveWithResponse request returning *PluginsSecretsUserKeysRetrieveResponse +func (c *ClientWithResponses) PluginsSecretsUserKeysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsSecretsUserKeysRetrieveResponse, error) { + rsp, err := c.PluginsSecretsUserKeysRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsSecretsUserKeysRetrieveResponse(rsp) +} - // PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) +// 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 + } - PluginsBgpCommunityListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) + response := &ExtrasBookmarksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpCommunityListCreateWithBodyWithResponse request with any body - PluginsBgpCommunityListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) + return response, nil +} - PluginsBgpCommunityListCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) +// 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 + } - // PluginsBgpCommunityListBulkUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) + response := &ExtrasBookmarksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpCommunityListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) + 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 - // PluginsBgpCommunityListDestroyWithResponse request - PluginsBgpCommunityListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListDestroyResponse, error) + } - // PluginsBgpCommunityListRetrieveWithResponse request - PluginsBgpCommunityListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRetrieveResponse, error) + return response, nil +} - // PluginsBgpCommunityListPartialUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) +// 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 + } - PluginsBgpCommunityListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) + response := &ExtrasBookmarksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpCommunityListUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) + 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 - PluginsBgpCommunityListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) + } - // PluginsBgpCommunityBulkDestroyWithBodyWithResponse request with any body - PluginsBgpCommunityBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) + return response, nil +} - PluginsBgpCommunityBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) +// 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 + } - // PluginsBgpCommunityListWithResponse request - PluginsBgpCommunityListWithResponse(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListResponse, error) + response := &ExtrasBookmarksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) + 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 - PluginsBgpCommunityBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) + } - // PluginsBgpCommunityCreateWithBodyWithResponse request with any body - PluginsBgpCommunityCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) + return response, nil +} - PluginsBgpCommunityCreateWithResponse(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) +// 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 + } - // PluginsBgpCommunityBulkUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) + response := &ExtrasBookmarksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpCommunityBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) + 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 - // PluginsBgpCommunityDestroyWithResponse request - PluginsBgpCommunityDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityDestroyResponse, error) + } - // PluginsBgpCommunityRetrieveWithResponse request - PluginsBgpCommunityRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityRetrieveResponse, error) + return response, nil +} - // PluginsBgpCommunityPartialUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) +// 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 + } - PluginsBgpCommunityPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) + response := &ExtrasBookmarksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpCommunityUpdateWithBodyWithResponse request with any body - PluginsBgpCommunityUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) + return response, nil +} - PluginsBgpCommunityUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) +// 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 + } - // PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse request with any body - PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) + response := &ExtrasBookmarksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPeerGroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) + 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 - // PluginsBgpPeerGroupListWithResponse request - PluginsBgpPeerGroupListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupListResponse, error) + } - // PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) + return response, nil +} - PluginsBgpPeerGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) +// 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 + } - // PluginsBgpPeerGroupCreateWithBodyWithResponse request with any body - PluginsBgpPeerGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) + response := &ExtrasBookmarksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPeerGroupCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) + 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 - // PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse request with any body - PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) + } - PluginsBgpPeerGroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) + return response, nil +} - // PluginsBgpPeerGroupDestroyWithResponse request - PluginsBgpPeerGroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupDestroyResponse, error) +// 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 + } - // PluginsBgpPeerGroupRetrieveWithResponse request - PluginsBgpPeerGroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupRetrieveResponse, error) + response := &ExtrasBookmarksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse request with any body - PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) + 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 - PluginsBgpPeerGroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) + } - // PluginsBgpPeerGroupUpdateWithBodyWithResponse request with any body - PluginsBgpPeerGroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) + return response, nil +} - PluginsBgpPeerGroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) +// 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 + } - // PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse request with any body - PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) + response := &ExtrasConfigContextsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPrefixListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) + return response, nil +} - // PluginsBgpPrefixListRuleListWithResponse request - PluginsBgpPrefixListRuleListWithResponse(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleListResponse, error) +// 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 + } - // PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) + response := &ExtrasConfigContextsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPrefixListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) + 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 - // PluginsBgpPrefixListRuleCreateWithBodyWithResponse request with any body - PluginsBgpPrefixListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) + } - PluginsBgpPrefixListRuleCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) + return response, nil +} - // PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) +// 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 + } - PluginsBgpPrefixListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) + response := &ExtrasConfigContextsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpPrefixListRuleDestroyWithResponse request - PluginsBgpPrefixListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleDestroyResponse, error) + 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 - // PluginsBgpPrefixListRuleRetrieveWithResponse request - PluginsBgpPrefixListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleRetrieveResponse, error) + } - // PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) + return response, nil +} - PluginsBgpPrefixListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) +// 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 + } - // PluginsBgpPrefixListRuleUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) + response := &ExtrasConfigContextsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPrefixListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) + 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 - // PluginsBgpPrefixListBulkDestroyWithBodyWithResponse request with any body - PluginsBgpPrefixListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) + } - PluginsBgpPrefixListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) + return response, nil +} - // PluginsBgpPrefixListListWithResponse request - PluginsBgpPrefixListListWithResponse(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListListResponse, error) +// 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 + } - // PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) + response := &ExtrasConfigContextsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPrefixListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) + 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 - // PluginsBgpPrefixListCreateWithBodyWithResponse request with any body - PluginsBgpPrefixListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) + } - PluginsBgpPrefixListCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) + return response, nil +} - // PluginsBgpPrefixListBulkUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) +// 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 + } - PluginsBgpPrefixListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) + response := &ExtrasConfigContextsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpPrefixListDestroyWithResponse request - PluginsBgpPrefixListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListDestroyResponse, error) + return response, nil +} - // PluginsBgpPrefixListRetrieveWithResponse request - PluginsBgpPrefixListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRetrieveResponse, error) +// 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 + } - // PluginsBgpPrefixListPartialUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) + response := &ExtrasConfigContextsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpPrefixListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) + 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 - // PluginsBgpPrefixListUpdateWithBodyWithResponse request with any body - PluginsBgpPrefixListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) + } - PluginsBgpPrefixListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) + return response, nil +} - // PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) +// 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 + } - PluginsBgpRoutingPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) + response := &ExtrasConfigContextsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpRoutingPolicyRuleListWithResponse request - PluginsBgpRoutingPolicyRuleListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleListResponse, error) + 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 - // PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) + } - PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) + return response, nil +} - // PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) +// 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 + } - PluginsBgpRoutingPolicyRuleCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) + response := &ExtrasConfigContextsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) + 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 - PluginsBgpRoutingPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) + } - // PluginsBgpRoutingPolicyRuleDestroyWithResponse request - PluginsBgpRoutingPolicyRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleDestroyResponse, error) + return response, nil +} - // PluginsBgpRoutingPolicyRuleRetrieveWithResponse request - PluginsBgpRoutingPolicyRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleRetrieveResponse, error) +// 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 + } - // PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) + response := &ExtrasConfigContextsSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - PluginsBgpRoutingPolicyRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) + 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 - // PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) + } - PluginsBgpRoutingPolicyRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) + return response, nil +} - // PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) +// 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 + } - PluginsBgpRoutingPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) + response := &ExtrasConfigTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpRoutingPolicyListWithResponse request - PluginsBgpRoutingPolicyListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyListResponse, error) + return response, nil +} - // PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) +// 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 + } - PluginsBgpRoutingPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) + response := &ExtrasConfigTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpRoutingPolicyCreateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) + 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 - PluginsBgpRoutingPolicyCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) + } - // PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) + return response, nil +} - PluginsBgpRoutingPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) +// 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 + } - // PluginsBgpRoutingPolicyDestroyWithResponse request - PluginsBgpRoutingPolicyDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyDestroyResponse, error) + response := &ExtrasConfigTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpRoutingPolicyRetrieveWithResponse request - PluginsBgpRoutingPolicyRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRetrieveResponse, error) + 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 - // PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) + } - PluginsBgpRoutingPolicyPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) + return response, nil +} - // PluginsBgpRoutingPolicyUpdateWithBodyWithResponse request with any body - PluginsBgpRoutingPolicyUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) +// 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 + } - PluginsBgpRoutingPolicyUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) + response := &ExtrasConfigTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpSessionBulkDestroyWithBodyWithResponse request with any body - PluginsBgpSessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) + 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 - PluginsBgpSessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) + } - // PluginsBgpSessionListWithResponse request - PluginsBgpSessionListWithResponse(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpSessionListResponse, error) + return response, nil +} - // PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse request with any body - PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) +// 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 + } - PluginsBgpSessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) + response := &ExtrasConfigTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpSessionCreateWithBodyWithResponse request with any body - PluginsBgpSessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) + 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 - PluginsBgpSessionCreateWithResponse(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) + } - // PluginsBgpSessionBulkUpdateWithBodyWithResponse request with any body - PluginsBgpSessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) + return response, nil +} - PluginsBgpSessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) +// 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 + } - // PluginsBgpSessionDestroyWithResponse request - PluginsBgpSessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionDestroyResponse, error) + response := &ExtrasConfigTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpSessionRetrieveWithResponse request - PluginsBgpSessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionRetrieveResponse, error) + return response, nil +} - // PluginsBgpSessionPartialUpdateWithBodyWithResponse request with any body - PluginsBgpSessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) +// 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 + } - PluginsBgpSessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) + response := &ExtrasConfigTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } - // PluginsBgpSessionUpdateWithBodyWithResponse request with any body - PluginsBgpSessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) + 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 - PluginsBgpSessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) -} + } -type PluginsBgpBgppeergroupBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasConfigTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgppeergroupListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedBGPPeerGroupList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpBgppeergroupBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPPeerGroup -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasConfigTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpBgppeergroupCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *BGPPeerGroup + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasConfigTemplatesRenderCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgppeergroupBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPPeerGroup -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} + case rsp.StatusCode == 200: + // Content-type (text/plain) unsupported -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode } - return 0 -} -type PluginsBgpBgppeergroupDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasConfigTemplatesSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgppeergroupRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPPeerGroup -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// 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 } - return 0 -} -type PluginsBgpBgppeergroupPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPPeerGroup + response := &ExtrasCustomFieldChoiceSetsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldChoiceSetsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgppeergroupUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPPeerGroup -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpBgppeergroupUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgppeergroupUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpBgpsessionBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpBgpsessionListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedBGPSessionList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldChoiceSetsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgpsessionBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPSession -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpBgpsessionCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *BGPSession -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomFieldChoiceSetsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpBgpsessionBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPSession + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldChoiceSetsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgpsessionDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldChoiceSetsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpBgpsessionRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPSession -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpBgpsessionPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPSession -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomFieldChoiceSetsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpBgpsessionUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPSession + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpBgpsessionUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpBgpsessionUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityListRuleBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListRuleListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedCommunityListRuleList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// 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 } - return 0 -} -type PluginsBgpCommunityListRuleBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]CommunityListRule + response := &ExtrasCustomFieldsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListRuleCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *CommunityListRule -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpCommunityListRuleBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]CommunityListRule -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomFieldsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityListRuleDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListRuleRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CommunityListRule -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpCommunityListRulePartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CommunityListRule -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRulePartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomFieldsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRulePartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityListRuleUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CommunityListRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRuleUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRuleUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedCommunityListList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpCommunityListBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]CommunityList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomFieldsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityListCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *CommunityList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomFieldsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]CommunityList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// 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 } - return 0 -} -type PluginsBgpCommunityListDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + response := &ExtrasCustomLinksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomLinksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityListRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CommunityList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpCommunityListPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CommunityList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomLinksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityListUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CommunityList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomLinksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpCommunityListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedCommunityList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomLinksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]Community + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomLinksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *Community + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomLinksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]Community -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpCommunityDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasCustomLinksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpCommunityRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *Community + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasCustomLinksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpCommunityPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *Community -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// 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 } - return 0 -} -type PluginsBgpCommunityUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *Community + response := &ExtrasDashboardDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpCommunityUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpCommunityUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasDashboardRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPeerGroupBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPeerGroupListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedBGPPeerGroupList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasDashboardPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpPeerGroupBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPPeerGroup + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasDashboardUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPeerGroupCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *BGPPeerGroup -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// ParseExtrasEventRulesBulkDestroyResponse parses an HTTP response from a ExtrasEventRulesBulkDestroyWithResponse call +func ParseExtrasEventRulesBulkDestroyResponse(rsp *http.Response) (*ExtrasEventRulesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err } - return 0 -} -type PluginsBgpPeerGroupBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPPeerGroup + response := &ExtrasEventRulesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// ParseExtrasEventRulesListResponse parses an HTTP response from a ExtrasEventRulesListWithResponse call +func ParseExtrasEventRulesListResponse(rsp *http.Response) (*ExtrasEventRulesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasEventRulesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPeerGroupDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedEventRuleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPeerGroupRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPPeerGroup -} +// ParseExtrasEventRulesBulkPartialUpdateResponse parses an HTTP response from a ExtrasEventRulesBulkPartialUpdateWithResponse call +func ParseExtrasEventRulesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasEventRulesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasEventRulesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []EventRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return 0 -} -type PluginsBgpPeerGroupPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPPeerGroup + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// ParseExtrasEventRulesCreateResponse parses an HTTP response from a ExtrasEventRulesCreateWithResponse call +func ParseExtrasEventRulesCreateResponse(rsp *http.Response) (*ExtrasEventRulesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasEventRulesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPeerGroupUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPPeerGroup -} + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest EventRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest -// Status returns HTTPResponse.Status -func (r PluginsBgpPeerGroupUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPeerGroupUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPrefixListRuleBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} +// ParseExtrasEventRulesBulkUpdateResponse parses an HTTP response from a ExtrasEventRulesBulkUpdateWithResponse call +func ParseExtrasEventRulesBulkUpdateResponse(rsp *http.Response) (*ExtrasEventRulesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasEventRulesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []EventRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return 0 -} -type PluginsBgpPrefixListRuleListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedPrefixListRuleList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// ParseExtrasEventRulesDestroyResponse parses an HTTP response from a ExtrasEventRulesDestroyWithResponse call +func ParseExtrasEventRulesDestroyResponse(rsp *http.Response) (*ExtrasEventRulesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasEventRulesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListRuleBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]PrefixListRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// ParseExtrasEventRulesRetrieveResponse parses an HTTP response from a ExtrasEventRulesRetrieveWithResponse call +func ParseExtrasEventRulesRetrieveResponse(rsp *http.Response) (*ExtrasEventRulesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasEventRulesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListRuleCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *PrefixListRule + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest EventRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// ParseExtrasEventRulesPartialUpdateResponse parses an HTTP response from a ExtrasEventRulesPartialUpdateWithResponse call +func ParseExtrasEventRulesPartialUpdateResponse(rsp *http.Response) (*ExtrasEventRulesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasEventRulesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListRuleBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]PrefixListRule -} + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest EventRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPrefixListRuleDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} +// ParseExtrasEventRulesUpdateResponse parses an HTTP response from a ExtrasEventRulesUpdateWithResponse call +func ParseExtrasEventRulesUpdateResponse(rsp *http.Response) (*ExtrasEventRulesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasEventRulesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest EventRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return 0 -} -type PluginsBgpPrefixListRuleRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PrefixListRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasExportTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListRulePartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PrefixListRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRulePartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRulePartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasExportTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListRuleUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PrefixListRule -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRuleUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRuleUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPrefixListBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasExportTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpPrefixListListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedPrefixListList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasExportTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]PrefixList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPrefixListCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *PrefixList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasExportTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpPrefixListBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]PrefixList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasExportTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasExportTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpPrefixListRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PrefixList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpPrefixListPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PrefixList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasExportTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpPrefixListUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PrefixList + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpPrefixListUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpPrefixListUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasExportTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyRuleBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpRoutingPolicyRuleListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedRoutingPolicyRuleList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasExportTemplatesSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]RoutingPolicyRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasImageAttachmentsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyRuleCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *RoutingPolicyRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasImageAttachmentsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyRuleBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]RoutingPolicyRule -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// 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 0 -} -type PluginsBgpRoutingPolicyRuleDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasImageAttachmentsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyRuleRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RoutingPolicyRule -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpRoutingPolicyRulePartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RoutingPolicyRule -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRulePartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasImageAttachmentsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRulePartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpRoutingPolicyRuleUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RoutingPolicyRule + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRuleUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRuleUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasImageAttachmentsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasImageAttachmentsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedRoutingPolicyList -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpRoutingPolicyBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]RoutingPolicy -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasImageAttachmentsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpRoutingPolicyCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *RoutingPolicy + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasImageAttachmentsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]RoutingPolicy -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) + + return response, nil } -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode +// 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 } - return 0 -} -type PluginsBgpRoutingPolicyDestroyResponse struct { - Body []byte - HTTPResponse *http.Response + response := &ExtrasJournalEntriesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasJournalEntriesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpRoutingPolicyRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RoutingPolicy -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpRoutingPolicyPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RoutingPolicy -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasJournalEntriesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpRoutingPolicyUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RoutingPolicy + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpRoutingPolicyUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpRoutingPolicyUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasJournalEntriesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpSessionBulkDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionBulkDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionBulkDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpSessionListResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PaginatedBGPSessionList -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionListResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasJournalEntriesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionListResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpSessionBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPSession + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasJournalEntriesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpSessionCreateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON201 *BGPSession + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasJournalEntriesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpSessionBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *[]BGPSession -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -type PluginsBgpSessionDestroyResponse struct { - Body []byte - HTTPResponse *http.Response -} +// 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 + } -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionDestroyResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status + response := &ExtrasJournalEntriesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionDestroyResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpSessionRetrieveResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPSession + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionRetrieveResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionRetrieveResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + 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 0 -} -type PluginsBgpSessionPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPSession + return response, nil } -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status +// 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 } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode + response := &ExtrasObjectChangesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return 0 -} -type PluginsBgpSessionUpdateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *BGPSession -} + 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 -// Status returns HTTPResponse.Status -func (r PluginsBgpSessionUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status } - return http.StatusText(0) -} -// StatusCode returns HTTPResponse.StatusCode -func (r PluginsBgpSessionUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 + return response, nil } -// PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupBulkDestroy(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasObjectChangesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp) -} -// PluginsBgpBgppeergroupListWithResponse request returning *PluginsBgpBgppeergroupListResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupListWithResponse(ctx context.Context, params *PluginsBgpBgppeergroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupListResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupList(ctx, params, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpBgppeergroupListResponse(rsp) + + return response, nil } -// PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) +// ParseExtrasObjectTypesListResponse parses an HTTP response from a ExtrasObjectTypesListWithResponse call +func ParseExtrasObjectTypesListResponse(rsp *http.Response) (*ExtrasObjectTypesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasObjectTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp) -} -// PluginsBgpBgppeergroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupCreateResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedObjectTypeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpBgppeergroupCreateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpBgppeergroupCreateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupCreateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupCreate(ctx, body, reqEditors...) +// ParseExtrasObjectTypesRetrieveResponse parses an HTTP response from a ExtrasObjectTypesRetrieveWithResponse call +func ParseExtrasObjectTypesRetrieveResponse(rsp *http.Response) (*ExtrasObjectTypesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpBgppeergroupCreateResponse(rsp) -} -// PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasObjectTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgppeergroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgppeergroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ObjectType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp) + + return response, nil } -// PluginsBgpBgppeergroupDestroyWithResponse request returning *PluginsBgpBgppeergroupDestroyResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupDestroyResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupDestroy(ctx, id, reqEditors...) +// 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 } - return ParsePluginsBgpBgppeergroupDestroyResponse(rsp) -} -// PluginsBgpBgppeergroupRetrieveWithResponse request returning *PluginsBgpBgppeergroupRetrieveResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupRetrieveResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgppeergroupRetrieveResponse(rsp) + + return response, nil } -// PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgppeergroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupPartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp) -} -// PluginsBgpBgppeergroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgppeergroupUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgppeergroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpBgppeergroupUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpBgppeergroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgppeergroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgppeergroupUpdateResponse, error) { - rsp, err := c.PluginsBgpBgppeergroupUpdate(ctx, id, body, reqEditors...) +// 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 } - return ParsePluginsBgpBgppeergroupUpdateResponse(rsp) -} -// PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpBgpsessionBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgpsessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpBgpsessionBulkDestroy(ctx, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp) + + return response, nil } -// PluginsBgpBgpsessionListWithResponse request returning *PluginsBgpBgpsessionListResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionListWithResponse(ctx context.Context, params *PluginsBgpBgpsessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionListResponse, error) { - rsp, err := c.PluginsBgpBgpsessionList(ctx, params, reqEditors...) +// 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 } - return ParsePluginsBgpBgpsessionListResponse(rsp) -} -// PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgpsessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp) + + return response, nil } -// PluginsBgpBgpsessionCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionCreateResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionCreateWithBody(ctx, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpBgpsessionCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgpsessionCreateWithResponse(ctx context.Context, body PluginsBgpBgpsessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionCreateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgpsessionCreateResponse(rsp) -} -// PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpBgpsessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpBgpsessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionBulkUpdate(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp) -} -// PluginsBgpBgpsessionDestroyWithResponse request returning *PluginsBgpBgpsessionDestroyResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionDestroyResponse, error) { - rsp, err := c.PluginsBgpBgpsessionDestroy(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgpsessionDestroyResponse(rsp) + + return response, nil } -// PluginsBgpBgpsessionRetrieveWithResponse request returning *PluginsBgpBgpsessionRetrieveResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionRetrieveResponse, error) { - rsp, err := c.PluginsBgpBgpsessionRetrieve(ctx, id, reqEditors...) +// 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 } - return ParsePluginsBgpBgpsessionRetrieveResponse(rsp) -} -// PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgpsessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionPartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp) + + return response, nil } -// PluginsBgpBgpsessionUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpBgpsessionUpdateResponse -func (c *ClientWithResponses) PluginsBgpBgpsessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpBgpsessionUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpBgpsessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpBgpsessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpBgpsessionUpdateResponse, error) { - rsp, err := c.PluginsBgpBgpsessionUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpBgpsessionUpdateResponse(rsp) -} -// PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleBulkDestroy(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp) -} -// PluginsBgpCommunityListRuleListWithResponse request returning *PluginsBgpCommunityListRuleListResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleListWithResponse(ctx context.Context, params *PluginsBgpCommunityListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleListResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleList(ctx, params, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasSavedFiltersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListRuleListResponse(rsp) -} -// PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleBulkPartialUpdate(ctx, body, reqEditors...) +// ParseExtrasScriptsListResponse parses an HTTP response from a ExtrasScriptsListWithResponse call +func ParseExtrasScriptsListResponse(rsp *http.Response) (*ExtrasScriptsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp) -} -// PluginsBgpCommunityListRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleCreateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasScriptsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListRuleCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityListRuleCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleCreateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedScriptList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpCommunityListRuleCreateResponse(rsp) + + return response, nil } -// PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) +// ParseExtrasScriptsCreateResponse parses an HTTP response from a ExtrasScriptsCreateWithResponse call +func ParseExtrasScriptsCreateResponse(rsp *http.Response) (*ExtrasScriptsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp) + + response := &ExtrasScriptsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Script + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleBulkUpdate(ctx, body, reqEditors...) +// ParseExtrasScriptsDestroyResponse parses an HTTP response from a ExtrasScriptsDestroyWithResponse call +func ParseExtrasScriptsDestroyResponse(rsp *http.Response) (*ExtrasScriptsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp) + + response := &ExtrasScriptsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// PluginsBgpCommunityListRuleDestroyWithResponse request returning *PluginsBgpCommunityListRuleDestroyResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleDestroy(ctx, id, reqEditors...) +// ParseExtrasScriptsRetrieveResponse parses an HTTP response from a ExtrasScriptsRetrieveWithResponse call +func ParseExtrasScriptsRetrieveResponse(rsp *http.Response) (*ExtrasScriptsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpCommunityListRuleDestroyResponse(rsp) + + response := &ExtrasScriptsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Script + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil } -// PluginsBgpCommunityListRuleRetrieveWithResponse request returning *PluginsBgpCommunityListRuleRetrieveResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleRetrieveResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleRetrieve(ctx, id, reqEditors...) +// ParseExtrasScriptsPartialUpdateResponse parses an HTTP response from a ExtrasScriptsPartialUpdateWithResponse call +func ParseExtrasScriptsPartialUpdateResponse(rsp *http.Response) (*ExtrasScriptsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpCommunityListRuleRetrieveResponse(rsp) + + response := &ExtrasScriptsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Script + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil } -// PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRulePartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// ParseExtrasScriptsUpdateResponse parses an HTTP response from a ExtrasScriptsUpdateWithResponse call +func ParseExtrasScriptsUpdateResponse(rsp *http.Response) (*ExtrasScriptsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp) + + response := &ExtrasScriptsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Script + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRulePartialUpdate(ctx, id, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp) -} -// PluginsBgpCommunityListRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListRuleUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListRuleUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRuleUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListRuleUpdate(ctx, id, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListRuleUpdateResponse(rsp) -} -// PluginsBgpCommunityListBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpCommunityListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityListBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListBulkDestroyResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityListBulkDestroy(ctx, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityListBulkDestroyResponse(rsp) + + return response, nil } -// PluginsBgpCommunityListListWithResponse request returning *PluginsBgpCommunityListListResponse -func (c *ClientWithResponses) PluginsBgpCommunityListListWithResponse(ctx context.Context, params *PluginsBgpCommunityListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListListResponse, error) { - rsp, err := c.PluginsBgpCommunityListList(ctx, params, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListListResponse(rsp) -} -// PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp) + + return response, nil } -// PluginsBgpCommunityListCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListCreateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) { - rsp, err := c.PluginsBgpCommunityListCreateWithBody(ctx, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityListCreateWithResponse(ctx context.Context, body PluginsBgpCommunityListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListCreateResponse, error) { - rsp, err := c.PluginsBgpCommunityListCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListCreateResponse(rsp) -} -// PluginsBgpCommunityListBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityListBulkUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListBulkUpdate(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListBulkUpdateResponse(rsp) -} -// PluginsBgpCommunityListDestroyWithResponse request returning *PluginsBgpCommunityListDestroyResponse -func (c *ClientWithResponses) PluginsBgpCommunityListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityListDestroy(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListDestroyResponse(rsp) -} -// PluginsBgpCommunityListRetrieveWithResponse request returning *PluginsBgpCommunityListRetrieveResponse -func (c *ClientWithResponses) PluginsBgpCommunityListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListRetrieveResponse, error) { - rsp, err := c.PluginsBgpCommunityListRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityListRetrieveResponse(rsp) + + return response, nil } -// PluginsBgpCommunityListPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListPartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListPartialUpdateResponse(rsp) + + return response, nil } -// PluginsBgpCommunityListUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityListUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityListUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityListUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListUpdateResponse(rsp) -} -// PluginsBgpCommunityBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpCommunityBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityBulkDestroyResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityBulkDestroyWithResponse(ctx context.Context, body PluginsBgpCommunityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityBulkDestroy(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityBulkDestroyResponse(rsp) -} -// PluginsBgpCommunityListWithResponse request returning *PluginsBgpCommunityListResponse -func (c *ClientWithResponses) PluginsBgpCommunityListWithResponse(ctx context.Context, params *PluginsBgpCommunityListParams, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityListResponse, error) { - rsp, err := c.PluginsBgpCommunityList(ctx, params, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityListResponse(rsp) -} -// PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityBulkPartialUpdate(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp) -} -// PluginsBgpCommunityCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityCreateResponse -func (c *ClientWithResponses) PluginsBgpCommunityCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) { - rsp, err := c.PluginsBgpCommunityCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasTagsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityCreateWithResponse(ctx context.Context, body PluginsBgpCommunityCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityCreateResponse, error) { - rsp, err := c.PluginsBgpCommunityCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityCreateResponse(rsp) + + return response, nil } -// PluginsBgpCommunityBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityBulkUpdateWithBody(ctx, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityBulkUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityBulkUpdateWithResponse(ctx context.Context, body PluginsBgpCommunityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityBulkUpdateResponse(rsp) + + return response, nil } -// PluginsBgpCommunityDestroyWithResponse request returning *PluginsBgpCommunityDestroyResponse -func (c *ClientWithResponses) PluginsBgpCommunityDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityDestroyResponse, error) { - rsp, err := c.PluginsBgpCommunityDestroy(ctx, id, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityDestroyResponse(rsp) -} -// PluginsBgpCommunityRetrieveWithResponse request returning *PluginsBgpCommunityRetrieveResponse -func (c *ClientWithResponses) PluginsBgpCommunityRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityRetrieveResponse, error) { - rsp, err := c.PluginsBgpCommunityRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityRetrieveResponse(rsp) -} -// PluginsBgpCommunityPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpCommunityPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityPartialUpdate(ctx, id, body, reqEditors...) +// 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 } - return ParsePluginsBgpCommunityPartialUpdateResponse(rsp) -} -// PluginsBgpCommunityUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpCommunityUpdateResponse -func (c *ClientWithResponses) PluginsBgpCommunityUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpCommunityUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpCommunityUpdateWithResponse(ctx context.Context, id int, body PluginsBgpCommunityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpCommunityUpdateResponse, error) { - rsp, err := c.PluginsBgpCommunityUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpCommunityUpdateResponse(rsp) + + return response, nil } -// PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpPeerGroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPeerGroupBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpPeerGroupBulkDestroy(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp) -} -// PluginsBgpPeerGroupListWithResponse request returning *PluginsBgpPeerGroupListResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupListResponse, error) { - rsp, err := c.PluginsBgpPeerGroupList(ctx, params, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpPeerGroupListResponse(rsp) + + return response, nil } -// PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPeerGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp) -} -// PluginsBgpPeerGroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupCreateResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpPeerGroupCreateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPeerGroupCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupCreateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupCreate(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpPeerGroupCreateResponse(rsp) -} -// PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPeerGroupBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupBulkUpdate(ctx, body, reqEditors...) +// 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 } - return ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp) -} -// PluginsBgpPeerGroupDestroyWithResponse request returning *PluginsBgpPeerGroupDestroyResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupDestroyResponse, error) { - rsp, err := c.PluginsBgpPeerGroupDestroy(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPeerGroupDestroyResponse(rsp) -} -// PluginsBgpPeerGroupRetrieveWithResponse request returning *PluginsBgpPeerGroupRetrieveResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupRetrieveResponse, error) { - rsp, err := c.PluginsBgpPeerGroupRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpPeerGroupRetrieveResponse(rsp) + + return response, nil } -// PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// 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 } - return ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPeerGroupPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupPartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp) -} -// PluginsBgpPeerGroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupUpdateResponse -func (c *ClientWithResponses) PluginsBgpPeerGroupUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + 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 ParsePluginsBgpPeerGroupUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPeerGroupUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPeerGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupUpdateResponse, error) { - rsp, err := c.PluginsBgpPeerGroupUpdate(ctx, id, body, reqEditors...) +// 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 } - return ParsePluginsBgpPeerGroupUpdateResponse(rsp) -} -// PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &ExtrasWebhooksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListRuleBulkDestroyResponse(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 } -func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleBulkDestroy(ctx, body, reqEditors...) +// ParsePluginsBgpBgppeergroupBulkDestroyResponse parses an HTTP response from a PluginsBgpBgppeergroupBulkDestroyWithResponse call +func ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp *http.Response) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRuleBulkDestroyResponse(rsp) + + response := &PluginsBgpBgppeergroupBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil } -// PluginsBgpPrefixListRuleListWithResponse request returning *PluginsBgpPrefixListRuleListResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleListWithResponse(ctx context.Context, params *PluginsBgpPrefixListRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleListResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleList(ctx, params, reqEditors...) +// ParsePluginsBgpBgppeergroupListResponse parses an HTTP response from a PluginsBgpBgppeergroupListWithResponse call +func ParsePluginsBgpBgppeergroupListResponse(rsp *http.Response) (*PluginsBgpBgppeergroupListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRuleListResponse(rsp) -} -// PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedBGPPeerGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp) + return response, nil } -// PluginsBgpPrefixListRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleCreateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleCreateWithBody(ctx, contentType, body, reqEditors...) +// ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupBulkPartialUpdateWithResponse call +func ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRuleCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPrefixListRuleCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleCreateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListRuleCreateResponse(rsp) -} -// PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []BGPPeerGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPrefixListRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleBulkUpdate(ctx, body, reqEditors...) +// ParsePluginsBgpBgppeergroupCreateResponse parses an HTTP response from a PluginsBgpBgppeergroupCreateWithResponse call +func ParsePluginsBgpBgppeergroupCreateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp) -} -// PluginsBgpPrefixListRuleDestroyWithResponse request returning *PluginsBgpPrefixListRuleDestroyResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleDestroyResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleDestroy(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListRuleDestroyResponse(rsp) -} -// PluginsBgpPrefixListRuleRetrieveWithResponse request returning *PluginsBgpPrefixListRuleRetrieveResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleRetrieveResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest BGPPeerGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + } - return ParsePluginsBgpPrefixListRuleRetrieveResponse(rsp) + + return response, nil } -// PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRulePartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// ParsePluginsBgpBgppeergroupBulkUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupBulkUpdateWithResponse call +func ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPrefixListRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRulePartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp) -} -// PluginsBgpPrefixListRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListRuleUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []BGPPeerGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListRuleUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPrefixListRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRuleUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListRuleUpdate(ctx, id, body, reqEditors...) +// ParsePluginsBgpBgppeergroupDestroyResponse parses an HTTP response from a PluginsBgpBgppeergroupDestroyWithResponse call +func ParsePluginsBgpBgppeergroupDestroyResponse(rsp *http.Response) (*PluginsBgpBgppeergroupDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRuleUpdateResponse(rsp) -} -// PluginsBgpPrefixListBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpPrefixListBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpPrefixListBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListBulkDestroyResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPrefixListBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpPrefixListBulkDestroy(ctx, body, reqEditors...) +// ParsePluginsBgpBgppeergroupRetrieveResponse parses an HTTP response from a PluginsBgpBgppeergroupRetrieveWithResponse call +func ParsePluginsBgpBgppeergroupRetrieveResponse(rsp *http.Response) (*PluginsBgpBgppeergroupRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListBulkDestroyResponse(rsp) -} -// PluginsBgpPrefixListListWithResponse request returning *PluginsBgpPrefixListListResponse -func (c *ClientWithResponses) PluginsBgpPrefixListListWithResponse(ctx context.Context, params *PluginsBgpPrefixListListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListListResponse, error) { - rsp, err := c.PluginsBgpPrefixListList(ctx, params, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListListResponse(rsp) -} -// PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest BGPPeerGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPrefixListBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListBulkPartialUpdate(ctx, body, reqEditors...) +// ParsePluginsBgpBgppeergroupPartialUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupPartialUpdateWithResponse call +func ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp) -} -// PluginsBgpPrefixListCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListCreateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) { - rsp, err := c.PluginsBgpPrefixListCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPrefixListCreateWithResponse(ctx context.Context, body PluginsBgpPrefixListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListCreateResponse, error) { - rsp, err := c.PluginsBgpPrefixListCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest BGPPeerGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListCreateResponse(rsp) + + return response, nil } -// PluginsBgpPrefixListBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListBulkUpdateWithBody(ctx, contentType, body, reqEditors...) +// ParsePluginsBgpBgppeergroupUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupUpdateWithResponse call +func ParsePluginsBgpBgppeergroupUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListBulkUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPrefixListBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPrefixListBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgppeergroupUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListBulkUpdateResponse(rsp) -} -// PluginsBgpPrefixListDestroyWithResponse request returning *PluginsBgpPrefixListDestroyResponse -func (c *ClientWithResponses) PluginsBgpPrefixListDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListDestroyResponse, error) { - rsp, err := c.PluginsBgpPrefixListDestroy(ctx, id, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest BGPPeerGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListDestroyResponse(rsp) + + return response, nil } -// PluginsBgpPrefixListRetrieveWithResponse request returning *PluginsBgpPrefixListRetrieveResponse -func (c *ClientWithResponses) PluginsBgpPrefixListRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListRetrieveResponse, error) { - rsp, err := c.PluginsBgpPrefixListRetrieve(ctx, id, reqEditors...) +// ParsePluginsBgpBgpsessionBulkDestroyResponse parses an HTTP response from a PluginsBgpBgpsessionBulkDestroyWithResponse call +func ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp *http.Response) (*PluginsBgpBgpsessionBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListRetrieveResponse(rsp) -} -// PluginsBgpPrefixListPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpPrefixListPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListPartialUpdate(ctx, id, body, reqEditors...) +// ParsePluginsBgpBgpsessionListResponse parses an HTTP response from a PluginsBgpBgpsessionListWithResponse call +func ParsePluginsBgpBgpsessionListResponse(rsp *http.Response) (*PluginsBgpBgpsessionListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpPrefixListPartialUpdateResponse(rsp) -} -// PluginsBgpPrefixListUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPrefixListUpdateResponse -func (c *ClientWithResponses) PluginsBgpPrefixListUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpPrefixListUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpPrefixListUpdateWithResponse(ctx context.Context, id int, body PluginsBgpPrefixListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPrefixListUpdateResponse, error) { - rsp, err := c.PluginsBgpPrefixListUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedBGPSessionList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpPrefixListUpdateResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) +// ParsePluginsBgpBgpsessionBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionBulkPartialUpdateWithResponse call +func ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleBulkDestroy(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse(rsp) -} -// PluginsBgpRoutingPolicyRuleListWithResponse request returning *PluginsBgpRoutingPolicyRuleListResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleListResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleList(ctx, params, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []BGPSession + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyRuleListResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) +// ParsePluginsBgpBgpsessionCreateResponse parses an HTTP response from a PluginsBgpBgpsessionCreateWithResponse call +func ParsePluginsBgpBgpsessionCreateResponse(rsp *http.Response) (*PluginsBgpBgpsessionCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp) -} -// PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleCreateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest BGPSession + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + } - return ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleCreate(ctx, body, reqEditors...) +// ParsePluginsBgpBgpsessionBulkUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionBulkUpdateWithResponse call +func ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp) -} -// PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []BGPSession + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyRuleDestroyWithResponse request returning *PluginsBgpRoutingPolicyRuleDestroyResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleDestroyResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleDestroy(ctx, id, reqEditors...) +// ParsePluginsBgpBgpsessionDestroyResponse parses an HTTP response from a PluginsBgpBgpsessionDestroyWithResponse call +func ParsePluginsBgpBgpsessionDestroyResponse(rsp *http.Response) (*PluginsBgpBgpsessionDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRuleDestroyResponse(rsp) -} -// PluginsBgpRoutingPolicyRuleRetrieveWithResponse request returning *PluginsBgpRoutingPolicyRuleRetrieveResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleRetrieveResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyRuleRetrieveResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRulePartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// ParsePluginsBgpBgpsessionRetrieveResponse parses an HTTP response from a PluginsBgpBgpsessionRetrieveWithResponse call +func ParsePluginsBgpBgpsessionRetrieveResponse(rsp *http.Response) (*PluginsBgpBgpsessionRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRulePartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRulePartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp) -} -// PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyRuleUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest BGPSession + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRuleUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRuleUpdate(ctx, id, body, reqEditors...) +// ParsePluginsBgpBgpsessionPartialUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionPartialUpdateWithResponse call +func ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp) -} -// PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyBulkDestroy(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest BGPSession + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyListWithResponse request returning *PluginsBgpRoutingPolicyListResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyListWithResponse(ctx context.Context, params *PluginsBgpRoutingPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyListResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyList(ctx, params, reqEditors...) +// ParsePluginsBgpBgpsessionUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionUpdateWithResponse call +func ParsePluginsBgpBgpsessionUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyListResponse(rsp) -} -// PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpBgpsessionUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest BGPSession + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyCreateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyCreateWithBody(ctx, contentType, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleBulkDestroyResponse parses an HTTP response from a PluginsBgpCommunityListRuleBulkDestroyWithResponse call +func ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyCreateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyCreateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyCreateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyCreateResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyBulkUpdateWithBody(ctx, contentType, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleListResponse parses an HTTP response from a PluginsBgpCommunityListRuleListWithResponse call +func ParsePluginsBgpCommunityListRuleListResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp) -} -// PluginsBgpRoutingPolicyDestroyWithResponse request returning *PluginsBgpRoutingPolicyDestroyResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyDestroyResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyDestroy(ctx, id, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCommunityListRuleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyDestroyResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyRetrieveWithResponse request returning *PluginsBgpRoutingPolicyRetrieveResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyRetrieveResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyRetrieve(ctx, id, reqEditors...) +// ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRuleBulkPartialUpdateWithResponse call +func ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyRetrieveResponse(rsp) -} -// PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyPartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CommunityListRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp) + + return response, nil } -// PluginsBgpRoutingPolicyUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingPolicyUpdateResponse -func (c *ClientWithResponses) PluginsBgpRoutingPolicyUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleCreateResponse parses an HTTP response from a PluginsBgpCommunityListRuleCreateWithResponse call +func ParsePluginsBgpCommunityListRuleCreateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpRoutingPolicyUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpRoutingPolicyUpdateWithResponse(ctx context.Context, id int, body PluginsBgpRoutingPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingPolicyUpdateResponse, error) { - rsp, err := c.PluginsBgpRoutingPolicyUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpRoutingPolicyUpdateResponse(rsp) -} -// PluginsBgpSessionBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionBulkDestroyResponse -func (c *ClientWithResponses) PluginsBgpSessionBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpSessionBulkDestroyWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CommunityListRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + } - return ParsePluginsBgpSessionBulkDestroyResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpSessionBulkDestroyWithResponse(ctx context.Context, body PluginsBgpSessionBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkDestroyResponse, error) { - rsp, err := c.PluginsBgpSessionBulkDestroy(ctx, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleBulkUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRuleBulkUpdateWithResponse call +func ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpSessionBulkDestroyResponse(rsp) -} -// PluginsBgpSessionListWithResponse request returning *PluginsBgpSessionListResponse -func (c *ClientWithResponses) PluginsBgpSessionListWithResponse(ctx context.Context, params *PluginsBgpSessionListParams, reqEditors ...RequestEditorFn) (*PluginsBgpSessionListResponse, error) { - rsp, err := c.PluginsBgpSessionList(ctx, params, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpSessionListResponse(rsp) -} -// PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionBulkPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpSessionBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CommunityListRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpSessionBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionBulkPartialUpdate(ctx, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleDestroyResponse parses an HTTP response from a PluginsBgpCommunityListRuleDestroyWithResponse call +func ParsePluginsBgpCommunityListRuleDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp) -} -// PluginsBgpSessionCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionCreateResponse -func (c *ClientWithResponses) PluginsBgpSessionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) { - rsp, err := c.PluginsBgpSessionCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpSessionCreateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpSessionCreateWithResponse(ctx context.Context, body PluginsBgpSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionCreateResponse, error) { - rsp, err := c.PluginsBgpSessionCreate(ctx, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleRetrieveResponse parses an HTTP response from a PluginsBgpCommunityListRuleRetrieveWithResponse call +func ParsePluginsBgpCommunityListRuleRetrieveResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpSessionCreateResponse(rsp) -} -// PluginsBgpSessionBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionBulkUpdateResponse -func (c *ClientWithResponses) PluginsBgpSessionBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpSessionBulkUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpSessionBulkUpdateWithResponse(ctx context.Context, body PluginsBgpSessionBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionBulkUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CommunityListRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpSessionBulkUpdateResponse(rsp) + + return response, nil } -// PluginsBgpSessionDestroyWithResponse request returning *PluginsBgpSessionDestroyResponse -func (c *ClientWithResponses) PluginsBgpSessionDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionDestroyResponse, error) { - rsp, err := c.PluginsBgpSessionDestroy(ctx, id, reqEditors...) +// ParsePluginsBgpCommunityListRulePartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRulePartialUpdateWithResponse call +func ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpSessionDestroyResponse(rsp) -} -// PluginsBgpSessionRetrieveWithResponse request returning *PluginsBgpSessionRetrieveResponse -func (c *ClientWithResponses) PluginsBgpSessionRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PluginsBgpSessionRetrieveResponse, error) { - rsp, err := c.PluginsBgpSessionRetrieve(ctx, id, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRulePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpSessionRetrieveResponse(rsp) -} -// PluginsBgpSessionPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionPartialUpdateResponse -func (c *ClientWithResponses) PluginsBgpSessionPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CommunityListRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpSessionPartialUpdateResponse(rsp) + + return response, nil } -func (c *ClientWithResponses) PluginsBgpSessionPartialUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionPartialUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionPartialUpdate(ctx, id, body, reqEditors...) +// ParsePluginsBgpCommunityListRuleUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRuleUpdateWithResponse call +func ParsePluginsBgpCommunityListRuleUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - return ParsePluginsBgpSessionPartialUpdateResponse(rsp) -} -// PluginsBgpSessionUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpSessionUpdateResponse -func (c *ClientWithResponses) PluginsBgpSessionUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err + response := &PluginsBgpCommunityListRuleUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, } - return ParsePluginsBgpSessionUpdateResponse(rsp) -} -func (c *ClientWithResponses) PluginsBgpSessionUpdateWithResponse(ctx context.Context, id int, body PluginsBgpSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpSessionUpdateResponse, error) { - rsp, err := c.PluginsBgpSessionUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CommunityListRule + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + } - return ParsePluginsBgpSessionUpdateResponse(rsp) + + return response, nil } -// ParsePluginsBgpBgppeergroupBulkDestroyResponse parses an HTTP response from a PluginsBgpBgppeergroupBulkDestroyWithResponse call -func ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp *http.Response) (*PluginsBgpBgppeergroupBulkDestroyResponse, error) { +// ParsePluginsBgpCommunityListBulkDestroyResponse parses an HTTP response from a PluginsBgpCommunityListBulkDestroyWithResponse call +func ParsePluginsBgpCommunityListBulkDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupBulkDestroyResponse{ + response := &PluginsBgpCommunityListBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -23392,22 +71607,22 @@ func ParsePluginsBgpBgppeergroupBulkDestroyResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpBgppeergroupListResponse parses an HTTP response from a PluginsBgpBgppeergroupListWithResponse call -func ParsePluginsBgpBgppeergroupListResponse(rsp *http.Response) (*PluginsBgpBgppeergroupListResponse, error) { +// ParsePluginsBgpCommunityListListResponse parses an HTTP response from a PluginsBgpCommunityListListWithResponse call +func ParsePluginsBgpCommunityListListResponse(rsp *http.Response) (*PluginsBgpCommunityListListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupListResponse{ + response := &PluginsBgpCommunityListListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedBGPPeerGroupList + var dest PaginatedCommunityListList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23418,22 +71633,22 @@ func ParsePluginsBgpBgppeergroupListResponse(rsp *http.Response) (*PluginsBgpBgp return response, nil } -// ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupBulkPartialUpdateWithResponse call -func ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupBulkPartialUpdateResponse, error) { +// ParsePluginsBgpCommunityListBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListBulkPartialUpdateWithResponse call +func ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupBulkPartialUpdateResponse{ + response := &PluginsBgpCommunityListBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPPeerGroup + var dest []CommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23444,22 +71659,22 @@ func ParsePluginsBgpBgppeergroupBulkPartialUpdateResponse(rsp *http.Response) (* return response, nil } -// ParsePluginsBgpBgppeergroupCreateResponse parses an HTTP response from a PluginsBgpBgppeergroupCreateWithResponse call -func ParsePluginsBgpBgppeergroupCreateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupCreateResponse, error) { +// ParsePluginsBgpCommunityListCreateResponse parses an HTTP response from a PluginsBgpCommunityListCreateWithResponse call +func ParsePluginsBgpCommunityListCreateResponse(rsp *http.Response) (*PluginsBgpCommunityListCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupCreateResponse{ + response := &PluginsBgpCommunityListCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest BGPPeerGroup + var dest CommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23470,22 +71685,22 @@ func ParsePluginsBgpBgppeergroupCreateResponse(rsp *http.Response) (*PluginsBgpB return response, nil } -// ParsePluginsBgpBgppeergroupBulkUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupBulkUpdateWithResponse call -func ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupBulkUpdateResponse, error) { +// ParsePluginsBgpCommunityListBulkUpdateResponse parses an HTTP response from a PluginsBgpCommunityListBulkUpdateWithResponse call +func ParsePluginsBgpCommunityListBulkUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupBulkUpdateResponse{ + response := &PluginsBgpCommunityListBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPPeerGroup + var dest []CommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23496,15 +71711,15 @@ func ParsePluginsBgpBgppeergroupBulkUpdateResponse(rsp *http.Response) (*Plugins return response, nil } -// ParsePluginsBgpBgppeergroupDestroyResponse parses an HTTP response from a PluginsBgpBgppeergroupDestroyWithResponse call -func ParsePluginsBgpBgppeergroupDestroyResponse(rsp *http.Response) (*PluginsBgpBgppeergroupDestroyResponse, error) { +// ParsePluginsBgpCommunityListDestroyResponse parses an HTTP response from a PluginsBgpCommunityListDestroyWithResponse call +func ParsePluginsBgpCommunityListDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupDestroyResponse{ + response := &PluginsBgpCommunityListDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -23512,22 +71727,22 @@ func ParsePluginsBgpBgppeergroupDestroyResponse(rsp *http.Response) (*PluginsBgp return response, nil } -// ParsePluginsBgpBgppeergroupRetrieveResponse parses an HTTP response from a PluginsBgpBgppeergroupRetrieveWithResponse call -func ParsePluginsBgpBgppeergroupRetrieveResponse(rsp *http.Response) (*PluginsBgpBgppeergroupRetrieveResponse, error) { +// ParsePluginsBgpCommunityListRetrieveResponse parses an HTTP response from a PluginsBgpCommunityListRetrieveWithResponse call +func ParsePluginsBgpCommunityListRetrieveResponse(rsp *http.Response) (*PluginsBgpCommunityListRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupRetrieveResponse{ + response := &PluginsBgpCommunityListRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPPeerGroup + var dest CommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23538,22 +71753,22 @@ func ParsePluginsBgpBgppeergroupRetrieveResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpBgppeergroupPartialUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupPartialUpdateWithResponse call -func ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupPartialUpdateResponse, error) { +// ParsePluginsBgpCommunityListPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListPartialUpdateWithResponse call +func ParsePluginsBgpCommunityListPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupPartialUpdateResponse{ + response := &PluginsBgpCommunityListPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPPeerGroup + var dest CommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23564,22 +71779,22 @@ func ParsePluginsBgpBgppeergroupPartialUpdateResponse(rsp *http.Response) (*Plug return response, nil } -// ParsePluginsBgpBgppeergroupUpdateResponse parses an HTTP response from a PluginsBgpBgppeergroupUpdateWithResponse call -func ParsePluginsBgpBgppeergroupUpdateResponse(rsp *http.Response) (*PluginsBgpBgppeergroupUpdateResponse, error) { +// ParsePluginsBgpCommunityListUpdateResponse parses an HTTP response from a PluginsBgpCommunityListUpdateWithResponse call +func ParsePluginsBgpCommunityListUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgppeergroupUpdateResponse{ + response := &PluginsBgpCommunityListUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPPeerGroup + var dest CommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23590,15 +71805,15 @@ func ParsePluginsBgpBgppeergroupUpdateResponse(rsp *http.Response) (*PluginsBgpB return response, nil } -// ParsePluginsBgpBgpsessionBulkDestroyResponse parses an HTTP response from a PluginsBgpBgpsessionBulkDestroyWithResponse call -func ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp *http.Response) (*PluginsBgpBgpsessionBulkDestroyResponse, error) { +// ParsePluginsBgpCommunityBulkDestroyResponse parses an HTTP response from a PluginsBgpCommunityBulkDestroyWithResponse call +func ParsePluginsBgpCommunityBulkDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionBulkDestroyResponse{ + response := &PluginsBgpCommunityBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -23606,22 +71821,22 @@ func ParsePluginsBgpBgpsessionBulkDestroyResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpBgpsessionListResponse parses an HTTP response from a PluginsBgpBgpsessionListWithResponse call -func ParsePluginsBgpBgpsessionListResponse(rsp *http.Response) (*PluginsBgpBgpsessionListResponse, error) { +// ParsePluginsBgpCommunityListResponse parses an HTTP response from a PluginsBgpCommunityListWithResponse call +func ParsePluginsBgpCommunityListResponse(rsp *http.Response) (*PluginsBgpCommunityListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionListResponse{ + response := &PluginsBgpCommunityListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedBGPSessionList + var dest PaginatedCommunityList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23632,22 +71847,22 @@ func ParsePluginsBgpBgpsessionListResponse(rsp *http.Response) (*PluginsBgpBgpse return response, nil } -// ParsePluginsBgpBgpsessionBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionBulkPartialUpdateWithResponse call -func ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionBulkPartialUpdateResponse, error) { +// ParsePluginsBgpCommunityBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityBulkPartialUpdateWithResponse call +func ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionBulkPartialUpdateResponse{ + response := &PluginsBgpCommunityBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPSession + var dest []Community if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23658,22 +71873,22 @@ func ParsePluginsBgpBgpsessionBulkPartialUpdateResponse(rsp *http.Response) (*Pl return response, nil } -// ParsePluginsBgpBgpsessionCreateResponse parses an HTTP response from a PluginsBgpBgpsessionCreateWithResponse call -func ParsePluginsBgpBgpsessionCreateResponse(rsp *http.Response) (*PluginsBgpBgpsessionCreateResponse, error) { +// ParsePluginsBgpCommunityCreateResponse parses an HTTP response from a PluginsBgpCommunityCreateWithResponse call +func ParsePluginsBgpCommunityCreateResponse(rsp *http.Response) (*PluginsBgpCommunityCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionCreateResponse{ + response := &PluginsBgpCommunityCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest BGPSession + var dest Community if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23684,22 +71899,22 @@ func ParsePluginsBgpBgpsessionCreateResponse(rsp *http.Response) (*PluginsBgpBgp return response, nil } -// ParsePluginsBgpBgpsessionBulkUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionBulkUpdateWithResponse call -func ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionBulkUpdateResponse, error) { +// ParsePluginsBgpCommunityBulkUpdateResponse parses an HTTP response from a PluginsBgpCommunityBulkUpdateWithResponse call +func ParsePluginsBgpCommunityBulkUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionBulkUpdateResponse{ + response := &PluginsBgpCommunityBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPSession + var dest []Community if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23710,15 +71925,15 @@ func ParsePluginsBgpBgpsessionBulkUpdateResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpBgpsessionDestroyResponse parses an HTTP response from a PluginsBgpBgpsessionDestroyWithResponse call -func ParsePluginsBgpBgpsessionDestroyResponse(rsp *http.Response) (*PluginsBgpBgpsessionDestroyResponse, error) { +// ParsePluginsBgpCommunityDestroyResponse parses an HTTP response from a PluginsBgpCommunityDestroyWithResponse call +func ParsePluginsBgpCommunityDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionDestroyResponse{ + response := &PluginsBgpCommunityDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -23726,22 +71941,22 @@ func ParsePluginsBgpBgpsessionDestroyResponse(rsp *http.Response) (*PluginsBgpBg return response, nil } -// ParsePluginsBgpBgpsessionRetrieveResponse parses an HTTP response from a PluginsBgpBgpsessionRetrieveWithResponse call -func ParsePluginsBgpBgpsessionRetrieveResponse(rsp *http.Response) (*PluginsBgpBgpsessionRetrieveResponse, error) { +// ParsePluginsBgpCommunityRetrieveResponse parses an HTTP response from a PluginsBgpCommunityRetrieveWithResponse call +func ParsePluginsBgpCommunityRetrieveResponse(rsp *http.Response) (*PluginsBgpCommunityRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionRetrieveResponse{ + response := &PluginsBgpCommunityRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPSession + var dest Community if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23752,22 +71967,22 @@ func ParsePluginsBgpBgpsessionRetrieveResponse(rsp *http.Response) (*PluginsBgpB return response, nil } -// ParsePluginsBgpBgpsessionPartialUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionPartialUpdateWithResponse call -func ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionPartialUpdateResponse, error) { +// ParsePluginsBgpCommunityPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityPartialUpdateWithResponse call +func ParsePluginsBgpCommunityPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionPartialUpdateResponse{ + response := &PluginsBgpCommunityPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPSession + var dest Community if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23778,22 +71993,22 @@ func ParsePluginsBgpBgpsessionPartialUpdateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpBgpsessionUpdateResponse parses an HTTP response from a PluginsBgpBgpsessionUpdateWithResponse call -func ParsePluginsBgpBgpsessionUpdateResponse(rsp *http.Response) (*PluginsBgpBgpsessionUpdateResponse, error) { +// ParsePluginsBgpCommunityUpdateResponse parses an HTTP response from a PluginsBgpCommunityUpdateWithResponse call +func ParsePluginsBgpCommunityUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpBgpsessionUpdateResponse{ + response := &PluginsBgpCommunityUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPSession + var dest Community if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23804,15 +72019,15 @@ func ParsePluginsBgpBgpsessionUpdateResponse(rsp *http.Response) (*PluginsBgpBgp return response, nil } -// ParsePluginsBgpCommunityListRuleBulkDestroyResponse parses an HTTP response from a PluginsBgpCommunityListRuleBulkDestroyWithResponse call -func ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleBulkDestroyResponse, error) { +// ParsePluginsBgpPeerGroupBulkDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupBulkDestroyWithResponse call +func ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleBulkDestroyResponse{ + response := &PluginsBgpPeerGroupBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -23820,22 +72035,22 @@ func ParsePluginsBgpCommunityListRuleBulkDestroyResponse(rsp *http.Response) (*P return response, nil } -// ParsePluginsBgpCommunityListRuleListResponse parses an HTTP response from a PluginsBgpCommunityListRuleListWithResponse call -func ParsePluginsBgpCommunityListRuleListResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleListResponse, error) { +// ParsePluginsBgpPeerGroupListResponse parses an HTTP response from a PluginsBgpPeerGroupListWithResponse call +func ParsePluginsBgpPeerGroupListResponse(rsp *http.Response) (*PluginsBgpPeerGroupListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleListResponse{ + response := &PluginsBgpPeerGroupListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedCommunityListRuleList + var dest PaginatedBGPPeerGroupList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23846,22 +72061,22 @@ func ParsePluginsBgpCommunityListRuleListResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRuleBulkPartialUpdateWithResponse call -func ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleBulkPartialUpdateResponse, error) { +// ParsePluginsBgpPeerGroupBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupBulkPartialUpdateWithResponse call +func ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleBulkPartialUpdateResponse{ + response := &PluginsBgpPeerGroupBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []CommunityListRule + var dest []BGPPeerGroup if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23872,22 +72087,22 @@ func ParsePluginsBgpCommunityListRuleBulkPartialUpdateResponse(rsp *http.Respons return response, nil } -// ParsePluginsBgpCommunityListRuleCreateResponse parses an HTTP response from a PluginsBgpCommunityListRuleCreateWithResponse call -func ParsePluginsBgpCommunityListRuleCreateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleCreateResponse, error) { +// ParsePluginsBgpPeerGroupCreateResponse parses an HTTP response from a PluginsBgpPeerGroupCreateWithResponse call +func ParsePluginsBgpPeerGroupCreateResponse(rsp *http.Response) (*PluginsBgpPeerGroupCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleCreateResponse{ + response := &PluginsBgpPeerGroupCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest CommunityListRule + var dest BGPPeerGroup if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23898,22 +72113,22 @@ func ParsePluginsBgpCommunityListRuleCreateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpCommunityListRuleBulkUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRuleBulkUpdateWithResponse call -func ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleBulkUpdateResponse, error) { +// ParsePluginsBgpPeerGroupBulkUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupBulkUpdateWithResponse call +func ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleBulkUpdateResponse{ + response := &PluginsBgpPeerGroupBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []CommunityListRule + var dest []BGPPeerGroup if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23924,15 +72139,15 @@ func ParsePluginsBgpCommunityListRuleBulkUpdateResponse(rsp *http.Response) (*Pl return response, nil } -// ParsePluginsBgpCommunityListRuleDestroyResponse parses an HTTP response from a PluginsBgpCommunityListRuleDestroyWithResponse call -func ParsePluginsBgpCommunityListRuleDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleDestroyResponse, error) { +// ParsePluginsBgpPeerGroupDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupDestroyWithResponse call +func ParsePluginsBgpPeerGroupDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleDestroyResponse{ + response := &PluginsBgpPeerGroupDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -23940,22 +72155,22 @@ func ParsePluginsBgpCommunityListRuleDestroyResponse(rsp *http.Response) (*Plugi return response, nil } -// ParsePluginsBgpCommunityListRuleRetrieveResponse parses an HTTP response from a PluginsBgpCommunityListRuleRetrieveWithResponse call -func ParsePluginsBgpCommunityListRuleRetrieveResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleRetrieveResponse, error) { +// ParsePluginsBgpPeerGroupRetrieveResponse parses an HTTP response from a PluginsBgpPeerGroupRetrieveWithResponse call +func ParsePluginsBgpPeerGroupRetrieveResponse(rsp *http.Response) (*PluginsBgpPeerGroupRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleRetrieveResponse{ + response := &PluginsBgpPeerGroupRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CommunityListRule + var dest BGPPeerGroup if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23966,22 +72181,22 @@ func ParsePluginsBgpCommunityListRuleRetrieveResponse(rsp *http.Response) (*Plug return response, nil } -// ParsePluginsBgpCommunityListRulePartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRulePartialUpdateWithResponse call -func ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRulePartialUpdateResponse, error) { +// ParsePluginsBgpPeerGroupPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupPartialUpdateWithResponse call +func ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRulePartialUpdateResponse{ + response := &PluginsBgpPeerGroupPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CommunityListRule + var dest BGPPeerGroup if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23992,22 +72207,22 @@ func ParsePluginsBgpCommunityListRulePartialUpdateResponse(rsp *http.Response) ( return response, nil } -// ParsePluginsBgpCommunityListRuleUpdateResponse parses an HTTP response from a PluginsBgpCommunityListRuleUpdateWithResponse call -func ParsePluginsBgpCommunityListRuleUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListRuleUpdateResponse, error) { +// ParsePluginsBgpPeerGroupUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupUpdateWithResponse call +func ParsePluginsBgpPeerGroupUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRuleUpdateResponse{ + response := &PluginsBgpPeerGroupUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CommunityListRule + var dest BGPPeerGroup if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24018,15 +72233,15 @@ func ParsePluginsBgpCommunityListRuleUpdateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpCommunityListBulkDestroyResponse parses an HTTP response from a PluginsBgpCommunityListBulkDestroyWithResponse call -func ParsePluginsBgpCommunityListBulkDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListBulkDestroyResponse, error) { +// ParsePluginsBgpPrefixListRuleBulkDestroyResponse parses an HTTP response from a PluginsBgpPrefixListRuleBulkDestroyWithResponse call +func ParsePluginsBgpPrefixListRuleBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListBulkDestroyResponse{ + response := &PluginsBgpPrefixListRuleBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24034,22 +72249,22 @@ func ParsePluginsBgpCommunityListBulkDestroyResponse(rsp *http.Response) (*Plugi return response, nil } -// ParsePluginsBgpCommunityListListResponse parses an HTTP response from a PluginsBgpCommunityListListWithResponse call -func ParsePluginsBgpCommunityListListResponse(rsp *http.Response) (*PluginsBgpCommunityListListResponse, error) { +// ParsePluginsBgpPrefixListRuleListResponse parses an HTTP response from a PluginsBgpPrefixListRuleListWithResponse call +func ParsePluginsBgpPrefixListRuleListResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListListResponse{ + response := &PluginsBgpPrefixListRuleListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedCommunityListList + var dest PaginatedPrefixListRuleList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24060,22 +72275,22 @@ func ParsePluginsBgpCommunityListListResponse(rsp *http.Response) (*PluginsBgpCo return response, nil } -// ParsePluginsBgpCommunityListBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListBulkPartialUpdateWithResponse call -func ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListBulkPartialUpdateResponse, error) { +// ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRuleBulkPartialUpdateWithResponse call +func ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListBulkPartialUpdateResponse{ + response := &PluginsBgpPrefixListRuleBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []CommunityList + var dest []PrefixListRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24086,22 +72301,22 @@ func ParsePluginsBgpCommunityListBulkPartialUpdateResponse(rsp *http.Response) ( return response, nil } -// ParsePluginsBgpCommunityListCreateResponse parses an HTTP response from a PluginsBgpCommunityListCreateWithResponse call -func ParsePluginsBgpCommunityListCreateResponse(rsp *http.Response) (*PluginsBgpCommunityListCreateResponse, error) { +// ParsePluginsBgpPrefixListRuleCreateResponse parses an HTTP response from a PluginsBgpPrefixListRuleCreateWithResponse call +func ParsePluginsBgpPrefixListRuleCreateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListCreateResponse{ + response := &PluginsBgpPrefixListRuleCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest CommunityList + var dest PrefixListRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24111,23 +72326,23 @@ func ParsePluginsBgpCommunityListCreateResponse(rsp *http.Response) (*PluginsBgp return response, nil } - -// ParsePluginsBgpCommunityListBulkUpdateResponse parses an HTTP response from a PluginsBgpCommunityListBulkUpdateWithResponse call -func ParsePluginsBgpCommunityListBulkUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListBulkUpdateResponse, error) { + +// ParsePluginsBgpPrefixListRuleBulkUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRuleBulkUpdateWithResponse call +func ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListBulkUpdateResponse{ + response := &PluginsBgpPrefixListRuleBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []CommunityList + var dest []PrefixListRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24138,15 +72353,15 @@ func ParsePluginsBgpCommunityListBulkUpdateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpCommunityListDestroyResponse parses an HTTP response from a PluginsBgpCommunityListDestroyWithResponse call -func ParsePluginsBgpCommunityListDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityListDestroyResponse, error) { +// ParsePluginsBgpPrefixListRuleDestroyResponse parses an HTTP response from a PluginsBgpPrefixListRuleDestroyWithResponse call +func ParsePluginsBgpPrefixListRuleDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListDestroyResponse{ + response := &PluginsBgpPrefixListRuleDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24154,22 +72369,22 @@ func ParsePluginsBgpCommunityListDestroyResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpCommunityListRetrieveResponse parses an HTTP response from a PluginsBgpCommunityListRetrieveWithResponse call -func ParsePluginsBgpCommunityListRetrieveResponse(rsp *http.Response) (*PluginsBgpCommunityListRetrieveResponse, error) { +// ParsePluginsBgpPrefixListRuleRetrieveResponse parses an HTTP response from a PluginsBgpPrefixListRuleRetrieveWithResponse call +func ParsePluginsBgpPrefixListRuleRetrieveResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListRetrieveResponse{ + response := &PluginsBgpPrefixListRuleRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CommunityList + var dest PrefixListRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24180,22 +72395,22 @@ func ParsePluginsBgpCommunityListRetrieveResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpCommunityListPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityListPartialUpdateWithResponse call -func ParsePluginsBgpCommunityListPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListPartialUpdateResponse, error) { +// ParsePluginsBgpPrefixListRulePartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRulePartialUpdateWithResponse call +func ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListPartialUpdateResponse{ + response := &PluginsBgpPrefixListRulePartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CommunityList + var dest PrefixListRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24206,22 +72421,22 @@ func ParsePluginsBgpCommunityListPartialUpdateResponse(rsp *http.Response) (*Plu return response, nil } -// ParsePluginsBgpCommunityListUpdateResponse parses an HTTP response from a PluginsBgpCommunityListUpdateWithResponse call -func ParsePluginsBgpCommunityListUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityListUpdateResponse, error) { +// ParsePluginsBgpPrefixListRuleUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRuleUpdateWithResponse call +func ParsePluginsBgpPrefixListRuleUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListUpdateResponse{ + response := &PluginsBgpPrefixListRuleUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CommunityList + var dest PrefixListRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24232,15 +72447,15 @@ func ParsePluginsBgpCommunityListUpdateResponse(rsp *http.Response) (*PluginsBgp return response, nil } -// ParsePluginsBgpCommunityBulkDestroyResponse parses an HTTP response from a PluginsBgpCommunityBulkDestroyWithResponse call -func ParsePluginsBgpCommunityBulkDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityBulkDestroyResponse, error) { +// ParsePluginsBgpPrefixListBulkDestroyResponse parses an HTTP response from a PluginsBgpPrefixListBulkDestroyWithResponse call +func ParsePluginsBgpPrefixListBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityBulkDestroyResponse{ + response := &PluginsBgpPrefixListBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24248,22 +72463,22 @@ func ParsePluginsBgpCommunityBulkDestroyResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpCommunityListResponse parses an HTTP response from a PluginsBgpCommunityListWithResponse call -func ParsePluginsBgpCommunityListResponse(rsp *http.Response) (*PluginsBgpCommunityListResponse, error) { +// ParsePluginsBgpPrefixListListResponse parses an HTTP response from a PluginsBgpPrefixListListWithResponse call +func ParsePluginsBgpPrefixListListResponse(rsp *http.Response) (*PluginsBgpPrefixListListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityListResponse{ + response := &PluginsBgpPrefixListListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedCommunityList + var dest PaginatedPrefixListList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24274,22 +72489,22 @@ func ParsePluginsBgpCommunityListResponse(rsp *http.Response) (*PluginsBgpCommun return response, nil } -// ParsePluginsBgpCommunityBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityBulkPartialUpdateWithResponse call -func ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityBulkPartialUpdateResponse, error) { +// ParsePluginsBgpPrefixListBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListBulkPartialUpdateWithResponse call +func ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityBulkPartialUpdateResponse{ + response := &PluginsBgpPrefixListBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []Community + var dest []PrefixList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24300,22 +72515,22 @@ func ParsePluginsBgpCommunityBulkPartialUpdateResponse(rsp *http.Response) (*Plu return response, nil } -// ParsePluginsBgpCommunityCreateResponse parses an HTTP response from a PluginsBgpCommunityCreateWithResponse call -func ParsePluginsBgpCommunityCreateResponse(rsp *http.Response) (*PluginsBgpCommunityCreateResponse, error) { +// ParsePluginsBgpPrefixListCreateResponse parses an HTTP response from a PluginsBgpPrefixListCreateWithResponse call +func ParsePluginsBgpPrefixListCreateResponse(rsp *http.Response) (*PluginsBgpPrefixListCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityCreateResponse{ + response := &PluginsBgpPrefixListCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest Community + var dest PrefixList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24326,22 +72541,22 @@ func ParsePluginsBgpCommunityCreateResponse(rsp *http.Response) (*PluginsBgpComm return response, nil } -// ParsePluginsBgpCommunityBulkUpdateResponse parses an HTTP response from a PluginsBgpCommunityBulkUpdateWithResponse call -func ParsePluginsBgpCommunityBulkUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityBulkUpdateResponse, error) { +// ParsePluginsBgpPrefixListBulkUpdateResponse parses an HTTP response from a PluginsBgpPrefixListBulkUpdateWithResponse call +func ParsePluginsBgpPrefixListBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityBulkUpdateResponse{ + response := &PluginsBgpPrefixListBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []Community + var dest []PrefixList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24352,15 +72567,15 @@ func ParsePluginsBgpCommunityBulkUpdateResponse(rsp *http.Response) (*PluginsBgp return response, nil } -// ParsePluginsBgpCommunityDestroyResponse parses an HTTP response from a PluginsBgpCommunityDestroyWithResponse call -func ParsePluginsBgpCommunityDestroyResponse(rsp *http.Response) (*PluginsBgpCommunityDestroyResponse, error) { +// ParsePluginsBgpPrefixListDestroyResponse parses an HTTP response from a PluginsBgpPrefixListDestroyWithResponse call +func ParsePluginsBgpPrefixListDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityDestroyResponse{ + response := &PluginsBgpPrefixListDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24368,22 +72583,22 @@ func ParsePluginsBgpCommunityDestroyResponse(rsp *http.Response) (*PluginsBgpCom return response, nil } -// ParsePluginsBgpCommunityRetrieveResponse parses an HTTP response from a PluginsBgpCommunityRetrieveWithResponse call -func ParsePluginsBgpCommunityRetrieveResponse(rsp *http.Response) (*PluginsBgpCommunityRetrieveResponse, error) { +// ParsePluginsBgpPrefixListRetrieveResponse parses an HTTP response from a PluginsBgpPrefixListRetrieveWithResponse call +func ParsePluginsBgpPrefixListRetrieveResponse(rsp *http.Response) (*PluginsBgpPrefixListRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityRetrieveResponse{ + response := &PluginsBgpPrefixListRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest Community + var dest PrefixList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24394,22 +72609,22 @@ func ParsePluginsBgpCommunityRetrieveResponse(rsp *http.Response) (*PluginsBgpCo return response, nil } -// ParsePluginsBgpCommunityPartialUpdateResponse parses an HTTP response from a PluginsBgpCommunityPartialUpdateWithResponse call -func ParsePluginsBgpCommunityPartialUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityPartialUpdateResponse, error) { +// ParsePluginsBgpPrefixListPartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListPartialUpdateWithResponse call +func ParsePluginsBgpPrefixListPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityPartialUpdateResponse{ + response := &PluginsBgpPrefixListPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest Community + var dest PrefixList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24420,22 +72635,22 @@ func ParsePluginsBgpCommunityPartialUpdateResponse(rsp *http.Response) (*Plugins return response, nil } -// ParsePluginsBgpCommunityUpdateResponse parses an HTTP response from a PluginsBgpCommunityUpdateWithResponse call -func ParsePluginsBgpCommunityUpdateResponse(rsp *http.Response) (*PluginsBgpCommunityUpdateResponse, error) { +// ParsePluginsBgpPrefixListUpdateResponse parses an HTTP response from a PluginsBgpPrefixListUpdateWithResponse call +func ParsePluginsBgpPrefixListUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpCommunityUpdateResponse{ + response := &PluginsBgpPrefixListUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest Community + var dest PrefixList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24446,15 +72661,15 @@ func ParsePluginsBgpCommunityUpdateResponse(rsp *http.Response) (*PluginsBgpComm return response, nil } -// ParsePluginsBgpPeerGroupBulkDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupBulkDestroyWithResponse call -func ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupBulkDestroyResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleBulkDestroyWithResponse call +func ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupBulkDestroyResponse{ + response := &PluginsBgpRoutingPolicyRuleBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24462,22 +72677,22 @@ func ParsePluginsBgpPeerGroupBulkDestroyResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpPeerGroupListResponse parses an HTTP response from a PluginsBgpPeerGroupListWithResponse call -func ParsePluginsBgpPeerGroupListResponse(rsp *http.Response) (*PluginsBgpPeerGroupListResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleListResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleListWithResponse call +func ParsePluginsBgpRoutingPolicyRuleListResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupListResponse{ + response := &PluginsBgpRoutingPolicyRuleListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedBGPPeerGroupList + var dest PaginatedRoutingPolicyRuleList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24488,22 +72703,22 @@ func ParsePluginsBgpPeerGroupListResponse(rsp *http.Response) (*PluginsBgpPeerGr return response, nil } -// ParsePluginsBgpPeerGroupBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupBulkPartialUpdateWithResponse call -func ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupBulkPartialUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupBulkPartialUpdateResponse{ + response := &PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPPeerGroup + var dest []RoutingPolicyRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24514,22 +72729,22 @@ func ParsePluginsBgpPeerGroupBulkPartialUpdateResponse(rsp *http.Response) (*Plu return response, nil } -// ParsePluginsBgpPeerGroupCreateResponse parses an HTTP response from a PluginsBgpPeerGroupCreateWithResponse call -func ParsePluginsBgpPeerGroupCreateResponse(rsp *http.Response) (*PluginsBgpPeerGroupCreateResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleCreateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleCreateWithResponse call +func ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupCreateResponse{ + response := &PluginsBgpRoutingPolicyRuleCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest BGPPeerGroup + var dest RoutingPolicyRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24540,22 +72755,22 @@ func ParsePluginsBgpPeerGroupCreateResponse(rsp *http.Response) (*PluginsBgpPeer return response, nil } -// ParsePluginsBgpPeerGroupBulkUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupBulkUpdateWithResponse call -func ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupBulkUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleBulkUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupBulkUpdateResponse{ + response := &PluginsBgpRoutingPolicyRuleBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPPeerGroup + var dest []RoutingPolicyRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24566,15 +72781,15 @@ func ParsePluginsBgpPeerGroupBulkUpdateResponse(rsp *http.Response) (*PluginsBgp return response, nil } -// ParsePluginsBgpPeerGroupDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupDestroyWithResponse call -func ParsePluginsBgpPeerGroupDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupDestroyResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleDestroyWithResponse call +func ParsePluginsBgpRoutingPolicyRuleDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupDestroyResponse{ + response := &PluginsBgpRoutingPolicyRuleDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24582,22 +72797,22 @@ func ParsePluginsBgpPeerGroupDestroyResponse(rsp *http.Response) (*PluginsBgpPee return response, nil } -// ParsePluginsBgpPeerGroupRetrieveResponse parses an HTTP response from a PluginsBgpPeerGroupRetrieveWithResponse call -func ParsePluginsBgpPeerGroupRetrieveResponse(rsp *http.Response) (*PluginsBgpPeerGroupRetrieveResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleRetrieveResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleRetrieveWithResponse call +func ParsePluginsBgpRoutingPolicyRuleRetrieveResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupRetrieveResponse{ + response := &PluginsBgpRoutingPolicyRuleRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPPeerGroup + var dest RoutingPolicyRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24608,22 +72823,22 @@ func ParsePluginsBgpPeerGroupRetrieveResponse(rsp *http.Response) (*PluginsBgpPe return response, nil } -// ParsePluginsBgpPeerGroupPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupPartialUpdateWithResponse call -func ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupPartialUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRulePartialUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupPartialUpdateResponse{ + response := &PluginsBgpRoutingPolicyRulePartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPPeerGroup + var dest RoutingPolicyRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24634,22 +72849,22 @@ func ParsePluginsBgpPeerGroupPartialUpdateResponse(rsp *http.Response) (*Plugins return response, nil } -// ParsePluginsBgpPeerGroupUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupUpdateWithResponse call -func ParsePluginsBgpPeerGroupUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyRuleUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPeerGroupUpdateResponse{ + response := &PluginsBgpRoutingPolicyRuleUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPPeerGroup + var dest RoutingPolicyRule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24660,15 +72875,15 @@ func ParsePluginsBgpPeerGroupUpdateResponse(rsp *http.Response) (*PluginsBgpPeer return response, nil } -// ParsePluginsBgpPrefixListRuleBulkDestroyResponse parses an HTTP response from a PluginsBgpPrefixListRuleBulkDestroyWithResponse call -func ParsePluginsBgpPrefixListRuleBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleBulkDestroyResponse, error) { +// ParsePluginsBgpRoutingPolicyBulkDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyBulkDestroyWithResponse call +func ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleBulkDestroyResponse{ + response := &PluginsBgpRoutingPolicyBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24676,22 +72891,22 @@ func ParsePluginsBgpPrefixListRuleBulkDestroyResponse(rsp *http.Response) (*Plug return response, nil } -// ParsePluginsBgpPrefixListRuleListResponse parses an HTTP response from a PluginsBgpPrefixListRuleListWithResponse call -func ParsePluginsBgpPrefixListRuleListResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleListResponse, error) { +// ParsePluginsBgpRoutingPolicyListResponse parses an HTTP response from a PluginsBgpRoutingPolicyListWithResponse call +func ParsePluginsBgpRoutingPolicyListResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleListResponse{ + response := &PluginsBgpRoutingPolicyListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedPrefixListRuleList + var dest PaginatedRoutingPolicyList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24702,22 +72917,22 @@ func ParsePluginsBgpPrefixListRuleListResponse(rsp *http.Response) (*PluginsBgpP return response, nil } -// ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRuleBulkPartialUpdateWithResponse call -func ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleBulkPartialUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyBulkPartialUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleBulkPartialUpdateResponse{ + response := &PluginsBgpRoutingPolicyBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []PrefixListRule + var dest []RoutingPolicy if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24728,22 +72943,22 @@ func ParsePluginsBgpPrefixListRuleBulkPartialUpdateResponse(rsp *http.Response) return response, nil } -// ParsePluginsBgpPrefixListRuleCreateResponse parses an HTTP response from a PluginsBgpPrefixListRuleCreateWithResponse call -func ParsePluginsBgpPrefixListRuleCreateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleCreateResponse, error) { +// ParsePluginsBgpRoutingPolicyCreateResponse parses an HTTP response from a PluginsBgpRoutingPolicyCreateWithResponse call +func ParsePluginsBgpRoutingPolicyCreateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleCreateResponse{ + response := &PluginsBgpRoutingPolicyCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest PrefixListRule + var dest RoutingPolicy if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24754,22 +72969,22 @@ func ParsePluginsBgpPrefixListRuleCreateResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpPrefixListRuleBulkUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRuleBulkUpdateWithResponse call -func ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleBulkUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyBulkUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyBulkUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleBulkUpdateResponse{ + response := &PluginsBgpRoutingPolicyBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []PrefixListRule + var dest []RoutingPolicy if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24780,15 +72995,15 @@ func ParsePluginsBgpPrefixListRuleBulkUpdateResponse(rsp *http.Response) (*Plugi return response, nil } -// ParsePluginsBgpPrefixListRuleDestroyResponse parses an HTTP response from a PluginsBgpPrefixListRuleDestroyWithResponse call -func ParsePluginsBgpPrefixListRuleDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleDestroyResponse, error) { +// ParsePluginsBgpRoutingPolicyDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyDestroyWithResponse call +func ParsePluginsBgpRoutingPolicyDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleDestroyResponse{ + response := &PluginsBgpRoutingPolicyDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24796,22 +73011,22 @@ func ParsePluginsBgpPrefixListRuleDestroyResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpPrefixListRuleRetrieveResponse parses an HTTP response from a PluginsBgpPrefixListRuleRetrieveWithResponse call -func ParsePluginsBgpPrefixListRuleRetrieveResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleRetrieveResponse, error) { +// ParsePluginsBgpRoutingPolicyRetrieveResponse parses an HTTP response from a PluginsBgpRoutingPolicyRetrieveWithResponse call +func ParsePluginsBgpRoutingPolicyRetrieveResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleRetrieveResponse{ + response := &PluginsBgpRoutingPolicyRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PrefixListRule + var dest RoutingPolicy if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24822,22 +73037,22 @@ func ParsePluginsBgpPrefixListRuleRetrieveResponse(rsp *http.Response) (*Plugins return response, nil } -// ParsePluginsBgpPrefixListRulePartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRulePartialUpdateWithResponse call -func ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRulePartialUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyPartialUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRulePartialUpdateResponse{ + response := &PluginsBgpRoutingPolicyPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PrefixListRule + var dest RoutingPolicy if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24848,22 +73063,22 @@ func ParsePluginsBgpPrefixListRulePartialUpdateResponse(rsp *http.Response) (*Pl return response, nil } -// ParsePluginsBgpPrefixListRuleUpdateResponse parses an HTTP response from a PluginsBgpPrefixListRuleUpdateWithResponse call -func ParsePluginsBgpPrefixListRuleUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListRuleUpdateResponse, error) { +// ParsePluginsBgpRoutingPolicyUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyUpdateWithResponse call +func ParsePluginsBgpRoutingPolicyUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRuleUpdateResponse{ + response := &PluginsBgpRoutingPolicyUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PrefixListRule + var dest RoutingPolicy if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24874,15 +73089,15 @@ func ParsePluginsBgpPrefixListRuleUpdateResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpPrefixListBulkDestroyResponse parses an HTTP response from a PluginsBgpPrefixListBulkDestroyWithResponse call -func ParsePluginsBgpPrefixListBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListBulkDestroyResponse, error) { +// ParsePluginsBgpSessionBulkDestroyResponse parses an HTTP response from a PluginsBgpSessionBulkDestroyWithResponse call +func ParsePluginsBgpSessionBulkDestroyResponse(rsp *http.Response) (*PluginsBgpSessionBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListBulkDestroyResponse{ + response := &PluginsBgpSessionBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -24890,22 +73105,22 @@ func ParsePluginsBgpPrefixListBulkDestroyResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpPrefixListListResponse parses an HTTP response from a PluginsBgpPrefixListListWithResponse call -func ParsePluginsBgpPrefixListListResponse(rsp *http.Response) (*PluginsBgpPrefixListListResponse, error) { +// ParsePluginsBgpSessionListResponse parses an HTTP response from a PluginsBgpSessionListWithResponse call +func ParsePluginsBgpSessionListResponse(rsp *http.Response) (*PluginsBgpSessionListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListListResponse{ + response := &PluginsBgpSessionListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedPrefixListList + var dest PaginatedBGPSessionList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24916,22 +73131,22 @@ func ParsePluginsBgpPrefixListListResponse(rsp *http.Response) (*PluginsBgpPrefi return response, nil } -// ParsePluginsBgpPrefixListBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListBulkPartialUpdateWithResponse call -func ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListBulkPartialUpdateResponse, error) { +// ParsePluginsBgpSessionBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpSessionBulkPartialUpdateWithResponse call +func ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpSessionBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListBulkPartialUpdateResponse{ + response := &PluginsBgpSessionBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []PrefixList + var dest []BGPSession if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24942,22 +73157,22 @@ func ParsePluginsBgpPrefixListBulkPartialUpdateResponse(rsp *http.Response) (*Pl return response, nil } -// ParsePluginsBgpPrefixListCreateResponse parses an HTTP response from a PluginsBgpPrefixListCreateWithResponse call -func ParsePluginsBgpPrefixListCreateResponse(rsp *http.Response) (*PluginsBgpPrefixListCreateResponse, error) { +// ParsePluginsBgpSessionCreateResponse parses an HTTP response from a PluginsBgpSessionCreateWithResponse call +func ParsePluginsBgpSessionCreateResponse(rsp *http.Response) (*PluginsBgpSessionCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListCreateResponse{ + response := &PluginsBgpSessionCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest PrefixList + var dest BGPSession if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24968,22 +73183,22 @@ func ParsePluginsBgpPrefixListCreateResponse(rsp *http.Response) (*PluginsBgpPre return response, nil } -// ParsePluginsBgpPrefixListBulkUpdateResponse parses an HTTP response from a PluginsBgpPrefixListBulkUpdateWithResponse call -func ParsePluginsBgpPrefixListBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListBulkUpdateResponse, error) { +// ParsePluginsBgpSessionBulkUpdateResponse parses an HTTP response from a PluginsBgpSessionBulkUpdateWithResponse call +func ParsePluginsBgpSessionBulkUpdateResponse(rsp *http.Response) (*PluginsBgpSessionBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListBulkUpdateResponse{ + response := &PluginsBgpSessionBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []PrefixList + var dest []BGPSession if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24994,15 +73209,15 @@ func ParsePluginsBgpPrefixListBulkUpdateResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpPrefixListDestroyResponse parses an HTTP response from a PluginsBgpPrefixListDestroyWithResponse call -func ParsePluginsBgpPrefixListDestroyResponse(rsp *http.Response) (*PluginsBgpPrefixListDestroyResponse, error) { +// ParsePluginsBgpSessionDestroyResponse parses an HTTP response from a PluginsBgpSessionDestroyWithResponse call +func ParsePluginsBgpSessionDestroyResponse(rsp *http.Response) (*PluginsBgpSessionDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListDestroyResponse{ + response := &PluginsBgpSessionDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -25010,22 +73225,22 @@ func ParsePluginsBgpPrefixListDestroyResponse(rsp *http.Response) (*PluginsBgpPr return response, nil } -// ParsePluginsBgpPrefixListRetrieveResponse parses an HTTP response from a PluginsBgpPrefixListRetrieveWithResponse call -func ParsePluginsBgpPrefixListRetrieveResponse(rsp *http.Response) (*PluginsBgpPrefixListRetrieveResponse, error) { +// ParsePluginsBgpSessionRetrieveResponse parses an HTTP response from a PluginsBgpSessionRetrieveWithResponse call +func ParsePluginsBgpSessionRetrieveResponse(rsp *http.Response) (*PluginsBgpSessionRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListRetrieveResponse{ + response := &PluginsBgpSessionRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PrefixList + var dest BGPSession if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25036,22 +73251,22 @@ func ParsePluginsBgpPrefixListRetrieveResponse(rsp *http.Response) (*PluginsBgpP return response, nil } -// ParsePluginsBgpPrefixListPartialUpdateResponse parses an HTTP response from a PluginsBgpPrefixListPartialUpdateWithResponse call -func ParsePluginsBgpPrefixListPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListPartialUpdateResponse, error) { +// ParsePluginsBgpSessionPartialUpdateResponse parses an HTTP response from a PluginsBgpSessionPartialUpdateWithResponse call +func ParsePluginsBgpSessionPartialUpdateResponse(rsp *http.Response) (*PluginsBgpSessionPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListPartialUpdateResponse{ + response := &PluginsBgpSessionPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PrefixList + var dest BGPSession if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25062,22 +73277,22 @@ func ParsePluginsBgpPrefixListPartialUpdateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpPrefixListUpdateResponse parses an HTTP response from a PluginsBgpPrefixListUpdateWithResponse call -func ParsePluginsBgpPrefixListUpdateResponse(rsp *http.Response) (*PluginsBgpPrefixListUpdateResponse, error) { +// ParsePluginsBgpSessionUpdateResponse parses an HTTP response from a PluginsBgpSessionUpdateWithResponse call +func ParsePluginsBgpSessionUpdateResponse(rsp *http.Response) (*PluginsBgpSessionUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpPrefixListUpdateResponse{ + response := &PluginsBgpSessionUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PrefixList + var dest BGPSession if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25088,38 +73303,113 @@ func ParsePluginsBgpPrefixListUpdateResponse(rsp *http.Response) (*PluginsBgpPre return response, nil } -// ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleBulkDestroyWithResponse call -func ParsePluginsBgpRoutingPolicyRuleBulkDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleBulkDestroyResponse, error) { +// ParsePluginsSecretsActivateUserKeyCreateResponse parses an HTTP response from a PluginsSecretsActivateUserKeyCreateWithResponse call +func ParsePluginsSecretsActivateUserKeyCreateResponse(rsp *http.Response) (*PluginsSecretsActivateUserKeyCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleBulkDestroyResponse{ + response := &PluginsSecretsActivateUserKeyCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest string + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest string + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParsePluginsSecretsGenerateRsaKeyPairListResponse parses an HTTP response from a PluginsSecretsGenerateRsaKeyPairListWithResponse call +func ParsePluginsSecretsGenerateRsaKeyPairListResponse(rsp *http.Response) (*PluginsSecretsGenerateRsaKeyPairListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsSecretsGenerateRsaKeyPairListResponse{ Body: bodyBytes, HTTPResponse: rsp, } + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RSAKeyPair + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + return response, nil } -// ParsePluginsBgpRoutingPolicyRuleListResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleListWithResponse call -func ParsePluginsBgpRoutingPolicyRuleListResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleListResponse, error) { +// ParsePluginsSecretsGetSessionKeyCreateResponse parses an HTTP response from a PluginsSecretsGetSessionKeyCreateWithResponse call +func ParsePluginsSecretsGetSessionKeyCreateResponse(rsp *http.Response) (*PluginsSecretsGetSessionKeyCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleListResponse{ + response := &PluginsSecretsGetSessionKeyCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsSecretsSecretRolesBulkDestroyResponse parses an HTTP response from a PluginsSecretsSecretRolesBulkDestroyWithResponse call +func ParsePluginsSecretsSecretRolesBulkDestroyResponse(rsp *http.Response) (*PluginsSecretsSecretRolesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsSecretsSecretRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsSecretsSecretRolesListResponse parses an HTTP response from a PluginsSecretsSecretRolesListWithResponse call +func ParsePluginsSecretsSecretRolesListResponse(rsp *http.Response) (*PluginsSecretsSecretRolesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsSecretsSecretRolesListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedRoutingPolicyRuleList + var dest PaginatedSecretRoleList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25130,22 +73420,22 @@ func ParsePluginsBgpRoutingPolicyRuleListResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleBulkPartialUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse, error) { +// ParsePluginsSecretsSecretRolesBulkPartialUpdateResponse parses an HTTP response from a PluginsSecretsSecretRolesBulkPartialUpdateWithResponse call +func ParsePluginsSecretsSecretRolesBulkPartialUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretRolesBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse{ + response := &PluginsSecretsSecretRolesBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []RoutingPolicyRule + var dest []SecretRole if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25156,22 +73446,22 @@ func ParsePluginsBgpRoutingPolicyRuleBulkPartialUpdateResponse(rsp *http.Respons return response, nil } -// ParsePluginsBgpRoutingPolicyRuleCreateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleCreateWithResponse call -func ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleCreateResponse, error) { +// ParsePluginsSecretsSecretRolesCreateResponse parses an HTTP response from a PluginsSecretsSecretRolesCreateWithResponse call +func ParsePluginsSecretsSecretRolesCreateResponse(rsp *http.Response) (*PluginsSecretsSecretRolesCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleCreateResponse{ + response := &PluginsSecretsSecretRolesCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest RoutingPolicyRule + var dest SecretRole if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25182,22 +73472,22 @@ func ParsePluginsBgpRoutingPolicyRuleCreateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleBulkUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleBulkUpdateResponse, error) { +// ParsePluginsSecretsSecretRolesBulkUpdateResponse parses an HTTP response from a PluginsSecretsSecretRolesBulkUpdateWithResponse call +func ParsePluginsSecretsSecretRolesBulkUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretRolesBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleBulkUpdateResponse{ + response := &PluginsSecretsSecretRolesBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []RoutingPolicyRule + var dest []SecretRole if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25208,15 +73498,15 @@ func ParsePluginsBgpRoutingPolicyRuleBulkUpdateResponse(rsp *http.Response) (*Pl return response, nil } -// ParsePluginsBgpRoutingPolicyRuleDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleDestroyWithResponse call -func ParsePluginsBgpRoutingPolicyRuleDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleDestroyResponse, error) { +// ParsePluginsSecretsSecretRolesDestroyResponse parses an HTTP response from a PluginsSecretsSecretRolesDestroyWithResponse call +func ParsePluginsSecretsSecretRolesDestroyResponse(rsp *http.Response) (*PluginsSecretsSecretRolesDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleDestroyResponse{ + response := &PluginsSecretsSecretRolesDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -25224,22 +73514,22 @@ func ParsePluginsBgpRoutingPolicyRuleDestroyResponse(rsp *http.Response) (*Plugi return response, nil } -// ParsePluginsBgpRoutingPolicyRuleRetrieveResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleRetrieveWithResponse call -func ParsePluginsBgpRoutingPolicyRuleRetrieveResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleRetrieveResponse, error) { +// ParsePluginsSecretsSecretRolesRetrieveResponse parses an HTTP response from a PluginsSecretsSecretRolesRetrieveWithResponse call +func ParsePluginsSecretsSecretRolesRetrieveResponse(rsp *http.Response) (*PluginsSecretsSecretRolesRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleRetrieveResponse{ + response := &PluginsSecretsSecretRolesRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RoutingPolicyRule + var dest SecretRole if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25250,22 +73540,22 @@ func ParsePluginsBgpRoutingPolicyRuleRetrieveResponse(rsp *http.Response) (*Plug return response, nil } -// ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRulePartialUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRulePartialUpdateResponse, error) { +// ParsePluginsSecretsSecretRolesPartialUpdateResponse parses an HTTP response from a PluginsSecretsSecretRolesPartialUpdateWithResponse call +func ParsePluginsSecretsSecretRolesPartialUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretRolesPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRulePartialUpdateResponse{ + response := &PluginsSecretsSecretRolesPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RoutingPolicyRule + var dest SecretRole if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25276,22 +73566,22 @@ func ParsePluginsBgpRoutingPolicyRulePartialUpdateResponse(rsp *http.Response) ( return response, nil } -// ParsePluginsBgpRoutingPolicyRuleUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyRuleUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRuleUpdateResponse, error) { +// ParsePluginsSecretsSecretRolesUpdateResponse parses an HTTP response from a PluginsSecretsSecretRolesUpdateWithResponse call +func ParsePluginsSecretsSecretRolesUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretRolesUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRuleUpdateResponse{ + response := &PluginsSecretsSecretRolesUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RoutingPolicyRule + var dest SecretRole if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25302,15 +73592,15 @@ func ParsePluginsBgpRoutingPolicyRuleUpdateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpRoutingPolicyBulkDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyBulkDestroyWithResponse call -func ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyBulkDestroyResponse, error) { +// ParsePluginsSecretsSecretsBulkDestroyResponse parses an HTTP response from a PluginsSecretsSecretsBulkDestroyWithResponse call +func ParsePluginsSecretsSecretsBulkDestroyResponse(rsp *http.Response) (*PluginsSecretsSecretsBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyBulkDestroyResponse{ + response := &PluginsSecretsSecretsBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -25318,22 +73608,22 @@ func ParsePluginsBgpRoutingPolicyBulkDestroyResponse(rsp *http.Response) (*Plugi return response, nil } -// ParsePluginsBgpRoutingPolicyListResponse parses an HTTP response from a PluginsBgpRoutingPolicyListWithResponse call -func ParsePluginsBgpRoutingPolicyListResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyListResponse, error) { +// ParsePluginsSecretsSecretsListResponse parses an HTTP response from a PluginsSecretsSecretsListWithResponse call +func ParsePluginsSecretsSecretsListResponse(rsp *http.Response) (*PluginsSecretsSecretsListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyListResponse{ + response := &PluginsSecretsSecretsListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedRoutingPolicyList + var dest PaginatedSecretList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25344,22 +73634,22 @@ func ParsePluginsBgpRoutingPolicyListResponse(rsp *http.Response) (*PluginsBgpRo return response, nil } -// ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyBulkPartialUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyBulkPartialUpdateResponse, error) { +// ParsePluginsSecretsSecretsBulkPartialUpdateResponse parses an HTTP response from a PluginsSecretsSecretsBulkPartialUpdateWithResponse call +func ParsePluginsSecretsSecretsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretsBulkPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyBulkPartialUpdateResponse{ + response := &PluginsSecretsSecretsBulkPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []RoutingPolicy + var dest []Secret if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25370,22 +73660,22 @@ func ParsePluginsBgpRoutingPolicyBulkPartialUpdateResponse(rsp *http.Response) ( return response, nil } -// ParsePluginsBgpRoutingPolicyCreateResponse parses an HTTP response from a PluginsBgpRoutingPolicyCreateWithResponse call -func ParsePluginsBgpRoutingPolicyCreateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyCreateResponse, error) { +// ParsePluginsSecretsSecretsCreateResponse parses an HTTP response from a PluginsSecretsSecretsCreateWithResponse call +func ParsePluginsSecretsSecretsCreateResponse(rsp *http.Response) (*PluginsSecretsSecretsCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyCreateResponse{ + response := &PluginsSecretsSecretsCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest RoutingPolicy + var dest Secret if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25396,22 +73686,22 @@ func ParsePluginsBgpRoutingPolicyCreateResponse(rsp *http.Response) (*PluginsBgp return response, nil } -// ParsePluginsBgpRoutingPolicyBulkUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyBulkUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyBulkUpdateResponse, error) { +// ParsePluginsSecretsSecretsBulkUpdateResponse parses an HTTP response from a PluginsSecretsSecretsBulkUpdateWithResponse call +func ParsePluginsSecretsSecretsBulkUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretsBulkUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyBulkUpdateResponse{ + response := &PluginsSecretsSecretsBulkUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []RoutingPolicy + var dest []Secret if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25422,15 +73712,15 @@ func ParsePluginsBgpRoutingPolicyBulkUpdateResponse(rsp *http.Response) (*Plugin return response, nil } -// ParsePluginsBgpRoutingPolicyDestroyResponse parses an HTTP response from a PluginsBgpRoutingPolicyDestroyWithResponse call -func ParsePluginsBgpRoutingPolicyDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyDestroyResponse, error) { +// ParsePluginsSecretsSecretsDestroyResponse parses an HTTP response from a PluginsSecretsSecretsDestroyWithResponse call +func ParsePluginsSecretsSecretsDestroyResponse(rsp *http.Response) (*PluginsSecretsSecretsDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyDestroyResponse{ + response := &PluginsSecretsSecretsDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -25438,22 +73728,22 @@ func ParsePluginsBgpRoutingPolicyDestroyResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpRoutingPolicyRetrieveResponse parses an HTTP response from a PluginsBgpRoutingPolicyRetrieveWithResponse call -func ParsePluginsBgpRoutingPolicyRetrieveResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyRetrieveResponse, error) { +// ParsePluginsSecretsSecretsRetrieveResponse parses an HTTP response from a PluginsSecretsSecretsRetrieveWithResponse call +func ParsePluginsSecretsSecretsRetrieveResponse(rsp *http.Response) (*PluginsSecretsSecretsRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyRetrieveResponse{ + response := &PluginsSecretsSecretsRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RoutingPolicy + var dest Secret if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25464,22 +73754,22 @@ func ParsePluginsBgpRoutingPolicyRetrieveResponse(rsp *http.Response) (*PluginsB return response, nil } -// ParsePluginsBgpRoutingPolicyPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyPartialUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyPartialUpdateResponse, error) { +// ParsePluginsSecretsSecretsPartialUpdateResponse parses an HTTP response from a PluginsSecretsSecretsPartialUpdateWithResponse call +func ParsePluginsSecretsSecretsPartialUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretsPartialUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyPartialUpdateResponse{ + response := &PluginsSecretsSecretsPartialUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RoutingPolicy + var dest Secret if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25490,22 +73780,22 @@ func ParsePluginsBgpRoutingPolicyPartialUpdateResponse(rsp *http.Response) (*Plu return response, nil } -// ParsePluginsBgpRoutingPolicyUpdateResponse parses an HTTP response from a PluginsBgpRoutingPolicyUpdateWithResponse call -func ParsePluginsBgpRoutingPolicyUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingPolicyUpdateResponse, error) { +// ParsePluginsSecretsSecretsUpdateResponse parses an HTTP response from a PluginsSecretsSecretsUpdateWithResponse call +func ParsePluginsSecretsSecretsUpdateResponse(rsp *http.Response) (*PluginsSecretsSecretsUpdateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpRoutingPolicyUpdateResponse{ + response := &PluginsSecretsSecretsUpdateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RoutingPolicy + var dest Secret if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25516,64 +73806,38 @@ func ParsePluginsBgpRoutingPolicyUpdateResponse(rsp *http.Response) (*PluginsBgp return response, nil } -// ParsePluginsBgpSessionBulkDestroyResponse parses an HTTP response from a PluginsBgpSessionBulkDestroyWithResponse call -func ParsePluginsBgpSessionBulkDestroyResponse(rsp *http.Response) (*PluginsBgpSessionBulkDestroyResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PluginsBgpSessionBulkDestroyResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePluginsBgpSessionListResponse parses an HTTP response from a PluginsBgpSessionListWithResponse call -func ParsePluginsBgpSessionListResponse(rsp *http.Response) (*PluginsBgpSessionListResponse, error) { +// ParsePluginsSecretsSessionKeysBulkDestroyResponse parses an HTTP response from a PluginsSecretsSessionKeysBulkDestroyWithResponse call +func ParsePluginsSecretsSessionKeysBulkDestroyResponse(rsp *http.Response) (*PluginsSecretsSessionKeysBulkDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionListResponse{ + response := &PluginsSecretsSessionKeysBulkDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PaginatedBGPSessionList - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - return response, nil } -// ParsePluginsBgpSessionBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpSessionBulkPartialUpdateWithResponse call -func ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpSessionBulkPartialUpdateResponse, error) { +// ParsePluginsSecretsSessionKeysListResponse parses an HTTP response from a PluginsSecretsSessionKeysListWithResponse call +func ParsePluginsSecretsSessionKeysListResponse(rsp *http.Response) (*PluginsSecretsSessionKeysListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionBulkPartialUpdateResponse{ + response := &PluginsSecretsSessionKeysListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPSession + var dest PaginatedSessionKeyList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25584,67 +73848,48 @@ func ParsePluginsBgpSessionBulkPartialUpdateResponse(rsp *http.Response) (*Plugi return response, nil } -// ParsePluginsBgpSessionCreateResponse parses an HTTP response from a PluginsBgpSessionCreateWithResponse call -func ParsePluginsBgpSessionCreateResponse(rsp *http.Response) (*PluginsBgpSessionCreateResponse, error) { +// ParsePluginsSecretsSessionKeysCreateResponse parses an HTTP response from a PluginsSecretsSessionKeysCreateWithResponse call +func ParsePluginsSecretsSessionKeysCreateResponse(rsp *http.Response) (*PluginsSecretsSessionKeysCreateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionCreateResponse{ + response := &PluginsSecretsSessionKeysCreateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: - var dest BGPSession + var dest SessionKey if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON201 = &dest - } - - return response, nil -} - -// ParsePluginsBgpSessionBulkUpdateResponse parses an HTTP response from a PluginsBgpSessionBulkUpdateWithResponse call -func ParsePluginsBgpSessionBulkUpdateResponse(rsp *http.Response) (*PluginsBgpSessionBulkUpdateResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PluginsBgpSessionBulkUpdateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest []BGPSession + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest string if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest + response.JSON400 = &dest } return response, nil } -// ParsePluginsBgpSessionDestroyResponse parses an HTTP response from a PluginsBgpSessionDestroyWithResponse call -func ParsePluginsBgpSessionDestroyResponse(rsp *http.Response) (*PluginsBgpSessionDestroyResponse, error) { +// ParsePluginsSecretsSessionKeysDestroyResponse parses an HTTP response from a PluginsSecretsSessionKeysDestroyWithResponse call +func ParsePluginsSecretsSessionKeysDestroyResponse(rsp *http.Response) (*PluginsSecretsSessionKeysDestroyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionDestroyResponse{ + response := &PluginsSecretsSessionKeysDestroyResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -25652,22 +73897,22 @@ func ParsePluginsBgpSessionDestroyResponse(rsp *http.Response) (*PluginsBgpSessi return response, nil } -// ParsePluginsBgpSessionRetrieveResponse parses an HTTP response from a PluginsBgpSessionRetrieveWithResponse call -func ParsePluginsBgpSessionRetrieveResponse(rsp *http.Response) (*PluginsBgpSessionRetrieveResponse, error) { +// ParsePluginsSecretsSessionKeysRetrieveResponse parses an HTTP response from a PluginsSecretsSessionKeysRetrieveWithResponse call +func ParsePluginsSecretsSessionKeysRetrieveResponse(rsp *http.Response) (*PluginsSecretsSessionKeysRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionRetrieveResponse{ + response := &PluginsSecretsSessionKeysRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPSession + var dest SessionKey if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25678,22 +73923,22 @@ func ParsePluginsBgpSessionRetrieveResponse(rsp *http.Response) (*PluginsBgpSess return response, nil } -// ParsePluginsBgpSessionPartialUpdateResponse parses an HTTP response from a PluginsBgpSessionPartialUpdateWithResponse call -func ParsePluginsBgpSessionPartialUpdateResponse(rsp *http.Response) (*PluginsBgpSessionPartialUpdateResponse, error) { +// ParsePluginsSecretsUserKeysListResponse parses an HTTP response from a PluginsSecretsUserKeysListWithResponse call +func ParsePluginsSecretsUserKeysListResponse(rsp *http.Response) (*PluginsSecretsUserKeysListResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionPartialUpdateResponse{ + response := &PluginsSecretsUserKeysListResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPSession + var dest PaginatedUserKeyList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -25704,22 +73949,22 @@ func ParsePluginsBgpSessionPartialUpdateResponse(rsp *http.Response) (*PluginsBg return response, nil } -// ParsePluginsBgpSessionUpdateResponse parses an HTTP response from a PluginsBgpSessionUpdateWithResponse call -func ParsePluginsBgpSessionUpdateResponse(rsp *http.Response) (*PluginsBgpSessionUpdateResponse, error) { +// ParsePluginsSecretsUserKeysRetrieveResponse parses an HTTP response from a PluginsSecretsUserKeysRetrieveWithResponse call +func ParsePluginsSecretsUserKeysRetrieveResponse(rsp *http.Response) (*PluginsSecretsUserKeysRetrieveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PluginsBgpSessionUpdateResponse{ + response := &PluginsSecretsUserKeysRetrieveResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest BGPSession + var dest UserKey if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } diff --git a/client/config.yaml b/client/config.yaml index 6a38397..2aa03e8 100644 --- a/client/config.yaml +++ b/client/config.yaml @@ -6,4 +6,5 @@ generate: output-options: include-tags: - plugins + - extras output: client.gen.go diff --git a/client/openapi.json b/client/openapi.json index 28c3c81..b3ad10b 100644 --- a/client/openapi.json +++ b/client/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "NetBox REST API", - "version": "3.7.8 (3.7)", + "version": "4.0.9 (4.0)", "license": { "name": "Apache v2 License" } @@ -18,16 +18,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -473,6 +511,13 @@ "type": "integer" } }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "modified_by_request", @@ -591,6 +636,185 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "pp_info", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "pp_info__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "pp_info__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Provider (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Provider (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Provider (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Provider (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "provider_network_id", @@ -711,8 +935,13 @@ "schema": { "type": "string", "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination" - } + "title": "Termination", + "enum": [ + "A", + "Z" + ] + }, + "description": "* `A` - A\n* `Z` - Z" }, { "in": "query", @@ -720,8 +949,13 @@ "schema": { "type": "string", "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination" - } + "title": "Termination", + "enum": [ + "A", + "Z" + ] + }, + "description": "* `A` - A\n* `Z` - Z" }, { "in": "query", @@ -978,12 +1212,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableCircuitTerminationRequest" + "$ref": "#/components/schemas/CircuitTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableCircuitTerminationRequest" + "$ref": "#/components/schemas/CircuitTerminationRequest" } } }, @@ -1214,12 +1448,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableCircuitTerminationRequest" + "$ref": "#/components/schemas/CircuitTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableCircuitTerminationRequest" + "$ref": "#/components/schemas/CircuitTerminationRequest" } } }, @@ -1267,12 +1501,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableCircuitTerminationRequest" + "$ref": "#/components/schemas/PatchedCircuitTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableCircuitTerminationRequest" + "$ref": "#/components/schemas/PatchedCircuitTerminationRequest" } } } @@ -2869,10 +3103,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -2882,10 +3115,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -3463,6 +3695,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "provider_account", + "schema": { + "type": "array", + "items": { + "type": "string", + "title": "Account ID" + } + }, + "description": "Provider account (account)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider_account__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "title": "Account ID" + } + }, + "description": "Provider account (account)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "provider_account_id", @@ -3555,10 +3815,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -3568,10 +3827,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -3581,10 +3839,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -3594,10 +3851,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -3633,10 +3889,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -3646,10 +3901,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -3659,10 +3913,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -3672,10 +3925,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -3787,10 +4039,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -3800,10 +4051,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -3813,10 +4063,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -3826,10 +4075,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -3861,6 +4109,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "termination_a_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Termination A (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "termination_a_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Termination A (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "termination_date", @@ -3946,6 +4222,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "termination_z_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Termination A (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "termination_z_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Termination A (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "type", @@ -5216,12 +5520,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableProviderAccountRequest" + "$ref": "#/components/schemas/ProviderAccountRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableProviderAccountRequest" + "$ref": "#/components/schemas/ProviderAccountRequest" } } }, @@ -5452,12 +5756,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableProviderAccountRequest" + "$ref": "#/components/schemas/ProviderAccountRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableProviderAccountRequest" + "$ref": "#/components/schemas/ProviderAccountRequest" } } }, @@ -5505,12 +5809,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableProviderAccountRequest" + "$ref": "#/components/schemas/PatchedProviderAccountRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableProviderAccountRequest" + "$ref": "#/components/schemas/PatchedProviderAccountRequest" } } } @@ -6391,12 +6695,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableProviderNetworkRequest" + "$ref": "#/components/schemas/ProviderNetworkRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableProviderNetworkRequest" + "$ref": "#/components/schemas/ProviderNetworkRequest" } } }, @@ -6627,12 +6931,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableProviderNetworkRequest" + "$ref": "#/components/schemas/ProviderNetworkRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableProviderNetworkRequest" + "$ref": "#/components/schemas/ProviderNetworkRequest" } } }, @@ -6680,12 +6984,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableProviderNetworkRequest" + "$ref": "#/components/schemas/PatchedProviderNetworkRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableProviderNetworkRequest" + "$ref": "#/components/schemas/PatchedProviderNetworkRequest" } } } @@ -6838,10 +7142,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -6851,10 +7154,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -7462,10 +7764,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -7475,10 +7776,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -7488,10 +7788,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -7501,10 +7800,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -7540,10 +7838,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -7553,10 +7850,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -7566,10 +7862,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -7579,10 +7874,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -7806,12 +8100,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableProviderRequest" + "$ref": "#/components/schemas/ProviderRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableProviderRequest" + "$ref": "#/components/schemas/ProviderRequest" } } }, @@ -8042,12 +8336,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableProviderRequest" + "$ref": "#/components/schemas/ProviderRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableProviderRequest" + "$ref": "#/components/schemas/ProviderRequest" } } }, @@ -8095,12 +8389,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableProviderRequest" + "$ref": "#/components/schemas/PatchedProviderRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableProviderRequest" + "$ref": "#/components/schemas/PatchedProviderRequest" } } } @@ -9268,6 +9562,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_synced", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_synced__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "last_synced__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_synced__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_synced__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_synced__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_synced__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -9529,6 +9908,133 @@ }, "description": "Search" }, + { + "in": "query", + "name": "source_url", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "source_url__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "source_url__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "status", @@ -10274,6 +10780,14 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "job_id", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "name": "limit", "required": false, @@ -10714,8 +11228,13 @@ "schema": { "type": "string", "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" - } + "title": "End", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", @@ -10723,7 +11242,111 @@ "schema": { "type": "string", "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" + "title": "End", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "created", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" } }, { @@ -10811,6 +11434,97 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -10820,6 +11534,14 @@ "type": "integer" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "name": "offset", "required": false, @@ -10936,6 +11658,14 @@ "schema": { "type": "string" } + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -12062,16 +12792,34 @@ "name": "length_unit", "schema": { "type": "string", - "x-spec-enum-id": "e64ce3a2c5997172" - } + "x-spec-enum-id": "e64ce3a2c5997172", + "enum": [ + "cm", + "ft", + "in", + "km", + "m", + "mi" + ] + }, + "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches" }, { "in": "query", "name": "length_unit__n", "schema": { "type": "string", - "x-spec-enum-id": "e64ce3a2c5997172" - } + "x-spec-enum-id": "e64ce3a2c5997172", + "enum": [ + "cm", + "ft", + "in", + "km", + "m", + "mi" + ] + }, + "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches" }, { "name": "limit", @@ -12325,10 +13073,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -12338,10 +13085,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -12351,10 +13097,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -12364,10 +13109,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -13163,6 +13907,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -13276,6 +14048,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -13384,6 +14283,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -13570,16 +14497,28 @@ "name": "type", "schema": { "type": "string", - "x-spec-enum-id": "c5f7197b7211818a" - } + "x-spec-enum-id": "c5f7197b7211818a", + "enum": [ + "Other", + "Serial", + "USB" + ] + }, + "description": "* `Serial` - [('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')]\n* `USB` - [('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')]\n* `Other` - [('other', 'Other')]" }, { "in": "query", "name": "type__n", "schema": { "type": "string", - "x-spec-enum-id": "c5f7197b7211818a" - } + "x-spec-enum-id": "c5f7197b7211818a", + "enum": [ + "Other", + "Serial", + "USB" + ] + }, + "description": "* `Serial` - [('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')]\n* `USB` - [('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')]\n* `Other` - [('other', 'Other')]" }, { "in": "query", @@ -13986,16 +14925,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -14759,6 +15736,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "modified_by_request", @@ -15013,10 +15997,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -15026,88 +16009,33 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region_id__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -15143,10 +16071,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -15156,10 +16083,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -15169,10 +16095,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -15182,10 +16107,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -15215,6 +16139,46 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "speed", + "schema": { + "type": "integer", + "x-spec-enum-id": "ab6d9635c131a378", + "nullable": true, + "enum": [ + 115200, + 1200, + 19200, + 2400, + 38400, + 4800, + 57600, + 9600 + ] + }, + "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps" + }, + { + "in": "query", + "name": "speed__n", + "schema": { + "type": "integer", + "x-spec-enum-id": "ab6d9635c131a378", + "nullable": true, + "enum": [ + 115200, + 1200, + 19200, + 2400, + 38400, + 4800, + 57600, + 9600 + ] + }, + "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps" + }, { "in": "query", "name": "tag", @@ -15985,6 +16949,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -16098,6 +17090,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -16206,6 +17325,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -16392,16 +17539,28 @@ "name": "type", "schema": { "type": "string", - "x-spec-enum-id": "c5f7197b7211818a" - } + "x-spec-enum-id": "c5f7197b7211818a", + "enum": [ + "Other", + "Serial", + "USB" + ] + }, + "description": "* `Serial` - [('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')]\n* `USB` - [('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')]\n* `Other` - [('other', 'Other')]" }, { "in": "query", "name": "type__n", "schema": { "type": "string", - "x-spec-enum-id": "c5f7197b7211818a" - } + "x-spec-enum-id": "c5f7197b7211818a", + "enum": [ + "Other", + "Serial", + "USB" + ] + }, + "description": "* `Serial` - [('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')]\n* `USB` - [('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')]\n* `Other` - [('other', 'Other')]" }, { "in": "query", @@ -16808,16 +17967,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -17581,6 +18778,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "modified_by_request", @@ -17835,10 +19039,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -17848,88 +19051,33 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region_id__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -17965,10 +19113,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -17978,10 +19125,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -17991,10 +19137,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -18004,10 +19149,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -18037,6 +19181,46 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "speed", + "schema": { + "type": "integer", + "x-spec-enum-id": "ab6d9635c131a378", + "nullable": true, + "enum": [ + 115200, + 1200, + 19200, + 2400, + 38400, + 4800, + 57600, + 9600 + ] + }, + "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps" + }, + { + "in": "query", + "name": "speed__n", + "schema": { + "type": "integer", + "x-spec-enum-id": "ab6d9635c131a378", + "nullable": true, + "enum": [ + 115200, + 1200, + 19200, + 2400, + 38400, + 4800, + 57600, + 9600 + ] + }, + "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps" + }, { "in": "query", "name": "tag", @@ -18807,6 +19991,32 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -18918,6 +20128,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -19222,12 +20559,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayTemplateRequest" + "$ref": "#/components/schemas/DeviceBayTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayTemplateRequest" + "$ref": "#/components/schemas/DeviceBayTemplateRequest" } } }, @@ -19458,12 +20795,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayTemplateRequest" + "$ref": "#/components/schemas/DeviceBayTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayTemplateRequest" + "$ref": "#/components/schemas/DeviceBayTemplateRequest" } } }, @@ -19511,12 +20848,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceBayTemplateRequest" + "$ref": "#/components/schemas/PatchedDeviceBayTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceBayTemplateRequest" + "$ref": "#/components/schemas/PatchedDeviceBayTemplateRequest" } } } @@ -20048,6 +21385,62 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "installed_device", + "schema": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + }, + "description": "Installed device (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "installed_device__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + }, + "description": "Installed device (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "installed_device_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Installed device (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "installed_device_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Installed device (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "label", @@ -20546,10 +21939,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -20559,88 +21951,33 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region_id__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -20676,10 +22013,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -20689,10 +22025,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -20702,10 +22037,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -20715,10 +22049,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -20867,12 +22200,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayRequest" + "$ref": "#/components/schemas/DeviceBayRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayRequest" + "$ref": "#/components/schemas/DeviceBayRequest" } } }, @@ -21103,12 +22436,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayRequest" + "$ref": "#/components/schemas/DeviceBayRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableDeviceBayRequest" + "$ref": "#/components/schemas/DeviceBayRequest" } } }, @@ -21156,12 +22489,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceBayRequest" + "$ref": "#/components/schemas/PatchedDeviceBayRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceBayRequest" + "$ref": "#/components/schemas/PatchedDeviceBayRequest" } } } @@ -22152,12 +23485,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" + "$ref": "#/components/schemas/DeviceRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" + "$ref": "#/components/schemas/DeviceRoleRequest" } } }, @@ -22388,12 +23721,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" + "$ref": "#/components/schemas/DeviceRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" + "$ref": "#/components/schemas/DeviceRoleRequest" } } }, @@ -22441,12 +23774,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceRoleRequest" + "$ref": "#/components/schemas/PatchedDeviceRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceRoleRequest" + "$ref": "#/components/schemas/PatchedDeviceRoleRequest" } } } @@ -22514,17 +23847,122 @@ "name": "airflow", "schema": { "type": "string", - "x-spec-enum-id": "58e389e240a5e53d" - } + "x-spec-enum-id": "58e389e240a5e53d", + "enum": [ + "front-to-rear", + "left-to-right", + "mixed", + "passive", + "rear-to-front", + "right-to-left", + "side-to-rear" + ] + }, + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed" }, { "in": "query", "name": "airflow__n", "schema": { "type": "string", - "x-spec-enum-id": "58e389e240a5e53d" + "x-spec-enum-id": "58e389e240a5e53d", + "enum": [ + "front-to-rear", + "left-to-right", + "mixed", + "passive", + "rear-to-front", + "right-to-left", + "side-to-rear" + ] + }, + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed" + }, + { + "in": "query", + "name": "console_port_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_template_count__empty", + "schema": { + "type": "boolean" } }, + { + "in": "query", + "name": "console_port_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "console_ports", @@ -22533,6 +23971,91 @@ }, "description": "Has console ports" }, + { + "in": "query", + "name": "console_server_port_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "console_server_port_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "console_server_ports", @@ -22821,6 +24344,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_bay_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "device_bay_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "device_bays", @@ -22836,6 +24444,91 @@ "type": "boolean" } }, + { + "in": "query", + "name": "front_port_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "front_port_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "has_front_image", @@ -22937,6 +24630,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "interface_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "interface_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "interfaces", @@ -22945,6 +24723,91 @@ }, "description": "Has interfaces" }, + { + "in": "query", + "name": "inventory_item_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "inventory_item_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "inventory_items", @@ -23247,6 +25110,91 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_bay_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "module_bay_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "module_bays", @@ -23408,6 +25356,91 @@ }, "description": "Has pass-through ports" }, + { + "in": "query", + "name": "power_outlet_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "power_outlet_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "power_outlets", @@ -23416,6 +25449,91 @@ }, "description": "Has power outlets" }, + { + "in": "query", + "name": "power_port_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "power_port_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "power_ports", @@ -23432,6 +25550,91 @@ }, "description": "Search" }, + { + "in": "query", + "name": "rear_port_template_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_template_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "rear_port_template_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_template_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_template_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_template_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_template_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "slug", @@ -23565,9 +25768,13 @@ "schema": { "type": "string", "x-spec-enum-id": "d10d91f690a856c2", - "title": "Parent/child status" + "title": "Parent/child status", + "enum": [ + "child", + "parent" + ] }, - "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child." + "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.\n\n* `parent` - Parent\n* `child` - Child" }, { "in": "query", @@ -23575,9 +25782,13 @@ "schema": { "type": "string", "x-spec-enum-id": "d10d91f690a856c2", - "title": "Parent/child status" + "title": "Parent/child status", + "enum": [ + "child", + "parent" + ] }, - "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child." + "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.\n\n* `parent` - Parent\n* `child` - Child" }, { "in": "query", @@ -23786,16 +25997,30 @@ "name": "weight_unit", "schema": { "type": "string", - "x-spec-enum-id": "7c1876f422815884" - } + "x-spec-enum-id": "7c1876f422815884", + "enum": [ + "g", + "kg", + "lb", + "oz" + ] + }, + "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" }, { "in": "query", "name": "weight_unit__n", "schema": { "type": "string", - "x-spec-enum-id": "7c1876f422815884" - } + "x-spec-enum-id": "7c1876f422815884", + "enum": [ + "g", + "kg", + "lb", + "oz" + ] + }, + "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" } ], "tags": [ @@ -24194,16 +26419,36 @@ "name": "airflow", "schema": { "type": "string", - "x-spec-enum-id": "58e389e240a5e53d" - } + "x-spec-enum-id": "58e389e240a5e53d", + "enum": [ + "front-to-rear", + "left-to-right", + "mixed", + "passive", + "rear-to-front", + "right-to-left", + "side-to-rear" + ] + }, + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed" }, { "in": "query", "name": "airflow__n", "schema": { "type": "string", - "x-spec-enum-id": "58e389e240a5e53d" - } + "x-spec-enum-id": "58e389e240a5e53d", + "enum": [ + "front-to-rear", + "left-to-right", + "mixed", + "passive", + "rear-to-front", + "right-to-left", + "side-to-rear" + ] + }, + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed" }, { "in": "query", @@ -24332,6 +26577,58 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "cluster_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster group (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster group (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster group (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster group (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "cluster_id", @@ -24388,6 +26685,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "console_port_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "console_port_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_port_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "console_ports", @@ -24396,6 +26778,91 @@ }, "description": "Has console ports" }, + { + "in": "query", + "name": "console_server_port_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "console_server_port_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "console_server_port_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "console_server_ports", @@ -24436,10 +26903,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -24449,10 +26915,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -24708,6 +27173,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_bay_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "device_bay_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_bay_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "device_bays", @@ -24774,8 +27324,13 @@ "schema": { "type": "string", "x-spec-enum-id": "d2fb9b3f75158b83", - "title": "Rack face" - } + "title": "Rack face", + "enum": [ + "front", + "rear" + ] + }, + "description": "* `front` - Front\n* `rear` - Rear" }, { "in": "query", @@ -24783,9 +27338,99 @@ "schema": { "type": "string", "x-spec-enum-id": "d2fb9b3f75158b83", - "title": "Rack face" + "title": "Rack face", + "enum": [ + "front", + "rear" + ] + }, + "description": "* `front` - Front\n* `rear` - Rear" + }, + { + "in": "query", + "name": "front_port_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_count__empty", + "schema": { + "type": "boolean" } }, + { + "in": "query", + "name": "front_port_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "front_port_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "has_oob_ip", @@ -24802,6 +27447,14 @@ }, "description": "Has a primary IP" }, + { + "in": "query", + "name": "has_virtual_device_context", + "schema": { + "type": "boolean" + }, + "description": "Has virtual device context" + }, { "in": "query", "name": "id", @@ -24887,6 +27540,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "interface_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "interface_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "interfaces", @@ -24895,6 +27633,91 @@ }, "description": "Has interfaces" }, + { + "in": "query", + "name": "inventory_item_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "inventory_item_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "inventory_item_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "is_full_depth", @@ -25102,10 +27925,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -25115,10 +27937,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -25413,6 +28234,91 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_bay_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "module_bay_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_bay_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "module_bays", @@ -25592,6 +28498,32 @@ "type": "string" } }, + { + "in": "query", + "name": "parent_bay_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Parent bay (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "parent_bay_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Parent bay (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "parent_device_id", @@ -25765,6 +28697,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "power_outlet_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "power_outlet_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_outlet_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "power_outlets", @@ -25773,6 +28790,91 @@ }, "description": "Has power outlets" }, + { + "in": "query", + "name": "power_port_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "power_port_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "power_ports", @@ -25867,16 +28969,100 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "rear_port_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "rear_port_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "region", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -25886,10 +29072,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -25899,10 +29084,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -25912,10 +29096,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -26130,10 +29313,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -26143,10 +29325,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -26156,10 +29337,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -26169,10 +29349,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -26284,10 +29463,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -26297,10 +29475,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -26310,10 +29487,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -26323,10 +29499,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -27386,6 +30561,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -27499,6 +30702,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -27607,6 +30937,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -27788,6 +31146,115 @@ }, "description": "Search" }, + { + "in": "query", + "name": "rear_port_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "rear_port_position__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "type", @@ -28219,16 +31686,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -29112,6 +32617,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "modified_by_request", @@ -29362,105 +32874,158 @@ }, { "in": "query", - "name": "region", + "name": "rear_port_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "region__n", + "name": "rear_port_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id", + "name": "rear_port_position", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id__n", + "name": "rear_port_position__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "rear_port_position__gt", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role", + "name": "rear_port_position__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rear_port_position__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "region", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id", + "name": "region_id", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Device role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id__n", + "name": "region_id__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -29496,10 +33061,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -29509,10 +33073,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -29522,10 +33085,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -29535,10 +33097,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -30360,6 +33921,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -30480,6 +34069,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -30595,6 +34311,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -30863,7 +34607,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "939e9432238e40f7" + "x-spec-enum-id": "8d111a81a4af2fa3" } }, "explode": true, @@ -30876,7 +34620,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "939e9432238e40f7" + "x-spec-enum-id": "8d111a81a4af2fa3" } }, "explode": true, @@ -31313,16 +35057,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -32335,6 +36117,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "mgmt_only", @@ -32347,18 +36136,28 @@ "name": "mode", "schema": { "type": "string", - "x-spec-enum-id": "79109bd9dbb73a3c" + "x-spec-enum-id": "79109bd9dbb73a3c", + "enum": [ + "access", + "tagged", + "tagged-all" + ] }, - "description": "IEEE 802.1Q tagging strategy" + "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)" }, { "in": "query", "name": "mode__n", "schema": { "type": "string", - "x-spec-enum-id": "79109bd9dbb73a3c" + "x-spec-enum-id": "79109bd9dbb73a3c", + "enum": [ + "access", + "tagged", + "tagged-all" + ] }, - "description": "IEEE 802.1Q tagging strategy" + "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)" }, { "in": "query", @@ -32777,10 +36576,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -32790,10 +36588,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -32803,10 +36600,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -32816,10 +36612,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -33049,58 +36844,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "site", @@ -33133,10 +36876,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -33146,10 +36888,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -33159,10 +36900,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -33172,10 +36912,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -33412,7 +37151,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "939e9432238e40f7" + "x-spec-enum-id": "8d111a81a4af2fa3" } }, "explode": true, @@ -33425,7 +37164,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "939e9432238e40f7" + "x-spec-enum-id": "8d111a81a4af2fa3" } }, "explode": true, @@ -33672,6 +37411,60 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "wireless_lan_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Wireless LAN", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "wireless_lan_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Wireless LAN", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "wireless_link_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Wireless link", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "wireless_link_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Wireless link", + "explode": true, + "style": "form" + }, { "in": "query", "name": "wwn", @@ -35805,6 +39598,32 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -36610,12 +40429,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemTemplateRequest" + "$ref": "#/components/schemas/InventoryItemTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemTemplateRequest" + "$ref": "#/components/schemas/InventoryItemTemplateRequest" } } }, @@ -36846,12 +40665,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemTemplateRequest" + "$ref": "#/components/schemas/InventoryItemTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemTemplateRequest" + "$ref": "#/components/schemas/InventoryItemTemplateRequest" } } }, @@ -36899,12 +40718,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableInventoryItemTemplateRequest" + "$ref": "#/components/schemas/PatchedInventoryItemTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableInventoryItemTemplateRequest" + "$ref": "#/components/schemas/PatchedInventoryItemTemplateRequest" } } } @@ -37298,6 +41117,133 @@ "format": "uuid" } }, + { + "in": "query", + "name": "description", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "description__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "device", @@ -38255,10 +42201,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -38268,10 +42213,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -38281,10 +42225,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -38294,10 +42237,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -38514,10 +42456,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -38527,10 +42468,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -38540,10 +42480,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -38553,10 +42492,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -38705,12 +42643,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" + "$ref": "#/components/schemas/InventoryItemRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" + "$ref": "#/components/schemas/InventoryItemRequest" } } }, @@ -38941,12 +42879,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" + "$ref": "#/components/schemas/InventoryItemRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" + "$ref": "#/components/schemas/InventoryItemRequest" } } }, @@ -38994,12 +42932,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableInventoryItemRequest" + "$ref": "#/components/schemas/PatchedInventoryItemRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableInventoryItemRequest" + "$ref": "#/components/schemas/PatchedInventoryItemRequest" } } } @@ -39062,6 +43000,54 @@ "operationId": "dcim_locations_list", "description": "Get a list of location objects.", "parameters": [ + { + "in": "query", + "name": "ancestor", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "contact", @@ -39094,10 +43080,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -39107,10 +43092,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -39366,6 +43350,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "facility", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "facility__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "facility__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "id", @@ -39710,10 +43821,10 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (slug)", + "description": "Parent location (slug)", "explode": true, "style": "form" }, @@ -39723,10 +43834,10 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (slug)", + "description": "Parent location (slug)", "explode": true, "style": "form" }, @@ -39736,10 +43847,11 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "nullable": true } }, - "description": "Location (ID)", + "description": "Parent location (ID)", "explode": true, "style": "form" }, @@ -39749,10 +43861,11 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "nullable": true } }, - "description": "Location (ID)", + "description": "Parent location (ID)", "explode": true, "style": "form" }, @@ -39770,10 +43883,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -39783,10 +43895,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -39796,10 +43907,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -39809,10 +43919,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -39848,10 +43957,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -39861,10 +43969,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -39874,10 +43981,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -39887,10 +43993,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -40129,10 +44234,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -40142,10 +44246,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -40155,10 +44258,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -40168,10 +44270,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -40635,10 +44736,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -40648,10 +44748,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -42030,6 +46129,32 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -42141,6 +46266,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -42394,6 +46646,133 @@ "type": "string" } }, + { + "in": "query", + "name": "position", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "position__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "position__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "q", @@ -42445,12 +46824,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayTemplateRequest" + "$ref": "#/components/schemas/ModuleBayTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayTemplateRequest" + "$ref": "#/components/schemas/ModuleBayTemplateRequest" } } }, @@ -42681,12 +47060,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayTemplateRequest" + "$ref": "#/components/schemas/ModuleBayTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayTemplateRequest" + "$ref": "#/components/schemas/ModuleBayTemplateRequest" } } }, @@ -42734,12 +47113,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleBayTemplateRequest" + "$ref": "#/components/schemas/PatchedModuleBayTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleBayTemplateRequest" + "$ref": "#/components/schemas/PatchedModuleBayTemplateRequest" } } } @@ -43271,6 +47650,32 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "installed_module_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Installed module (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "installed_module_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Installed module (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "label", @@ -43705,165 +48110,236 @@ }, { "in": "query", - "name": "q", + "name": "position", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } }, - "description": "Search" + "explode": true, + "style": "form" }, { "in": "query", - "name": "rack", + "name": "position__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "position__ic", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Rack (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "rack__n", + "name": "position__ie", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Rack (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "rack_id", + "name": "position__iew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Rack (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "rack_id__n", + "name": "position__isw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Rack (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "region", + "name": "position__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "region__n", + "name": "position__nic", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id", + "name": "position__nie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id__n", + "name": "position__niew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role", + "name": "position__nisw", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "rack", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", + "description": "Rack (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id", + "name": "rack__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Rack (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "rack_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Device role (ID)", + "description": "Rack (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id__n", + "name": "rack_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Device role (ID)", + "description": "Rack (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "region", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "region__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "region_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "region_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, "explode": true, "style": "form" }, @@ -43899,10 +48375,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -43912,10 +48387,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -43925,10 +48399,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -43938,10 +48411,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -44090,12 +48562,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayRequest" + "$ref": "#/components/schemas/ModuleBayRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayRequest" + "$ref": "#/components/schemas/ModuleBayRequest" } } }, @@ -44326,12 +48798,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayRequest" + "$ref": "#/components/schemas/ModuleBayRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableModuleBayRequest" + "$ref": "#/components/schemas/ModuleBayRequest" } } }, @@ -44379,12 +48851,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleBayRequest" + "$ref": "#/components/schemas/PatchedModuleBayRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleBayRequest" + "$ref": "#/components/schemas/PatchedModuleBayRequest" } } } @@ -45368,16 +49840,30 @@ "name": "weight_unit", "schema": { "type": "string", - "x-spec-enum-id": "7c1876f422815884" - } + "x-spec-enum-id": "7c1876f422815884", + "enum": [ + "g", + "kg", + "lb", + "oz" + ] + }, + "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" }, { "in": "query", "name": "weight_unit__n", "schema": { "type": "string", - "x-spec-enum-id": "7c1876f422815884" - } + "x-spec-enum-id": "7c1876f422815884", + "enum": [ + "g", + "kg", + "lb", + "oz" + ] + }, + "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" } ], "tags": [ @@ -47929,12 +52415,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" + "$ref": "#/components/schemas/PlatformRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" + "$ref": "#/components/schemas/PlatformRequest" } } }, @@ -48165,12 +52651,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" + "$ref": "#/components/schemas/PlatformRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" + "$ref": "#/components/schemas/PlatformRequest" } } }, @@ -48218,12 +52704,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritablePlatformRequest" + "$ref": "#/components/schemas/PatchedPlatformRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritablePlatformRequest" + "$ref": "#/components/schemas/PatchedPlatformRequest" } } } @@ -48371,21 +52857,144 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "available_power", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "available_power__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "available_power__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "available_power__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "available_power__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "available_power__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "available_power__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -48812,6 +53421,13 @@ "type": "integer" } }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "max_utilization", @@ -49062,16 +53678,26 @@ "name": "phase", "schema": { "type": "string", - "x-spec-enum-id": "994bc0696f4df57f" - } + "x-spec-enum-id": "994bc0696f4df57f", + "enum": [ + "single-phase", + "three-phase" + ] + }, + "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase" }, { "in": "query", "name": "phase__n", "schema": { "type": "string", - "x-spec-enum-id": "994bc0696f4df57f" - } + "x-spec-enum-id": "994bc0696f4df57f", + "enum": [ + "single-phase", + "three-phase" + ] + }, + "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase" }, { "in": "query", @@ -49139,10 +53765,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -49152,10 +53777,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -49165,10 +53789,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -49178,10 +53801,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -49217,10 +53839,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -49230,10 +53851,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -49243,10 +53863,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -49256,10 +53875,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -49320,16 +53938,26 @@ "name": "supply", "schema": { "type": "string", - "x-spec-enum-id": "1b6d99616ca6412b" - } + "x-spec-enum-id": "1b6d99616ca6412b", + "enum": [ + "ac", + "dc" + ] + }, + "description": "* `ac` - AC\n* `dc` - DC" }, { "in": "query", "name": "supply__n", "schema": { "type": "string", - "x-spec-enum-id": "1b6d99616ca6412b" - } + "x-spec-enum-id": "1b6d99616ca6412b", + "enum": [ + "ac", + "dc" + ] + }, + "description": "* `ac` - AC\n* `dc` - DC" }, { "in": "query", @@ -49387,10 +54015,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -49400,10 +54027,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -49413,10 +54039,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -49426,10 +54051,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -49466,16 +54090,26 @@ "name": "type", "schema": { "type": "string", - "x-spec-enum-id": "093a164236819eb8" - } + "x-spec-enum-id": "093a164236819eb8", + "enum": [ + "primary", + "redundant" + ] + }, + "description": "* `primary` - Primary\n* `redundant` - Redundant" }, { "in": "query", "name": "type__n", "schema": { "type": "string", - "x-spec-enum-id": "093a164236819eb8" - } + "x-spec-enum-id": "093a164236819eb8", + "enum": [ + "primary", + "redundant" + ] + }, + "description": "* `primary` - Primary\n* `redundant` - Redundant" }, { "in": "query", @@ -50228,6 +54862,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -50369,6 +55031,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -50477,6 +55266,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -50650,6 +55467,34 @@ "type": "string" } }, + { + "in": "query", + "name": "power_port_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Power port (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "power_port_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Power port (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "q", @@ -50663,16 +55508,46 @@ "name": "type", "schema": { "type": "string", - "x-spec-enum-id": "5be1814581544db3" - } + "x-spec-enum-id": "2ff919f516566857", + "enum": [ + "California Style", + "DC", + "IEC 60309", + "IEC 60320", + "IEC 60906-1", + "ITA/International", + "Molex", + "NEMA (Locking)", + "NEMA (Non-locking)", + "Other", + "Proprietary", + "USB" + ] + }, + "description": "* `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')]\n* `IEC 60309` - [('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')]\n* `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')]\n* `NEMA (Non-locking)` - [('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')]\n* `NEMA (Locking)` - [('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')]\n* `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')]\n* `ITA/International` - [('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')]\n* `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')]\n* `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')]\n* `DC` - [('dc-terminal', 'DC Terminal')]\n* `Proprietary` - [('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')]\n* `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" }, { "in": "query", "name": "type__n", "schema": { "type": "string", - "x-spec-enum-id": "5be1814581544db3" - } + "x-spec-enum-id": "2ff919f516566857", + "enum": [ + "California Style", + "DC", + "IEC 60309", + "IEC 60320", + "IEC 60906-1", + "ITA/International", + "Molex", + "NEMA (Locking)", + "NEMA (Non-locking)", + "Other", + "Proprietary", + "USB" + ] + }, + "description": "* `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')]\n* `IEC 60309` - [('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')]\n* `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')]\n* `NEMA (Non-locking)` - [('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')]\n* `NEMA (Locking)` - [('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')]\n* `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')]\n* `ITA/International` - [('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')]\n* `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')]\n* `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')]\n* `DC` - [('dc-terminal', 'DC Terminal')]\n* `Proprietary` - [('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')]\n* `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" }, { "in": "query", @@ -51079,16 +55954,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -51880,6 +56793,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "modified_by_request", @@ -52070,165 +56990,137 @@ }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", + "name": "power_port_id", "schema": { "type": "array", "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" + "type": "integer", + "nullable": true } }, - "description": "Rack (name)", + "description": "Power port (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "rack_id", + "name": "power_port_id__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "nullable": true } }, - "description": "Rack (ID)", + "description": "Power port (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "rack_id__n", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "integer" - } + "type": "string" }, - "description": "Rack (ID)", - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "region", + "name": "rack", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", + "description": "Rack (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "region__n", + "name": "rack__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", + "description": "Rack (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id", + "name": "rack_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Region (ID)", + "description": "Rack (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id__n", + "name": "rack_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Region (ID)", + "description": "Rack (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role", + "name": "region", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id", + "name": "region_id", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Device role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id__n", + "name": "region_id__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -52264,10 +57156,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -52277,10 +57168,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -52290,10 +57180,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -52303,10 +57192,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -52367,7 +57255,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "5be1814581544db3" + "x-spec-enum-id": "2ff919f516566857" } }, "description": "Physical port type", @@ -52381,7 +57269,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "5be1814581544db3" + "x-spec-enum-id": "2ff919f516566857" } }, "description": "Physical port type", @@ -52912,10 +57800,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -52925,10 +57812,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -53375,10 +58261,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -53388,10 +58273,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -53562,10 +58446,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -53575,10 +58458,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -53588,10 +58470,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -53601,10 +58482,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -53640,10 +58520,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -53653,10 +58532,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -53666,10 +58544,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -53679,10 +58556,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -53779,12 +58655,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritablePowerPanelRequest" + "$ref": "#/components/schemas/PowerPanelRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritablePowerPanelRequest" + "$ref": "#/components/schemas/PowerPanelRequest" } } }, @@ -54015,12 +58891,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritablePowerPanelRequest" + "$ref": "#/components/schemas/PowerPanelRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritablePowerPanelRequest" + "$ref": "#/components/schemas/PowerPanelRequest" } } }, @@ -54068,12 +58944,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerPanelRequest" + "$ref": "#/components/schemas/PatchedPowerPanelRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerPanelRequest" + "$ref": "#/components/schemas/PatchedPowerPanelRequest" } } } @@ -54447,6 +59323,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -54560,6 +59464,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -54753,6 +59784,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -54939,16 +59998,46 @@ "name": "type", "schema": { "type": "string", - "x-spec-enum-id": "0612e2fb273da8ee" - } + "x-spec-enum-id": "6d680dea031864ae", + "enum": [ + "California Style", + "DC", + "IEC 60309", + "IEC 60320", + "IEC 60906-1", + "International/ITA", + "Molex", + "NEMA (Locking)", + "NEMA (Non-locking)", + "Other", + "Proprietary", + "USB" + ] + }, + "description": "* `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')]\n* `IEC 60309` - [('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')]\n* `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')]\n* `NEMA (Non-locking)` - [('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')]\n* `NEMA (Locking)` - [('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')]\n* `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')]\n* `International/ITA` - [('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')]\n* `USB` - [('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')]\n* `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')]\n* `DC` - [('dc-terminal', 'DC Terminal')]\n* `Proprietary` - [('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')]\n* `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" }, { "in": "query", "name": "type__n", "schema": { "type": "string", - "x-spec-enum-id": "0612e2fb273da8ee" - } + "x-spec-enum-id": "6d680dea031864ae", + "enum": [ + "California Style", + "DC", + "IEC 60309", + "IEC 60320", + "IEC 60906-1", + "International/ITA", + "Molex", + "NEMA (Locking)", + "NEMA (Non-locking)", + "Other", + "Proprietary", + "USB" + ] + }, + "description": "* `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')]\n* `IEC 60309` - [('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')]\n* `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')]\n* `NEMA (Non-locking)` - [('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')]\n* `NEMA (Locking)` - [('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')]\n* `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')]\n* `International/ITA` - [('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')]\n* `USB` - [('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')]\n* `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')]\n* `DC` - [('dc-terminal', 'DC Terminal')]\n* `Proprietary` - [('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')]\n* `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" }, { "in": "query", @@ -55440,16 +60529,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -56213,6 +61340,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "maximum_draw", @@ -56552,10 +61686,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -56565,88 +61698,33 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region_id__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -56682,10 +61760,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -56695,10 +61772,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -56708,10 +61784,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -56721,10 +61796,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -56785,7 +61859,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "0612e2fb273da8ee" + "x-spec-enum-id": "6d680dea031864ae" } }, "description": "Physical port type", @@ -56799,7 +61873,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "0612e2fb273da8ee" + "x-spec-enum-id": "6d680dea031864ae" } }, "description": "Physical port type", @@ -57715,10 +62789,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (slug)", "explode": true, "style": "form" }, @@ -57728,10 +62801,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (slug)", "explode": true, "style": "form" }, @@ -57741,10 +62813,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -57754,10 +62825,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -57827,10 +62897,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -57840,10 +62909,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -57853,10 +62921,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -57866,10 +62933,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -57905,10 +62971,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -57918,10 +62983,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -57931,10 +62995,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -57944,10 +63007,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -58033,10 +63095,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -58046,10 +63107,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -58059,10 +63119,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -58072,10 +63131,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -58107,6 +63165,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "unit", + "schema": { + "type": "number" + } + }, { "in": "query", "name": "updated_by_request", @@ -58202,12 +63267,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" + "$ref": "#/components/schemas/RackReservationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" + "$ref": "#/components/schemas/RackReservationRequest" } } }, @@ -58438,12 +63503,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" + "$ref": "#/components/schemas/RackReservationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" + "$ref": "#/components/schemas/RackReservationRequest" } } }, @@ -58491,12 +63556,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableRackReservationRequest" + "$ref": "#/components/schemas/PatchedRackReservationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableRackReservationRequest" + "$ref": "#/components/schemas/PatchedRackReservationRequest" } } } @@ -59968,10 +65033,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -59981,10 +65045,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -60565,10 +65628,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (slug)", "explode": true, "style": "form" }, @@ -60578,10 +65640,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (slug)", "explode": true, "style": "form" }, @@ -60591,10 +65652,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -60604,10 +65664,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Location (ID)", "explode": true, "style": "form" }, @@ -61024,16 +66083,26 @@ "name": "outer_unit", "schema": { "type": "string", - "x-spec-enum-id": "86a846b6c40f495e" - } + "x-spec-enum-id": "86a846b6c40f495e", + "enum": [ + "in", + "mm" + ] + }, + "description": "* `mm` - Millimeters\n* `in` - Inches" }, { "in": "query", "name": "outer_unit__n", "schema": { "type": "string", - "x-spec-enum-id": "86a846b6c40f495e" - } + "x-spec-enum-id": "86a846b6c40f495e", + "enum": [ + "in", + "mm" + ] + }, + "description": "* `mm` - Millimeters\n* `in` - Inches" }, { "in": "query", @@ -61134,10 +66203,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -61147,10 +66215,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -61160,10 +66227,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -61173,10 +66239,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -61393,10 +66458,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -61406,10 +66470,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -61419,10 +66482,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -61432,10 +66494,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -61632,10 +66693,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -61645,10 +66705,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -61658,10 +66717,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -61671,10 +66729,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -61915,16 +66972,30 @@ "name": "weight_unit", "schema": { "type": "string", - "x-spec-enum-id": "7c1876f422815884" - } + "x-spec-enum-id": "7c1876f422815884", + "enum": [ + "g", + "kg", + "lb", + "oz" + ] + }, + "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" }, { "in": "query", "name": "weight_unit__n", "schema": { "type": "string", - "x-spec-enum-id": "7c1876f422815884" - } + "x-spec-enum-id": "7c1876f422815884", + "enum": [ + "g", + "kg", + "lb", + "oz" + ] + }, + "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" }, { "in": "query", @@ -62848,6 +67919,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Device type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "devicetype_id", @@ -62961,6 +68060,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -63069,6 +68295,34 @@ "format": "uuid" } }, + { + "in": "query", + "name": "module_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Module type (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "moduletype_id", @@ -63766,16 +69020,54 @@ "name": "cable_end", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" }, { "in": "query", "name": "cable_end__n", "schema": { "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8" - } + "x-spec-enum-id": "1db84f9b93b261c8", + "enum": [ + "A", + "B" + ] + }, + "description": "* `A` - A\n* `B` - B" + }, + { + "in": "query", + "name": "cable_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cable_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cable (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -64659,6 +69951,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "mark_connected", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "modified_by_request", @@ -64998,10 +70297,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -65011,88 +70309,33 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region_id__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", "explode": true, "style": "form" }, @@ -65128,10 +70371,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -65141,10 +70383,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -65154,10 +70395,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -65167,10 +70407,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -65742,6 +70981,54 @@ "operationId": "dcim_regions_list", "description": "Get a list of region objects.", "parameters": [ + { + "in": "query", + "name": "ancestor", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "contact", @@ -65774,10 +71061,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -65787,10 +71073,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -66997,6 +72282,54 @@ "operationId": "dcim_site_groups_list", "description": "Get a list of site group objects.", "parameters": [ + { + "in": "query", + "name": "ancestor", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ancestor_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "contact", @@ -67029,10 +72362,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -67042,10 +72374,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -68342,10 +73673,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -68355,10 +73685,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -68747,10 +74076,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group (slug)", "explode": true, "style": "form" }, @@ -68760,10 +74088,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group (slug)", "explode": true, "style": "form" }, @@ -68773,10 +74100,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group (ID)", "explode": true, "style": "form" }, @@ -68786,10 +74112,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group (ID)", "explode": true, "style": "form" }, @@ -69315,10 +74640,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -69328,10 +74652,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -69341,10 +74664,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -69354,10 +74676,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -69570,10 +74891,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -69583,10 +74903,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -69596,10 +74915,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -69609,10 +74927,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -69644,6 +74961,126 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "time_zone", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "time_zone__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "updated_by_request", @@ -70638,6 +76075,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "member_count", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "member_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "member_count__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "member_count__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "member_count__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "member_count__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "member_count__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "modified_by_request", @@ -70805,10 +76327,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -70818,10 +76339,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -70831,10 +76351,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -70844,10 +76363,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -70883,10 +76401,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -70896,10 +76413,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -70909,10 +76425,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -70922,10 +76437,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -71802,6 +77316,117 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "identifier", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "identifier__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Interface (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "interface_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Interface (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -72197,10 +77822,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -72210,10 +77834,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -72223,10 +77846,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -72236,10 +77858,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -73068,12 +78689,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableBookmarkRequest" + "$ref": "#/components/schemas/BookmarkRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableBookmarkRequest" + "$ref": "#/components/schemas/BookmarkRequest" } } }, @@ -73304,12 +78925,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableBookmarkRequest" + "$ref": "#/components/schemas/BookmarkRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableBookmarkRequest" + "$ref": "#/components/schemas/BookmarkRequest" } } }, @@ -73357,12 +78978,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableBookmarkRequest" + "$ref": "#/components/schemas/PatchedBookmarkRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableBookmarkRequest" + "$ref": "#/components/schemas/PatchedBookmarkRequest" } } } @@ -73425,6 +79046,13 @@ "operationId": "extras_config_contexts_list", "description": "Get a list of config context objects.", "parameters": [ + { + "in": "query", + "name": "auto_sync_enabled", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "cluster_group", @@ -73922,6 +79550,58 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "device_role", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Role (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_role__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Role (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_role_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Role", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "device_role_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Role", + "explode": true, + "style": "form" + }, { "in": "query", "name": "device_type_id", @@ -74776,6 +80456,91 @@ "type": "string", "format": "uuid" } + }, + { + "in": "query", + "name": "weight", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "weight__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" } ], "tags": [ @@ -74812,12 +80577,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigContextRequest" + "$ref": "#/components/schemas/ConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigContextRequest" + "$ref": "#/components/schemas/ConfigContextRequest" } } }, @@ -75048,12 +80813,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigContextRequest" + "$ref": "#/components/schemas/ConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigContextRequest" + "$ref": "#/components/schemas/ConfigContextRequest" } } }, @@ -75101,12 +80866,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableConfigContextRequest" + "$ref": "#/components/schemas/PatchedConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableConfigContextRequest" + "$ref": "#/components/schemas/PatchedConfigContextRequest" } } } @@ -75186,12 +80951,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigContextRequest" + "$ref": "#/components/schemas/ConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigContextRequest" + "$ref": "#/components/schemas/ConfigContextRequest" } } }, @@ -75224,6 +80989,112 @@ "operationId": "extras_config_templates_list", "description": "Get a list of config template objects.", "parameters": [ + { + "in": "query", + "name": "auto_sync_enabled", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "created", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "data_file_id", @@ -75577,6 +81448,97 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -75586,6 +81548,14 @@ "type": "integer" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -75762,6 +81732,14 @@ }, "explode": true, "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -75798,12 +81776,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } } }, @@ -76034,12 +82012,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } } }, @@ -76087,12 +82065,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableConfigTemplateRequest" + "$ref": "#/components/schemas/PatchedConfigTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableConfigTemplateRequest" + "$ref": "#/components/schemas/PatchedConfigTemplateRequest" } } } @@ -76183,12 +82161,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } } }, @@ -76243,12 +82221,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } } }, @@ -76276,168 +82254,150 @@ } } }, - "/api/extras/content-types/": { + "/api/extras/custom-field-choice-sets/": { "get": { - "operationId": "extras_content_types_list", - "description": "Read-only list of ContentTypes. Limit results to ContentTypes pertinent to NetBox objects.", + "operationId": "extras_custom_field_choice_sets_list", + "description": "Get a list of custom field choice set objects.", "parameters": [ { "in": "query", - "name": "app_label", + "name": "base_choices", "schema": { - "type": "string" - } + "type": "string", + "x-spec-enum-id": "cf0efb5195f85007", + "enum": [ + "IATA", + "ISO_3166", + "UN_LOCODE" + ] + }, + "description": "Base set of predefined choices (optional)\n\n* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)" }, { "in": "query", - "name": "id", + "name": "base_choices__n", "schema": { - "type": "integer" - } + "type": "string", + "x-spec-enum-id": "cf0efb5195f85007", + "enum": [ + "IATA", + "ISO_3166", + "UN_LOCODE" + ] + }, + "description": "Base set of predefined choices (optional)\n\n* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "choice", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "model", + "name": "created", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { - "name": "offset", - "required": false, "in": "query", - "description": "The initial index from which to return the results.", + "name": "created__empty", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "created__gt", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "q", + "name": "created__gte", "schema": { - "type": "string" - }, - "description": "Search" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedContentTypeList" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" } }, - "description": "" - } - } - } - }, - "/api/extras/content-types/{id}/": { - "get": { - "operationId": "extras_content_types_retrieve", - "description": "Read-only list of ContentTypes. Limit results to ContentTypes pertinent to NetBox objects.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this content type.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] + "explode": true, + "style": "form" }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContentType" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/custom-field-choice-sets/": { - "get": { - "operationId": "extras_custom_field_choice_sets_list", - "description": "Get a list of custom field choice set objects.", - "parameters": [ { "in": "query", - "name": "base_choices", + "name": "created__lt", "schema": { - "type": "string", - "x-spec-enum-id": "cf0efb5195f85007" + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } }, - "description": "Base set of predefined choices (optional)" + "explode": true, + "style": "form" }, { "in": "query", - "name": "base_choices__n", + "name": "created__lte", "schema": { - "type": "string", - "x-spec-enum-id": "cf0efb5195f85007" + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } }, - "description": "Base set of predefined choices (optional)" + "explode": true, + "style": "form" }, { "in": "query", - "name": "choice", + "name": "created__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, "style": "form" }, + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "description", @@ -76650,6 +82610,97 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -76659,6 +82710,14 @@ "type": "integer" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -76818,6 +82877,14 @@ "type": "string" }, "description": "Search" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -77303,12 +83370,12 @@ }, { "in": "query", - "name": "content_type_id", + "name": "created", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77316,12 +83383,12 @@ }, { "in": "query", - "name": "content_type_id__empty", + "name": "created__empty", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77329,12 +83396,12 @@ }, { "in": "query", - "name": "content_type_id__gt", + "name": "created__gt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77342,12 +83409,12 @@ }, { "in": "query", - "name": "content_type_id__gte", + "name": "created__gte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77355,12 +83422,12 @@ }, { "in": "query", - "name": "content_type_id__lt", + "name": "created__lt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77368,12 +83435,12 @@ }, { "in": "query", - "name": "content_type_id__lte", + "name": "created__lte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77381,12 +83448,12 @@ }, { "in": "query", - "name": "content_type_id__n", + "name": "created__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -77394,72 +83461,10 @@ }, { "in": "query", - "name": "content_types", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nisw", + "name": "created_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { @@ -77594,18 +83599,28 @@ "name": "filter_logic", "schema": { "type": "string", - "x-spec-enum-id": "a958350ae21c10ee" + "x-spec-enum-id": "a958350ae21c10ee", + "enum": [ + "disabled", + "exact", + "loose" + ] }, - "description": "Loose matches any instance of a given string; exact matches the entire field." + "description": "Loose matches any instance of a given string; exact matches the entire field.\n\n* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact" }, { "in": "query", "name": "filter_logic__n", "schema": { "type": "string", - "x-spec-enum-id": "a958350ae21c10ee" + "x-spec-enum-id": "a958350ae21c10ee", + "enum": [ + "disabled", + "exact", + "loose" + ] }, - "description": "Loose matches any instance of a given string; exact matches the entire field." + "description": "Loose matches any instance of a given string; exact matches the entire field.\n\n* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact" }, { "in": "query", @@ -77826,6 +83841,224 @@ "type": "boolean" } }, + { + "in": "query", + "name": "label", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "label__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "label__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -77835,6 +84068,14 @@ "type": "integer" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -77962,6 +84203,100 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__iew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__isw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nisw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, { "name": "offset", "required": false, @@ -77988,6 +84323,44 @@ }, "description": "Search" }, + { + "in": "query", + "name": "related_object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "related_object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "related_object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "required", @@ -78113,36 +84486,361 @@ "name": "ui_editable", "schema": { "type": "string", - "x-spec-enum-id": "1065673147e26bb5" + "x-spec-enum-id": "1065673147e26bb5", + "enum": [ + "hidden", + "no", + "yes" + ] }, - "description": "Specifies whether the custom field value can be edited in the UI" + "description": "Specifies whether the custom field value can be edited in the UI\n\n* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden" }, { "in": "query", "name": "ui_editable__n", "schema": { "type": "string", - "x-spec-enum-id": "1065673147e26bb5" + "x-spec-enum-id": "1065673147e26bb5", + "enum": [ + "hidden", + "no", + "yes" + ] }, - "description": "Specifies whether the custom field value can be edited in the UI" + "description": "Specifies whether the custom field value can be edited in the UI\n\n* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden" }, { "in": "query", "name": "ui_visible", "schema": { "type": "string", - "x-spec-enum-id": "cd2cf94af56de747" + "x-spec-enum-id": "cd2cf94af56de747", + "enum": [ + "always", + "hidden", + "if-set" + ] }, - "description": "Specifies whether the custom field is displayed in the UI" + "description": "Specifies whether the custom field is displayed in the UI\n\n* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden" }, { "in": "query", "name": "ui_visible__n", "schema": { "type": "string", - "x-spec-enum-id": "cd2cf94af56de747" + "x-spec-enum-id": "cd2cf94af56de747", + "enum": [ + "always", + "hidden", + "if-set" + ] + }, + "description": "Specifies whether the custom field is displayed in the UI\n\n* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "validation_maximum", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_maximum__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "validation_maximum__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_maximum__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_maximum__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_maximum__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_maximum__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_minimum", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_minimum__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "validation_minimum__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_minimum__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_minimum__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_minimum__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } }, - "description": "Specifies whether the custom field is displayed in the UI" + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_minimum__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "validation_regex__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "validation_regex__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", @@ -78623,12 +85321,64 @@ "parameters": [ { "in": "query", - "name": "content_type_id", + "name": "button_class", + "schema": { + "type": "string", + "x-spec-enum-id": "9378cdf56abee54a", + "enum": [ + "black", + "blue", + "cyan", + "ghost-dark", + "gray", + "green", + "indigo", + "orange", + "outline-dark", + "pink", + "purple", + "red", + "teal", + "white", + "yellow" + ] + }, + "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" + }, + { + "in": "query", + "name": "button_class__n", + "schema": { + "type": "string", + "x-spec-enum-id": "9378cdf56abee54a", + "enum": [ + "black", + "blue", + "cyan", + "ghost-dark", + "gray", + "green", + "indigo", + "orange", + "outline-dark", + "pink", + "purple", + "red", + "teal", + "white", + "yellow" + ] + }, + "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" + }, + { + "in": "query", + "name": "created", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78636,12 +85386,12 @@ }, { "in": "query", - "name": "content_type_id__empty", + "name": "created__empty", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78649,12 +85399,12 @@ }, { "in": "query", - "name": "content_type_id__gt", + "name": "created__gt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78662,12 +85412,12 @@ }, { "in": "query", - "name": "content_type_id__gte", + "name": "created__gte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78675,12 +85425,12 @@ }, { "in": "query", - "name": "content_type_id__lt", + "name": "created__lt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78688,12 +85438,12 @@ }, { "in": "query", - "name": "content_type_id__lte", + "name": "created__lte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78701,12 +85451,12 @@ }, { "in": "query", - "name": "content_type_id__n", + "name": "created__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -78714,72 +85464,10 @@ }, { "in": "query", - "name": "content_types", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nisw", + "name": "created_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { @@ -79001,6 +85689,97 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -79150,6 +85929,14 @@ "type": "string" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -79284,6 +86071,100 @@ "type": "boolean" } }, + { + "in": "query", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__iew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__isw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nisw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, { "name": "offset", "required": false, @@ -79310,6 +86191,14 @@ }, "description": "Search" }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "weight", @@ -80049,167 +86938,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "content_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_types", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nisw", - "schema": { - "type": "string" - } - }, { "in": "query", "name": "created", @@ -80763,6 +87491,100 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__iew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__isw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nisw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, { "name": "offset", "required": false, @@ -81250,12 +88072,26 @@ "parameters": [ { "in": "query", - "name": "content_type_id", + "name": "as_attachment", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "auto_sync_enabled", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "created", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81263,12 +88099,12 @@ }, { "in": "query", - "name": "content_type_id__empty", + "name": "created__empty", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81276,12 +88112,12 @@ }, { "in": "query", - "name": "content_type_id__gt", + "name": "created__gt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81289,12 +88125,12 @@ }, { "in": "query", - "name": "content_type_id__gte", + "name": "created__gte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81302,12 +88138,12 @@ }, { "in": "query", - "name": "content_type_id__lt", + "name": "created__lt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81315,12 +88151,12 @@ }, { "in": "query", - "name": "content_type_id__lte", + "name": "created__lte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81328,12 +88164,12 @@ }, { "in": "query", - "name": "content_type_id__n", + "name": "created__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -81341,72 +88177,10 @@ }, { "in": "query", - "name": "content_types", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nisw", + "name": "created_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { @@ -81677,6 +88451,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "file_extension", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "file_extension__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "file_extension__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "id", @@ -81762,6 +88663,97 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -81771,6 +88763,141 @@ "type": "integer" } }, + { + "in": "query", + "name": "mime_type", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "mime_type__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mime_type__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -81898,6 +89025,100 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__iew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__isw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nisw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, { "name": "offset", "required": false, @@ -81923,6 +89144,14 @@ "type": "string" }, "description": "Search" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -81959,12 +89188,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableExportTemplateRequest" + "$ref": "#/components/schemas/ExportTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableExportTemplateRequest" + "$ref": "#/components/schemas/ExportTemplateRequest" } } }, @@ -82195,12 +89424,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableExportTemplateRequest" + "$ref": "#/components/schemas/ExportTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableExportTemplateRequest" + "$ref": "#/components/schemas/ExportTemplateRequest" } } }, @@ -82248,12 +89477,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableExportTemplateRequest" + "$ref": "#/components/schemas/PatchedExportTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableExportTemplateRequest" + "$ref": "#/components/schemas/PatchedExportTemplateRequest" } } } @@ -82333,12 +89562,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableExportTemplateRequest" + "$ref": "#/components/schemas/ExportTemplateRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableExportTemplateRequest" + "$ref": "#/components/schemas/ExportTemplateRequest" } } }, @@ -82373,38 +89602,101 @@ "parameters": [ { "in": "query", - "name": "content_type", + "name": "created", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "content_type__n", + "name": "created__empty", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "content_type_id", + "name": "created__gt", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "content_type_id__n", + "name": "created__gte", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "created", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", "schema": { "type": "string", - "format": "date-time" + "format": "uuid" } }, { @@ -82492,6 +89784,267 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "image_height", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_height__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "image_height__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_height__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_height__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_height__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_height__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_width", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_width__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "image_width__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_width__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_width__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_width__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "image_width__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -82501,6 +90054,14 @@ "type": "integer" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -82713,6 +90274,34 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "integer" + } + }, { "name": "offset", "required": false, @@ -82738,6 +90327,14 @@ "type": "string" }, "description": "Search" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -84006,16 +91603,28 @@ "name": "action", "schema": { "type": "string", - "x-spec-enum-id": "544f9b3b28b7ce6a" - } + "x-spec-enum-id": "544f9b3b28b7ce6a", + "enum": [ + "create", + "delete", + "update" + ] + }, + "description": "* `create` - Created\n* `update` - Updated\n* `delete` - Deleted" }, { "in": "query", "name": "action__n", "schema": { "type": "string", - "x-spec-enum-id": "544f9b3b28b7ce6a" - } + "x-spec-enum-id": "544f9b3b28b7ce6a", + "enum": [ + "create", + "delete", + "update" + ] + }, + "description": "* `create` - Created\n* `update` - Updated\n* `delete` - Deleted" }, { "in": "query", @@ -84387,6 +91996,105 @@ }, "description": "Search" }, + { + "in": "query", + "name": "related_object_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "related_object_id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "related_object_type", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "related_object_type__n", + "schema": { + "type": "integer" + } + }, { "in": "query", "name": "request_id", @@ -84658,6 +92366,133 @@ } } }, + "/api/extras/object-types/": { + "get": { + "operationId": "extras_object_types_list", + "description": "Read-only list of ObjectTypes.", + "parameters": [ + { + "in": "query", + "name": "app_label", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "id", + "schema": { + "type": "integer" + } + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "model", + "schema": { + "type": "string" + } + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedObjectTypeList" + } + } + }, + "description": "" + } + } + } + }, + "/api/extras/object-types/{id}/": { + "get": { + "operationId": "extras_object_types_retrieve", + "description": "Read-only list of ObjectTypes.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this object type.", + "required": true + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ObjectType" + } + } + }, + "description": "" + } + } + } + }, "/api/extras/saved-filters/": { "get": { "operationId": "extras_saved_filters_list", @@ -84665,12 +92500,12 @@ "parameters": [ { "in": "query", - "name": "content_type_id", + "name": "created", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84678,12 +92513,12 @@ }, { "in": "query", - "name": "content_type_id__empty", + "name": "created__empty", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84691,12 +92526,12 @@ }, { "in": "query", - "name": "content_type_id__gt", + "name": "created__gt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84704,12 +92539,12 @@ }, { "in": "query", - "name": "content_type_id__gte", + "name": "created__gte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84717,12 +92552,12 @@ }, { "in": "query", - "name": "content_type_id__lt", + "name": "created__lt", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84730,12 +92565,12 @@ }, { "in": "query", - "name": "content_type_id__lte", + "name": "created__lte", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84743,12 +92578,12 @@ }, { "in": "query", - "name": "content_type_id__n", + "name": "created__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -84756,72 +92591,10 @@ }, { "in": "query", - "name": "content_types", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "content_types__nisw", + "name": "created_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { @@ -85043,6 +92816,97 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, { "name": "limit", "required": false, @@ -85052,6 +92916,14 @@ "type": "integer" } }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "name", @@ -85179,6 +93051,100 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__ie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__iew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__isw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nisw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, { "name": "offset", "required": false, @@ -85339,6 +93305,14 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, { "in": "query", "name": "usable", @@ -85872,6 +93846,491 @@ } } }, + "/api/extras/scripts/": { + "get": { + "operationId": "extras_scripts_list", + "description": "Get a list of script objects.", + "parameters": [ + { + "in": "query", + "name": "id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "is_executable", + "schema": { + "type": "boolean" + } + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "module_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Script module (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "module_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Script module (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "name__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedScriptList" + } + } + }, + "description": "" + } + } + }, + "post": { + "operationId": "extras_scripts_create", + "description": "Post a list of script objects.", + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Script" + } + } + }, + "description": "" + } + } + } + }, + "/api/extras/scripts/{id}/": { + "get": { + "operationId": "extras_scripts_retrieve", + "description": "Get a script object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "string", + "pattern": "^[^/]+$" + }, + "required": true + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Script" + } + } + }, + "description": "" + } + } + }, + "put": { + "operationId": "extras_scripts_update", + "description": "Put a script object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "string", + "pattern": "^[^/]+$" + }, + "required": true + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Script" + } + } + }, + "description": "" + } + } + }, + "patch": { + "operationId": "extras_scripts_partial_update", + "description": "Patch a script object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "string", + "pattern": "^[^/]+$" + }, + "required": true + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Script" + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "extras_scripts_destroy", + "description": "Delete a script object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "string", + "pattern": "^[^/]+$" + }, + "required": true + } + ], + "tags": [ + "extras" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, "/api/extras/tags/": { "get": { "operationId": "extras_tags_list", @@ -89240,10 +97699,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -89253,10 +97711,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -89266,10 +97723,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -89279,10 +97735,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -90423,6 +98878,133 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "slug", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "slug__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "start", @@ -90564,10 +99146,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -90577,10 +99158,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -90590,10 +99170,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -90603,10 +99182,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -90681,12 +99259,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableASNRangeRequest" + "$ref": "#/components/schemas/ASNRangeRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableASNRangeRequest" + "$ref": "#/components/schemas/ASNRangeRequest" } } }, @@ -90917,12 +99495,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableASNRangeRequest" + "$ref": "#/components/schemas/ASNRangeRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableASNRangeRequest" + "$ref": "#/components/schemas/ASNRangeRequest" } } }, @@ -90970,12 +99548,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableASNRangeRequest" + "$ref": "#/components/schemas/PatchedASNRangeRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableASNRangeRequest" + "$ref": "#/components/schemas/PatchedASNRangeRequest" } } } @@ -91663,6 +100241,58 @@ "type": "string" } }, + { + "in": "query", + "name": "provider", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Provider (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Provider (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Provider (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "provider_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Provider (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "q", @@ -91831,10 +100461,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -91844,10 +100473,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -91857,10 +100485,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -91870,10 +100497,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -91948,12 +100574,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableASNRequest" + "$ref": "#/components/schemas/ASNRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableASNRequest" + "$ref": "#/components/schemas/ASNRequest" } } }, @@ -92184,12 +100810,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableASNRequest" + "$ref": "#/components/schemas/ASNRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableASNRequest" + "$ref": "#/components/schemas/ASNRequest" } } }, @@ -92237,12 +100863,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableASNRequest" + "$ref": "#/components/schemas/PatchedASNRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableASNRequest" + "$ref": "#/components/schemas/PatchedASNRequest" } } } @@ -92918,12 +101544,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableFHRPGroupAssignmentRequest" + "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableFHRPGroupAssignmentRequest" + "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" } } }, @@ -93154,12 +101780,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableFHRPGroupAssignmentRequest" + "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableFHRPGroupAssignmentRequest" + "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" } } }, @@ -93207,12 +101833,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableFHRPGroupAssignmentRequest" + "$ref": "#/components/schemas/PatchedFHRPGroupAssignmentRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableFHRPGroupAssignmentRequest" + "$ref": "#/components/schemas/PatchedFHRPGroupAssignmentRequest" } } } @@ -94569,6 +103195,105 @@ }, "description": "Is assigned" }, + { + "in": "query", + "name": "assigned_object_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "assigned_object_id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_type", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "assigned_object_type__n", + "schema": { + "type": "integer" + } + }, { "in": "query", "name": "assigned_to_interface", @@ -95260,6 +103985,32 @@ "format": "uuid" } }, + { + "in": "query", + "name": "nat_inside_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "NAT inside IP address (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "nat_inside_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "NAT inside IP address (ID)", + "explode": true, + "style": "form" + }, { "name": "offset", "required": false, @@ -95340,6 +104091,32 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "service_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Service (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "service_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Service (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "status", @@ -95424,10 +104201,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -95437,10 +104213,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -95450,10 +104225,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -95463,10 +104237,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -96578,6 +105351,91 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "size", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "size__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "size__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "size__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "size__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "size__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "size__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "start_address", @@ -96674,10 +105532,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -96687,10 +105544,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -96700,10 +105556,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -96713,10 +105568,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -98024,10 +106878,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -98037,10 +106890,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -98050,10 +106902,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -98063,10 +106914,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -98156,10 +107006,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -98169,10 +107018,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -98182,10 +107030,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -98195,10 +107042,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -98314,10 +107160,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -98327,10 +107172,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -98340,10 +107184,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -98353,10 +107196,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -101012,6 +109854,91 @@ "type": "string", "format": "uuid" } + }, + { + "in": "query", + "name": "weight", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "weight__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "weight__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" } ], "tags": [ @@ -101631,6 +110558,66 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "exporting_l2vpn", + "schema": { + "type": "array", + "items": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true + } + }, + "description": "Exporting L2VPN (identifier)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "exporting_l2vpn__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true + } + }, + "description": "Exporting L2VPN (identifier)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "exporting_l2vpn_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Exporting L2VPN", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "exporting_l2vpn_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Exporting L2VPN", + "explode": true, + "style": "form" + }, { "in": "query", "name": "exporting_vrf", @@ -101772,6 +110759,66 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "importing_l2vpn", + "schema": { + "type": "array", + "items": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true + } + }, + "description": "Importing L2VPN (identifier)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "importing_l2vpn__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true + } + }, + "description": "Importing L2VPN (identifier)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "importing_l2vpn_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Importing L2VPN", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "importing_l2vpn_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Importing L2VPN", + "explode": true, + "style": "form" + }, { "in": "query", "name": "importing_vrf", @@ -102145,10 +111192,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -102158,10 +111204,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -102171,10 +111216,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -102184,10 +111228,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -102262,12 +111305,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableRouteTargetRequest" + "$ref": "#/components/schemas/RouteTargetRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableRouteTargetRequest" + "$ref": "#/components/schemas/RouteTargetRequest" } } }, @@ -102498,12 +111541,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableRouteTargetRequest" + "$ref": "#/components/schemas/RouteTargetRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableRouteTargetRequest" + "$ref": "#/components/schemas/RouteTargetRequest" } } }, @@ -102551,12 +111594,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableRouteTargetRequest" + "$ref": "#/components/schemas/PatchedRouteTargetRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableRouteTargetRequest" + "$ref": "#/components/schemas/PatchedRouteTargetRequest" } } } @@ -103195,16 +112238,28 @@ "name": "protocol", "schema": { "type": "string", - "x-spec-enum-id": "5521e084b1ad51de" - } + "x-spec-enum-id": "5521e084b1ad51de", + "enum": [ + "sctp", + "tcp", + "udp" + ] + }, + "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP" }, { "in": "query", "name": "protocol__n", "schema": { "type": "string", - "x-spec-enum-id": "5521e084b1ad51de" - } + "x-spec-enum-id": "5521e084b1ad51de", + "enum": [ + "sctp", + "tcp", + "udp" + ] + }, + "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP" }, { "in": "query", @@ -104005,6 +113060,58 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "ip_address", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IP address", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ip_address__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IP address", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ip_address_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "IP address (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ip_address_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "IP address (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "ipaddress", @@ -104322,16 +113429,28 @@ "name": "protocol", "schema": { "type": "string", - "x-spec-enum-id": "5521e084b1ad51de" - } + "x-spec-enum-id": "5521e084b1ad51de", + "enum": [ + "sctp", + "tcp", + "udp" + ] + }, + "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP" }, { "in": "query", "name": "protocol__n", "schema": { "type": "string", - "x-spec-enum-id": "5521e084b1ad51de" - } + "x-spec-enum-id": "5521e084b1ad51de", + "enum": [ + "sctp", + "tcp", + "udp" + ] + }, + "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP" }, { "in": "query", @@ -104826,11 +113945,18 @@ "type": "integer" } }, + { + "in": "query", + "name": "cluster_group", + "schema": { + "type": "integer" + } + }, { "in": "query", "name": "clustergroup", "schema": { - "type": "number" + "type": "integer" } }, { @@ -105702,11 +114828,18 @@ "type": "integer" } }, + { + "in": "query", + "name": "site_group", + "schema": { + "type": "integer" + } + }, { "in": "query", "name": "sitegroup", "schema": { - "type": "number" + "type": "integer" } }, { @@ -107076,10 +116209,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -107089,10 +116221,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -107102,10 +116233,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -107115,10 +116245,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (ID)", "explode": true, "style": "form" }, @@ -107208,10 +116337,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -107221,10 +116349,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -107234,10 +116361,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -107247,10 +116373,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -107366,10 +116491,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -107379,10 +116503,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -107392,10 +116515,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -107405,10 +116527,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -108791,10 +117912,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -108804,10 +117924,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -108817,10 +117936,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -108830,10 +117948,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -108908,12 +118025,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVRFRequest" + "$ref": "#/components/schemas/VRFRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVRFRequest" + "$ref": "#/components/schemas/VRFRequest" } } }, @@ -109144,12 +118261,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVRFRequest" + "$ref": "#/components/schemas/VRFRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVRFRequest" + "$ref": "#/components/schemas/VRFRequest" } } }, @@ -109197,12 +118314,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVRFRequest" + "$ref": "#/components/schemas/PatchedVRFRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVRFRequest" + "$ref": "#/components/schemas/PatchedVRFRequest" } } } @@ -111252,16 +120369,30 @@ "name": "status", "schema": { "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } + "x-spec-enum-id": "b77fc919138c12f6", + "enum": [ + "active", + "failed", + "offline", + "planned" + ] + }, + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed" }, { "in": "query", "name": "status__n", "schema": { "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } + "x-spec-enum-id": "b77fc919138c12f6", + "enum": [ + "active", + "failed", + "offline", + "planned" + ] + }, + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed" }, { "in": "query", @@ -111291,15 +120422,103 @@ "in": "query", "name": "tenant", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, { "in": "query", "name": "tenant__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -112151,16 +121370,28 @@ "name": "status", "schema": { "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } + "x-spec-enum-id": "6388dfb94ca1cc15", + "enum": [ + "active", + "deprecated", + "reserved" + ] + }, + "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, { "in": "query", "name": "status__n", "schema": { "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } + "x-spec-enum-id": "6388dfb94ca1cc15", + "enum": [ + "active", + "deprecated", + "reserved" + ] + }, + "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, { "in": "query", @@ -112190,15 +121421,103 @@ "in": "query", "name": "tenant", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, { "in": "query", "name": "tenant__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -113376,16 +122695,26 @@ "name": "action", "schema": { "type": "string", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - } + "x-spec-enum-id": "1dc943e0aaf6f0a7", + "enum": [ + "deny", + "permit" + ] + }, + "description": "* `permit` - Permit\n* `deny` - Deny" }, { "in": "query", "name": "action__n", "schema": { "type": "string", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - } + "x-spec-enum-id": "1dc943e0aaf6f0a7", + "enum": [ + "deny", + "permit" + ] + }, + "description": "* `permit` - Permit\n* `deny` - Deny" }, { "in": "query", @@ -113800,12 +123129,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableCommunityListRuleRequest" + "$ref": "#/components/schemas/CommunityListRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableCommunityListRuleRequest" + "$ref": "#/components/schemas/CommunityListRuleRequest" } } }, @@ -114036,12 +123365,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableCommunityListRuleRequest" + "$ref": "#/components/schemas/CommunityListRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableCommunityListRuleRequest" + "$ref": "#/components/schemas/CommunityListRuleRequest" } } }, @@ -114089,12 +123418,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableCommunityListRuleRequest" + "$ref": "#/components/schemas/PatchedCommunityListRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableCommunityListRuleRequest" + "$ref": "#/components/schemas/PatchedCommunityListRuleRequest" } } } @@ -115731,6 +125060,32 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "family", + "schema": { + "type": "string", + "x-spec-enum-id": "7aa5eccc95045be6", + "enum": [ + "ipv4", + "ipv6" + ] + }, + "description": "* `ipv4` - IPv4\n* `ipv6` - IPv6" + }, + { + "in": "query", + "name": "family__n", + "schema": { + "type": "string", + "x-spec-enum-id": "7aa5eccc95045be6", + "enum": [ + "ipv4", + "ipv6" + ] + }, + "description": "* `ipv4` - IPv4\n* `ipv6` - IPv6" + }, { "in": "query", "name": "id", @@ -116330,16 +125685,26 @@ "name": "action", "schema": { "type": "string", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - } + "x-spec-enum-id": "1dc943e0aaf6f0a7", + "enum": [ + "deny", + "permit" + ] + }, + "description": "* `permit` - Permit\n* `deny` - Deny" }, { "in": "query", "name": "action__n", "schema": { "type": "string", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - } + "x-spec-enum-id": "1dc943e0aaf6f0a7", + "enum": [ + "deny", + "permit" + ] + }, + "description": "* `permit` - Permit\n* `deny` - Deny" }, { "in": "query", @@ -117009,12 +126374,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritablePrefixListRuleRequest" + "$ref": "#/components/schemas/PrefixListRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritablePrefixListRuleRequest" + "$ref": "#/components/schemas/PrefixListRuleRequest" } } }, @@ -117245,12 +126610,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritablePrefixListRuleRequest" + "$ref": "#/components/schemas/PrefixListRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritablePrefixListRuleRequest" + "$ref": "#/components/schemas/PrefixListRuleRequest" } } }, @@ -117298,12 +126663,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritablePrefixListRuleRequest" + "$ref": "#/components/schemas/PatchedPrefixListRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritablePrefixListRuleRequest" + "$ref": "#/components/schemas/PatchedPrefixListRuleRequest" } } } @@ -118367,16 +127732,26 @@ "name": "action", "schema": { "type": "string", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - } + "x-spec-enum-id": "1dc943e0aaf6f0a7", + "enum": [ + "deny", + "permit" + ] + }, + "description": "* `permit` - Permit\n* `deny` - Deny" }, { "in": "query", "name": "action__n", "schema": { "type": "string", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - } + "x-spec-enum-id": "1dc943e0aaf6f0a7", + "enum": [ + "deny", + "permit" + ] + }, + "description": "* `permit` - Permit\n* `deny` - Deny" }, { "in": "query", @@ -119074,12 +128449,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableRoutingPolicyRuleRequest" + "$ref": "#/components/schemas/RoutingPolicyRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableRoutingPolicyRuleRequest" + "$ref": "#/components/schemas/RoutingPolicyRuleRequest" } } }, @@ -119310,12 +128685,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableRoutingPolicyRuleRequest" + "$ref": "#/components/schemas/RoutingPolicyRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableRoutingPolicyRuleRequest" + "$ref": "#/components/schemas/RoutingPolicyRuleRequest" } } }, @@ -119363,12 +128738,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableRoutingPolicyRuleRequest" + "$ref": "#/components/schemas/PatchedRoutingPolicyRuleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableRoutingPolicyRuleRequest" + "$ref": "#/components/schemas/PatchedRoutingPolicyRuleRequest" } } } @@ -120598,16 +129973,30 @@ "name": "status", "schema": { "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } + "x-spec-enum-id": "b77fc919138c12f6", + "enum": [ + "active", + "failed", + "offline", + "planned" + ] + }, + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed" }, { "in": "query", "name": "status__n", "schema": { "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } + "x-spec-enum-id": "b77fc919138c12f6", + "enum": [ + "active", + "failed", + "offline", + "planned" + ] + }, + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed" }, { "in": "query", @@ -120637,15 +130026,103 @@ "in": "query", "name": "tenant", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, { "in": "query", "name": "tenant__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, { "in": "query", @@ -121042,74 +130519,89 @@ } } }, - "/api/schema/": { - "get": { - "operationId": "schema_retrieve", - "description": "OpenApi3 schema for this API. Format can be selected via content negotiation.\n\n- YAML: application/vnd.oai.openapi\n- JSON: application/vnd.oai.openapi+json", - "parameters": [ - { - "in": "query", - "name": "format", - "schema": { - "type": "string", - "enum": [ - "json", - "yaml" - ] - } - } - ], + "/api/plugins/secrets/activate-user-key/": { + "post": { + "operationId": "plugins_secrets_activate_user_key_create", + "description": "This endpoint expects a private key and a list of user keys to be activated.\nThe private key is used to derive a master key, which is then used to activate\neach user key provided.", "tags": [ - "schema" + "plugins" ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ActivateUserKeyRequest" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/ActivateUserKeyRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/ActivateUserKeyRequest" + } + } + }, + "required": true + }, "security": [ { "cookieAuth": [] }, { "tokenAuth": [] - }, - {} + } ], "responses": { "200": { "content": { - "application/vnd.oai.openapi": { - "schema": { - "type": "object", - "additionalProperties": {} - } - }, - "application/yaml": { - "schema": { - "type": "object", - "additionalProperties": {} - } - }, - "application/vnd.oai.openapi+json": { + "application/json": { "schema": { - "type": "object", - "additionalProperties": {} + "type": "string" } - }, + } + }, + "description": "User keys activated successfully." + }, + "400": { + "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": {} + "type": "string" + }, + "examples": { + "PrivateKeyWasNotProvided.": { + "value": "Private key was not provided.", + "summary": "Private key was not provided." + }, + "NoUserKeyFoundForTheCurrentUser.": { + "value": "No UserKey found for the current user.", + "summary": "No UserKey found for the current user." + }, + "UserKeyHasNotBeenActivatedForDecryption.": { + "value": "UserKey has not been activated for decryption.", + "summary": "UserKey has not been activated for decryption." + }, + "InvalidPrivateKey.": { + "value": "Invalid private key.", + "summary": "Invalid private key." + } } } }, - "description": "" + "description": "User key activation failed." } } } }, - "/api/status/": { + "/api/plugins/secrets/generate-rsa-key-pair/": { "get": { - "operationId": "status_retrieve", - "description": "A lightweight read-only endpoint for conveying NetBox's current operational status.", + "operationId": "plugins_secrets_generate_rsa_key_pair_list", + "description": "This endpoint can be used to generate a new RSA key pair. The keys are returned in PEM format.\n\n {\n \"public_key\": \"\",\n \"private_key\": \"\"\n }", "tags": [ - "status" + "plugins" ], "security": [ { @@ -121124,8 +130616,10 @@ "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": {} + "type": "array", + "items": { + "$ref": "#/components/schemas/RSAKeyPair" + } } } }, @@ -121134,63 +130628,101 @@ } } }, - "/api/tenancy/contact-assignments/": { + "/api/plugins/secrets/get-session-key/": { + "post": { + "operationId": "plugins_secrets_get_session_key_create", + "description": "Retrieve a temporary session key to use for encrypting and decrypting secrets via the API. The user's private RSA\nkey is POSTed with the name `private_key`.\nThis endpoint accepts one optional parameter: `preserve_key`. If True and a session key exists, the existing session\nkey will be returned instead of a new one.\n\nDeprecation notice: This endpoint is deprecated and will be removed in a future release. Use the `SessionKeyViewSet`.", + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "description": "No response body" + } + } + } + }, + "/api/plugins/secrets/secret-roles/": { "get": { - "operationId": "tenancy_contact_assignments_list", - "description": "Get a list of contact assignment objects.", + "operationId": "plugins_secrets_secret_roles_list", + "description": "Get a list of secret role objects.", "parameters": [ { "in": "query", - "name": "contact_id", + "name": "comments", "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact (ID)", - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "contact_id__n", + "name": "comments__ic", "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact (ID)", - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "content_type", + "name": "comments__ie", "schema": { "type": "string" } }, { "in": "query", - "name": "content_type__n", + "name": "comments__iew", "schema": { "type": "string" } }, { "in": "query", - "name": "content_type_id", + "name": "comments__isw", "schema": { - "type": "integer" + "type": "string" } }, { "in": "query", - "name": "content_type_id__n", + "name": "comments__n", "schema": { - "type": "integer" + "type": "string" + } + }, + { + "in": "query", + "name": "comments__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__nisw", + "schema": { + "type": "string" } }, { @@ -121294,53 +130826,128 @@ }, { "in": "query", - "name": "group", + "name": "description", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "group__n", + "name": "description__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "description__ic", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id", + "name": "description__ie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id__n", + "name": "description__iew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" } }, - "description": "Contact group (ID)", "explode": true, "style": "form" }, @@ -121539,12 +131146,11 @@ }, { "in": "query", - "name": "object_id", + "name": "name", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -121552,19 +131158,18 @@ }, { "in": "query", - "name": "object_id__empty", + "name": "name__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "object_id__gt", + "name": "name__ic", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -121572,12 +131177,11 @@ }, { "in": "query", - "name": "object_id__gte", + "name": "name__ie", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -121585,12 +131189,11 @@ }, { "in": "query", - "name": "object_id__lt", + "name": "name__iew", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -121598,12 +131201,11 @@ }, { "in": "query", - "name": "object_id__lte", + "name": "name__isw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -121611,12 +131213,59 @@ }, { "in": "query", - "name": "object_id__n", + "name": "name__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" } }, "explode": true, @@ -121642,77 +131291,136 @@ }, { "in": "query", - "name": "priority", + "name": "q", "schema": { - "type": "string", - "x-spec-enum-id": "ef3a31644cec7524" - } + "type": "string" + }, + "description": "Search" }, { "in": "query", - "name": "priority__n", + "name": "slug", "schema": { - "type": "string", - "x-spec-enum-id": "ef3a31644cec7524" + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__empty", + "schema": { + "type": "boolean" } }, { "in": "query", - "name": "q", + "name": "slug__ic", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } }, - "description": "Search" + "explode": true, + "style": "form" }, { "in": "query", - "name": "role", + "name": "slug__ie", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Contact role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "slug__iew", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Contact role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id", + "name": "slug__isw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "role_id__n", + "name": "slug__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" } }, - "description": "Contact role (ID)", "explode": true, "style": "form" }, @@ -121750,7 +131458,7 @@ } ], "tags": [ - "tenancy" + "plugins" ], "security": [ { @@ -121765,7 +131473,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedContactAssignmentList" + "$ref": "#/components/schemas/PaginatedSecretRoleList" } } }, @@ -121774,21 +131482,21 @@ } }, "post": { - "operationId": "tenancy_contact_assignments_create", - "description": "Post a list of contact assignment objects.", + "operationId": "plugins_secrets_secret_roles_create", + "description": "Post a list of secret role objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } }, @@ -121807,7 +131515,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/SecretRole" } } }, @@ -121816,10 +131524,10 @@ } }, "put": { - "operationId": "tenancy_contact_assignments_bulk_update", - "description": "Put a list of contact assignment objects.", + "operationId": "plugins_secrets_secret_roles_bulk_update", + "description": "Put a list of secret role objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { @@ -121827,7 +131535,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } }, @@ -121835,7 +131543,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } } @@ -121857,7 +131565,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/SecretRole" } } } @@ -121867,10 +131575,10 @@ } }, "patch": { - "operationId": "tenancy_contact_assignments_bulk_partial_update", - "description": "Patch a list of contact assignment objects.", + "operationId": "plugins_secrets_secret_roles_bulk_partial_update", + "description": "Patch a list of secret role objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { @@ -121878,7 +131586,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } }, @@ -121886,7 +131594,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } } @@ -121908,7 +131616,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/SecretRole" } } } @@ -121918,10 +131626,10 @@ } }, "delete": { - "operationId": "tenancy_contact_assignments_bulk_destroy", - "description": "Delete a list of contact assignment objects.", + "operationId": "plugins_secrets_secret_roles_bulk_destroy", + "description": "Delete a list of secret role objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { @@ -121929,7 +131637,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } }, @@ -121937,7 +131645,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } } @@ -121959,10 +131667,10 @@ } } }, - "/api/tenancy/contact-assignments/{id}/": { + "/api/plugins/secrets/secret-roles/{id}/": { "get": { - "operationId": "tenancy_contact_assignments_retrieve", - "description": "Get a contact assignment object.", + "operationId": "plugins_secrets_secret_roles_retrieve", + "description": "Get a secret role object.", "parameters": [ { "in": "path", @@ -121970,12 +131678,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact assignment.", + "description": "A unique integer value identifying this secret role.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "security": [ { @@ -121990,7 +131698,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/SecretRole" } } }, @@ -121999,8 +131707,8 @@ } }, "put": { - "operationId": "tenancy_contact_assignments_update", - "description": "Put a contact assignment object.", + "operationId": "plugins_secrets_secret_roles_update", + "description": "Put a secret role object.", "parameters": [ { "in": "path", @@ -122008,23 +131716,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact assignment.", + "description": "A unique integer value identifying this secret role.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" + "$ref": "#/components/schemas/SecretRoleRequest" } } }, @@ -122043,7 +131751,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/SecretRole" } } }, @@ -122052,8 +131760,8 @@ } }, "patch": { - "operationId": "tenancy_contact_assignments_partial_update", - "description": "Patch a contact assignment object.", + "operationId": "plugins_secrets_secret_roles_partial_update", + "description": "Patch a secret role object.", "parameters": [ { "in": "path", @@ -122061,23 +131769,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact assignment.", + "description": "A unique integer value identifying this secret role.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableContactAssignmentRequest" + "$ref": "#/components/schemas/PatchedSecretRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableContactAssignmentRequest" + "$ref": "#/components/schemas/PatchedSecretRoleRequest" } } } @@ -122095,7 +131803,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/SecretRole" } } }, @@ -122104,8 +131812,8 @@ } }, "delete": { - "operationId": "tenancy_contact_assignments_destroy", - "description": "Delete a contact assignment object.", + "operationId": "plugins_secrets_secret_roles_destroy", + "description": "Delete a secret role object.", "parameters": [ { "in": "path", @@ -122113,12 +131821,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact assignment.", + "description": "A unique integer value identifying this secret role.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "security": [ { @@ -122135,11 +131843,333 @@ } } }, - "/api/tenancy/contact-groups/": { + "/api/plugins/secrets/secrets/": { "get": { - "operationId": "tenancy_contact_groups_list", - "description": "Get a list of contact group objects.", + "operationId": "plugins_secrets_secrets_list", + "description": "Get a list of secret objects.", "parameters": [ + { + "in": "query", + "name": "_object_repr", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "_object_repr__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "_object_repr__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "assigned_object_id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "assigned_object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "assigned_object_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Object type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "assigned_object_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Object type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "comments", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__ic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__ie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__iew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__isw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__nic", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "comments__nisw", + "schema": { + "type": "string" + } + }, { "in": "query", "name": "created", @@ -122704,60 +132734,6 @@ "type": "string" } }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Contact group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Contact group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Contact group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Contact group (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "q", @@ -122768,128 +132744,53 @@ }, { "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", + "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__nie", + "name": "role__n", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__niew", + "name": "role_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__nisw", + "name": "role_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Role (ID)", "explode": true, "style": "form" }, @@ -122927,7 +132828,7 @@ } ], "tags": [ - "tenancy" + "plugins" ], "security": [ { @@ -122942,7 +132843,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedContactGroupList" + "$ref": "#/components/schemas/PaginatedSecretList" } } }, @@ -122951,21 +132852,21 @@ } }, "post": { - "operationId": "tenancy_contact_groups_create", - "description": "Post a list of contact group objects.", + "operationId": "plugins_secrets_secrets_create", + "description": "Post a list of secret objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } }, @@ -122984,7 +132885,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/Secret" } } }, @@ -122993,10 +132894,10 @@ } }, "put": { - "operationId": "tenancy_contact_groups_bulk_update", - "description": "Put a list of contact group objects.", + "operationId": "plugins_secrets_secrets_bulk_update", + "description": "Put a list of secret objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { @@ -123004,7 +132905,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } }, @@ -123012,7 +132913,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } } @@ -123034,7 +132935,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/Secret" } } } @@ -123044,10 +132945,10 @@ } }, "patch": { - "operationId": "tenancy_contact_groups_bulk_partial_update", - "description": "Patch a list of contact group objects.", + "operationId": "plugins_secrets_secrets_bulk_partial_update", + "description": "Patch a list of secret objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { @@ -123055,7 +132956,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } }, @@ -123063,7 +132964,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } } @@ -123085,7 +132986,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/Secret" } } } @@ -123095,10 +132996,10 @@ } }, "delete": { - "operationId": "tenancy_contact_groups_bulk_destroy", - "description": "Delete a list of contact group objects.", + "operationId": "plugins_secrets_secrets_bulk_destroy", + "description": "Delete a list of secret objects.", "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { @@ -123106,7 +133007,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } }, @@ -123114,7 +133015,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } } @@ -123136,10 +133037,10 @@ } } }, - "/api/tenancy/contact-groups/{id}/": { + "/api/plugins/secrets/secrets/{id}/": { "get": { - "operationId": "tenancy_contact_groups_retrieve", - "description": "Get a contact group object.", + "operationId": "plugins_secrets_secrets_retrieve", + "description": "Get a secret object.", "parameters": [ { "in": "path", @@ -123147,12 +133048,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact group.", + "description": "A unique integer value identifying this secret.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "security": [ { @@ -123167,7 +133068,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/Secret" } } }, @@ -123176,8 +133077,8 @@ } }, "put": { - "operationId": "tenancy_contact_groups_update", - "description": "Put a contact group object.", + "operationId": "plugins_secrets_secrets_update", + "description": "Put a secret object.", "parameters": [ { "in": "path", @@ -123185,23 +133086,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact group.", + "description": "A unique integer value identifying this secret.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" + "$ref": "#/components/schemas/SecretRequest" } } }, @@ -123220,7 +133121,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/Secret" } } }, @@ -123229,8 +133130,8 @@ } }, "patch": { - "operationId": "tenancy_contact_groups_partial_update", - "description": "Patch a contact group object.", + "operationId": "plugins_secrets_secrets_partial_update", + "description": "Patch a secret object.", "parameters": [ { "in": "path", @@ -123238,23 +133139,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact group.", + "description": "A unique integer value identifying this secret.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableContactGroupRequest" + "$ref": "#/components/schemas/PatchedSecretRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableContactGroupRequest" + "$ref": "#/components/schemas/PatchedSecretRequest" } } } @@ -123272,7 +133173,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/Secret" } } }, @@ -123281,8 +133182,8 @@ } }, "delete": { - "operationId": "tenancy_contact_groups_destroy", - "description": "Delete a contact group object.", + "operationId": "plugins_secrets_secrets_destroy", + "description": "Delete a secret object.", "parameters": [ { "in": "path", @@ -123290,12 +133191,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact group.", + "description": "A unique integer value identifying this secret.", "required": true } ], "tags": [ - "tenancy" + "plugins" ], "security": [ { @@ -123312,10 +133213,229 @@ } } }, - "/api/tenancy/contact-roles/": { + "/api/plugins/secrets/session-keys/": { "get": { - "operationId": "tenancy_contact_roles_list", - "description": "Get a list of contact role objects.", + "operationId": "plugins_secrets_session_keys_list", + "description": "Get a list of session key objects.", + "parameters": [ + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + } + ], + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedSessionKeyList" + } + } + }, + "description": "" + } + } + }, + "post": { + "operationId": "plugins_secrets_session_keys_create", + "description": "Creates a new session key for the current user.", + "tags": [ + "plugins" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SessionKeyCreateRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/SessionKeyCreateRequest" + } + } + }, + "required": true + }, + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SessionKey" + } + } + }, + "description": "Session key created successfully." + }, + "400": { + "content": { + "application/json": { + "schema": { + "type": "string" + }, + "examples": { + "PrivateKeyWasNotProvided.": { + "value": "Private key was not provided.", + "summary": "Private key was not provided." + }, + "NoUserKeyFoundForTheCurrentUser.": { + "value": "No UserKey found for the current user.", + "summary": "No UserKey found for the current user." + }, + "UserKeyHasNotBeenActivatedForDecryption.": { + "value": "UserKey has not been activated for decryption.", + "summary": "UserKey has not been activated for decryption." + }, + "InvalidPrivateKey.": { + "value": "Invalid private key.", + "summary": "Invalid private key." + } + } + } + }, + "description": "Session key creation failed." + } + } + }, + "delete": { + "operationId": "plugins_secrets_session_keys_bulk_destroy", + "description": "Delete a list of session key objects.", + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/plugins/secrets/session-keys/{id}/": { + "get": { + "operationId": "plugins_secrets_session_keys_retrieve", + "description": "Get a session key object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this session key.", + "required": true + } + ], + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SessionKey" + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "plugins_secrets_session_keys_destroy", + "description": "Delete a session key object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this session key.", + "required": true + } + ], + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/plugins/secrets/user-keys/": { + "get": { + "operationId": "plugins_secrets_user_keys_list", + "description": "Get a list of user key objects.", "parameters": [ { "in": "query", @@ -123418,11 +133538,12 @@ }, { "in": "query", - "name": "description", + "name": "id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123430,18 +133551,19 @@ }, { "in": "query", - "name": "description__empty", + "name": "id__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "description__ic", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123449,11 +133571,12 @@ }, { "in": "query", - "name": "description__ie", + "name": "id__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123461,11 +133584,12 @@ }, { "in": "query", - "name": "description__iew", + "name": "id__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123473,11 +133597,12 @@ }, { "in": "query", - "name": "description__isw", + "name": "id__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123485,11 +133610,12 @@ }, { "in": "query", - "name": "description__n", + "name": "id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123497,11 +133623,12 @@ }, { "in": "query", - "name": "description__nic", + "name": "last_updated", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -123509,11 +133636,12 @@ }, { "in": "query", - "name": "description__nie", + "name": "last_updated__empty", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -123521,11 +133649,12 @@ }, { "in": "query", - "name": "description__niew", + "name": "last_updated__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -123533,7 +133662,102 @@ }, { "in": "query", - "name": "description__nisw", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "tag", "schema": { "type": "array", "items": { @@ -123545,12 +133769,11 @@ }, { "in": "query", - "name": "id", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -123558,92 +133781,280 @@ }, { "in": "query", - "name": "id__empty", + "name": "updated_by_request", "schema": { - "type": "boolean" + "type": "string", + "format": "uuid" } }, { "in": "query", - "name": "id__gt", + "name": "user", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__gte", + "name": "user__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "user_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "User (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lte", + "name": "user_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "User (ID)", "explode": true, "style": "form" + } + ], + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedUserKeyList" + } + } + }, + "description": "" + } + } + } + }, + "/api/plugins/secrets/user-keys/{id}/": { + "get": { + "operationId": "plugins_secrets_user_keys_retrieve", + "description": "Get a user key object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this user key.", + "required": true + } + ], + "tags": [ + "plugins" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserKey" + } + } + }, + "description": "" + } + } + } + }, + "/api/schema/": { + "get": { + "operationId": "schema_retrieve", + "description": "OpenApi3 schema for this API. Format can be selected via content negotiation.\n\n- YAML: application/vnd.oai.openapi\n- JSON: application/vnd.oai.openapi+json", + "parameters": [ + { + "in": "query", + "name": "format", + "schema": { + "type": "string", + "enum": [ + "json", + "yaml" + ] + } }, { "in": "query", - "name": "id__n", + "name": "lang", + "schema": { + "type": "string", + "enum": [ + "cs", + "da", + "de", + "en", + "es", + "fr", + "it", + "ja", + "nl", + "pl", + "pt", + "ru", + "tr", + "uk", + "zh" + ] + } + } + ], + "tags": [ + "schema" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + }, + {} + ], + "responses": { + "200": { + "content": { + "application/vnd.oai.openapi": { + "schema": { + "type": "object", + "additionalProperties": {} + } + }, + "application/yaml": { + "schema": { + "type": "object", + "additionalProperties": {} + } + }, + "application/vnd.oai.openapi+json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + }, + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + }, + "description": "" + } + } + } + }, + "/api/status/": { + "get": { + "operationId": "status_retrieve", + "description": "A lightweight read-only endpoint for conveying NetBox's current operational status.", + "tags": [ + "status" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + }, + "description": "" + } + } + } + }, + "/api/tenancy/contact-assignments/": { + "get": { + "operationId": "tenancy_contact_assignments_list", + "description": "Get a list of contact assignment objects.", + "parameters": [ + { + "in": "query", + "name": "contact_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Contact (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated", + "name": "contact_id__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer" } }, + "description": "Contact (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__empty", + "name": "created", "schema": { "type": "array", "items": { @@ -123656,7 +134067,7 @@ }, { "in": "query", - "name": "last_updated__gt", + "name": "created__empty", "schema": { "type": "array", "items": { @@ -123669,7 +134080,7 @@ }, { "in": "query", - "name": "last_updated__gte", + "name": "created__gt", "schema": { "type": "array", "items": { @@ -123682,7 +134093,7 @@ }, { "in": "query", - "name": "last_updated__lt", + "name": "created__gte", "schema": { "type": "array", "items": { @@ -123695,7 +134106,7 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "created__lt", "schema": { "type": "array", "items": { @@ -123708,7 +134119,7 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "created__lte", "schema": { "type": "array", "items": { @@ -123720,17 +134131,21 @@ "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "created__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "modified_by_request", + "name": "created_by_request", "schema": { "type": "string", "format": "uuid" @@ -123738,7 +134153,7 @@ }, { "in": "query", - "name": "name", + "name": "group", "schema": { "type": "array", "items": { @@ -123750,14 +134165,7 @@ }, { "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", + "name": "group__n", "schema": { "type": "array", "items": { @@ -123769,7 +134177,7 @@ }, { "in": "query", - "name": "name__ie", + "name": "group_id", "schema": { "type": "array", "items": { @@ -123781,7 +134189,7 @@ }, { "in": "query", - "name": "name__iew", + "name": "group_id__n", "schema": { "type": "array", "items": { @@ -123793,11 +134201,12 @@ }, { "in": "query", - "name": "name__isw", + "name": "id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123805,11 +134214,19 @@ }, { "in": "query", - "name": "name__n", + "name": "id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123817,11 +134234,12 @@ }, { "in": "query", - "name": "name__nic", + "name": "id__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123829,11 +134247,12 @@ }, { "in": "query", - "name": "name__nie", + "name": "id__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123841,11 +134260,12 @@ }, { "in": "query", - "name": "name__niew", + "name": "id__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123853,49 +134273,64 @@ }, { "in": "query", - "name": "name__nisw", + "name": "id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, "style": "form" }, { - "name": "offset", - "required": false, "in": "query", - "description": "The initial index from which to return the results.", + "name": "last_updated", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "last_updated__empty", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "q", + "name": "last_updated__gt", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } }, - "description": "Search" + "explode": true, + "style": "form" }, { "in": "query", - "name": "slug", + "name": "last_updated__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -123903,18 +134338,25 @@ }, { "in": "query", - "name": "slug__empty", + "name": "last_updated__lt", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "slug__ic", + "name": "last_updated__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -123922,23 +134364,42 @@ }, { "in": "query", - "name": "slug__ie", + "name": "last_updated__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, "style": "form" }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, { "in": "query", - "name": "slug__iew", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "object_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123946,11 +134407,19 @@ }, { "in": "query", - "name": "slug__isw", + "name": "object_id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "object_id__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123958,11 +134427,12 @@ }, { "in": "query", - "name": "slug__n", + "name": "object_id__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123970,11 +134440,12 @@ }, { "in": "query", - "name": "slug__nic", + "name": "object_id__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123982,11 +134453,12 @@ }, { "in": "query", - "name": "slug__nie", + "name": "object_id__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -123994,11 +134466,12 @@ }, { "in": "query", - "name": "slug__niew", + "name": "object_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -124006,43 +134479,167 @@ }, { "in": "query", - "name": "slug__nisw", + "name": "object_type", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__n", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "object_type_id__n", + "schema": { + "type": "integer" + } + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "priority", + "schema": { + "type": "string", + "x-spec-enum-id": "ef3a31644cec7524", + "enum": [ + "inactive", + "primary", + "secondary", + "tertiary" + ] + }, + "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive" + }, + { + "in": "query", + "name": "priority__n", + "schema": { + "type": "string", + "x-spec-enum-id": "ef3a31644cec7524", + "enum": [ + "inactive", + "primary", + "secondary", + "tertiary" + ] + }, + "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive" + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Contact role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag", + "name": "role__n", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Contact role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag__n", + "name": "role_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Contact role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "updated_by_request", + "name": "role_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact role (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", "schema": { "type": "string", "format": "uuid" @@ -124065,7 +134662,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedContactRoleList" + "$ref": "#/components/schemas/PaginatedContactAssignmentList" } } }, @@ -124074,8 +134671,8 @@ } }, "post": { - "operationId": "tenancy_contact_roles_create", - "description": "Post a list of contact role objects.", + "operationId": "tenancy_contact_assignments_create", + "description": "Post a list of contact assignment objects.", "tags": [ "tenancy" ], @@ -124083,12 +134680,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/WritableContactAssignmentRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/WritableContactAssignmentRequest" } } }, @@ -124107,7 +134704,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/ContactAssignment" } } }, @@ -124116,8 +134713,8 @@ } }, "put": { - "operationId": "tenancy_contact_roles_bulk_update", - "description": "Put a list of contact role objects.", + "operationId": "tenancy_contact_assignments_bulk_update", + "description": "Put a list of contact assignment objects.", "tags": [ "tenancy" ], @@ -124127,7 +134724,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/ContactAssignmentRequest" } } }, @@ -124135,7 +134732,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/ContactAssignmentRequest" } } } @@ -124157,7 +134754,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/ContactAssignment" } } } @@ -124167,8 +134764,8 @@ } }, "patch": { - "operationId": "tenancy_contact_roles_bulk_partial_update", - "description": "Patch a list of contact role objects.", + "operationId": "tenancy_contact_assignments_bulk_partial_update", + "description": "Patch a list of contact assignment objects.", "tags": [ "tenancy" ], @@ -124178,7 +134775,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/ContactAssignmentRequest" } } }, @@ -124186,7 +134783,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/ContactAssignmentRequest" } } } @@ -124208,7 +134805,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/ContactAssignment" } } } @@ -124218,8 +134815,8 @@ } }, "delete": { - "operationId": "tenancy_contact_roles_bulk_destroy", - "description": "Delete a list of contact role objects.", + "operationId": "tenancy_contact_assignments_bulk_destroy", + "description": "Delete a list of contact assignment objects.", "tags": [ "tenancy" ], @@ -124229,7 +134826,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/ContactAssignmentRequest" } } }, @@ -124237,7 +134834,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/ContactAssignmentRequest" } } } @@ -124259,10 +134856,10 @@ } } }, - "/api/tenancy/contact-roles/{id}/": { + "/api/tenancy/contact-assignments/{id}/": { "get": { - "operationId": "tenancy_contact_roles_retrieve", - "description": "Get a contact role object.", + "operationId": "tenancy_contact_assignments_retrieve", + "description": "Get a contact assignment object.", "parameters": [ { "in": "path", @@ -124270,7 +134867,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact role.", + "description": "A unique integer value identifying this contact assignment.", "required": true } ], @@ -124290,7 +134887,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/ContactAssignment" } } }, @@ -124299,8 +134896,8 @@ } }, "put": { - "operationId": "tenancy_contact_roles_update", - "description": "Put a contact role object.", + "operationId": "tenancy_contact_assignments_update", + "description": "Put a contact assignment object.", "parameters": [ { "in": "path", @@ -124308,7 +134905,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact role.", + "description": "A unique integer value identifying this contact assignment.", "required": true } ], @@ -124319,12 +134916,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/WritableContactAssignmentRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" + "$ref": "#/components/schemas/WritableContactAssignmentRequest" } } }, @@ -124343,7 +134940,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/ContactAssignment" } } }, @@ -124352,8 +134949,8 @@ } }, "patch": { - "operationId": "tenancy_contact_roles_partial_update", - "description": "Patch a contact role object.", + "operationId": "tenancy_contact_assignments_partial_update", + "description": "Patch a contact assignment object.", "parameters": [ { "in": "path", @@ -124361,7 +134958,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact role.", + "description": "A unique integer value identifying this contact assignment.", "required": true } ], @@ -124372,12 +134969,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedContactRoleRequest" + "$ref": "#/components/schemas/PatchedWritableContactAssignmentRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedContactRoleRequest" + "$ref": "#/components/schemas/PatchedWritableContactAssignmentRequest" } } } @@ -124395,7 +134992,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/ContactAssignment" } } }, @@ -124404,8 +135001,8 @@ } }, "delete": { - "operationId": "tenancy_contact_roles_destroy", - "description": "Delete a contact role object.", + "operationId": "tenancy_contact_assignments_destroy", + "description": "Delete a contact assignment object.", "parameters": [ { "in": "path", @@ -124413,7 +135010,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact role.", + "description": "A unique integer value identifying this contact assignment.", "required": true } ], @@ -124435,93 +135032,14 @@ } } }, - "/api/tenancy/contacts/": { + "/api/tenancy/contact-groups/": { "get": { - "operationId": "tenancy_contacts_list", - "description": "Get a list of contact objects.", + "operationId": "tenancy_contact_groups_list", + "description": "Get a list of contact group objects.", "parameters": [ { "in": "query", - "name": "address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__nic", + "name": "ancestor", "schema": { "type": "array", "items": { @@ -124533,7 +135051,7 @@ }, { "in": "query", - "name": "address__nie", + "name": "ancestor__n", "schema": { "type": "array", "items": { @@ -124545,7 +135063,7 @@ }, { "in": "query", - "name": "address__niew", + "name": "ancestor_id", "schema": { "type": "array", "items": { @@ -124557,7 +135075,7 @@ }, { "in": "query", - "name": "address__nisw", + "name": "ancestor_id__n", "schema": { "type": "array", "items": { @@ -124793,185 +135311,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "email", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "email__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact group (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "id", @@ -125157,133 +135496,6 @@ "type": "integer" } }, - { - "in": "query", - "name": "link", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "link__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "modified_by_request", @@ -125439,122 +135651,69 @@ }, { "in": "query", - "name": "phone", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "phone__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__isw", + "name": "parent", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Parent contact group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "phone__n", + "name": "parent__n", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Parent contact group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "phone__nic", + "name": "parent_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "nullable": true } }, + "description": "Parent contact group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "phone__nie", + "name": "parent_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "nullable": true } }, + "description": "Parent contact group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "phone__niew", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "phone__nisw", + "name": "slug", "schema": { "type": "array", "items": { @@ -125566,27 +135725,14 @@ }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", + "name": "slug__empty", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "tag__n", + "name": "slug__ic", "schema": { "type": "array", "items": { @@ -125598,7 +135744,7 @@ }, { "in": "query", - "name": "title", + "name": "slug__ie", "schema": { "type": "array", "items": { @@ -125610,14 +135756,7 @@ }, { "in": "query", - "name": "title__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "title__ic", + "name": "slug__iew", "schema": { "type": "array", "items": { @@ -125629,7 +135768,7 @@ }, { "in": "query", - "name": "title__ie", + "name": "slug__isw", "schema": { "type": "array", "items": { @@ -125641,7 +135780,7 @@ }, { "in": "query", - "name": "title__iew", + "name": "slug__n", "schema": { "type": "array", "items": { @@ -125653,7 +135792,7 @@ }, { "in": "query", - "name": "title__isw", + "name": "slug__nic", "schema": { "type": "array", "items": { @@ -125665,7 +135804,7 @@ }, { "in": "query", - "name": "title__n", + "name": "slug__nie", "schema": { "type": "array", "items": { @@ -125677,7 +135816,7 @@ }, { "in": "query", - "name": "title__nic", + "name": "slug__niew", "schema": { "type": "array", "items": { @@ -125689,7 +135828,7 @@ }, { "in": "query", - "name": "title__nie", + "name": "slug__nisw", "schema": { "type": "array", "items": { @@ -125701,7 +135840,7 @@ }, { "in": "query", - "name": "title__niew", + "name": "tag", "schema": { "type": "array", "items": { @@ -125713,7 +135852,7 @@ }, { "in": "query", - "name": "title__nisw", + "name": "tag__n", "schema": { "type": "array", "items": { @@ -125748,7 +135887,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedContactList" + "$ref": "#/components/schemas/PaginatedContactGroupList" } } }, @@ -125757,8 +135896,8 @@ } }, "post": { - "operationId": "tenancy_contacts_create", - "description": "Post a list of contact objects.", + "operationId": "tenancy_contact_groups_create", + "description": "Post a list of contact group objects.", "tags": [ "tenancy" ], @@ -125766,12 +135905,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableContactRequest" + "$ref": "#/components/schemas/WritableContactGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableContactRequest" + "$ref": "#/components/schemas/WritableContactGroupRequest" } } }, @@ -125790,7 +135929,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/ContactGroup" } } }, @@ -125799,8 +135938,8 @@ } }, "put": { - "operationId": "tenancy_contacts_bulk_update", - "description": "Put a list of contact objects.", + "operationId": "tenancy_contact_groups_bulk_update", + "description": "Put a list of contact group objects.", "tags": [ "tenancy" ], @@ -125810,7 +135949,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRequest" + "$ref": "#/components/schemas/ContactGroupRequest" } } }, @@ -125818,7 +135957,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRequest" + "$ref": "#/components/schemas/ContactGroupRequest" } } } @@ -125840,7 +135979,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/ContactGroup" } } } @@ -125850,8 +135989,8 @@ } }, "patch": { - "operationId": "tenancy_contacts_bulk_partial_update", - "description": "Patch a list of contact objects.", + "operationId": "tenancy_contact_groups_bulk_partial_update", + "description": "Patch a list of contact group objects.", "tags": [ "tenancy" ], @@ -125861,7 +136000,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRequest" + "$ref": "#/components/schemas/ContactGroupRequest" } } }, @@ -125869,7 +136008,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRequest" + "$ref": "#/components/schemas/ContactGroupRequest" } } } @@ -125891,7 +136030,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/ContactGroup" } } } @@ -125901,8 +136040,8 @@ } }, "delete": { - "operationId": "tenancy_contacts_bulk_destroy", - "description": "Delete a list of contact objects.", + "operationId": "tenancy_contact_groups_bulk_destroy", + "description": "Delete a list of contact group objects.", "tags": [ "tenancy" ], @@ -125912,7 +136051,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRequest" + "$ref": "#/components/schemas/ContactGroupRequest" } } }, @@ -125920,7 +136059,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRequest" + "$ref": "#/components/schemas/ContactGroupRequest" } } } @@ -125942,10 +136081,10 @@ } } }, - "/api/tenancy/contacts/{id}/": { + "/api/tenancy/contact-groups/{id}/": { "get": { - "operationId": "tenancy_contacts_retrieve", - "description": "Get a contact object.", + "operationId": "tenancy_contact_groups_retrieve", + "description": "Get a contact group object.", "parameters": [ { "in": "path", @@ -125953,7 +136092,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact.", + "description": "A unique integer value identifying this contact group.", "required": true } ], @@ -125973,7 +136112,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/ContactGroup" } } }, @@ -125982,8 +136121,8 @@ } }, "put": { - "operationId": "tenancy_contacts_update", - "description": "Put a contact object.", + "operationId": "tenancy_contact_groups_update", + "description": "Put a contact group object.", "parameters": [ { "in": "path", @@ -125991,7 +136130,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact.", + "description": "A unique integer value identifying this contact group.", "required": true } ], @@ -126002,12 +136141,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableContactRequest" + "$ref": "#/components/schemas/WritableContactGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableContactRequest" + "$ref": "#/components/schemas/WritableContactGroupRequest" } } }, @@ -126026,7 +136165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/ContactGroup" } } }, @@ -126035,8 +136174,8 @@ } }, "patch": { - "operationId": "tenancy_contacts_partial_update", - "description": "Patch a contact object.", + "operationId": "tenancy_contact_groups_partial_update", + "description": "Patch a contact group object.", "parameters": [ { "in": "path", @@ -126044,7 +136183,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact.", + "description": "A unique integer value identifying this contact group.", "required": true } ], @@ -126055,12 +136194,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableContactRequest" + "$ref": "#/components/schemas/PatchedWritableContactGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableContactRequest" + "$ref": "#/components/schemas/PatchedWritableContactGroupRequest" } } } @@ -126078,7 +136217,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/ContactGroup" } } }, @@ -126087,8 +136226,8 @@ } }, "delete": { - "operationId": "tenancy_contacts_destroy", - "description": "Delete a contact object.", + "operationId": "tenancy_contact_groups_destroy", + "description": "Delete a contact group object.", "parameters": [ { "in": "path", @@ -126096,7 +136235,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this contact.", + "description": "A unique integer value identifying this contact group.", "required": true } ], @@ -126118,10 +136257,10 @@ } } }, - "/api/tenancy/tenant-groups/": { + "/api/tenancy/contact-roles/": { "get": { - "operationId": "tenancy_tenant_groups_list", - "description": "Get a list of tenant group objects.", + "operationId": "tenancy_contact_roles_list", + "description": "Get a list of contact role objects.", "parameters": [ { "in": "query", @@ -126687,60 +136826,6 @@ "type": "string" } }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant group (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "q", @@ -126925,7 +137010,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedTenantGroupList" + "$ref": "#/components/schemas/PaginatedContactRoleList" } } }, @@ -126934,8 +137019,8 @@ } }, "post": { - "operationId": "tenancy_tenant_groups_create", - "description": "Post a list of tenant group objects.", + "operationId": "tenancy_contact_roles_create", + "description": "Post a list of contact role objects.", "tags": [ "tenancy" ], @@ -126943,12 +137028,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } }, @@ -126967,7 +137052,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TenantGroup" + "$ref": "#/components/schemas/ContactRole" } } }, @@ -126976,8 +137061,8 @@ } }, "put": { - "operationId": "tenancy_tenant_groups_bulk_update", - "description": "Put a list of tenant group objects.", + "operationId": "tenancy_contact_roles_bulk_update", + "description": "Put a list of contact role objects.", "tags": [ "tenancy" ], @@ -126987,7 +137072,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } }, @@ -126995,7 +137080,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } } @@ -127017,7 +137102,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroup" + "$ref": "#/components/schemas/ContactRole" } } } @@ -127027,8 +137112,8 @@ } }, "patch": { - "operationId": "tenancy_tenant_groups_bulk_partial_update", - "description": "Patch a list of tenant group objects.", + "operationId": "tenancy_contact_roles_bulk_partial_update", + "description": "Patch a list of contact role objects.", "tags": [ "tenancy" ], @@ -127038,7 +137123,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } }, @@ -127046,7 +137131,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } } @@ -127068,7 +137153,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroup" + "$ref": "#/components/schemas/ContactRole" } } } @@ -127078,8 +137163,8 @@ } }, "delete": { - "operationId": "tenancy_tenant_groups_bulk_destroy", - "description": "Delete a list of tenant group objects.", + "operationId": "tenancy_contact_roles_bulk_destroy", + "description": "Delete a list of contact role objects.", "tags": [ "tenancy" ], @@ -127089,7 +137174,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } }, @@ -127097,7 +137182,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } } @@ -127119,10 +137204,10 @@ } } }, - "/api/tenancy/tenant-groups/{id}/": { + "/api/tenancy/contact-roles/{id}/": { "get": { - "operationId": "tenancy_tenant_groups_retrieve", - "description": "Get a tenant group object.", + "operationId": "tenancy_contact_roles_retrieve", + "description": "Get a contact role object.", "parameters": [ { "in": "path", @@ -127130,7 +137215,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tenant group.", + "description": "A unique integer value identifying this contact role.", "required": true } ], @@ -127150,7 +137235,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TenantGroup" + "$ref": "#/components/schemas/ContactRole" } } }, @@ -127159,8 +137244,8 @@ } }, "put": { - "operationId": "tenancy_tenant_groups_update", - "description": "Put a tenant group object.", + "operationId": "tenancy_contact_roles_update", + "description": "Put a contact role object.", "parameters": [ { "in": "path", @@ -127168,7 +137253,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tenant group.", + "description": "A unique integer value identifying this contact role.", "required": true } ], @@ -127179,12 +137264,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" + "$ref": "#/components/schemas/ContactRoleRequest" } } }, @@ -127203,7 +137288,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TenantGroup" + "$ref": "#/components/schemas/ContactRole" } } }, @@ -127212,8 +137297,8 @@ } }, "patch": { - "operationId": "tenancy_tenant_groups_partial_update", - "description": "Patch a tenant group object.", + "operationId": "tenancy_contact_roles_partial_update", + "description": "Patch a contact role object.", "parameters": [ { "in": "path", @@ -127221,7 +137306,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tenant group.", + "description": "A unique integer value identifying this contact role.", "required": true } ], @@ -127232,12 +137317,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTenantGroupRequest" + "$ref": "#/components/schemas/PatchedContactRoleRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTenantGroupRequest" + "$ref": "#/components/schemas/PatchedContactRoleRequest" } } } @@ -127255,7 +137340,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TenantGroup" + "$ref": "#/components/schemas/ContactRole" } } }, @@ -127264,8 +137349,8 @@ } }, "delete": { - "operationId": "tenancy_tenant_groups_destroy", - "description": "Delete a tenant group object.", + "operationId": "tenancy_contact_roles_destroy", + "description": "Delete a contact role object.", "parameters": [ { "in": "path", @@ -127273,7 +137358,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tenant group.", + "description": "A unique integer value identifying this contact role.", "required": true } ], @@ -127295,86 +137380,135 @@ } } }, - "/api/tenancy/tenants/": { + "/api/tenancy/contacts/": { "get": { - "operationId": "tenancy_tenants_list", - "description": "Get a list of tenant objects.", + "operationId": "tenancy_contacts_list", + "description": "Get a list of contact objects.", "parameters": [ { "in": "query", - "name": "contact", + "name": "address", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact", "explode": true, "style": "form" }, { "in": "query", - "name": "contact__n", + "name": "address__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "address__ic", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_group", + "name": "address__ie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_group__n", + "name": "address__iew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_role", + "name": "address__isw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact Role", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_role__n", + "name": "address__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "address__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "address__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "address__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "address__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" } }, - "description": "Contact Role", "explode": true, "style": "form" }, @@ -127604,16 +137738,142 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "email", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "email__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "email__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "group", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant group (slug)", "explode": true, "style": "form" }, @@ -127623,10 +137883,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant group (slug)", "explode": true, "style": "form" }, @@ -127636,10 +137895,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant group (ID)", "explode": true, "style": "form" }, @@ -127649,10 +137907,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant group (ID)", "explode": true, "style": "form" }, @@ -127843,15 +138100,7 @@ }, { "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", + "name": "link", "schema": { "type": "array", "items": { @@ -127863,14 +138112,14 @@ }, { "in": "query", - "name": "name__empty", + "name": "link__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "name__ic", + "name": "link__ic", "schema": { "type": "array", "items": { @@ -127882,7 +138131,7 @@ }, { "in": "query", - "name": "name__ie", + "name": "link__ie", "schema": { "type": "array", "items": { @@ -127894,7 +138143,7 @@ }, { "in": "query", - "name": "name__iew", + "name": "link__iew", "schema": { "type": "array", "items": { @@ -127906,7 +138155,7 @@ }, { "in": "query", - "name": "name__isw", + "name": "link__isw", "schema": { "type": "array", "items": { @@ -127918,7 +138167,7 @@ }, { "in": "query", - "name": "name__n", + "name": "link__n", "schema": { "type": "array", "items": { @@ -127930,7 +138179,7 @@ }, { "in": "query", - "name": "name__nic", + "name": "link__nic", "schema": { "type": "array", "items": { @@ -127942,7 +138191,7 @@ }, { "in": "query", - "name": "name__nie", + "name": "link__nie", "schema": { "type": "array", "items": { @@ -127954,7 +138203,7 @@ }, { "in": "query", - "name": "name__niew", + "name": "link__niew", "schema": { "type": "array", "items": { @@ -127966,7 +138215,7 @@ }, { "in": "query", - "name": "name__nisw", + "name": "link__nisw", "schema": { "type": "array", "items": { @@ -127977,34 +138226,16 @@ "style": "form" }, { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "modified_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", + "name": "name", "schema": { "type": "array", "items": { @@ -128016,14 +138247,14 @@ }, { "in": "query", - "name": "slug__empty", + "name": "name__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "slug__ic", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -128035,7 +138266,7 @@ }, { "in": "query", - "name": "slug__ie", + "name": "name__ie", "schema": { "type": "array", "items": { @@ -128047,7 +138278,7 @@ }, { "in": "query", - "name": "slug__iew", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -128059,7 +138290,7 @@ }, { "in": "query", - "name": "slug__isw", + "name": "name__isw", "schema": { "type": "array", "items": { @@ -128071,7 +138302,7 @@ }, { "in": "query", - "name": "slug__n", + "name": "name__n", "schema": { "type": "array", "items": { @@ -128083,7 +138314,7 @@ }, { "in": "query", - "name": "slug__nic", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -128095,7 +138326,7 @@ }, { "in": "query", - "name": "slug__nie", + "name": "name__nie", "schema": { "type": "array", "items": { @@ -128107,7 +138338,7 @@ }, { "in": "query", - "name": "slug__niew", + "name": "name__niew", "schema": { "type": "array", "items": { @@ -128119,7 +138350,7 @@ }, { "in": "query", - "name": "slug__nisw", + "name": "name__nisw", "schema": { "type": "array", "items": { @@ -128130,20 +138361,26 @@ "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "tag", + "description": "The initial index from which to return the results.", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "integer" + } }, { + "name": "ordering", + "required": false, "in": "query", - "name": "tag__n", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "phone", "schema": { "type": "array", "items": { @@ -128155,442 +138392,54 @@ }, { "in": "query", - "name": "updated_by_request", + "name": "phone__empty", "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTenantList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_tenants_create", - "description": "Post a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTenantRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTenantRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_tenants_bulk_update", - "description": "Put a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_tenants_bulk_partial_update", - "description": "Patch a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_tenants_bulk_destroy", - "description": "Delete a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } + "type": "boolean" } }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/tenants/{id}/": { - "get": { - "operationId": "tenancy_tenants_retrieve", - "description": "Get a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_tenants_update", - "description": "Put a tenant object.", - "parameters": [ { - "in": "path", - "name": "id", + "in": "query", + "name": "phone__ic", "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTenantRequest" + "type": "array", + "items": { + "type": "string" } }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTenantRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] + "explode": true, + "style": "form" }, { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_tenants_partial_update", - "description": "Patch a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", + "in": "query", + "name": "phone__ie", "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTenantRequest" + "type": "array", + "items": { + "type": "string" } }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTenantRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] + "explode": true, + "style": "form" }, { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_tenants_destroy", - "description": "Delete a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", + "in": "query", + "name": "phone__iew", "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/config/": { - "get": { - "operationId": "users_config_retrieve", - "description": "An API endpoint via which a user can update his or her own UserConfig data (but no one else's).", - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } + "type": "array", + "items": { + "type": "string" } }, - "description": "" - } - } - } - }, - "/api/users/groups/": { - "get": { - "operationId": "users_groups_list", - "description": "Get a list of group objects.", - "parameters": [ + "explode": true, + "style": "form" + }, { "in": "query", - "name": "id", + "name": "phone__isw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -128598,19 +138447,23 @@ }, { "in": "query", - "name": "id__empty", + "name": "phone__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "id__gt", + "name": "phone__nic", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -128618,12 +138471,11 @@ }, { "in": "query", - "name": "id__gte", + "name": "phone__nie", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -128631,12 +138483,11 @@ }, { "in": "query", - "name": "id__lt", + "name": "phone__niew", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -128644,12 +138495,11 @@ }, { "in": "query", - "name": "id__lte", + "name": "phone__nisw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -128657,29 +138507,39 @@ }, { "in": "query", - "name": "id__n", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "tag", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "tag__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "name", + "name": "title", "schema": { "type": "array", "items": { @@ -128691,14 +138551,14 @@ }, { "in": "query", - "name": "name__empty", + "name": "title__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "name__ic", + "name": "title__ic", "schema": { "type": "array", "items": { @@ -128710,7 +138570,7 @@ }, { "in": "query", - "name": "name__ie", + "name": "title__ie", "schema": { "type": "array", "items": { @@ -128722,7 +138582,7 @@ }, { "in": "query", - "name": "name__iew", + "name": "title__iew", "schema": { "type": "array", "items": { @@ -128734,7 +138594,7 @@ }, { "in": "query", - "name": "name__isw", + "name": "title__isw", "schema": { "type": "array", "items": { @@ -128746,7 +138606,7 @@ }, { "in": "query", - "name": "name__n", + "name": "title__n", "schema": { "type": "array", "items": { @@ -128758,7 +138618,7 @@ }, { "in": "query", - "name": "name__nic", + "name": "title__nic", "schema": { "type": "array", "items": { @@ -128770,7 +138630,7 @@ }, { "in": "query", - "name": "name__nie", + "name": "title__nie", "schema": { "type": "array", "items": { @@ -128782,7 +138642,7 @@ }, { "in": "query", - "name": "name__niew", + "name": "title__niew", "schema": { "type": "array", "items": { @@ -128794,7 +138654,7 @@ }, { "in": "query", - "name": "name__nisw", + "name": "title__nisw", "schema": { "type": "array", "items": { @@ -128805,34 +138665,16 @@ "style": "form" }, { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "updated_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -128847,7 +138689,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedGroupList" + "$ref": "#/components/schemas/PaginatedContactList" } } }, @@ -128856,21 +138698,21 @@ } }, "post": { - "operationId": "users_groups_create", - "description": "Post a list of group objects.", + "operationId": "tenancy_contacts_create", + "description": "Post a list of contact objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } }, @@ -128889,7 +138731,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Contact" } } }, @@ -128898,10 +138740,10 @@ } }, "put": { - "operationId": "users_groups_bulk_update", - "description": "Put a list of group objects.", + "operationId": "tenancy_contacts_bulk_update", + "description": "Put a list of contact objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -128909,7 +138751,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } }, @@ -128917,7 +138759,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } } @@ -128939,7 +138781,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Contact" } } } @@ -128949,10 +138791,10 @@ } }, "patch": { - "operationId": "users_groups_bulk_partial_update", - "description": "Patch a list of group objects.", + "operationId": "tenancy_contacts_bulk_partial_update", + "description": "Patch a list of contact objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -128960,7 +138802,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } }, @@ -128968,7 +138810,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } } @@ -128990,7 +138832,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Contact" } } } @@ -129000,10 +138842,10 @@ } }, "delete": { - "operationId": "users_groups_bulk_destroy", - "description": "Delete a list of group objects.", + "operationId": "tenancy_contacts_bulk_destroy", + "description": "Delete a list of contact objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -129011,7 +138853,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } }, @@ -129019,7 +138861,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } } @@ -129041,10 +138883,10 @@ } } }, - "/api/users/groups/{id}/": { + "/api/tenancy/contacts/{id}/": { "get": { - "operationId": "users_groups_retrieve", - "description": "Get a group object.", + "operationId": "tenancy_contacts_retrieve", + "description": "Get a contact object.", "parameters": [ { "in": "path", @@ -129052,12 +138894,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this group.", + "description": "A unique integer value identifying this contact.", "required": true } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -129072,7 +138914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Contact" } } }, @@ -129081,8 +138923,8 @@ } }, "put": { - "operationId": "users_groups_update", - "description": "Put a group object.", + "operationId": "tenancy_contacts_update", + "description": "Put a contact object.", "parameters": [ { "in": "path", @@ -129090,23 +138932,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this group.", + "description": "A unique integer value identifying this contact.", "required": true } ], "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/GroupRequest" + "$ref": "#/components/schemas/ContactRequest" } } }, @@ -129125,7 +138967,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Contact" } } }, @@ -129134,8 +138976,8 @@ } }, "patch": { - "operationId": "users_groups_partial_update", - "description": "Patch a group object.", + "operationId": "tenancy_contacts_partial_update", + "description": "Patch a contact object.", "parameters": [ { "in": "path", @@ -129143,23 +138985,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this group.", + "description": "A unique integer value identifying this contact.", "required": true } ], "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedGroupRequest" + "$ref": "#/components/schemas/PatchedContactRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedGroupRequest" + "$ref": "#/components/schemas/PatchedContactRequest" } } } @@ -129177,7 +139019,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Contact" } } }, @@ -129186,8 +139028,8 @@ } }, "delete": { - "operationId": "users_groups_destroy", - "description": "Delete a group object.", + "operationId": "tenancy_contacts_destroy", + "description": "Delete a contact object.", "parameters": [ { "in": "path", @@ -129195,12 +139037,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this group.", + "description": "A unique integer value identifying this contact.", "required": true } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -129217,46 +139059,67 @@ } } }, - "/api/users/permissions/": { + "/api/tenancy/tenant-groups/": { "get": { - "operationId": "users_permissions_list", - "description": "Get a list of permission objects.", + "operationId": "tenancy_tenant_groups_list", + "description": "Get a list of tenant group objects.", "parameters": [ { "in": "query", - "name": "can_add", + "name": "ancestor", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "can_change", + "name": "ancestor__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "can_delete", + "name": "ancestor_id", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "can_view", + "name": "ancestor_id__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "description", + "name": "created", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129264,18 +139127,25 @@ }, { "in": "query", - "name": "description__empty", + "name": "created__empty", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "description__ic", + "name": "created__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129283,11 +139153,12 @@ }, { "in": "query", - "name": "description__ie", + "name": "created__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129295,11 +139166,12 @@ }, { "in": "query", - "name": "description__iew", + "name": "created__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129307,11 +139179,12 @@ }, { "in": "query", - "name": "description__isw", + "name": "created__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129319,7 +139192,28 @@ }, { "in": "query", - "name": "description__n", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "description", "schema": { "type": "array", "items": { @@ -129331,7 +139225,14 @@ }, { "in": "query", - "name": "description__nic", + "name": "description__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "description__ic", "schema": { "type": "array", "items": { @@ -129343,7 +139244,7 @@ }, { "in": "query", - "name": "description__nie", + "name": "description__ie", "schema": { "type": "array", "items": { @@ -129355,7 +139256,7 @@ }, { "in": "query", - "name": "description__niew", + "name": "description__iew", "schema": { "type": "array", "items": { @@ -129367,7 +139268,7 @@ }, { "in": "query", - "name": "description__nisw", + "name": "description__isw", "schema": { "type": "array", "items": { @@ -129379,60 +139280,61 @@ }, { "in": "query", - "name": "enabled", + "name": "description__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "group", + "name": "description__nic", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Group (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "group__n", + "name": "description__nie", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Group (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id", + "name": "description__niew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id__n", + "name": "description__nisw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group", "explode": true, "style": "form" }, @@ -129522,21 +139424,26 @@ "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "last_updated", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "name", + "name": "last_updated__empty", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129544,18 +139451,25 @@ }, { "in": "query", - "name": "name__empty", + "name": "last_updated__gt", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "name__ic", + "name": "last_updated__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -129563,7 +139477,63 @@ }, { "in": "query", - "name": "name__ie", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "name", "schema": { "type": "array", "items": { @@ -129575,7 +139545,14 @@ }, { "in": "query", - "name": "name__iew", + "name": "name__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -129587,7 +139564,7 @@ }, { "in": "query", - "name": "name__isw", + "name": "name__ie", "schema": { "type": "array", "items": { @@ -129599,7 +139576,7 @@ }, { "in": "query", - "name": "name__n", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -129611,7 +139588,7 @@ }, { "in": "query", - "name": "name__nic", + "name": "name__isw", "schema": { "type": "array", "items": { @@ -129623,7 +139600,7 @@ }, { "in": "query", - "name": "name__nie", + "name": "name__n", "schema": { "type": "array", "items": { @@ -129635,7 +139612,7 @@ }, { "in": "query", - "name": "name__niew", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -129647,7 +139624,7 @@ }, { "in": "query", - "name": "name__nisw", + "name": "name__nie", "schema": { "type": "array", "items": { @@ -129659,11 +139636,11 @@ }, { "in": "query", - "name": "object_types", + "name": "name__niew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, "explode": true, @@ -129671,11 +139648,11 @@ }, { "in": "query", - "name": "object_types__n", + "name": "name__nisw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, "explode": true, @@ -129701,67 +139678,228 @@ }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "user", + "name": "parent", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "User (name)", + "description": "Parent tenant group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "user__n", + "name": "parent__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "User (name)", + "description": "Parent tenant group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "user_id", + "name": "parent_id", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "nullable": true } }, - "description": "User", + "description": "Parent tenant group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "user_id__n", + "name": "parent_id__n", "schema": { "type": "array", "items": { - "type": "integer" - } + "type": "integer", + "nullable": true + } + }, + "description": "Parent tenant group (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "slug", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "slug__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } }, - "description": "User", "explode": true, "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -129776,7 +139914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedObjectPermissionList" + "$ref": "#/components/schemas/PaginatedTenantGroupList" } } }, @@ -129785,21 +139923,21 @@ } }, "post": { - "operationId": "users_permissions_create", - "description": "Post a list of permission objects.", + "operationId": "tenancy_tenant_groups_create", + "description": "Post a list of tenant group objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableObjectPermissionRequest" + "$ref": "#/components/schemas/WritableTenantGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableObjectPermissionRequest" + "$ref": "#/components/schemas/WritableTenantGroupRequest" } } }, @@ -129818,7 +139956,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/TenantGroup" } } }, @@ -129827,10 +139965,10 @@ } }, "put": { - "operationId": "users_permissions_bulk_update", - "description": "Put a list of permission objects.", + "operationId": "tenancy_tenant_groups_bulk_update", + "description": "Put a list of tenant group objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -129838,7 +139976,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" + "$ref": "#/components/schemas/TenantGroupRequest" } } }, @@ -129846,7 +139984,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" + "$ref": "#/components/schemas/TenantGroupRequest" } } } @@ -129868,7 +140006,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/TenantGroup" } } } @@ -129878,10 +140016,10 @@ } }, "patch": { - "operationId": "users_permissions_bulk_partial_update", - "description": "Patch a list of permission objects.", + "operationId": "tenancy_tenant_groups_bulk_partial_update", + "description": "Patch a list of tenant group objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -129889,7 +140027,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" + "$ref": "#/components/schemas/TenantGroupRequest" } } }, @@ -129897,7 +140035,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" + "$ref": "#/components/schemas/TenantGroupRequest" } } } @@ -129919,7 +140057,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/TenantGroup" } } } @@ -129929,10 +140067,10 @@ } }, "delete": { - "operationId": "users_permissions_bulk_destroy", - "description": "Delete a list of permission objects.", + "operationId": "tenancy_tenant_groups_bulk_destroy", + "description": "Delete a list of tenant group objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -129940,7 +140078,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" + "$ref": "#/components/schemas/TenantGroupRequest" } } }, @@ -129948,7 +140086,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" + "$ref": "#/components/schemas/TenantGroupRequest" } } } @@ -129970,10 +140108,10 @@ } } }, - "/api/users/permissions/{id}/": { + "/api/tenancy/tenant-groups/{id}/": { "get": { - "operationId": "users_permissions_retrieve", - "description": "Get a permission object.", + "operationId": "tenancy_tenant_groups_retrieve", + "description": "Get a tenant group object.", "parameters": [ { "in": "path", @@ -129981,12 +140119,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this permission.", + "description": "A unique integer value identifying this tenant group.", "required": true } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -130001,7 +140139,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/TenantGroup" } } }, @@ -130010,8 +140148,8 @@ } }, "put": { - "operationId": "users_permissions_update", - "description": "Put a permission object.", + "operationId": "tenancy_tenant_groups_update", + "description": "Put a tenant group object.", "parameters": [ { "in": "path", @@ -130019,23 +140157,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this permission.", + "description": "A unique integer value identifying this tenant group.", "required": true } ], "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableObjectPermissionRequest" + "$ref": "#/components/schemas/WritableTenantGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableObjectPermissionRequest" + "$ref": "#/components/schemas/WritableTenantGroupRequest" } } }, @@ -130054,7 +140192,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/TenantGroup" } } }, @@ -130063,8 +140201,8 @@ } }, "patch": { - "operationId": "users_permissions_partial_update", - "description": "Patch a permission object.", + "operationId": "tenancy_tenant_groups_partial_update", + "description": "Patch a tenant group object.", "parameters": [ { "in": "path", @@ -130072,23 +140210,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this permission.", + "description": "A unique integer value identifying this tenant group.", "required": true } ], "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableObjectPermissionRequest" + "$ref": "#/components/schemas/PatchedWritableTenantGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableObjectPermissionRequest" + "$ref": "#/components/schemas/PatchedWritableTenantGroupRequest" } } } @@ -130106,7 +140244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/TenantGroup" } } }, @@ -130115,8 +140253,8 @@ } }, "delete": { - "operationId": "users_permissions_destroy", - "description": "Delete a permission object.", + "operationId": "tenancy_tenant_groups_destroy", + "description": "Delete a tenant group object.", "parameters": [ { "in": "path", @@ -130124,12 +140262,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this permission.", + "description": "A unique integer value identifying this tenant group.", "required": true } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -130146,33 +140284,184 @@ } } }, - "/api/users/tokens/": { + "/api/tenancy/tenants/": { "get": { - "operationId": "users_tokens_list", - "description": "Get a list of token objects.", + "operationId": "tenancy_tenants_list", + "description": "Get a list of tenant objects.", "parameters": [ + { + "in": "query", + "name": "contact", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_role", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact Role", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_role__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact Role", + "explode": true, + "style": "form" + }, { "in": "query", "name": "created", "schema": { - "type": "string", - "format": "date-time" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", "name": "created__gte", "schema": { - "type": "string", - "format": "date-time" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", "schema": { "type": "string", - "format": "date-time" + "format": "uuid" } }, { @@ -130304,27 +140593,51 @@ }, { "in": "query", - "name": "expires", + "name": "group", "schema": { - "type": "string", - "format": "date-time" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "expires__gte", + "name": "group__n", "schema": { - "type": "string", - "format": "date-time" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "expires__lte", + "name": "group_id", "schema": { - "type": "string", - "format": "date-time" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", @@ -130413,11 +140726,12 @@ }, { "in": "query", - "name": "key", + "name": "last_updated", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -130425,14 +140739,102 @@ }, { "in": "query", - "name": "key__empty", + "name": "last_updated__empty", "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" } }, { "in": "query", - "name": "key__ic", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "name", "schema": { "type": "array", "items": { @@ -130444,7 +140846,14 @@ }, { "in": "query", - "name": "key__ie", + "name": "name__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -130456,7 +140865,7 @@ }, { "in": "query", - "name": "key__iew", + "name": "name__ie", "schema": { "type": "array", "items": { @@ -130468,7 +140877,7 @@ }, { "in": "query", - "name": "key__isw", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -130480,7 +140889,7 @@ }, { "in": "query", - "name": "key__n", + "name": "name__isw", "schema": { "type": "array", "items": { @@ -130492,7 +140901,7 @@ }, { "in": "query", - "name": "key__nic", + "name": "name__n", "schema": { "type": "array", "items": { @@ -130504,7 +140913,7 @@ }, { "in": "query", - "name": "key__nie", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -130516,7 +140925,7 @@ }, { "in": "query", - "name": "key__niew", + "name": "name__nie", "schema": { "type": "array", "items": { @@ -130528,7 +140937,7 @@ }, { "in": "query", - "name": "key__nisw", + "name": "name__niew", "schema": { "type": "array", "items": { @@ -130539,13 +140948,16 @@ "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "name__nisw", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "name": "offset", @@ -130575,66 +140987,166 @@ }, { "in": "query", - "name": "user", + "name": "slug", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "user__n", + "name": "slug__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "slug__ic", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "user_id", + "name": "slug__ie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "User", "explode": true, "style": "form" }, { "in": "query", - "name": "user_id__n", + "name": "slug__iew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "User", "explode": true, "style": "form" }, { "in": "query", - "name": "write_enabled", + "name": "slug__isw", "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "slug__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" } } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -130649,7 +141161,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedTokenList" + "$ref": "#/components/schemas/PaginatedTenantList" } } }, @@ -130658,21 +141170,21 @@ } }, "post": { - "operationId": "users_tokens_create", - "description": "Post a list of token objects.", + "operationId": "tenancy_tenants_create", + "description": "Post a list of tenant objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTokenRequest" + "$ref": "#/components/schemas/TenantRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } }, @@ -130691,7 +141203,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Token" + "$ref": "#/components/schemas/Tenant" } } }, @@ -130700,10 +141212,10 @@ } }, "put": { - "operationId": "users_tokens_bulk_update", - "description": "Put a list of token objects.", + "operationId": "tenancy_tenants_bulk_update", + "description": "Put a list of tenant objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -130711,7 +141223,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } }, @@ -130719,7 +141231,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } } @@ -130741,7 +141253,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Token" + "$ref": "#/components/schemas/Tenant" } } } @@ -130751,10 +141263,10 @@ } }, "patch": { - "operationId": "users_tokens_bulk_partial_update", - "description": "Patch a list of token objects.", + "operationId": "tenancy_tenants_bulk_partial_update", + "description": "Patch a list of tenant objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -130762,7 +141274,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } }, @@ -130770,7 +141282,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } } @@ -130792,7 +141304,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Token" + "$ref": "#/components/schemas/Tenant" } } } @@ -130802,10 +141314,10 @@ } }, "delete": { - "operationId": "users_tokens_bulk_destroy", - "description": "Delete a list of token objects.", + "operationId": "tenancy_tenants_bulk_destroy", + "description": "Delete a list of tenant objects.", "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { @@ -130813,7 +141325,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } }, @@ -130821,7 +141333,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } } @@ -130843,10 +141355,10 @@ } } }, - "/api/users/tokens/{id}/": { + "/api/tenancy/tenants/{id}/": { "get": { - "operationId": "users_tokens_retrieve", - "description": "Get a token object.", + "operationId": "tenancy_tenants_retrieve", + "description": "Get a tenant object.", "parameters": [ { "in": "path", @@ -130854,12 +141366,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this token.", + "description": "A unique integer value identifying this tenant.", "required": true } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -130874,7 +141386,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Token" + "$ref": "#/components/schemas/Tenant" } } }, @@ -130883,8 +141395,8 @@ } }, "put": { - "operationId": "users_tokens_update", - "description": "Put a token object.", + "operationId": "tenancy_tenants_update", + "description": "Put a tenant object.", "parameters": [ { "in": "path", @@ -130892,23 +141404,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this token.", + "description": "A unique integer value identifying this tenant.", "required": true } ], "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTokenRequest" + "$ref": "#/components/schemas/TenantRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTokenRequest" + "$ref": "#/components/schemas/TenantRequest" } } }, @@ -130927,7 +141439,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Token" + "$ref": "#/components/schemas/Tenant" } } }, @@ -130936,8 +141448,8 @@ } }, "patch": { - "operationId": "users_tokens_partial_update", - "description": "Patch a token object.", + "operationId": "tenancy_tenants_partial_update", + "description": "Patch a tenant object.", "parameters": [ { "in": "path", @@ -130945,23 +141457,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this token.", + "description": "A unique integer value identifying this tenant.", "required": true } ], "tags": [ - "users" + "tenancy" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTokenRequest" + "$ref": "#/components/schemas/PatchedTenantRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTokenRequest" + "$ref": "#/components/schemas/PatchedTenantRequest" } } } @@ -130979,7 +141491,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Token" + "$ref": "#/components/schemas/Tenant" } } }, @@ -130988,8 +141500,8 @@ } }, "delete": { - "operationId": "users_tokens_destroy", - "description": "Delete a token object.", + "operationId": "tenancy_tenants_destroy", + "description": "Delete a tenant object.", "parameters": [ { "in": "path", @@ -130997,12 +141509,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this token.", + "description": "A unique integer value identifying this tenant.", "required": true } ], "tags": [ - "users" + "tenancy" ], "security": [ { @@ -131019,28 +141531,13 @@ } } }, - "/api/users/tokens/provision/": { - "post": { - "operationId": "users_tokens_provision_create", - "description": "Non-authenticated REST API endpoint via which a user may create a Token.", + "/api/users/config/": { + "get": { + "operationId": "users_config_retrieve", + "description": "An API endpoint via which a user can update his or her own UserConfig data (but no one else's).", "tags": [ "users" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenProvisionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TokenProvisionRequest" - } - } - }, - "required": true - }, "security": [ { "cookieAuth": [] @@ -131050,17 +141547,7 @@ } ], "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenProvision" - } - } - }, - "description": "" - }, - "401": { + "200": { "content": { "application/json": { "schema": { @@ -131074,14 +141561,14 @@ } } }, - "/api/users/users/": { + "/api/users/groups/": { "get": { - "operationId": "users_users_list", - "description": "Get a list of user objects.", + "operationId": "users_groups_list", + "description": "Get a list of group objects.", "parameters": [ { "in": "query", - "name": "email", + "name": "description", "schema": { "type": "array", "items": { @@ -131093,14 +141580,14 @@ }, { "in": "query", - "name": "email__empty", + "name": "description__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "email__ic", + "name": "description__ic", "schema": { "type": "array", "items": { @@ -131112,7 +141599,7 @@ }, { "in": "query", - "name": "email__ie", + "name": "description__ie", "schema": { "type": "array", "items": { @@ -131124,7 +141611,7 @@ }, { "in": "query", - "name": "email__iew", + "name": "description__iew", "schema": { "type": "array", "items": { @@ -131136,7 +141623,7 @@ }, { "in": "query", - "name": "email__isw", + "name": "description__isw", "schema": { "type": "array", "items": { @@ -131148,7 +141635,7 @@ }, { "in": "query", - "name": "email__n", + "name": "description__n", "schema": { "type": "array", "items": { @@ -131160,7 +141647,7 @@ }, { "in": "query", - "name": "email__nic", + "name": "description__nic", "schema": { "type": "array", "items": { @@ -131172,7 +141659,7 @@ }, { "in": "query", - "name": "email__nie", + "name": "description__nie", "schema": { "type": "array", "items": { @@ -131184,7 +141671,7 @@ }, { "in": "query", - "name": "email__niew", + "name": "description__niew", "schema": { "type": "array", "items": { @@ -131196,7 +141683,7 @@ }, { "in": "query", - "name": "email__nisw", + "name": "description__nisw", "schema": { "type": "array", "items": { @@ -131208,11 +141695,12 @@ }, { "in": "query", - "name": "first_name", + "name": "id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -131220,18 +141708,19 @@ }, { "in": "query", - "name": "first_name__empty", + "name": "id__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "first_name__ic", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -131239,11 +141728,12 @@ }, { "in": "query", - "name": "first_name__ie", + "name": "id__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -131251,11 +141741,12 @@ }, { "in": "query", - "name": "first_name__iew", + "name": "id__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -131263,11 +141754,12 @@ }, { "in": "query", - "name": "first_name__isw", + "name": "id__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -131275,7 +141767,29 @@ }, { "in": "query", - "name": "first_name__n", + "name": "id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "name", "schema": { "type": "array", "items": { @@ -131287,7 +141801,14 @@ }, { "in": "query", - "name": "first_name__nic", + "name": "name__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -131299,7 +141820,7 @@ }, { "in": "query", - "name": "first_name__nie", + "name": "name__ie", "schema": { "type": "array", "items": { @@ -131311,7 +141832,7 @@ }, { "in": "query", - "name": "first_name__niew", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -131323,7 +141844,7 @@ }, { "in": "query", - "name": "first_name__nisw", + "name": "name__isw", "schema": { "type": "array", "items": { @@ -131335,448 +141856,139 @@ }, { "in": "query", - "name": "group", + "name": "name__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Group (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "group__n", + "name": "name__nic", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Group (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id", + "name": "name__nie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id__n", + "name": "name__niew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Group", "explode": true, "style": "form" }, { "in": "query", - "name": "id", + "name": "name__nisw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "id__empty", + "description": "The initial index from which to return the results.", "schema": { - "type": "boolean" + "type": "integer" } }, { + "name": "ordering", + "required": false, "in": "query", - "name": "id__gt", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "permission_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Permission (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__gte", + "name": "permission_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Permission (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "id__lte", + "name": "user_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "User (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__n", + "name": "user_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_active", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "is_staff", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "is_superuser", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "username", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "username__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" + "type": "integer" } }, + "description": "User (ID)", "explode": true, "style": "form" } @@ -131797,7 +142009,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedUserList" + "$ref": "#/components/schemas/PaginatedGroupList" } } }, @@ -131806,8 +142018,8 @@ } }, "post": { - "operationId": "users_users_create", - "description": "Post a list of user objects.", + "operationId": "users_groups_create", + "description": "Post a list of group objects.", "tags": [ "users" ], @@ -131815,12 +142027,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableUserRequest" + "$ref": "#/components/schemas/GroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableUserRequest" + "$ref": "#/components/schemas/GroupRequest" } } }, @@ -131839,7 +142051,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/Group" } } }, @@ -131848,8 +142060,8 @@ } }, "put": { - "operationId": "users_users_bulk_update", - "description": "Put a list of user objects.", + "operationId": "users_groups_bulk_update", + "description": "Put a list of group objects.", "tags": [ "users" ], @@ -131859,7 +142071,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserRequest" + "$ref": "#/components/schemas/GroupRequest" } } }, @@ -131867,7 +142079,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserRequest" + "$ref": "#/components/schemas/GroupRequest" } } } @@ -131889,7 +142101,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/Group" } } } @@ -131899,8 +142111,8 @@ } }, "patch": { - "operationId": "users_users_bulk_partial_update", - "description": "Patch a list of user objects.", + "operationId": "users_groups_bulk_partial_update", + "description": "Patch a list of group objects.", "tags": [ "users" ], @@ -131910,7 +142122,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserRequest" + "$ref": "#/components/schemas/GroupRequest" } } }, @@ -131918,7 +142130,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserRequest" + "$ref": "#/components/schemas/GroupRequest" } } } @@ -131940,7 +142152,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/Group" } } } @@ -131950,8 +142162,8 @@ } }, "delete": { - "operationId": "users_users_bulk_destroy", - "description": "Delete a list of user objects.", + "operationId": "users_groups_bulk_destroy", + "description": "Delete a list of group objects.", "tags": [ "users" ], @@ -131961,7 +142173,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserRequest" + "$ref": "#/components/schemas/GroupRequest" } } }, @@ -131969,7 +142181,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserRequest" + "$ref": "#/components/schemas/GroupRequest" } } } @@ -131991,10 +142203,10 @@ } } }, - "/api/users/users/{id}/": { + "/api/users/groups/{id}/": { "get": { - "operationId": "users_users_retrieve", - "description": "Get a user object.", + "operationId": "users_groups_retrieve", + "description": "Get a group object.", "parameters": [ { "in": "path", @@ -132002,7 +142214,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this user.", + "description": "A unique integer value identifying this group.", "required": true } ], @@ -132022,7 +142234,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/Group" } } }, @@ -132031,8 +142243,8 @@ } }, "put": { - "operationId": "users_users_update", - "description": "Put a user object.", + "operationId": "users_groups_update", + "description": "Put a group object.", "parameters": [ { "in": "path", @@ -132040,7 +142252,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this user.", + "description": "A unique integer value identifying this group.", "required": true } ], @@ -132051,12 +142263,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableUserRequest" + "$ref": "#/components/schemas/GroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableUserRequest" + "$ref": "#/components/schemas/GroupRequest" } } }, @@ -132075,7 +142287,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/Group" } } }, @@ -132084,8 +142296,8 @@ } }, "patch": { - "operationId": "users_users_partial_update", - "description": "Patch a user object.", + "operationId": "users_groups_partial_update", + "description": "Patch a group object.", "parameters": [ { "in": "path", @@ -132093,7 +142305,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this user.", + "description": "A unique integer value identifying this group.", "required": true } ], @@ -132104,12 +142316,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableUserRequest" + "$ref": "#/components/schemas/PatchedGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableUserRequest" + "$ref": "#/components/schemas/PatchedGroupRequest" } } } @@ -132127,7 +142339,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/Group" } } }, @@ -132136,8 +142348,8 @@ } }, "delete": { - "operationId": "users_users_destroy", - "description": "Delete a user object.", + "operationId": "users_groups_destroy", + "description": "Delete a group object.", "parameters": [ { "in": "path", @@ -132145,7 +142357,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this user.", + "description": "A unique integer value identifying this group.", "required": true } ], @@ -132167,186 +142379,37 @@ } } }, - "/api/virtualization/cluster-groups/": { + "/api/users/permissions/": { "get": { - "operationId": "virtualization_cluster_groups_list", - "description": "Get a list of cluster group objects.", + "operationId": "users_permissions_list", + "description": "Get a list of permission objects.", "parameters": [ { "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", + "name": "can_add", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "created__lte", + "name": "can_change", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "created__n", + "name": "can_delete", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "created_by_request", + "name": "can_view", "schema": { - "type": "string", - "format": "uuid" + "type": "boolean" } }, { @@ -132478,79 +142541,66 @@ }, { "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", + "name": "enabled", "schema": { "type": "boolean" } }, { "in": "query", - "name": "id__gt", + "name": "group", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Group (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__gte", + "name": "group__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Group (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "group_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Group", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lte", + "name": "group_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Group", "explode": true, "style": "form" }, { "in": "query", - "name": "id__n", + "name": "id", "schema": { "type": "array", "items": { @@ -132563,38 +142613,19 @@ }, { "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", + "name": "id__empty", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "last_updated__gt", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -132602,12 +142633,12 @@ }, { "in": "query", - "name": "last_updated__gte", + "name": "id__gte", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -132615,12 +142646,12 @@ }, { "in": "query", - "name": "last_updated__lt", + "name": "id__lt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -132628,12 +142659,12 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "id__lte", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -132641,12 +142672,12 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "id__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -132661,14 +142692,6 @@ "type": "integer" } }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, { "in": "query", "name": "name", @@ -132797,81 +142820,82 @@ "style": "form" }, { - "name": "offset", - "required": false, "in": "query", - "description": "The initial index from which to return the results.", + "name": "object_type", "schema": { - "type": "integer" + "type": "string" } }, { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "object_type__ic", "schema": { "type": "string" } }, { "in": "query", - "name": "q", + "name": "object_type__ie", "schema": { "type": "string" - }, - "description": "Search" + } }, { "in": "query", - "name": "slug", + "name": "object_type__iew", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "slug__empty", + "name": "object_type__isw", "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "slug__ic", + "name": "object_type__n", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "slug__ie", + "name": "object_type__nic", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "slug__iew", + "name": "object_type__nie", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__niew", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type__nisw", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "object_type_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, "explode": true, @@ -132879,11 +142903,11 @@ }, { "in": "query", - "name": "slug__isw", + "name": "object_type_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, "explode": true, @@ -132891,11 +142915,11 @@ }, { "in": "query", - "name": "slug__n", + "name": "object_types", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, "explode": true, @@ -132903,87 +142927,97 @@ }, { "in": "query", - "name": "slug__nic", + "name": "object_types__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, "explode": true, "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "slug__nie", + "description": "The initial index from which to return the results.", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "slug__niew", + "name": "user", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__nisw", + "name": "user__n", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag", + "name": "user_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "User", "explode": true, "style": "form" }, { "in": "query", - "name": "tag__n", + "name": "user_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "User", "explode": true, "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -132998,7 +143032,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedClusterGroupList" + "$ref": "#/components/schemas/PaginatedObjectPermissionList" } } }, @@ -133007,21 +143041,21 @@ } }, "post": { - "operationId": "virtualization_cluster_groups_create", - "description": "Post a list of cluster group objects.", + "operationId": "users_permissions_create", + "description": "Post a list of permission objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } }, @@ -133040,7 +143074,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/ObjectPermission" } } }, @@ -133049,10 +143083,10 @@ } }, "put": { - "operationId": "virtualization_cluster_groups_bulk_update", - "description": "Put a list of cluster group objects.", + "operationId": "users_permissions_bulk_update", + "description": "Put a list of permission objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -133060,7 +143094,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } }, @@ -133068,7 +143102,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } } @@ -133090,7 +143124,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/ObjectPermission" } } } @@ -133100,10 +143134,10 @@ } }, "patch": { - "operationId": "virtualization_cluster_groups_bulk_partial_update", - "description": "Patch a list of cluster group objects.", + "operationId": "users_permissions_bulk_partial_update", + "description": "Patch a list of permission objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -133111,7 +143145,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } }, @@ -133119,7 +143153,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } } @@ -133141,7 +143175,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/ObjectPermission" } } } @@ -133151,10 +143185,10 @@ } }, "delete": { - "operationId": "virtualization_cluster_groups_bulk_destroy", - "description": "Delete a list of cluster group objects.", + "operationId": "users_permissions_bulk_destroy", + "description": "Delete a list of permission objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -133162,7 +143196,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } }, @@ -133170,7 +143204,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } } @@ -133192,10 +143226,10 @@ } } }, - "/api/virtualization/cluster-groups/{id}/": { + "/api/users/permissions/{id}/": { "get": { - "operationId": "virtualization_cluster_groups_retrieve", - "description": "Get a cluster group object.", + "operationId": "users_permissions_retrieve", + "description": "Get a permission object.", "parameters": [ { "in": "path", @@ -133203,12 +143237,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster group.", + "description": "A unique integer value identifying this permission.", "required": true } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -133223,7 +143257,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/ObjectPermission" } } }, @@ -133232,8 +143266,8 @@ } }, "put": { - "operationId": "virtualization_cluster_groups_update", - "description": "Put a cluster group object.", + "operationId": "users_permissions_update", + "description": "Put a permission object.", "parameters": [ { "in": "path", @@ -133241,23 +143275,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster group.", + "description": "A unique integer value identifying this permission.", "required": true } ], "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" + "$ref": "#/components/schemas/ObjectPermissionRequest" } } }, @@ -133276,7 +143310,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/ObjectPermission" } } }, @@ -133285,8 +143319,8 @@ } }, "patch": { - "operationId": "virtualization_cluster_groups_partial_update", - "description": "Patch a cluster group object.", + "operationId": "users_permissions_partial_update", + "description": "Patch a permission object.", "parameters": [ { "in": "path", @@ -133294,23 +143328,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster group.", + "description": "A unique integer value identifying this permission.", "required": true } ], "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedClusterGroupRequest" + "$ref": "#/components/schemas/PatchedObjectPermissionRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedClusterGroupRequest" + "$ref": "#/components/schemas/PatchedObjectPermissionRequest" } } } @@ -133328,7 +143362,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/ObjectPermission" } } }, @@ -133337,8 +143371,8 @@ } }, "delete": { - "operationId": "virtualization_cluster_groups_destroy", - "description": "Delete a cluster group object.", + "operationId": "users_permissions_destroy", + "description": "Delete a permission object.", "parameters": [ { "in": "path", @@ -133346,12 +143380,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster group.", + "description": "A unique integer value identifying this permission.", "required": true } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -133368,108 +143402,33 @@ } } }, - "/api/virtualization/cluster-types/": { + "/api/users/tokens/": { "get": { - "operationId": "virtualization_cluster_types_list", - "description": "Get a list of cluster type objects.", + "operationId": "users_tokens_list", + "description": "Get a list of token objects.", "parameters": [ { "in": "query", "name": "created", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "string", + "format": "date-time" + } }, { "in": "query", "name": "created__gte", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "string", + "format": "date-time" + } }, { "in": "query", "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", "schema": { "type": "string", - "format": "uuid" + "format": "date-time" } }, { @@ -133599,6 +143558,30 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "expires", + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "in": "query", + "name": "expires__gte", + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "in": "query", + "name": "expires__lte", + "schema": { + "type": "string", + "format": "date-time" + } + }, { "in": "query", "name": "id", @@ -133686,12 +143669,11 @@ }, { "in": "query", - "name": "last_updated", + "name": "key", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -133699,12 +143681,18 @@ }, { "in": "query", - "name": "last_updated__empty", + "name": "key__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "key__ic", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -133712,12 +143700,11 @@ }, { "in": "query", - "name": "last_updated__gt", + "name": "key__ie", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -133725,12 +143712,11 @@ }, { "in": "query", - "name": "last_updated__gte", + "name": "key__iew", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -133738,12 +143724,11 @@ }, { "in": "query", - "name": "last_updated__lt", + "name": "key__isw", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -133751,12 +143736,11 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "key__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -133764,37 +143748,19 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "key__nic", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, "style": "form" }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, { "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", + "name": "key__nie", "schema": { "type": "array", "items": { @@ -133806,14 +143772,7 @@ }, { "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", + "name": "key__niew", "schema": { "type": "array", "items": { @@ -133825,7 +143784,7 @@ }, { "in": "query", - "name": "name__ie", + "name": "key__nisw", "schema": { "type": "array", "items": { @@ -133837,11 +143796,12 @@ }, { "in": "query", - "name": "name__iew", + "name": "last_used", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -133849,23 +143809,19 @@ }, { "in": "query", - "name": "name__isw", + "name": "last_used__empty", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "name__n", + "name": "last_used__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -133873,11 +143829,12 @@ }, { "in": "query", - "name": "name__nic", + "name": "last_used__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -133885,11 +143842,12 @@ }, { "in": "query", - "name": "name__nie", + "name": "last_used__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -133897,11 +143855,12 @@ }, { "in": "query", - "name": "name__niew", + "name": "last_used__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -133909,16 +143868,26 @@ }, { "in": "query", - "name": "name__nisw", + "name": "last_used__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, "style": "form" }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } + }, { "name": "offset", "required": false, @@ -133947,166 +143916,66 @@ }, { "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", + "name": "user", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__nisw", + "name": "user__n", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "User (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag", + "name": "user_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "User", "explode": true, "style": "form" }, { "in": "query", - "name": "tag__n", + "name": "user_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "User", "explode": true, "style": "form" }, { "in": "query", - "name": "updated_by_request", + "name": "write_enabled", "schema": { - "type": "string", - "format": "uuid" + "type": "boolean" } } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -134121,7 +143990,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedClusterTypeList" + "$ref": "#/components/schemas/PaginatedTokenList" } } }, @@ -134130,21 +143999,21 @@ } }, "post": { - "operationId": "virtualization_cluster_types_create", - "description": "Post a list of cluster type objects.", + "operationId": "users_tokens_create", + "description": "Post a list of token objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } }, @@ -134163,7 +144032,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/Token" } } }, @@ -134172,10 +144041,10 @@ } }, "put": { - "operationId": "virtualization_cluster_types_bulk_update", - "description": "Put a list of cluster type objects.", + "operationId": "users_tokens_bulk_update", + "description": "Put a list of token objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -134183,7 +144052,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } }, @@ -134191,7 +144060,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } } @@ -134213,7 +144082,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/Token" } } } @@ -134223,10 +144092,10 @@ } }, "patch": { - "operationId": "virtualization_cluster_types_bulk_partial_update", - "description": "Patch a list of cluster type objects.", + "operationId": "users_tokens_bulk_partial_update", + "description": "Patch a list of token objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -134234,7 +144103,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } }, @@ -134242,7 +144111,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } } @@ -134264,7 +144133,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/Token" } } } @@ -134274,10 +144143,10 @@ } }, "delete": { - "operationId": "virtualization_cluster_types_bulk_destroy", - "description": "Delete a list of cluster type objects.", + "operationId": "users_tokens_bulk_destroy", + "description": "Delete a list of token objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -134285,7 +144154,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } }, @@ -134293,7 +144162,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } } @@ -134315,10 +144184,10 @@ } } }, - "/api/virtualization/cluster-types/{id}/": { + "/api/users/tokens/{id}/": { "get": { - "operationId": "virtualization_cluster_types_retrieve", - "description": "Get a cluster type object.", + "operationId": "users_tokens_retrieve", + "description": "Get a token object.", "parameters": [ { "in": "path", @@ -134326,12 +144195,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster type.", + "description": "A unique integer value identifying this token.", "required": true } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -134346,7 +144215,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/Token" } } }, @@ -134355,8 +144224,8 @@ } }, "put": { - "operationId": "virtualization_cluster_types_update", - "description": "Put a cluster type object.", + "operationId": "users_tokens_update", + "description": "Put a token object.", "parameters": [ { "in": "path", @@ -134364,23 +144233,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster type.", + "description": "A unique integer value identifying this token.", "required": true } ], "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" + "$ref": "#/components/schemas/TokenRequest" } } }, @@ -134399,7 +144268,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/Token" } } }, @@ -134408,8 +144277,8 @@ } }, "patch": { - "operationId": "virtualization_cluster_types_partial_update", - "description": "Patch a cluster type object.", + "operationId": "users_tokens_partial_update", + "description": "Patch a token object.", "parameters": [ { "in": "path", @@ -134417,23 +144286,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster type.", + "description": "A unique integer value identifying this token.", "required": true } ], "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedClusterTypeRequest" + "$ref": "#/components/schemas/PatchedTokenRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedClusterTypeRequest" + "$ref": "#/components/schemas/PatchedTokenRequest" } } } @@ -134451,7 +144320,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/Token" } } }, @@ -134460,8 +144329,8 @@ } }, "delete": { - "operationId": "virtualization_cluster_types_destroy", - "description": "Delete a cluster type object.", + "operationId": "users_tokens_destroy", + "description": "Delete a token object.", "parameters": [ { "in": "path", @@ -134469,12 +144338,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster type.", + "description": "A unique integer value identifying this token.", "required": true } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -134491,97 +144360,158 @@ } } }, - "/api/virtualization/clusters/": { + "/api/users/tokens/provision/": { + "post": { + "operationId": "users_tokens_provision_create", + "description": "Non-authenticated REST API endpoint via which a user may create a Token.", + "tags": [ + "users" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TokenProvisionRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/TokenProvisionRequest" + } + } + }, + "required": true + }, + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TokenProvision" + } + } + }, + "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + }, + "description": "" + } + } + } + }, + "/api/users/users/": { "get": { - "operationId": "virtualization_clusters_list", - "description": "Get a list of cluster objects.", + "operationId": "users_users_list", + "description": "Get a list of user objects.", "parameters": [ { "in": "query", - "name": "contact", + "name": "date_joined", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "format": "date-time" } }, - "description": "Contact", "explode": true, "style": "form" }, { "in": "query", - "name": "contact__n", + "name": "date_joined__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "date_joined__gt", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "format": "date-time" } }, - "description": "Contact", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_group", + "name": "date_joined__gte", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "format": "date-time" } }, - "description": "Contact group", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_group__n", + "name": "date_joined__lt", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "format": "date-time" } }, - "description": "Contact group", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_role", + "name": "date_joined__lte", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "format": "date-time" } }, - "description": "Contact Role", "explode": true, "style": "form" }, { "in": "query", - "name": "contact_role__n", + "name": "date_joined__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "format": "date-time" } }, - "description": "Contact Role", "explode": true, "style": "form" }, { "in": "query", - "name": "created", + "name": "email", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134589,12 +144519,18 @@ }, { "in": "query", - "name": "created__empty", + "name": "email__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "email__ic", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134602,12 +144538,11 @@ }, { "in": "query", - "name": "created__gt", + "name": "email__ie", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134615,12 +144550,11 @@ }, { "in": "query", - "name": "created__gte", + "name": "email__iew", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134628,12 +144562,11 @@ }, { "in": "query", - "name": "created__lt", + "name": "email__isw", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134641,12 +144574,11 @@ }, { "in": "query", - "name": "created__lte", + "name": "email__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134654,12 +144586,11 @@ }, { "in": "query", - "name": "created__n", + "name": "email__nic", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -134667,15 +144598,19 @@ }, { "in": "query", - "name": "created_by_request", + "name": "email__nie", "schema": { - "type": "string", - "format": "uuid" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "description", + "name": "email__niew", "schema": { "type": "array", "items": { @@ -134687,14 +144622,38 @@ }, { "in": "query", - "name": "description__empty", + "name": "email__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "first_name", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "first_name__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "description__ic", + "name": "first_name__ic", "schema": { "type": "array", "items": { @@ -134706,7 +144665,7 @@ }, { "in": "query", - "name": "description__ie", + "name": "first_name__ie", "schema": { "type": "array", "items": { @@ -134718,7 +144677,7 @@ }, { "in": "query", - "name": "description__iew", + "name": "first_name__iew", "schema": { "type": "array", "items": { @@ -134730,7 +144689,7 @@ }, { "in": "query", - "name": "description__isw", + "name": "first_name__isw", "schema": { "type": "array", "items": { @@ -134742,7 +144701,7 @@ }, { "in": "query", - "name": "description__n", + "name": "first_name__n", "schema": { "type": "array", "items": { @@ -134754,7 +144713,7 @@ }, { "in": "query", - "name": "description__nic", + "name": "first_name__nic", "schema": { "type": "array", "items": { @@ -134766,7 +144725,7 @@ }, { "in": "query", - "name": "description__nie", + "name": "first_name__nie", "schema": { "type": "array", "items": { @@ -134778,7 +144737,7 @@ }, { "in": "query", - "name": "description__niew", + "name": "first_name__niew", "schema": { "type": "array", "items": { @@ -134790,7 +144749,7 @@ }, { "in": "query", - "name": "description__nisw", + "name": "first_name__nisw", "schema": { "type": "array", "items": { @@ -134809,7 +144768,7 @@ "type": "string" } }, - "description": "Parent group (slug)", + "description": "Group (name)", "explode": true, "style": "form" }, @@ -134822,7 +144781,7 @@ "type": "string" } }, - "description": "Parent group (slug)", + "description": "Group (name)", "explode": true, "style": "form" }, @@ -134832,11 +144791,10 @@ "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "integer" } }, - "description": "Parent group (ID)", + "description": "Group", "explode": true, "style": "form" }, @@ -134846,11 +144804,10 @@ "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "integer" } }, - "description": "Parent group (ID)", + "description": "Group", "explode": true, "style": "form" }, @@ -134941,20 +144898,28 @@ }, { "in": "query", - "name": "last_updated", + "name": "is_active", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "last_updated__empty", + "name": "is_staff", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "is_superuser", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "last_login", "schema": { "type": "array", "items": { @@ -134967,7 +144932,14 @@ }, { "in": "query", - "name": "last_updated__gt", + "name": "last_login__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "last_login__gt", "schema": { "type": "array", "items": { @@ -134980,7 +144952,7 @@ }, { "in": "query", - "name": "last_updated__gte", + "name": "last_login__gte", "schema": { "type": "array", "items": { @@ -134993,7 +144965,7 @@ }, { "in": "query", - "name": "last_updated__lt", + "name": "last_login__lt", "schema": { "type": "array", "items": { @@ -135006,7 +144978,7 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "last_login__lte", "schema": { "type": "array", "items": { @@ -135019,7 +144991,7 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "last_login__n", "schema": { "type": "array", "items": { @@ -135031,25 +145003,8 @@ "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", + "name": "last_name", "schema": { "type": "array", "items": { @@ -135061,14 +145016,14 @@ }, { "in": "query", - "name": "name__empty", + "name": "last_name__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "name__ic", + "name": "last_name__ic", "schema": { "type": "array", "items": { @@ -135080,7 +145035,7 @@ }, { "in": "query", - "name": "name__ie", + "name": "last_name__ie", "schema": { "type": "array", "items": { @@ -135092,7 +145047,7 @@ }, { "in": "query", - "name": "name__iew", + "name": "last_name__iew", "schema": { "type": "array", "items": { @@ -135104,7 +145059,7 @@ }, { "in": "query", - "name": "name__isw", + "name": "last_name__isw", "schema": { "type": "array", "items": { @@ -135116,7 +145071,7 @@ }, { "in": "query", - "name": "name__n", + "name": "last_name__n", "schema": { "type": "array", "items": { @@ -135128,7 +145083,7 @@ }, { "in": "query", - "name": "name__nic", + "name": "last_name__nic", "schema": { "type": "array", "items": { @@ -135140,7 +145095,7 @@ }, { "in": "query", - "name": "name__nie", + "name": "last_name__nie", "schema": { "type": "array", "items": { @@ -135152,7 +145107,7 @@ }, { "in": "query", - "name": "name__niew", + "name": "last_name__niew", "schema": { "type": "array", "items": { @@ -135164,7 +145119,7 @@ }, { "in": "query", - "name": "name__nisw", + "name": "last_name__nisw", "schema": { "type": "array", "items": { @@ -135175,218 +145130,88 @@ "style": "form" }, { - "name": "offset", + "name": "limit", "required": false, "in": "query", - "description": "The initial index from which to return the results.", + "description": "Number of results to return per page.", "schema": { "type": "integer" } }, { - "name": "ordering", + "name": "offset", "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "description": "The initial index from which to return the results.", "schema": { - "type": "string" + "type": "integer" } }, { + "name": "ordering", + "required": false, "in": "query", - "name": "q", + "description": "Which field to use when ordering the results.", "schema": { "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (slug)", - "explode": true, - "style": "form" + } }, { "in": "query", - "name": "region_id", + "name": "permission_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Region (ID)", + "description": "Permission (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "region_id__n", + "name": "permission_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Region (ID)", + "description": "Permission (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "site", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "string" }, - "description": "Site (slug)", - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "site__n", + "name": "username", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", + "name": "username__empty", "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "tag", + "name": "username__ic", "schema": { "type": "array", "items": { @@ -135398,7 +145223,7 @@ }, { "in": "query", - "name": "tag__n", + "name": "username__ie", "schema": { "type": "array", "items": { @@ -135410,173 +145235,91 @@ }, { "in": "query", - "name": "tenant", + "name": "username__iew", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant__n", + "name": "username__isw", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", + "name": "username__n", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "string" } }, - "description": "Tenant (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "type", + "name": "username__nic", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Cluster type (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "type__n", + "name": "username__nie", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Cluster type (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "type_id", + "name": "username__niew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Cluster type (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "type_id__n", + "name": "username__nisw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Cluster type (ID)", "explode": true, "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -135591,7 +145334,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedClusterList" + "$ref": "#/components/schemas/PaginatedUserList" } } }, @@ -135600,21 +145343,21 @@ } }, "post": { - "operationId": "virtualization_clusters_create", - "description": "Post a list of cluster objects.", + "operationId": "users_users_create", + "description": "Post a list of user objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" + "$ref": "#/components/schemas/UserRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } }, @@ -135633,7 +145376,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/User" } } }, @@ -135642,10 +145385,10 @@ } }, "put": { - "operationId": "virtualization_clusters_bulk_update", - "description": "Put a list of cluster objects.", + "operationId": "users_users_bulk_update", + "description": "Put a list of user objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -135653,7 +145396,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } }, @@ -135661,7 +145404,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } } @@ -135683,7 +145426,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/User" } } } @@ -135693,10 +145436,10 @@ } }, "patch": { - "operationId": "virtualization_clusters_bulk_partial_update", - "description": "Patch a list of cluster objects.", + "operationId": "users_users_bulk_partial_update", + "description": "Patch a list of user objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -135704,7 +145447,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } }, @@ -135712,7 +145455,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } } @@ -135734,7 +145477,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/User" } } } @@ -135744,10 +145487,10 @@ } }, "delete": { - "operationId": "virtualization_clusters_bulk_destroy", - "description": "Delete a list of cluster objects.", + "operationId": "users_users_bulk_destroy", + "description": "Delete a list of user objects.", "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { @@ -135755,7 +145498,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } }, @@ -135763,7 +145506,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } } @@ -135785,10 +145528,10 @@ } } }, - "/api/virtualization/clusters/{id}/": { + "/api/users/users/{id}/": { "get": { - "operationId": "virtualization_clusters_retrieve", - "description": "Get a cluster object.", + "operationId": "users_users_retrieve", + "description": "Get a user object.", "parameters": [ { "in": "path", @@ -135796,12 +145539,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster.", + "description": "A unique integer value identifying this user.", "required": true } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -135816,7 +145559,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/User" } } }, @@ -135825,8 +145568,8 @@ } }, "put": { - "operationId": "virtualization_clusters_update", - "description": "Put a cluster object.", + "operationId": "users_users_update", + "description": "Put a user object.", "parameters": [ { "in": "path", @@ -135834,23 +145577,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster.", + "description": "A unique integer value identifying this user.", "required": true } ], "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" + "$ref": "#/components/schemas/UserRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" + "$ref": "#/components/schemas/UserRequest" } } }, @@ -135869,7 +145612,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/User" } } }, @@ -135878,8 +145621,8 @@ } }, "patch": { - "operationId": "virtualization_clusters_partial_update", - "description": "Patch a cluster object.", + "operationId": "users_users_partial_update", + "description": "Patch a user object.", "parameters": [ { "in": "path", @@ -135887,23 +145630,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster.", + "description": "A unique integer value identifying this user.", "required": true } ], "tags": [ - "virtualization" + "users" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableClusterRequest" + "$ref": "#/components/schemas/PatchedUserRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableClusterRequest" + "$ref": "#/components/schemas/PatchedUserRequest" } } } @@ -135921,7 +145664,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/User" } } }, @@ -135930,8 +145673,8 @@ } }, "delete": { - "operationId": "virtualization_clusters_destroy", - "description": "Delete a cluster object.", + "operationId": "users_users_destroy", + "description": "Delete a user object.", "parameters": [ { "in": "path", @@ -135939,12 +145682,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this cluster.", + "description": "A unique integer value identifying this user.", "required": true } ], "tags": [ - "virtualization" + "users" ], "security": [ { @@ -135961,86 +145704,84 @@ } } }, - "/api/virtualization/interfaces/": { + "/api/virtualization/cluster-groups/": { "get": { - "operationId": "virtualization_interfaces_list", - "description": "Get a list of interface objects.", + "operationId": "virtualization_cluster_groups_list", + "description": "Get a list of cluster group objects.", "parameters": [ { "in": "query", - "name": "bridge_id", + "name": "contact", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Bridged interface (ID)", + "description": "Contact", "explode": true, "style": "form" }, { "in": "query", - "name": "bridge_id__n", + "name": "contact__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Bridged interface (ID)", + "description": "Contact", "explode": true, "style": "form" }, { "in": "query", - "name": "cluster", + "name": "contact_group", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Cluster", "explode": true, "style": "form" }, { "in": "query", - "name": "cluster__n", + "name": "contact_group__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Cluster", "explode": true, "style": "form" }, { "in": "query", - "name": "cluster_id", + "name": "contact_role", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Cluster (ID)", + "description": "Contact Role", "explode": true, "style": "form" }, { "in": "query", - "name": "cluster_id__n", + "name": "contact_role__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Cluster (ID)", + "description": "Contact Role", "explode": true, "style": "form" }, @@ -136270,13 +146011,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, { "in": "query", "name": "id", @@ -136362,66 +146096,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "l2vpn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "last_updated", @@ -136522,126 +146196,6 @@ "type": "integer" } }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "modified_by_request", @@ -136650,91 +146204,6 @@ "format": "uuid" } }, - { - "in": "query", - "name": "mtu", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mtu__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "name", @@ -136882,41 +146351,34 @@ }, { "in": "query", - "name": "parent_id", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "integer" - } + "type": "string" }, - "description": "Parent interface (ID)", - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "parent_id__n", + "name": "slug", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Parent interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "q", + "name": "slug__empty", "schema": { - "type": "string" - }, - "description": "Search" + "type": "boolean" + } }, { "in": "query", - "name": "tag", + "name": "slug__ic", "schema": { "type": "array", "items": { @@ -136928,7 +146390,7 @@ }, { "in": "query", - "name": "tag__n", + "name": "slug__ie", "schema": { "type": "array", "items": { @@ -136940,135 +146402,119 @@ }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", + "name": "slug__iew", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Virtual machine", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine__n", + "name": "slug__isw", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Virtual machine", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine_id", + "name": "slug__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine_id__n", + "name": "slug__nic", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vlan", - "schema": { - "type": "string" - }, - "description": "Assigned VID" - }, - { - "in": "query", - "name": "vlan_id", + "name": "slug__nie", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } }, - "description": "Assigned VLAN" + "explode": true, + "style": "form" }, { "in": "query", - "name": "vrf", + "name": "slug__niew", "schema": { "type": "array", "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" + "type": "string" } }, - "description": "VRF (RD)", "explode": true, "style": "form" }, { "in": "query", - "name": "vrf__n", + "name": "slug__nisw", "schema": { "type": "array", "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" + "type": "string" } }, - "description": "VRF (RD)", "explode": true, "style": "form" }, { "in": "query", - "name": "vrf_id", + "name": "tag", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "VRF", "explode": true, "style": "form" }, { "in": "query", - "name": "vrf_id__n", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "VRF", "explode": true, "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -137087,7 +146533,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedVMInterfaceList" + "$ref": "#/components/schemas/PaginatedClusterGroupList" } } }, @@ -137096,8 +146542,8 @@ } }, "post": { - "operationId": "virtualization_interfaces_create", - "description": "Post a list of interface objects.", + "operationId": "virtualization_cluster_groups_create", + "description": "Post a list of cluster group objects.", "tags": [ "virtualization" ], @@ -137105,12 +146551,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } }, @@ -137129,7 +146575,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/ClusterGroup" } } }, @@ -137138,8 +146584,8 @@ } }, "put": { - "operationId": "virtualization_interfaces_bulk_update", - "description": "Put a list of interface objects.", + "operationId": "virtualization_cluster_groups_bulk_update", + "description": "Put a list of cluster group objects.", "tags": [ "virtualization" ], @@ -137149,7 +146595,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } }, @@ -137157,7 +146603,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } } @@ -137179,7 +146625,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/ClusterGroup" } } } @@ -137189,8 +146635,8 @@ } }, "patch": { - "operationId": "virtualization_interfaces_bulk_partial_update", - "description": "Patch a list of interface objects.", + "operationId": "virtualization_cluster_groups_bulk_partial_update", + "description": "Patch a list of cluster group objects.", "tags": [ "virtualization" ], @@ -137200,7 +146646,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } }, @@ -137208,7 +146654,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } } @@ -137230,7 +146676,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/ClusterGroup" } } } @@ -137240,8 +146686,8 @@ } }, "delete": { - "operationId": "virtualization_interfaces_bulk_destroy", - "description": "Delete a list of interface objects.", + "operationId": "virtualization_cluster_groups_bulk_destroy", + "description": "Delete a list of cluster group objects.", "tags": [ "virtualization" ], @@ -137251,7 +146697,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } }, @@ -137259,7 +146705,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } } @@ -137281,10 +146727,10 @@ } } }, - "/api/virtualization/interfaces/{id}/": { + "/api/virtualization/cluster-groups/{id}/": { "get": { - "operationId": "virtualization_interfaces_retrieve", - "description": "Get a interface object.", + "operationId": "virtualization_cluster_groups_retrieve", + "description": "Get a cluster group object.", "parameters": [ { "in": "path", @@ -137292,7 +146738,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this interface.", + "description": "A unique integer value identifying this cluster group.", "required": true } ], @@ -137312,7 +146758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/ClusterGroup" } } }, @@ -137321,8 +146767,8 @@ } }, "put": { - "operationId": "virtualization_interfaces_update", - "description": "Put a interface object.", + "operationId": "virtualization_cluster_groups_update", + "description": "Put a cluster group object.", "parameters": [ { "in": "path", @@ -137330,7 +146776,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this interface.", + "description": "A unique integer value identifying this cluster group.", "required": true } ], @@ -137341,12 +146787,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" + "$ref": "#/components/schemas/ClusterGroupRequest" } } }, @@ -137365,7 +146811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/ClusterGroup" } } }, @@ -137374,8 +146820,8 @@ } }, "patch": { - "operationId": "virtualization_interfaces_partial_update", - "description": "Patch a interface object.", + "operationId": "virtualization_cluster_groups_partial_update", + "description": "Patch a cluster group object.", "parameters": [ { "in": "path", @@ -137383,7 +146829,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this interface.", + "description": "A unique integer value identifying this cluster group.", "required": true } ], @@ -137394,12 +146840,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVMInterfaceRequest" + "$ref": "#/components/schemas/PatchedClusterGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVMInterfaceRequest" + "$ref": "#/components/schemas/PatchedClusterGroupRequest" } } } @@ -137417,7 +146863,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/ClusterGroup" } } }, @@ -137426,8 +146872,8 @@ } }, "delete": { - "operationId": "virtualization_interfaces_destroy", - "description": "Delete a interface object.", + "operationId": "virtualization_cluster_groups_destroy", + "description": "Delete a cluster group object.", "parameters": [ { "in": "path", @@ -137435,7 +146881,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this interface.", + "description": "A unique integer value identifying this cluster group.", "required": true } ], @@ -137457,10 +146903,10 @@ } } }, - "/api/virtualization/virtual-disks/": { + "/api/virtualization/cluster-types/": { "get": { - "operationId": "virtualization_virtual_disks_list", - "description": "Get a list of virtual disk objects.", + "operationId": "virtualization_cluster_types_list", + "description": "Get a list of cluster type objects.", "parameters": [ { "in": "query", @@ -138036,12 +147482,11 @@ }, { "in": "query", - "name": "size", + "name": "slug", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -138049,19 +147494,18 @@ }, { "in": "query", - "name": "size__empty", + "name": "slug__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "size__gt", + "name": "slug__ic", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -138069,12 +147513,11 @@ }, { "in": "query", - "name": "size__gte", + "name": "slug__ie", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -138082,12 +147525,11 @@ }, { "in": "query", - "name": "size__lt", + "name": "slug__iew", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -138095,12 +147537,11 @@ }, { "in": "query", - "name": "size__lte", + "name": "slug__isw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -138108,12 +147549,11 @@ }, { "in": "query", - "name": "size__n", + "name": "slug__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -138121,7 +147561,7 @@ }, { "in": "query", - "name": "tag", + "name": "slug__nic", "schema": { "type": "array", "items": { @@ -138133,7 +147573,7 @@ }, { "in": "query", - "name": "tag__n", + "name": "slug__nie", "schema": { "type": "array", "items": { @@ -138145,63 +147585,59 @@ }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", + "name": "slug__niew", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Virtual machine", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine__n", + "name": "slug__nisw", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Virtual machine", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine_id", + "name": "tag", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine_id__n", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Virtual machine (ID)", "explode": true, "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -138220,7 +147656,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedVirtualDiskList" + "$ref": "#/components/schemas/PaginatedClusterTypeList" } } }, @@ -138229,8 +147665,8 @@ } }, "post": { - "operationId": "virtualization_virtual_disks_create", - "description": "Post a list of virtual disk objects.", + "operationId": "virtualization_cluster_types_create", + "description": "Post a list of cluster type objects.", "tags": [ "virtualization" ], @@ -138238,12 +147674,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } }, @@ -138262,7 +147698,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualDisk" + "$ref": "#/components/schemas/ClusterType" } } }, @@ -138271,8 +147707,8 @@ } }, "put": { - "operationId": "virtualization_virtual_disks_bulk_update", - "description": "Put a list of virtual disk objects.", + "operationId": "virtualization_cluster_types_bulk_update", + "description": "Put a list of cluster type objects.", "tags": [ "virtualization" ], @@ -138282,7 +147718,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } }, @@ -138290,7 +147726,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } } @@ -138312,7 +147748,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDisk" + "$ref": "#/components/schemas/ClusterType" } } } @@ -138322,8 +147758,8 @@ } }, "patch": { - "operationId": "virtualization_virtual_disks_bulk_partial_update", - "description": "Patch a list of virtual disk objects.", + "operationId": "virtualization_cluster_types_bulk_partial_update", + "description": "Patch a list of cluster type objects.", "tags": [ "virtualization" ], @@ -138333,7 +147769,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } }, @@ -138341,7 +147777,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } } @@ -138363,7 +147799,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDisk" + "$ref": "#/components/schemas/ClusterType" } } } @@ -138373,8 +147809,8 @@ } }, "delete": { - "operationId": "virtualization_virtual_disks_bulk_destroy", - "description": "Delete a list of virtual disk objects.", + "operationId": "virtualization_cluster_types_bulk_destroy", + "description": "Delete a list of cluster type objects.", "tags": [ "virtualization" ], @@ -138384,7 +147820,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } }, @@ -138392,7 +147828,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } } @@ -138414,10 +147850,10 @@ } } }, - "/api/virtualization/virtual-disks/{id}/": { + "/api/virtualization/cluster-types/{id}/": { "get": { - "operationId": "virtualization_virtual_disks_retrieve", - "description": "Get a virtual disk object.", + "operationId": "virtualization_cluster_types_retrieve", + "description": "Get a cluster type object.", "parameters": [ { "in": "path", @@ -138425,7 +147861,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual disk.", + "description": "A unique integer value identifying this cluster type.", "required": true } ], @@ -138445,7 +147881,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualDisk" + "$ref": "#/components/schemas/ClusterType" } } }, @@ -138454,8 +147890,8 @@ } }, "put": { - "operationId": "virtualization_virtual_disks_update", - "description": "Put a virtual disk object.", + "operationId": "virtualization_cluster_types_update", + "description": "Put a cluster type object.", "parameters": [ { "in": "path", @@ -138463,7 +147899,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual disk.", + "description": "A unique integer value identifying this cluster type.", "required": true } ], @@ -138474,12 +147910,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVirtualDiskRequest" + "$ref": "#/components/schemas/ClusterTypeRequest" } } }, @@ -138498,7 +147934,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualDisk" + "$ref": "#/components/schemas/ClusterType" } } }, @@ -138507,8 +147943,8 @@ } }, "patch": { - "operationId": "virtualization_virtual_disks_partial_update", - "description": "Patch a virtual disk object.", + "operationId": "virtualization_cluster_types_partial_update", + "description": "Patch a cluster type object.", "parameters": [ { "in": "path", @@ -138516,7 +147952,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual disk.", + "description": "A unique integer value identifying this cluster type.", "required": true } ], @@ -138527,12 +147963,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualDiskRequest" + "$ref": "#/components/schemas/PatchedClusterTypeRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualDiskRequest" + "$ref": "#/components/schemas/PatchedClusterTypeRequest" } } } @@ -138550,7 +147986,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualDisk" + "$ref": "#/components/schemas/ClusterType" } } }, @@ -138559,8 +147995,8 @@ } }, "delete": { - "operationId": "virtualization_virtual_disks_destroy", - "description": "Delete a virtual disk object.", + "operationId": "virtualization_cluster_types_destroy", + "description": "Delete a cluster type object.", "parameters": [ { "in": "path", @@ -138568,7 +148004,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual disk.", + "description": "A unique integer value identifying this cluster type.", "required": true } ], @@ -138590,197 +148026,11 @@ } } }, - "/api/virtualization/virtual-machines/": { + "/api/virtualization/clusters/": { "get": { - "operationId": "virtualization_virtual_machines_list", - "description": "Get a list of virtual machine objects.", + "operationId": "virtualization_clusters_list", + "description": "Get a list of cluster objects.", "parameters": [ - { - "in": "query", - "name": "cluster", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "contact", @@ -138813,10 +148063,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -138826,10 +148075,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Contact group", "explode": true, "style": "form" }, @@ -139087,35 +148335,33 @@ }, { "in": "query", - "name": "device", + "name": "group", "schema": { "type": "array", "items": { - "type": "string", - "nullable": true + "type": "string" } }, - "description": "Device", + "description": "Parent group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "device__n", + "name": "group__n", "schema": { "type": "array", "items": { - "type": "string", - "nullable": true + "type": "string" } }, - "description": "Device", + "description": "Parent group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "device_id", + "name": "group_id", "schema": { "type": "array", "items": { @@ -139123,13 +148369,13 @@ "nullable": true } }, - "description": "Device (ID)", + "description": "Parent group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "device_id__n", + "name": "group_id__n", "schema": { "type": "array", "items": { @@ -139137,103 +148383,10 @@ "nullable": true } }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "disk__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, + "description": "Parent group (ID)", "explode": true, "style": "form" }, - { - "in": "query", - "name": "has_primary_ip", - "schema": { - "type": "boolean" - }, - "description": "Has a primary IP" - }, { "in": "query", "name": "id", @@ -139419,219 +148572,6 @@ "type": "integer" } }, - { - "in": "query", - "name": "local_context_data", - "schema": { - "type": "boolean" - }, - "description": "Has local config context data" - }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "memory__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "modified_by_request", @@ -139785,112 +148725,6 @@ "type": "string" } }, - { - "in": "query", - "name": "platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Platform (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Platform (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Platform (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Platform (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "q", @@ -139905,10 +148739,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, @@ -139918,90 +148751,33 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Region (slug)", "explode": true, "style": "form" }, { "in": "query", "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "role__n", + "name": "region_id__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", "explode": true, "style": "form" }, @@ -140037,10 +148813,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -140050,10 +148825,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (slug)", "explode": true, "style": "form" }, @@ -140063,10 +148837,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -140076,10 +148849,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Site group (ID)", "explode": true, "style": "form" }, @@ -140118,7 +148890,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" + "x-spec-enum-id": "79d20a734d0eecbb" } }, "explode": true, @@ -140131,7 +148903,7 @@ "type": "array", "items": { "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" + "x-spec-enum-id": "79d20a734d0eecbb" } }, "explode": true, @@ -140193,10 +148965,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -140206,10 +148977,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, @@ -140219,10 +148989,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -140232,10 +149001,9 @@ "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, @@ -140269,96 +149037,63 @@ }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vcpus", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vcpus__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "vcpus__gt", + "name": "type", "schema": { "type": "array", "items": { - "type": "number", - "format": "double" + "type": "string" } }, + "description": "Cluster type (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "vcpus__gte", + "name": "type__n", "schema": { "type": "array", "items": { - "type": "number", - "format": "double" + "type": "string" } }, + "description": "Cluster type (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "vcpus__lt", + "name": "type_id", "schema": { "type": "array", "items": { - "type": "number", - "format": "double" + "type": "integer" } }, + "description": "Cluster type (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vcpus__lte", + "name": "type_id__n", "schema": { "type": "array", "items": { - "type": "number", - "format": "double" + "type": "integer" } }, + "description": "Cluster type (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vcpus__n", + "name": "updated_by_request", "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -140377,7 +149112,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedVirtualMachineWithConfigContextList" + "$ref": "#/components/schemas/PaginatedClusterList" } } }, @@ -140386,8 +149121,8 @@ } }, "post": { - "operationId": "virtualization_virtual_machines_create", - "description": "Post a list of virtual machine objects.", + "operationId": "virtualization_clusters_create", + "description": "Post a list of cluster objects.", "tags": [ "virtualization" ], @@ -140395,12 +149130,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/WritableClusterRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/WritableClusterRequest" } } }, @@ -140419,7 +149154,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/Cluster" } } }, @@ -140428,8 +149163,8 @@ } }, "put": { - "operationId": "virtualization_virtual_machines_bulk_update", - "description": "Put a list of virtual machine objects.", + "operationId": "virtualization_clusters_bulk_update", + "description": "Put a list of cluster objects.", "tags": [ "virtualization" ], @@ -140439,7 +149174,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/ClusterRequest" } } }, @@ -140447,7 +149182,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/ClusterRequest" } } } @@ -140469,7 +149204,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/Cluster" } } } @@ -140479,8 +149214,8 @@ } }, "patch": { - "operationId": "virtualization_virtual_machines_bulk_partial_update", - "description": "Patch a list of virtual machine objects.", + "operationId": "virtualization_clusters_bulk_partial_update", + "description": "Patch a list of cluster objects.", "tags": [ "virtualization" ], @@ -140490,7 +149225,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/ClusterRequest" } } }, @@ -140498,7 +149233,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/ClusterRequest" } } } @@ -140520,7 +149255,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/Cluster" } } } @@ -140530,8 +149265,8 @@ } }, "delete": { - "operationId": "virtualization_virtual_machines_bulk_destroy", - "description": "Delete a list of virtual machine objects.", + "operationId": "virtualization_clusters_bulk_destroy", + "description": "Delete a list of cluster objects.", "tags": [ "virtualization" ], @@ -140541,7 +149276,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/ClusterRequest" } } }, @@ -140549,7 +149284,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/ClusterRequest" } } } @@ -140571,10 +149306,10 @@ } } }, - "/api/virtualization/virtual-machines/{id}/": { + "/api/virtualization/clusters/{id}/": { "get": { - "operationId": "virtualization_virtual_machines_retrieve", - "description": "Get a virtual machine object.", + "operationId": "virtualization_clusters_retrieve", + "description": "Get a cluster object.", "parameters": [ { "in": "path", @@ -140582,7 +149317,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual machine.", + "description": "A unique integer value identifying this cluster.", "required": true } ], @@ -140602,7 +149337,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/Cluster" } } }, @@ -140611,8 +149346,8 @@ } }, "put": { - "operationId": "virtualization_virtual_machines_update", - "description": "Put a virtual machine object.", + "operationId": "virtualization_clusters_update", + "description": "Put a cluster object.", "parameters": [ { "in": "path", @@ -140620,7 +149355,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual machine.", + "description": "A unique integer value identifying this cluster.", "required": true } ], @@ -140631,12 +149366,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/WritableClusterRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/WritableClusterRequest" } } }, @@ -140655,7 +149390,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/Cluster" } } }, @@ -140664,8 +149399,8 @@ } }, "patch": { - "operationId": "virtualization_virtual_machines_partial_update", - "description": "Patch a virtual machine object.", + "operationId": "virtualization_clusters_partial_update", + "description": "Patch a cluster object.", "parameters": [ { "in": "path", @@ -140673,7 +149408,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual machine.", + "description": "A unique integer value identifying this cluster.", "required": true } ], @@ -140684,12 +149419,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/PatchedWritableClusterRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest" + "$ref": "#/components/schemas/PatchedWritableClusterRequest" } } } @@ -140707,7 +149442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/Cluster" } } }, @@ -140716,8 +149451,8 @@ } }, "delete": { - "operationId": "virtualization_virtual_machines_destroy", - "description": "Delete a virtual machine object.", + "operationId": "virtualization_clusters_destroy", + "description": "Delete a cluster object.", "parameters": [ { "in": "path", @@ -140725,7 +149460,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this virtual machine.", + "description": "A unique integer value identifying this cluster.", "required": true } ], @@ -140747,82 +149482,89 @@ } } }, - "/api/virtualization/virtual-machines/{id}/render-config/": { - "post": { - "operationId": "virtualization_virtual_machines_render_config_create", - "description": "Resolve and render the preferred ConfigTemplate for this Device.", + "/api/virtualization/interfaces/": { + "get": { + "operationId": "virtualization_interfaces_list", + "description": "Get a list of interface objects.", "parameters": [ { "in": "query", - "name": "format", + "name": "bridge_id", "schema": { - "type": "string", - "enum": [ - "json", - "txt" - ] - } + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Bridged interface (ID)", + "explode": true, + "style": "form" }, { - "in": "path", - "name": "id", + "in": "query", + "name": "bridge_id__n", "schema": { - "type": "integer" + "type": "array", + "items": { + "type": "integer" + } }, - "description": "A unique integer value identifying this virtual machine.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + "description": "Bridged interface (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster", + "schema": { + "type": "array", + "items": { + "type": "string" } }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + "description": "Cluster", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster__n", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "description": "Cluster", + "explode": true, + "style": "form" }, - "required": true - }, - "security": [ { - "cookieAuth": [] + "in": "query", + "name": "cluster_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster (ID)", + "explode": true, + "style": "form" }, { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - }, - "text/plain": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } + "in": "query", + "name": "cluster_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" } }, - "description": "" - } - } - } - }, - "/api/vpn/ike-policies/": { - "get": { - "operationId": "vpn_ike_policies_list", - "description": "Get a list of IKE policy objects.", - "parameters": [ + "description": "Cluster (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "created", @@ -141049,6 +149791,13 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "enabled", + "schema": { + "type": "boolean" + } + }, { "in": "query", "name": "id", @@ -141136,59 +149885,67 @@ }, { "in": "query", - "name": "last_updated", + "name": "l2vpn", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true } }, + "description": "L2VPN", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__empty", + "name": "l2vpn__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true } }, + "description": "L2VPN", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__gt", + "name": "l2vpn_id", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer" } }, + "description": "L2VPN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__gte", + "name": "l2vpn_id__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer" } }, + "description": "L2VPN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__lt", + "name": "last_updated", "schema": { "type": "array", "items": { @@ -141201,7 +149958,7 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "last_updated__empty", "schema": { "type": "array", "items": { @@ -141214,7 +149971,7 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "last_updated__gt", "schema": { "type": "array", "items": { @@ -141225,23 +149982,14 @@ "explode": true, "style": "form" }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, { "in": "query", - "name": "mode", + "name": "last_updated__gte", "schema": { "type": "array", "items": { "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca" + "format": "date-time" } }, "explode": true, @@ -141249,12 +149997,12 @@ }, { "in": "query", - "name": "mode__n", + "name": "last_updated__lt", "schema": { "type": "array", "items": { "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca" + "format": "date-time" } }, "explode": true, @@ -141262,34 +150010,42 @@ }, { "in": "query", - "name": "modified_by_request", + "name": "last_updated__lte", "schema": { - "type": "string", - "format": "uuid" - } + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "name", + "name": "last_updated__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, "style": "form" }, { + "name": "limit", + "required": false, "in": "query", - "name": "name__empty", + "description": "Number of results to return per page.", "schema": { - "type": "boolean" + "type": "integer" } }, { "in": "query", - "name": "name__ic", + "name": "mac_address", "schema": { "type": "array", "items": { @@ -141301,7 +150057,7 @@ }, { "in": "query", - "name": "name__ie", + "name": "mac_address__ic", "schema": { "type": "array", "items": { @@ -141313,7 +150069,7 @@ }, { "in": "query", - "name": "name__iew", + "name": "mac_address__ie", "schema": { "type": "array", "items": { @@ -141325,7 +150081,7 @@ }, { "in": "query", - "name": "name__isw", + "name": "mac_address__iew", "schema": { "type": "array", "items": { @@ -141337,7 +150093,7 @@ }, { "in": "query", - "name": "name__n", + "name": "mac_address__isw", "schema": { "type": "array", "items": { @@ -141349,7 +150105,7 @@ }, { "in": "query", - "name": "name__nic", + "name": "mac_address__n", "schema": { "type": "array", "items": { @@ -141361,7 +150117,7 @@ }, { "in": "query", - "name": "name__nie", + "name": "mac_address__nic", "schema": { "type": "array", "items": { @@ -141373,7 +150129,7 @@ }, { "in": "query", - "name": "name__niew", + "name": "mac_address__nie", "schema": { "type": "array", "items": { @@ -141385,7 +150141,7 @@ }, { "in": "query", - "name": "name__nisw", + "name": "mac_address__niew", "schema": { "type": "array", "items": { @@ -141396,96 +150152,141 @@ "style": "form" }, { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "mac_address__nisw", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "preshared_key", + "name": "mode", "schema": { - "type": "string" - } + "type": "string", + "x-spec-enum-id": "79109bd9dbb73a3c", + "enum": [ + "access", + "tagged", + "tagged-all" + ] + }, + "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)" }, { "in": "query", - "name": "preshared_key__ic", + "name": "mode__n", "schema": { - "type": "string" - } + "type": "string", + "x-spec-enum-id": "79109bd9dbb73a3c", + "enum": [ + "access", + "tagged", + "tagged-all" + ] + }, + "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)" }, { "in": "query", - "name": "preshared_key__ie", + "name": "modified_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { "in": "query", - "name": "preshared_key__iew", + "name": "mtu", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "preshared_key__isw", + "name": "mtu__empty", "schema": { - "type": "string" + "type": "boolean" } }, { "in": "query", - "name": "preshared_key__n", + "name": "mtu__gt", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "preshared_key__nic", + "name": "mtu__gte", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "preshared_key__nie", + "name": "mtu__lt", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "preshared_key__niew", + "name": "mtu__lte", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "preshared_key__nisw", + "name": "mtu__n", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "proposal", + "name": "name", "schema": { "type": "array", "items": { @@ -141497,14 +150298,14 @@ }, { "in": "query", - "name": "proposal__empty", + "name": "name__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "proposal__ic", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -141516,7 +150317,7 @@ }, { "in": "query", - "name": "proposal__ie", + "name": "name__ie", "schema": { "type": "array", "items": { @@ -141528,7 +150329,7 @@ }, { "in": "query", - "name": "proposal__iew", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -141540,7 +150341,7 @@ }, { "in": "query", - "name": "proposal__isw", + "name": "name__isw", "schema": { "type": "array", "items": { @@ -141552,7 +150353,7 @@ }, { "in": "query", - "name": "proposal__n", + "name": "name__n", "schema": { "type": "array", "items": { @@ -141564,7 +150365,7 @@ }, { "in": "query", - "name": "proposal__nic", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -141576,7 +150377,7 @@ }, { "in": "query", - "name": "proposal__nie", + "name": "name__nie", "schema": { "type": "array", "items": { @@ -141588,7 +150389,7 @@ }, { "in": "query", - "name": "proposal__niew", + "name": "name__niew", "schema": { "type": "array", "items": { @@ -141600,7 +150401,7 @@ }, { "in": "query", - "name": "proposal__nisw", + "name": "name__nisw", "schema": { "type": "array", "items": { @@ -141611,39 +150412,64 @@ "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "proposal_id", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "parent_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Parent interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "proposal_id__empty", + "name": "parent_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Parent interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "proposal_id__gt", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "tag", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -141651,12 +150477,11 @@ }, { "in": "query", - "name": "proposal_id__gte", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -141664,112 +150489,139 @@ }, { "in": "query", - "name": "proposal_id__lt", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "virtual_machine", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Virtual machine", "explode": true, "style": "form" }, { "in": "query", - "name": "proposal_id__lte", + "name": "virtual_machine__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Virtual machine", "explode": true, "style": "form" }, { "in": "query", - "name": "proposal_id__n", + "name": "virtual_machine_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "q", + "name": "virtual_machine_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Virtual machine (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "vlan", "schema": { "type": "string" }, - "description": "Search" + "description": "Assigned VID" }, { "in": "query", - "name": "tag", + "name": "vlan_id", + "schema": { + "type": "string" + }, + "description": "Assigned VLAN" + }, + { + "in": "query", + "name": "vrf", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "nullable": true, + "title": "Route distinguisher" } }, + "description": "VRF (RD)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag__n", + "name": "vrf__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "nullable": true, + "title": "Route distinguisher" } }, + "description": "VRF (RD)", "explode": true, "style": "form" }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "version", + "name": "vrf_id", "schema": { "type": "array", "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" + "type": "integer" } }, + "description": "VRF", "explode": true, "style": "form" }, { "in": "query", - "name": "version__n", + "name": "vrf_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" + "type": "integer" } }, + "description": "VRF", "explode": true, "style": "form" } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -141784,7 +150636,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedIKEPolicyList" + "$ref": "#/components/schemas/PaginatedVMInterfaceList" } } }, @@ -141793,21 +150645,21 @@ } }, "post": { - "operationId": "vpn_ike_policies_create", - "description": "Post a list of IKE policy objects.", + "operationId": "virtualization_interfaces_create", + "description": "Post a list of interface objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" + "$ref": "#/components/schemas/WritableVMInterfaceRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" + "$ref": "#/components/schemas/WritableVMInterfaceRequest" } } }, @@ -141826,7 +150678,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/VMInterface" } } }, @@ -141835,10 +150687,10 @@ } }, "put": { - "operationId": "vpn_ike_policies_bulk_update", - "description": "Put a list of IKE policy objects.", + "operationId": "virtualization_interfaces_bulk_update", + "description": "Put a list of interface objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -141846,7 +150698,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" + "$ref": "#/components/schemas/VMInterfaceRequest" } } }, @@ -141854,7 +150706,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" + "$ref": "#/components/schemas/VMInterfaceRequest" } } } @@ -141876,7 +150728,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/VMInterface" } } } @@ -141886,10 +150738,10 @@ } }, "patch": { - "operationId": "vpn_ike_policies_bulk_partial_update", - "description": "Patch a list of IKE policy objects.", + "operationId": "virtualization_interfaces_bulk_partial_update", + "description": "Patch a list of interface objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -141897,7 +150749,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" + "$ref": "#/components/schemas/VMInterfaceRequest" } } }, @@ -141905,7 +150757,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" + "$ref": "#/components/schemas/VMInterfaceRequest" } } } @@ -141927,7 +150779,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/VMInterface" } } } @@ -141937,10 +150789,10 @@ } }, "delete": { - "operationId": "vpn_ike_policies_bulk_destroy", - "description": "Delete a list of IKE policy objects.", + "operationId": "virtualization_interfaces_bulk_destroy", + "description": "Delete a list of interface objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -141948,7 +150800,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" + "$ref": "#/components/schemas/VMInterfaceRequest" } } }, @@ -141956,7 +150808,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" + "$ref": "#/components/schemas/VMInterfaceRequest" } } } @@ -141978,10 +150830,10 @@ } } }, - "/api/vpn/ike-policies/{id}/": { + "/api/virtualization/interfaces/{id}/": { "get": { - "operationId": "vpn_ike_policies_retrieve", - "description": "Get a IKE policy object.", + "operationId": "virtualization_interfaces_retrieve", + "description": "Get a interface object.", "parameters": [ { "in": "path", @@ -141989,12 +150841,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE policy.", + "description": "A unique integer value identifying this interface.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -142009,7 +150861,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/VMInterface" } } }, @@ -142018,8 +150870,8 @@ } }, "put": { - "operationId": "vpn_ike_policies_update", - "description": "Put a IKE policy object.", + "operationId": "virtualization_interfaces_update", + "description": "Put a interface object.", "parameters": [ { "in": "path", @@ -142027,23 +150879,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE policy.", + "description": "A unique integer value identifying this interface.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" + "$ref": "#/components/schemas/WritableVMInterfaceRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" + "$ref": "#/components/schemas/WritableVMInterfaceRequest" } } }, @@ -142062,7 +150914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/VMInterface" } } }, @@ -142071,8 +150923,8 @@ } }, "patch": { - "operationId": "vpn_ike_policies_partial_update", - "description": "Patch a IKE policy object.", + "operationId": "virtualization_interfaces_partial_update", + "description": "Patch a interface object.", "parameters": [ { "in": "path", @@ -142080,23 +150932,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE policy.", + "description": "A unique integer value identifying this interface.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEPolicyRequest" + "$ref": "#/components/schemas/PatchedWritableVMInterfaceRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEPolicyRequest" + "$ref": "#/components/schemas/PatchedWritableVMInterfaceRequest" } } } @@ -142114,7 +150966,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/VMInterface" } } }, @@ -142123,8 +150975,8 @@ } }, "delete": { - "operationId": "vpn_ike_policies_destroy", - "description": "Delete a IKE policy object.", + "operationId": "virtualization_interfaces_destroy", + "description": "Delete a interface object.", "parameters": [ { "in": "path", @@ -142132,12 +150984,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE policy.", + "description": "A unique integer value identifying this interface.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -142154,63 +151006,11 @@ } } }, - "/api/vpn/ike-proposals/": { + "/api/virtualization/virtual-disks/": { "get": { - "operationId": "vpn_ike_proposals_list", - "description": "Get a list of IKE proposal objects.", + "operationId": "virtualization_virtual_disks_list", + "description": "Get a list of virtual disk objects.", "parameters": [ - { - "in": "query", - "name": "authentication_algorithm", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "created", @@ -142437,60 +151237,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "encryption_algorithm", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, { "in": "query", "name": "id", @@ -142576,58 +151322,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "ike_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IKE policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IKE policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IKE policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IKE policy (ID)", - "explode": true, - "style": "form" - }, { "in": "query", "name": "last_updated", @@ -142891,7 +151585,7 @@ }, { "in": "query", - "name": "sa_lifetime", + "name": "size", "schema": { "type": "array", "items": { @@ -142904,14 +151598,14 @@ }, { "in": "query", - "name": "sa_lifetime__empty", + "name": "size__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "sa_lifetime__gt", + "name": "size__gt", "schema": { "type": "array", "items": { @@ -142924,7 +151618,7 @@ }, { "in": "query", - "name": "sa_lifetime__gte", + "name": "size__gte", "schema": { "type": "array", "items": { @@ -142937,7 +151631,7 @@ }, { "in": "query", - "name": "sa_lifetime__lt", + "name": "size__lt", "schema": { "type": "array", "items": { @@ -142950,7 +151644,7 @@ }, { "in": "query", - "name": "sa_lifetime__lte", + "name": "size__lte", "schema": { "type": "array", "items": { @@ -142963,7 +151657,7 @@ }, { "in": "query", - "name": "sa_lifetime__n", + "name": "size__n", "schema": { "type": "array", "items": { @@ -143005,10 +151699,62 @@ "type": "string", "format": "uuid" } + }, + { + "in": "query", + "name": "virtual_machine", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Virtual machine", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "virtual_machine__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Virtual machine", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "virtual_machine_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Virtual machine (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "virtual_machine_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Virtual machine (ID)", + "explode": true, + "style": "form" } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -143023,7 +151769,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedIKEProposalList" + "$ref": "#/components/schemas/PaginatedVirtualDiskList" } } }, @@ -143032,21 +151778,21 @@ } }, "post": { - "operationId": "vpn_ike_proposals_create", - "description": "Post a list of IKE proposal objects.", + "operationId": "virtualization_virtual_disks_create", + "description": "Post a list of virtual disk objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } }, @@ -143065,7 +151811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/VirtualDisk" } } }, @@ -143074,10 +151820,10 @@ } }, "put": { - "operationId": "vpn_ike_proposals_bulk_update", - "description": "Put a list of IKE proposal objects.", + "operationId": "virtualization_virtual_disks_bulk_update", + "description": "Put a list of virtual disk objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -143085,7 +151831,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } }, @@ -143093,7 +151839,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } } @@ -143115,7 +151861,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/VirtualDisk" } } } @@ -143125,10 +151871,10 @@ } }, "patch": { - "operationId": "vpn_ike_proposals_bulk_partial_update", - "description": "Patch a list of IKE proposal objects.", + "operationId": "virtualization_virtual_disks_bulk_partial_update", + "description": "Patch a list of virtual disk objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -143136,7 +151882,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } }, @@ -143144,7 +151890,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } } @@ -143166,7 +151912,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/VirtualDisk" } } } @@ -143176,10 +151922,10 @@ } }, "delete": { - "operationId": "vpn_ike_proposals_bulk_destroy", - "description": "Delete a list of IKE proposal objects.", + "operationId": "virtualization_virtual_disks_bulk_destroy", + "description": "Delete a list of virtual disk objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -143187,7 +151933,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } }, @@ -143195,7 +151941,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } } @@ -143217,10 +151963,10 @@ } } }, - "/api/vpn/ike-proposals/{id}/": { + "/api/virtualization/virtual-disks/{id}/": { "get": { - "operationId": "vpn_ike_proposals_retrieve", - "description": "Get a IKE proposal object.", + "operationId": "virtualization_virtual_disks_retrieve", + "description": "Get a virtual disk object.", "parameters": [ { "in": "path", @@ -143228,12 +151974,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE proposal.", + "description": "A unique integer value identifying this virtual disk.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -143248,7 +151994,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/VirtualDisk" } } }, @@ -143257,8 +152003,8 @@ } }, "put": { - "operationId": "vpn_ike_proposals_update", - "description": "Put a IKE proposal object.", + "operationId": "virtualization_virtual_disks_update", + "description": "Put a virtual disk object.", "parameters": [ { "in": "path", @@ -143266,23 +152012,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE proposal.", + "description": "A unique integer value identifying this virtual disk.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" + "$ref": "#/components/schemas/VirtualDiskRequest" } } }, @@ -143301,7 +152047,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/VirtualDisk" } } }, @@ -143310,8 +152056,8 @@ } }, "patch": { - "operationId": "vpn_ike_proposals_partial_update", - "description": "Patch a IKE proposal object.", + "operationId": "virtualization_virtual_disks_partial_update", + "description": "Patch a virtual disk object.", "parameters": [ { "in": "path", @@ -143319,23 +152065,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE proposal.", + "description": "A unique integer value identifying this virtual disk.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEProposalRequest" + "$ref": "#/components/schemas/PatchedVirtualDiskRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEProposalRequest" + "$ref": "#/components/schemas/PatchedVirtualDiskRequest" } } } @@ -143353,7 +152099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/VirtualDisk" } } }, @@ -143362,8 +152108,8 @@ } }, "delete": { - "operationId": "vpn_ike_proposals_destroy", - "description": "Delete a IKE proposal object.", + "operationId": "virtualization_virtual_disks_destroy", + "description": "Delete a virtual disk object.", "parameters": [ { "in": "path", @@ -143371,12 +152117,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IKE proposal.", + "description": "A unique integer value identifying this virtual disk.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -143393,11 +152139,273 @@ } } }, - "/api/vpn/ipsec-policies/": { + "/api/virtualization/virtual-machines/": { "get": { - "operationId": "vpn_ipsec_policies_list", - "description": "Get a list of IPSec policy objects.", + "operationId": "virtualization_virtual_machines_list", + "description": "Get a list of virtual machine objects.", "parameters": [ + { + "in": "query", + "name": "cluster", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster group (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster group (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster group (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster group (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cluster (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Cluster (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_type", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster type (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_type__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Cluster type (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_type_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "cluster_type_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Cluster type (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "config_template_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Config template (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "config_template_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Config template (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_role", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact Role", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "contact_role__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Contact Role", + "explode": true, + "style": "form" + }, { "in": "query", "name": "created", @@ -143626,53 +152634,63 @@ }, { "in": "query", - "name": "id", + "name": "device", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string", + "nullable": true } }, + "description": "Device", "explode": true, "style": "form" }, { "in": "query", - "name": "id__empty", + "name": "device__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string", + "nullable": true + } + }, + "description": "Device", + "explode": true, + "style": "form" }, { "in": "query", - "name": "id__gt", + "name": "device_id", "schema": { "type": "array", "items": { "type": "integer", - "format": "int32" + "nullable": true } }, + "description": "Device (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__gte", + "name": "device_id__n", "schema": { "type": "array", "items": { "type": "integer", - "format": "int32" + "nullable": true } }, + "description": "Device (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "disk", "schema": { "type": "array", "items": { @@ -143685,7 +152703,14 @@ }, { "in": "query", - "name": "id__lte", + "name": "disk__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "disk__gt", "schema": { "type": "array", "items": { @@ -143698,7 +152723,7 @@ }, { "in": "query", - "name": "id__n", + "name": "disk__gte", "schema": { "type": "array", "items": { @@ -143711,12 +152736,12 @@ }, { "in": "query", - "name": "last_updated", + "name": "disk__lt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143724,12 +152749,12 @@ }, { "in": "query", - "name": "last_updated__empty", + "name": "disk__lte", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143737,12 +152762,12 @@ }, { "in": "query", - "name": "last_updated__gt", + "name": "disk__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143750,12 +152775,20 @@ }, { "in": "query", - "name": "last_updated__gte", + "name": "has_primary_ip", + "schema": { + "type": "boolean" + }, + "description": "Has a primary IP" + }, + { + "in": "query", + "name": "id", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143763,12 +152796,19 @@ }, { "in": "query", - "name": "last_updated__lt", + "name": "id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143776,12 +152816,12 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "id__gte", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143789,41 +152829,51 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "id__lt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "id__lte", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "modified_by_request", + "name": "id__n", "schema": { - "type": "string", - "format": "uuid" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "name", + "name": "interface_count", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143831,18 +152881,19 @@ }, { "in": "query", - "name": "name__empty", + "name": "interface_count__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "name__ic", + "name": "interface_count__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143850,11 +152901,12 @@ }, { "in": "query", - "name": "name__ie", + "name": "interface_count__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143862,11 +152914,12 @@ }, { "in": "query", - "name": "name__iew", + "name": "interface_count__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143874,11 +152927,12 @@ }, { "in": "query", - "name": "name__isw", + "name": "interface_count__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143886,11 +152940,12 @@ }, { "in": "query", - "name": "name__n", + "name": "interface_count__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -143898,11 +152953,12 @@ }, { "in": "query", - "name": "name__nic", + "name": "last_updated", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -143910,11 +152966,12 @@ }, { "in": "query", - "name": "name__nie", + "name": "last_updated__empty", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -143922,11 +152979,12 @@ }, { "in": "query", - "name": "name__niew", + "name": "last_updated__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -143934,86 +152992,76 @@ }, { "in": "query", - "name": "name__nisw", + "name": "last_updated__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, "style": "form" }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, { "in": "query", - "name": "pfs_group", + "name": "last_updated__lt", "schema": { "type": "array", "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true + "type": "string", + "format": "date-time" } }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", "explode": true, "style": "form" }, { "in": "query", - "name": "pfs_group__n", + "name": "last_updated__lte", "schema": { "type": "array", "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true + "type": "string", + "format": "date-time" } }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", "explode": true, "style": "form" }, { "in": "query", - "name": "proposal", + "name": "last_updated__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, "style": "form" }, { + "name": "limit", + "required": false, "in": "query", - "name": "proposal__empty", + "description": "Number of results to return per page.", "schema": { - "type": "boolean" + "type": "integer" } }, { "in": "query", - "name": "proposal__ic", + "name": "local_context_data", + "schema": { + "type": "boolean" + }, + "description": "Has local config context data" + }, + { + "in": "query", + "name": "mac_address", "schema": { "type": "array", "items": { @@ -144025,7 +153073,7 @@ }, { "in": "query", - "name": "proposal__ie", + "name": "mac_address__ic", "schema": { "type": "array", "items": { @@ -144037,7 +153085,7 @@ }, { "in": "query", - "name": "proposal__iew", + "name": "mac_address__ie", "schema": { "type": "array", "items": { @@ -144049,7 +153097,7 @@ }, { "in": "query", - "name": "proposal__isw", + "name": "mac_address__iew", "schema": { "type": "array", "items": { @@ -144061,7 +153109,7 @@ }, { "in": "query", - "name": "proposal__n", + "name": "mac_address__isw", "schema": { "type": "array", "items": { @@ -144073,7 +153121,7 @@ }, { "in": "query", - "name": "proposal__nic", + "name": "mac_address__n", "schema": { "type": "array", "items": { @@ -144085,7 +153133,7 @@ }, { "in": "query", - "name": "proposal__nie", + "name": "mac_address__nic", "schema": { "type": "array", "items": { @@ -144097,7 +153145,7 @@ }, { "in": "query", - "name": "proposal__niew", + "name": "mac_address__nie", "schema": { "type": "array", "items": { @@ -144109,7 +153157,7 @@ }, { "in": "query", - "name": "proposal__nisw", + "name": "mac_address__niew", "schema": { "type": "array", "items": { @@ -144121,12 +153169,11 @@ }, { "in": "query", - "name": "proposal_id", + "name": "mac_address__nisw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -144134,7 +153181,7 @@ }, { "in": "query", - "name": "proposal_id__empty", + "name": "memory", "schema": { "type": "array", "items": { @@ -144147,7 +153194,14 @@ }, { "in": "query", - "name": "proposal_id__gt", + "name": "memory__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "memory__gt", "schema": { "type": "array", "items": { @@ -144160,7 +153214,7 @@ }, { "in": "query", - "name": "proposal_id__gte", + "name": "memory__gte", "schema": { "type": "array", "items": { @@ -144173,7 +153227,7 @@ }, { "in": "query", - "name": "proposal_id__lt", + "name": "memory__lt", "schema": { "type": "array", "items": { @@ -144186,7 +153240,7 @@ }, { "in": "query", - "name": "proposal_id__lte", + "name": "memory__lte", "schema": { "type": "array", "items": { @@ -144199,7 +153253,7 @@ }, { "in": "query", - "name": "proposal_id__n", + "name": "memory__n", "schema": { "type": "array", "items": { @@ -144212,15 +153266,15 @@ }, { "in": "query", - "name": "q", + "name": "modified_by_request", "schema": { - "type": "string" - }, - "description": "Search" + "type": "string", + "format": "uuid" + } }, { "in": "query", - "name": "tag", + "name": "name", "schema": { "type": "array", "items": { @@ -144232,7 +153286,14 @@ }, { "in": "query", - "name": "tag__n", + "name": "name__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -144244,412 +153305,23 @@ }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIPSecPolicyList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_ipsec_policies_create", - "description": "Post a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_policies_bulk_update", - "description": "Put a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_policies_bulk_partial_update", - "description": "Patch a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_policies_bulk_destroy", - "description": "Delete a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-policies/{id}/": { - "get": { - "operationId": "vpn_ipsec_policies_retrieve", - "description": "Get a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_policies_update", - "description": "Put a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_policies_partial_update", - "description": "Patch a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", + "name": "name__ie", "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecPolicyRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } + "type": "array", + "items": { + "type": "string" } }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_policies_destroy", - "description": "Delete a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] + "explode": true, + "style": "form" }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-profiles/": { - "get": { - "operationId": "vpn_ipsec_profiles_list", - "description": "Get a list of IPSec profile objects.", - "parameters": [ { "in": "query", - "name": "created", + "name": "name__iew", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -144657,12 +153329,11 @@ }, { "in": "query", - "name": "created__empty", + "name": "name__isw", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -144670,12 +153341,11 @@ }, { "in": "query", - "name": "created__gt", + "name": "name__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -144683,12 +153353,11 @@ }, { "in": "query", - "name": "created__gte", + "name": "name__nic", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -144696,12 +153365,11 @@ }, { "in": "query", - "name": "created__lt", + "name": "name__nie", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -144709,12 +153377,11 @@ }, { "in": "query", - "name": "created__lte", + "name": "name__niew", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -144722,119 +153389,151 @@ }, { "in": "query", - "name": "created__n", + "name": "name__nisw", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "created_by_request", + "description": "The initial index from which to return the results.", "schema": { - "type": "string", - "format": "uuid" + "type": "integer" } }, { + "name": "ordering", + "required": false, "in": "query", - "name": "description", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "platform", "schema": { "type": "array", "items": { "type": "string" } }, + "description": "Platform (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__empty", + "name": "platform__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Platform (slug)", + "explode": true, + "style": "form" }, { "in": "query", - "name": "description__ic", + "name": "platform_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "nullable": true } }, + "description": "Platform (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__ie", + "name": "platform_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "nullable": true } }, + "description": "Platform (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__iew", + "name": "primary_ip4_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Primary IPv4 (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__isw", + "name": "primary_ip4_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Primary IPv4 (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__n", + "name": "primary_ip6_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Primary IPv6 (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__nic", + "name": "primary_ip6_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Primary IPv6 (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__nie", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "region", "schema": { "type": "array", "items": { @@ -144846,7 +153545,7 @@ }, { "in": "query", - "name": "description__niew", + "name": "region__n", "schema": { "type": "array", "items": { @@ -144858,7 +153557,7 @@ }, { "in": "query", - "name": "description__nisw", + "name": "region_id", "schema": { "type": "array", "items": { @@ -144870,12 +153569,11 @@ }, { "in": "query", - "name": "id", + "name": "region_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -144883,188 +153581,193 @@ }, { "in": "query", - "name": "id__empty", + "name": "role", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Role (slug)", + "explode": true, + "style": "form" }, { "in": "query", - "name": "id__gt", + "name": "role__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Role (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__gte", + "name": "role_id", "schema": { "type": "array", "items": { "type": "integer", - "format": "int32" + "nullable": true } }, + "description": "Role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "role_id__n", "schema": { "type": "array", "items": { "type": "integer", - "format": "int32" + "nullable": true } }, + "description": "Role (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lte", + "name": "site", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Site (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__n", + "name": "site__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Site (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "ike_policy", + "name": "site_group", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "IKE policy (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "ike_policy__n", + "name": "site_group__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "IKE policy (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "ike_policy_id", + "name": "site_group_id", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "IKE policy (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ike_policy_id__n", + "name": "site_group_id__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "IKE policy (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_policy", + "name": "site_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "nullable": true } }, - "description": "IPSec policy (name)", + "description": "Site (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_policy__n", + "name": "site_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "nullable": true } }, - "description": "IPSec policy (name)", + "description": "Site (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_policy_id", + "name": "status", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "x-spec-enum-id": "2217e87d0c3efdda" } }, - "description": "IPSec policy (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_policy_id__n", + "name": "status__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string", + "x-spec-enum-id": "2217e87d0c3efdda" } }, - "description": "IPSec policy (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated", + "name": "tag", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -145072,12 +153775,11 @@ }, { "in": "query", - "name": "last_updated__empty", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -145085,38 +153787,37 @@ }, { "in": "query", - "name": "last_updated__gt", + "name": "tenant", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, + "description": "Tenant (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__gte", + "name": "tenant__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, + "description": "Tenant (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "last_updated__lt", + "name": "tenant_group", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -145124,12 +153825,11 @@ }, { "in": "query", - "name": "last_updated__lte", + "name": "tenant_group__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, @@ -145137,55 +153837,59 @@ }, { "in": "query", - "name": "last_updated__n", + "name": "tenant_group_id", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "string" } }, "explode": true, "style": "form" }, { - "name": "limit", - "required": false, "in": "query", - "description": "Number of results to return per page.", + "name": "tenant_group_id__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "mode", + "name": "tenant_id", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" + "type": "integer", + "nullable": true } }, + "description": "Tenant (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "mode__n", + "name": "tenant_id__n", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" + "type": "integer", + "nullable": true } }, + "description": "Tenant (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "modified_by_request", + "name": "updated_by_request", "schema": { "type": "string", "format": "uuid" @@ -145193,11 +153897,12 @@ }, { "in": "query", - "name": "name", + "name": "vcpus", "schema": { "type": "array", "items": { - "type": "string" + "type": "number", + "format": "double" } }, "explode": true, @@ -145205,18 +153910,19 @@ }, { "in": "query", - "name": "name__empty", + "name": "vcpus__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "name__ic", + "name": "vcpus__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "number", + "format": "double" } }, "explode": true, @@ -145224,11 +153930,12 @@ }, { "in": "query", - "name": "name__ie", + "name": "vcpus__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "number", + "format": "double" } }, "explode": true, @@ -145236,11 +153943,12 @@ }, { "in": "query", - "name": "name__iew", + "name": "vcpus__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "number", + "format": "double" } }, "explode": true, @@ -145248,11 +153956,12 @@ }, { "in": "query", - "name": "name__isw", + "name": "vcpus__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "number", + "format": "double" } }, "explode": true, @@ -145260,11 +153969,12 @@ }, { "in": "query", - "name": "name__n", + "name": "vcpus__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "number", + "format": "double" } }, "explode": true, @@ -145272,11 +153982,12 @@ }, { "in": "query", - "name": "name__nic", + "name": "virtual_disk_count", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -145284,11 +153995,19 @@ }, { "in": "query", - "name": "name__nie", + "name": "virtual_disk_count__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "virtual_disk_count__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -145296,11 +154015,12 @@ }, { "in": "query", - "name": "name__niew", + "name": "virtual_disk_count__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -145308,49 +154028,25 @@ }, { "in": "query", - "name": "name__nisw", + "name": "virtual_disk_count__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, "style": "form" }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, { "in": "query", - "name": "tag", + "name": "virtual_disk_count__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -145358,27 +154054,20 @@ }, { "in": "query", - "name": "tag__n", + "name": "virtual_disk_count__n", "schema": { "type": "array", "items": { - "type": "string" - } + "type": "integer", + "format": "int32" + } }, "explode": true, "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -145393,7 +154082,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedIPSecProfileList" + "$ref": "#/components/schemas/PaginatedVirtualMachineWithConfigContextList" } } }, @@ -145402,21 +154091,21 @@ } }, "post": { - "operationId": "vpn_ipsec_profiles_create", - "description": "Post a list of IPSec profile objects.", + "operationId": "virtualization_virtual_machines_create", + "description": "Post a list of virtual machine objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" + "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" + "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" } } }, @@ -145435,7 +154124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } }, @@ -145444,10 +154133,10 @@ } }, "put": { - "operationId": "vpn_ipsec_profiles_bulk_update", - "description": "Put a list of IPSec profile objects.", + "operationId": "virtualization_virtual_machines_bulk_update", + "description": "Put a list of virtual machine objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -145455,7 +154144,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" + "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" } } }, @@ -145463,7 +154152,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" + "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" } } } @@ -145485,7 +154174,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } } @@ -145495,10 +154184,10 @@ } }, "patch": { - "operationId": "vpn_ipsec_profiles_bulk_partial_update", - "description": "Patch a list of IPSec profile objects.", + "operationId": "virtualization_virtual_machines_bulk_partial_update", + "description": "Patch a list of virtual machine objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -145506,7 +154195,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" + "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" } } }, @@ -145514,7 +154203,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" + "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" } } } @@ -145536,7 +154225,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } } @@ -145546,10 +154235,10 @@ } }, "delete": { - "operationId": "vpn_ipsec_profiles_bulk_destroy", - "description": "Delete a list of IPSec profile objects.", + "operationId": "virtualization_virtual_machines_bulk_destroy", + "description": "Delete a list of virtual machine objects.", "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { @@ -145557,7 +154246,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" + "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" } } }, @@ -145565,7 +154254,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" + "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" } } } @@ -145587,10 +154276,10 @@ } } }, - "/api/vpn/ipsec-profiles/{id}/": { + "/api/virtualization/virtual-machines/{id}/": { "get": { - "operationId": "vpn_ipsec_profiles_retrieve", - "description": "Get a IPSec profile object.", + "operationId": "virtualization_virtual_machines_retrieve", + "description": "Get a virtual machine object.", "parameters": [ { "in": "path", @@ -145598,12 +154287,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec profile.", + "description": "A unique integer value identifying this virtual machine.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -145618,7 +154307,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } }, @@ -145627,8 +154316,8 @@ } }, "put": { - "operationId": "vpn_ipsec_profiles_update", - "description": "Put a IPSec profile object.", + "operationId": "virtualization_virtual_machines_update", + "description": "Put a virtual machine object.", "parameters": [ { "in": "path", @@ -145636,23 +154325,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec profile.", + "description": "A unique integer value identifying this virtual machine.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" + "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" + "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" } } }, @@ -145671,7 +154360,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } }, @@ -145680,8 +154369,8 @@ } }, "patch": { - "operationId": "vpn_ipsec_profiles_partial_update", - "description": "Patch a IPSec profile object.", + "operationId": "virtualization_virtual_machines_partial_update", + "description": "Patch a virtual machine object.", "parameters": [ { "in": "path", @@ -145689,23 +154378,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec profile.", + "description": "A unique integer value identifying this virtual machine.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProfileRequest" + "$ref": "#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProfileRequest" + "$ref": "#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest" } } } @@ -145723,7 +154412,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } }, @@ -145732,8 +154421,8 @@ } }, "delete": { - "operationId": "vpn_ipsec_profiles_destroy", - "description": "Delete a IPSec profile object.", + "operationId": "virtualization_virtual_machines_destroy", + "description": "Delete a virtual machine object.", "parameters": [ { "in": "path", @@ -145741,12 +154430,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec profile.", + "description": "A unique integer value identifying this virtual machine.", "required": true } ], "tags": [ - "vpn" + "virtualization" ], "security": [ { @@ -145763,39 +154452,82 @@ } } }, - "/api/vpn/ipsec-proposals/": { - "get": { - "operationId": "vpn_ipsec_proposals_list", - "description": "Get a list of IPSec proposal objects.", + "/api/virtualization/virtual-machines/{id}/render-config/": { + "post": { + "operationId": "virtualization_virtual_machines_render_config_create", + "description": "Resolve and render the preferred ConfigTemplate for this Device.", "parameters": [ { "in": "query", - "name": "authentication_algorithm", + "name": "format", "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "title": "Authentication" - } - }, - "explode": true, - "style": "form" + "type": "string", + "enum": [ + "json", + "txt" + ] + } }, { - "in": "query", - "name": "authentication_algorithm__n", + "in": "path", + "name": "id", "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "title": "Authentication" + "type": "integer" + }, + "description": "A unique integer value identifying this virtual machine.", + "required": true + } + ], + "tags": [ + "virtualization" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" } }, - "explode": true, - "style": "form" + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" + } + } + }, + "required": true + }, + "security": [ + { + "cookieAuth": [] }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + } + }, + "text/plain": { + "schema": { + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + } + } + }, + "description": "" + } + } + } + }, + "/api/vpn/ike-policies/": { + "get": { + "operationId": "vpn_ike_policies_list", + "description": "Get a list of IKE policy objects.", + "parameters": [ { "in": "query", "name": "created", @@ -146024,13 +154756,12 @@ }, { "in": "query", - "name": "encryption_algorithm", + "name": "id", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "title": "Encryption" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -146038,13 +154769,19 @@ }, { "in": "query", - "name": "encryption_algorithm__n", + "name": "id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "title": "Encryption" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -146052,7 +154789,7 @@ }, { "in": "query", - "name": "id", + "name": "id__gte", "schema": { "type": "array", "items": { @@ -146065,14 +154802,20 @@ }, { "in": "query", - "name": "id__empty", + "name": "id__lt", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "id__gt", + "name": "id__lte", "schema": { "type": "array", "items": { @@ -146085,7 +154828,7 @@ }, { "in": "query", - "name": "id__gte", + "name": "id__n", "schema": { "type": "array", "items": { @@ -146098,12 +154841,11 @@ }, { "in": "query", - "name": "id__lt", + "name": "ike_proposal", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -146111,12 +154853,11 @@ }, { "in": "query", - "name": "id__lte", + "name": "ike_proposal__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -146124,12 +154865,23 @@ }, { "in": "query", - "name": "id__n", + "name": "ike_proposal_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ike_proposal_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" } }, "explode": true, @@ -146235,6 +154987,32 @@ "type": "integer" } }, + { + "in": "query", + "name": "mode", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "64c1be7bdb2548ca" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mode__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "64c1be7bdb2548ca" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "modified_by_request", @@ -146390,125 +155168,81 @@ }, { "in": "query", - "name": "q", + "name": "preshared_key", "schema": { "type": "string" - }, - "description": "Search" + } }, { "in": "query", - "name": "sa_lifetime_data", + "name": "preshared_key__ic", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_data__empty", + "name": "preshared_key__ie", "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "sa_lifetime_data__gt", + "name": "preshared_key__iew", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_data__gte", + "name": "preshared_key__isw", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_data__lt", + "name": "preshared_key__n", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_data__lte", + "name": "preshared_key__nic", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_data__n", + "name": "preshared_key__nie", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_seconds", + "name": "preshared_key__niew", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "sa_lifetime_seconds__empty", + "name": "preshared_key__nisw", "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "sa_lifetime_seconds__gt", + "name": "proposal", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -146516,12 +155250,11 @@ }, { "in": "query", - "name": "sa_lifetime_seconds__gte", + "name": "proposal__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -146529,12 +155262,11 @@ }, { "in": "query", - "name": "sa_lifetime_seconds__lt", + "name": "proposal_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, "explode": true, @@ -146542,12 +155274,11 @@ }, { "in": "query", - "name": "sa_lifetime_seconds__lte", + "name": "proposal_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, "explode": true, @@ -146555,16 +155286,11 @@ }, { "in": "query", - "name": "sa_lifetime_seconds__n", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", @@ -146597,6 +155323,32 @@ "type": "string", "format": "uuid" } + }, + { + "in": "query", + "name": "version", + "schema": { + "type": "array", + "items": { + "type": "integer", + "x-spec-enum-id": "00872b77916a1fde" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "version__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "x-spec-enum-id": "00872b77916a1fde" + } + }, + "explode": true, + "style": "form" } ], "tags": [ @@ -146615,7 +155367,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedIPSecProposalList" + "$ref": "#/components/schemas/PaginatedIKEPolicyList" } } }, @@ -146624,8 +155376,8 @@ } }, "post": { - "operationId": "vpn_ipsec_proposals_create", - "description": "Post a list of IPSec proposal objects.", + "operationId": "vpn_ike_policies_create", + "description": "Post a list of IKE policy objects.", "tags": [ "vpn" ], @@ -146633,12 +155385,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" + "$ref": "#/components/schemas/WritableIKEPolicyRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" + "$ref": "#/components/schemas/WritableIKEPolicyRequest" } } }, @@ -146657,7 +155409,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/IKEPolicy" } } }, @@ -146666,8 +155418,8 @@ } }, "put": { - "operationId": "vpn_ipsec_proposals_bulk_update", - "description": "Put a list of IPSec proposal objects.", + "operationId": "vpn_ike_policies_bulk_update", + "description": "Put a list of IKE policy objects.", "tags": [ "vpn" ], @@ -146677,7 +155429,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" + "$ref": "#/components/schemas/IKEPolicyRequest" } } }, @@ -146685,7 +155437,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" + "$ref": "#/components/schemas/IKEPolicyRequest" } } } @@ -146707,7 +155459,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/IKEPolicy" } } } @@ -146717,8 +155469,8 @@ } }, "patch": { - "operationId": "vpn_ipsec_proposals_bulk_partial_update", - "description": "Patch a list of IPSec proposal objects.", + "operationId": "vpn_ike_policies_bulk_partial_update", + "description": "Patch a list of IKE policy objects.", "tags": [ "vpn" ], @@ -146728,7 +155480,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" + "$ref": "#/components/schemas/IKEPolicyRequest" } } }, @@ -146736,7 +155488,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" + "$ref": "#/components/schemas/IKEPolicyRequest" } } } @@ -146758,7 +155510,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/IKEPolicy" } } } @@ -146768,8 +155520,8 @@ } }, "delete": { - "operationId": "vpn_ipsec_proposals_bulk_destroy", - "description": "Delete a list of IPSec proposal objects.", + "operationId": "vpn_ike_policies_bulk_destroy", + "description": "Delete a list of IKE policy objects.", "tags": [ "vpn" ], @@ -146779,7 +155531,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" + "$ref": "#/components/schemas/IKEPolicyRequest" } } }, @@ -146787,7 +155539,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" + "$ref": "#/components/schemas/IKEPolicyRequest" } } } @@ -146809,10 +155561,10 @@ } } }, - "/api/vpn/ipsec-proposals/{id}/": { + "/api/vpn/ike-policies/{id}/": { "get": { - "operationId": "vpn_ipsec_proposals_retrieve", - "description": "Get a IPSec proposal object.", + "operationId": "vpn_ike_policies_retrieve", + "description": "Get a IKE policy object.", "parameters": [ { "in": "path", @@ -146820,7 +155572,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec proposal.", + "description": "A unique integer value identifying this IKE policy.", "required": true } ], @@ -146840,7 +155592,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/IKEPolicy" } } }, @@ -146849,8 +155601,8 @@ } }, "put": { - "operationId": "vpn_ipsec_proposals_update", - "description": "Put a IPSec proposal object.", + "operationId": "vpn_ike_policies_update", + "description": "Put a IKE policy object.", "parameters": [ { "in": "path", @@ -146858,7 +155610,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec proposal.", + "description": "A unique integer value identifying this IKE policy.", "required": true } ], @@ -146869,12 +155621,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" + "$ref": "#/components/schemas/WritableIKEPolicyRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" + "$ref": "#/components/schemas/WritableIKEPolicyRequest" } } }, @@ -146893,7 +155645,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/IKEPolicy" } } }, @@ -146902,8 +155654,8 @@ } }, "patch": { - "operationId": "vpn_ipsec_proposals_partial_update", - "description": "Patch a IPSec proposal object.", + "operationId": "vpn_ike_policies_partial_update", + "description": "Patch a IKE policy object.", "parameters": [ { "in": "path", @@ -146911,7 +155663,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec proposal.", + "description": "A unique integer value identifying this IKE policy.", "required": true } ], @@ -146922,12 +155674,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProposalRequest" + "$ref": "#/components/schemas/PatchedWritableIKEPolicyRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProposalRequest" + "$ref": "#/components/schemas/PatchedWritableIKEPolicyRequest" } } } @@ -146945,7 +155697,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/IKEPolicy" } } }, @@ -146954,8 +155706,8 @@ } }, "delete": { - "operationId": "vpn_ipsec_proposals_destroy", - "description": "Delete a IPSec proposal object.", + "operationId": "vpn_ike_policies_destroy", + "description": "Delete a IKE policy object.", "parameters": [ { "in": "path", @@ -146963,7 +155715,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this IPSec proposal.", + "description": "A unique integer value identifying this IKE policy.", "required": true } ], @@ -146985,38 +155737,62 @@ } } }, - "/api/vpn/l2vpn-terminations/": { + "/api/vpn/ike-proposals/": { "get": { - "operationId": "vpn_l2vpn_terminations_list", - "description": "Get a list of L2VPN termination objects.", + "operationId": "vpn_ike_proposals_list", + "description": "Get a list of IKE proposal objects.", "parameters": [ { "in": "query", - "name": "assigned_object_type", + "name": "authentication_algorithm", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "0830e8839f5dea4f" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "assigned_object_type__n", + "name": "authentication_algorithm__n", "schema": { - "type": "string" - } + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "0830e8839f5dea4f" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "assigned_object_type_id", + "name": "authentication_method", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "92bb2f1103b3a262" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "assigned_object_type_id__n", + "name": "authentication_method__n", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "92bb2f1103b3a262" + } + }, + "explode": true, + "style": "form" }, { "in": "query", @@ -147119,66 +155895,66 @@ }, { "in": "query", - "name": "device", + "name": "description", "schema": { "type": "array", "items": { - "type": "string", - "nullable": true + "type": "string" } }, - "description": "Device (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "device__n", + "name": "description__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "description__ic", "schema": { "type": "array", "items": { - "type": "string", - "nullable": true + "type": "string" } }, - "description": "Device (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "device_id", + "name": "description__ie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Device (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "device_id__n", + "name": "description__iew", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Device (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id", + "name": "description__isw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -147186,19 +155962,23 @@ }, { "in": "query", - "name": "id__empty", + "name": "description__n", "schema": { - "type": "boolean" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { "in": "query", - "name": "id__gt", + "name": "description__nic", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -147206,33 +155986,97 @@ }, { "in": "query", - "name": "id__gte", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "encryption_algorithm", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "b022535cfdee79fe" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "encryption_algorithm__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "b022535cfdee79fe" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "group", "schema": { "type": "array", "items": { "type": "integer", - "format": "int32" + "x-spec-enum-id": "dbef43be795462a8" } }, + "description": "Diffie-Hellman group ID", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "group__n", "schema": { "type": "array", "items": { "type": "integer", - "format": "int32" + "x-spec-enum-id": "dbef43be795462a8" } }, + "description": "Diffie-Hellman group ID", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lte", + "name": "id", "schema": { "type": "array", "items": { @@ -147245,7 +156089,14 @@ }, { "in": "query", - "name": "id__n", + "name": "id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "id__gt", "schema": { "type": "array", "items": { @@ -147258,105 +156109,105 @@ }, { "in": "query", - "name": "interface", + "name": "id__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "Interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface__n", + "name": "id__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "Interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_id", + "name": "id__lte", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_id__n", + "name": "id__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "l2vpn", + "name": "ike_policy", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "L2VPN (slug)", + "description": "IKE policy (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "l2vpn__n", + "name": "ike_policy__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "L2VPN (slug)", + "description": "IKE policy (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "l2vpn_id", + "name": "ike_policy_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "L2VPN (ID)", + "description": "IKE policy (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "l2vpn_id__n", + "name": "ike_policy_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "L2VPN (ID)", + "description": "IKE policy (ID)", "explode": true, "style": "form" }, @@ -147469,34 +156320,27 @@ } }, { - "name": "offset", - "required": false, "in": "query", - "description": "The initial index from which to return the results.", + "name": "name", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "name__empty", "schema": { - "type": "string" + "type": "boolean" } }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -147508,12 +156352,11 @@ }, { "in": "query", - "name": "region_id", + "name": "name__ie", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -147521,7 +156364,7 @@ }, { "in": "query", - "name": "site", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -147533,12 +156376,11 @@ }, { "in": "query", - "name": "site_id", + "name": "name__isw", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, "explode": true, @@ -147546,7 +156388,7 @@ }, { "in": "query", - "name": "tag", + "name": "name__n", "schema": { "type": "array", "items": { @@ -147558,7 +156400,7 @@ }, { "in": "query", - "name": "tag__n", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -147570,223 +156412,182 @@ }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", + "name": "name__nie", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Virtual machine (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine__n", + "name": "name__niew", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Virtual machine (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "virtual_machine_id", + "name": "name__nisw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "virtual_machine_id__n", + "description": "The initial index from which to return the results.", "schema": { - "type": "array", - "items": { - "type": "integer" - } + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "q", + "schema": { + "type": "string" }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "vlan", + "name": "sa_lifetime", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "VLAN (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "vlan__n", + "name": "sa_lifetime__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "sa_lifetime__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "VLAN (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "vlan_id", + "name": "sa_lifetime__gte", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "VLAN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vlan_id__n", + "name": "sa_lifetime__lt", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "VLAN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vlan_vid", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__empty", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__gt", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__gte", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__lt", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__lte", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__n", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vminterface", + "name": "sa_lifetime__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "vminterface__n", + "name": "sa_lifetime__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "vminterface_id", + "name": "tag", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "VM Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vminterface_id__n", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "VM Interface (ID)", "explode": true, "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -147805,7 +156606,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedL2VPNTerminationList" + "$ref": "#/components/schemas/PaginatedIKEProposalList" } } }, @@ -147814,8 +156615,8 @@ } }, "post": { - "operationId": "vpn_l2vpn_terminations_create", - "description": "Post a list of L2VPN termination objects.", + "operationId": "vpn_ike_proposals_create", + "description": "Post a list of IKE proposal objects.", "tags": [ "vpn" ], @@ -147823,12 +156624,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNTerminationRequest" + "$ref": "#/components/schemas/WritableIKEProposalRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNTerminationRequest" + "$ref": "#/components/schemas/WritableIKEProposalRequest" } } }, @@ -147847,7 +156648,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/IKEProposal" } } }, @@ -147856,8 +156657,8 @@ } }, "put": { - "operationId": "vpn_l2vpn_terminations_bulk_update", - "description": "Put a list of L2VPN termination objects.", + "operationId": "vpn_ike_proposals_bulk_update", + "description": "Put a list of IKE proposal objects.", "tags": [ "vpn" ], @@ -147867,7 +156668,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" + "$ref": "#/components/schemas/IKEProposalRequest" } } }, @@ -147875,7 +156676,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" + "$ref": "#/components/schemas/IKEProposalRequest" } } } @@ -147897,7 +156698,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/IKEProposal" } } } @@ -147907,8 +156708,8 @@ } }, "patch": { - "operationId": "vpn_l2vpn_terminations_bulk_partial_update", - "description": "Patch a list of L2VPN termination objects.", + "operationId": "vpn_ike_proposals_bulk_partial_update", + "description": "Patch a list of IKE proposal objects.", "tags": [ "vpn" ], @@ -147918,7 +156719,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" + "$ref": "#/components/schemas/IKEProposalRequest" } } }, @@ -147926,7 +156727,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" + "$ref": "#/components/schemas/IKEProposalRequest" } } } @@ -147948,7 +156749,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/IKEProposal" } } } @@ -147958,8 +156759,8 @@ } }, "delete": { - "operationId": "vpn_l2vpn_terminations_bulk_destroy", - "description": "Delete a list of L2VPN termination objects.", + "operationId": "vpn_ike_proposals_bulk_destroy", + "description": "Delete a list of IKE proposal objects.", "tags": [ "vpn" ], @@ -147969,7 +156770,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" + "$ref": "#/components/schemas/IKEProposalRequest" } } }, @@ -147977,7 +156778,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" + "$ref": "#/components/schemas/IKEProposalRequest" } } } @@ -147999,10 +156800,10 @@ } } }, - "/api/vpn/l2vpn-terminations/{id}/": { + "/api/vpn/ike-proposals/{id}/": { "get": { - "operationId": "vpn_l2vpn_terminations_retrieve", - "description": "Get a L2VPN termination object.", + "operationId": "vpn_ike_proposals_retrieve", + "description": "Get a IKE proposal object.", "parameters": [ { "in": "path", @@ -148010,7 +156811,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN termination.", + "description": "A unique integer value identifying this IKE proposal.", "required": true } ], @@ -148030,7 +156831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/IKEProposal" } } }, @@ -148039,8 +156840,8 @@ } }, "put": { - "operationId": "vpn_l2vpn_terminations_update", - "description": "Put a L2VPN termination object.", + "operationId": "vpn_ike_proposals_update", + "description": "Put a IKE proposal object.", "parameters": [ { "in": "path", @@ -148048,7 +156849,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN termination.", + "description": "A unique integer value identifying this IKE proposal.", "required": true } ], @@ -148059,12 +156860,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNTerminationRequest" + "$ref": "#/components/schemas/WritableIKEProposalRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNTerminationRequest" + "$ref": "#/components/schemas/WritableIKEProposalRequest" } } }, @@ -148083,7 +156884,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/IKEProposal" } } }, @@ -148092,8 +156893,8 @@ } }, "patch": { - "operationId": "vpn_l2vpn_terminations_partial_update", - "description": "Patch a L2VPN termination object.", + "operationId": "vpn_ike_proposals_partial_update", + "description": "Patch a IKE proposal object.", "parameters": [ { "in": "path", @@ -148101,7 +156902,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN termination.", + "description": "A unique integer value identifying this IKE proposal.", "required": true } ], @@ -148112,12 +156913,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableL2VPNTerminationRequest" + "$ref": "#/components/schemas/PatchedWritableIKEProposalRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableL2VPNTerminationRequest" + "$ref": "#/components/schemas/PatchedWritableIKEProposalRequest" } } } @@ -148135,7 +156936,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/IKEProposal" } } }, @@ -148144,8 +156945,8 @@ } }, "delete": { - "operationId": "vpn_l2vpn_terminations_destroy", - "description": "Delete a L2VPN termination object.", + "operationId": "vpn_ike_proposals_destroy", + "description": "Delete a IKE proposal object.", "parameters": [ { "in": "path", @@ -148153,7 +156954,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN termination.", + "description": "A unique integer value identifying this IKE proposal.", "required": true } ], @@ -148175,10 +156976,10 @@ } } }, - "/api/vpn/l2vpns/": { + "/api/vpn/ipsec-policies/": { "get": { - "operationId": "vpn_l2vpns_list", - "description": "Get a list of L2VPN objects.", + "operationId": "vpn_ipsec_policies_list", + "description": "Get a list of IPSec policy objects.", "parameters": [ { "in": "query", @@ -148406,58 +157207,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "export_target", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Export target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Export target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Export target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Export target", - "explode": true, - "style": "form" - }, { "in": "query", "name": "id", @@ -148545,138 +157294,49 @@ }, { "in": "query", - "name": "identifier", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "identifier__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target", + "name": "ipsec_proposal", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Import target (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "import_target__n", + "name": "ipsec_proposal__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Import target (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "import_target_id", + "name": "ipsec_proposal_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Import target", "explode": true, "style": "form" }, { "in": "query", - "name": "import_target_id__n", + "name": "ipsec_proposal_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Import target", "explode": true, "style": "form" }, @@ -148935,82 +157595,37 @@ }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", + "name": "pfs_group", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "x-spec-enum-id": "dbef43be795462a8", + "nullable": true } }, + "description": "Diffie-Hellman group for Perfect Forward Secrecy", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__isw", + "name": "pfs_group__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "x-spec-enum-id": "dbef43be795462a8", + "nullable": true } }, + "description": "Diffie-Hellman group for Perfect Forward Secrecy", "explode": true, "style": "form" }, { "in": "query", - "name": "slug__n", + "name": "proposal", "schema": { "type": "array", "items": { @@ -149022,7 +157637,7 @@ }, { "in": "query", - "name": "slug__nic", + "name": "proposal__n", "schema": { "type": "array", "items": { @@ -149034,11 +157649,11 @@ }, { "in": "query", - "name": "slug__nie", + "name": "proposal_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, "explode": true, @@ -149046,11 +157661,11 @@ }, { "in": "query", - "name": "slug__niew", + "name": "proposal_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, "explode": true, @@ -149058,15 +157673,11 @@ }, { "in": "query", - "name": "slug__nisw", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", @@ -149092,138 +157703,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "dbaa4f996ec2d110" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "dbaa4f996ec2d110" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "updated_by_request", @@ -149249,7 +157728,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedL2VPNList" + "$ref": "#/components/schemas/PaginatedIPSecPolicyList" } } }, @@ -149258,8 +157737,8 @@ } }, "post": { - "operationId": "vpn_l2vpns_create", - "description": "Post a list of L2VPN objects.", + "operationId": "vpn_ipsec_policies_create", + "description": "Post a list of IPSec policy objects.", "tags": [ "vpn" ], @@ -149267,12 +157746,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" + "$ref": "#/components/schemas/WritableIPSecPolicyRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" + "$ref": "#/components/schemas/WritableIPSecPolicyRequest" } } }, @@ -149291,7 +157770,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/IPSecPolicy" } } }, @@ -149300,8 +157779,8 @@ } }, "put": { - "operationId": "vpn_l2vpns_bulk_update", - "description": "Put a list of L2VPN objects.", + "operationId": "vpn_ipsec_policies_bulk_update", + "description": "Put a list of IPSec policy objects.", "tags": [ "vpn" ], @@ -149311,7 +157790,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNRequest" + "$ref": "#/components/schemas/IPSecPolicyRequest" } } }, @@ -149319,7 +157798,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNRequest" + "$ref": "#/components/schemas/IPSecPolicyRequest" } } } @@ -149341,7 +157820,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/IPSecPolicy" } } } @@ -149351,8 +157830,8 @@ } }, "patch": { - "operationId": "vpn_l2vpns_bulk_partial_update", - "description": "Patch a list of L2VPN objects.", + "operationId": "vpn_ipsec_policies_bulk_partial_update", + "description": "Patch a list of IPSec policy objects.", "tags": [ "vpn" ], @@ -149362,7 +157841,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNRequest" + "$ref": "#/components/schemas/IPSecPolicyRequest" } } }, @@ -149370,7 +157849,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNRequest" + "$ref": "#/components/schemas/IPSecPolicyRequest" } } } @@ -149392,7 +157871,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/IPSecPolicy" } } } @@ -149402,8 +157881,8 @@ } }, "delete": { - "operationId": "vpn_l2vpns_bulk_destroy", - "description": "Delete a list of L2VPN objects.", + "operationId": "vpn_ipsec_policies_bulk_destroy", + "description": "Delete a list of IPSec policy objects.", "tags": [ "vpn" ], @@ -149413,7 +157892,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNRequest" + "$ref": "#/components/schemas/IPSecPolicyRequest" } } }, @@ -149421,7 +157900,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNRequest" + "$ref": "#/components/schemas/IPSecPolicyRequest" } } } @@ -149443,10 +157922,10 @@ } } }, - "/api/vpn/l2vpns/{id}/": { + "/api/vpn/ipsec-policies/{id}/": { "get": { - "operationId": "vpn_l2vpns_retrieve", - "description": "Get a L2VPN object.", + "operationId": "vpn_ipsec_policies_retrieve", + "description": "Get a IPSec policy object.", "parameters": [ { "in": "path", @@ -149454,7 +157933,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN.", + "description": "A unique integer value identifying this IPSec policy.", "required": true } ], @@ -149474,7 +157953,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/IPSecPolicy" } } }, @@ -149483,8 +157962,8 @@ } }, "put": { - "operationId": "vpn_l2vpns_update", - "description": "Put a L2VPN object.", + "operationId": "vpn_ipsec_policies_update", + "description": "Put a IPSec policy object.", "parameters": [ { "in": "path", @@ -149492,7 +157971,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN.", + "description": "A unique integer value identifying this IPSec policy.", "required": true } ], @@ -149503,12 +157982,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" + "$ref": "#/components/schemas/WritableIPSecPolicyRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" + "$ref": "#/components/schemas/WritableIPSecPolicyRequest" } } }, @@ -149527,7 +158006,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/IPSecPolicy" } } }, @@ -149536,8 +158015,8 @@ } }, "patch": { - "operationId": "vpn_l2vpns_partial_update", - "description": "Patch a L2VPN object.", + "operationId": "vpn_ipsec_policies_partial_update", + "description": "Patch a IPSec policy object.", "parameters": [ { "in": "path", @@ -149545,7 +158024,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN.", + "description": "A unique integer value identifying this IPSec policy.", "required": true } ], @@ -149556,12 +158035,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableL2VPNRequest" + "$ref": "#/components/schemas/PatchedWritableIPSecPolicyRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableL2VPNRequest" + "$ref": "#/components/schemas/PatchedWritableIPSecPolicyRequest" } } } @@ -149579,7 +158058,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/IPSecPolicy" } } }, @@ -149588,8 +158067,8 @@ } }, "delete": { - "operationId": "vpn_l2vpns_destroy", - "description": "Delete a L2VPN object.", + "operationId": "vpn_ipsec_policies_destroy", + "description": "Delete a IPSec policy object.", "parameters": [ { "in": "path", @@ -149597,7 +158076,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this L2VPN.", + "description": "A unique integer value identifying this IPSec policy.", "required": true } ], @@ -149619,10 +158098,10 @@ } } }, - "/api/vpn/tunnel-groups/": { + "/api/vpn/ipsec-profiles/": { "get": { - "operationId": "vpn_tunnel_groups_list", - "description": "Get a list of tunnel group objects.", + "operationId": "vpn_ipsec_profiles_list", + "description": "Get a list of IPSec profile objects.", "parameters": [ { "in": "query", @@ -149935,6 +158414,110 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "ike_policy", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IKE policy (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ike_policy__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IKE policy (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ike_policy_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "IKE policy (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ike_policy_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "IKE policy (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ipsec_policy", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IPSec policy (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ipsec_policy__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IPSec policy (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ipsec_policy_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "IPSec policy (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "ipsec_policy_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "IPSec policy (ID)", + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -150035,6 +158618,32 @@ "type": "integer" } }, + { + "in": "query", + "name": "mode", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "1136c2cdfee84436" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "mode__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "1136c2cdfee84436" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "modified_by_request", @@ -150196,133 +158805,6 @@ }, "description": "Search" }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "tag", @@ -150372,7 +158854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedTunnelGroupList" + "$ref": "#/components/schemas/PaginatedIPSecProfileList" } } }, @@ -150381,8 +158863,8 @@ } }, "post": { - "operationId": "vpn_tunnel_groups_create", - "description": "Post a list of tunnel group objects.", + "operationId": "vpn_ipsec_profiles_create", + "description": "Post a list of IPSec profile objects.", "tags": [ "vpn" ], @@ -150390,12 +158872,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/WritableIPSecProfileRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/WritableIPSecProfileRequest" } } }, @@ -150414,7 +158896,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelGroup" + "$ref": "#/components/schemas/IPSecProfile" } } }, @@ -150423,8 +158905,8 @@ } }, "put": { - "operationId": "vpn_tunnel_groups_bulk_update", - "description": "Put a list of tunnel group objects.", + "operationId": "vpn_ipsec_profiles_bulk_update", + "description": "Put a list of IPSec profile objects.", "tags": [ "vpn" ], @@ -150434,7 +158916,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/IPSecProfileRequest" } } }, @@ -150442,7 +158924,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/IPSecProfileRequest" } } } @@ -150464,7 +158946,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroup" + "$ref": "#/components/schemas/IPSecProfile" } } } @@ -150474,8 +158956,8 @@ } }, "patch": { - "operationId": "vpn_tunnel_groups_bulk_partial_update", - "description": "Patch a list of tunnel group objects.", + "operationId": "vpn_ipsec_profiles_bulk_partial_update", + "description": "Patch a list of IPSec profile objects.", "tags": [ "vpn" ], @@ -150485,7 +158967,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/IPSecProfileRequest" } } }, @@ -150493,7 +158975,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/IPSecProfileRequest" } } } @@ -150515,7 +158997,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroup" + "$ref": "#/components/schemas/IPSecProfile" } } } @@ -150525,8 +159007,8 @@ } }, "delete": { - "operationId": "vpn_tunnel_groups_bulk_destroy", - "description": "Delete a list of tunnel group objects.", + "operationId": "vpn_ipsec_profiles_bulk_destroy", + "description": "Delete a list of IPSec profile objects.", "tags": [ "vpn" ], @@ -150536,7 +159018,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/IPSecProfileRequest" } } }, @@ -150544,7 +159026,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/IPSecProfileRequest" } } } @@ -150566,10 +159048,10 @@ } } }, - "/api/vpn/tunnel-groups/{id}/": { + "/api/vpn/ipsec-profiles/{id}/": { "get": { - "operationId": "vpn_tunnel_groups_retrieve", - "description": "Get a tunnel group object.", + "operationId": "vpn_ipsec_profiles_retrieve", + "description": "Get a IPSec profile object.", "parameters": [ { "in": "path", @@ -150577,7 +159059,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel group.", + "description": "A unique integer value identifying this IPSec profile.", "required": true } ], @@ -150597,7 +159079,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelGroup" + "$ref": "#/components/schemas/IPSecProfile" } } }, @@ -150606,8 +159088,8 @@ } }, "put": { - "operationId": "vpn_tunnel_groups_update", - "description": "Put a tunnel group object.", + "operationId": "vpn_ipsec_profiles_update", + "description": "Put a IPSec profile object.", "parameters": [ { "in": "path", @@ -150615,7 +159097,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel group.", + "description": "A unique integer value identifying this IPSec profile.", "required": true } ], @@ -150626,12 +159108,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/WritableIPSecProfileRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" + "$ref": "#/components/schemas/WritableIPSecProfileRequest" } } }, @@ -150650,7 +159132,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelGroup" + "$ref": "#/components/schemas/IPSecProfile" } } }, @@ -150659,8 +159141,8 @@ } }, "patch": { - "operationId": "vpn_tunnel_groups_partial_update", - "description": "Patch a tunnel group object.", + "operationId": "vpn_ipsec_profiles_partial_update", + "description": "Patch a IPSec profile object.", "parameters": [ { "in": "path", @@ -150668,7 +159150,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel group.", + "description": "A unique integer value identifying this IPSec profile.", "required": true } ], @@ -150679,12 +159161,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedTunnelGroupRequest" + "$ref": "#/components/schemas/PatchedWritableIPSecProfileRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedTunnelGroupRequest" + "$ref": "#/components/schemas/PatchedWritableIPSecProfileRequest" } } } @@ -150702,7 +159184,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelGroup" + "$ref": "#/components/schemas/IPSecProfile" } } }, @@ -150711,8 +159193,8 @@ } }, "delete": { - "operationId": "vpn_tunnel_groups_destroy", - "description": "Delete a tunnel group object.", + "operationId": "vpn_ipsec_profiles_destroy", + "description": "Delete a IPSec profile object.", "parameters": [ { "in": "path", @@ -150720,7 +159202,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel group.", + "description": "A unique integer value identifying this IPSec profile.", "required": true } ], @@ -150742,11 +159224,39 @@ } } }, - "/api/vpn/tunnel-terminations/": { + "/api/vpn/ipsec-proposals/": { "get": { - "operationId": "vpn_tunnel_terminations_list", - "description": "Get a list of tunnel termination objects.", + "operationId": "vpn_ipsec_proposals_list", + "description": "Get a list of IPSec proposal objects.", "parameters": [ + { + "in": "query", + "name": "authentication_algorithm", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "0830e8839f5dea4f", + "title": "Authentication" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "authentication_algorithm__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "0830e8839f5dea4f", + "title": "Authentication" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "created", @@ -150846,6 +159356,161 @@ "format": "uuid" } }, + { + "in": "query", + "name": "description", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "description__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "encryption_algorithm", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "b022535cfdee79fe", + "title": "Encryption" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "encryption_algorithm__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "b022535cfdee79fe", + "title": "Encryption" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "id", @@ -150933,53 +159598,53 @@ }, { "in": "query", - "name": "interface", + "name": "ipsec_policy", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Interface (name)", + "description": "IPSec policy (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface__n", + "name": "ipsec_policy__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Interface (name)", + "description": "IPSec policy (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_id", + "name": "ipsec_policy_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Interface (ID)", + "description": "IPSec policy (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_id__n", + "name": "ipsec_policy_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Interface (ID)", + "description": "IPSec policy (ID)", "explode": true, "style": "form" }, @@ -151092,65 +159757,67 @@ } }, { - "name": "offset", - "required": false, "in": "query", - "description": "The initial index from which to return the results.", + "name": "name", "schema": { - "type": "integer" - } + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, { - "name": "ordering", - "required": false, "in": "query", - "description": "Which field to use when ordering the results.", + "name": "name__empty", "schema": { - "type": "string" + "type": "boolean" } }, { "in": "query", - "name": "outside_ip_id", + "name": "name__ic", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Outside IP (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "outside_ip_id__n", + "name": "name__ie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Outside IP (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "q", + "name": "name__iew", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } }, - "description": "Search" + "explode": true, + "style": "form" }, { "in": "query", - "name": "role", + "name": "name__isw", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" + "type": "string" } }, "explode": true, @@ -151158,12 +159825,11 @@ }, { "in": "query", - "name": "role__n", + "name": "name__n", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" + "type": "string" } }, "explode": true, @@ -151171,7 +159837,7 @@ }, { "in": "query", - "name": "tag", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -151183,7 +159849,7 @@ }, { "in": "query", - "name": "tag__n", + "name": "name__nie", "schema": { "type": "array", "items": { @@ -151195,129 +159861,255 @@ }, { "in": "query", - "name": "termination_type", + "name": "name__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "name__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", "schema": { "type": "string" } }, { "in": "query", - "name": "termination_type__n", + "name": "q", "schema": { "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "sa_lifetime_data", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "sa_lifetime_data__empty", + "schema": { + "type": "boolean" } }, { "in": "query", - "name": "tunnel", + "name": "sa_lifetime_data__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "Tunnel (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tunnel__n", + "name": "sa_lifetime_data__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "Tunnel (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tunnel_id", + "name": "sa_lifetime_data__lt", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "Tunnel (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tunnel_id__n", + "name": "sa_lifetime_data__lte", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "Tunnel (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "updated_by_request", + "name": "sa_lifetime_data__n", "schema": { - "type": "string", - "format": "uuid" + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "sa_lifetime_seconds", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "sa_lifetime_seconds__empty", + "schema": { + "type": "boolean" } }, { "in": "query", - "name": "vminterface", + "name": "sa_lifetime_seconds__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "vminterface__n", + "name": "sa_lifetime_seconds__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "vminterface_id", + "name": "sa_lifetime_seconds__lt", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "VM interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "vminterface_id__n", + "name": "sa_lifetime_seconds__lte", "schema": { "type": "array", "items": { - "type": "integer" + "type": "integer", + "format": "int32" } }, - "description": "VM interface (ID)", "explode": true, "style": "form" + }, + { + "in": "query", + "name": "sa_lifetime_seconds__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ @@ -151336,7 +160128,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedTunnelTerminationList" + "$ref": "#/components/schemas/PaginatedIPSecProposalList" } } }, @@ -151345,8 +160137,8 @@ } }, "post": { - "operationId": "vpn_tunnel_terminations_create", - "description": "Post a list of tunnel termination objects.", + "operationId": "vpn_ipsec_proposals_create", + "description": "Post a list of IPSec proposal objects.", "tags": [ "vpn" ], @@ -151354,12 +160146,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" + "$ref": "#/components/schemas/WritableIPSecProposalRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" + "$ref": "#/components/schemas/WritableIPSecProposalRequest" } } }, @@ -151378,7 +160170,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelTermination" + "$ref": "#/components/schemas/IPSecProposal" } } }, @@ -151387,8 +160179,8 @@ } }, "put": { - "operationId": "vpn_tunnel_terminations_bulk_update", - "description": "Put a list of tunnel termination objects.", + "operationId": "vpn_ipsec_proposals_bulk_update", + "description": "Put a list of IPSec proposal objects.", "tags": [ "vpn" ], @@ -151398,7 +160190,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" + "$ref": "#/components/schemas/IPSecProposalRequest" } } }, @@ -151406,7 +160198,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" + "$ref": "#/components/schemas/IPSecProposalRequest" } } } @@ -151428,7 +160220,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTermination" + "$ref": "#/components/schemas/IPSecProposal" } } } @@ -151438,8 +160230,8 @@ } }, "patch": { - "operationId": "vpn_tunnel_terminations_bulk_partial_update", - "description": "Patch a list of tunnel termination objects.", + "operationId": "vpn_ipsec_proposals_bulk_partial_update", + "description": "Patch a list of IPSec proposal objects.", "tags": [ "vpn" ], @@ -151449,7 +160241,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" + "$ref": "#/components/schemas/IPSecProposalRequest" } } }, @@ -151457,7 +160249,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" + "$ref": "#/components/schemas/IPSecProposalRequest" } } } @@ -151479,7 +160271,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTermination" + "$ref": "#/components/schemas/IPSecProposal" } } } @@ -151489,8 +160281,8 @@ } }, "delete": { - "operationId": "vpn_tunnel_terminations_bulk_destroy", - "description": "Delete a list of tunnel termination objects.", + "operationId": "vpn_ipsec_proposals_bulk_destroy", + "description": "Delete a list of IPSec proposal objects.", "tags": [ "vpn" ], @@ -151500,7 +160292,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" + "$ref": "#/components/schemas/IPSecProposalRequest" } } }, @@ -151508,7 +160300,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" + "$ref": "#/components/schemas/IPSecProposalRequest" } } } @@ -151530,10 +160322,10 @@ } } }, - "/api/vpn/tunnel-terminations/{id}/": { + "/api/vpn/ipsec-proposals/{id}/": { "get": { - "operationId": "vpn_tunnel_terminations_retrieve", - "description": "Get a tunnel termination object.", + "operationId": "vpn_ipsec_proposals_retrieve", + "description": "Get a IPSec proposal object.", "parameters": [ { "in": "path", @@ -151541,7 +160333,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel termination.", + "description": "A unique integer value identifying this IPSec proposal.", "required": true } ], @@ -151561,7 +160353,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelTermination" + "$ref": "#/components/schemas/IPSecProposal" } } }, @@ -151570,8 +160362,8 @@ } }, "put": { - "operationId": "vpn_tunnel_terminations_update", - "description": "Put a tunnel termination object.", + "operationId": "vpn_ipsec_proposals_update", + "description": "Put a IPSec proposal object.", "parameters": [ { "in": "path", @@ -151579,7 +160371,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel termination.", + "description": "A unique integer value identifying this IPSec proposal.", "required": true } ], @@ -151590,12 +160382,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" + "$ref": "#/components/schemas/WritableIPSecProposalRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" + "$ref": "#/components/schemas/WritableIPSecProposalRequest" } } }, @@ -151614,7 +160406,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelTermination" + "$ref": "#/components/schemas/IPSecProposal" } } }, @@ -151623,8 +160415,8 @@ } }, "patch": { - "operationId": "vpn_tunnel_terminations_partial_update", - "description": "Patch a tunnel termination object.", + "operationId": "vpn_ipsec_proposals_partial_update", + "description": "Patch a IPSec proposal object.", "parameters": [ { "in": "path", @@ -151632,7 +160424,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel termination.", + "description": "A unique integer value identifying this IPSec proposal.", "required": true } ], @@ -151643,12 +160435,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelTerminationRequest" + "$ref": "#/components/schemas/PatchedWritableIPSecProposalRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelTerminationRequest" + "$ref": "#/components/schemas/PatchedWritableIPSecProposalRequest" } } } @@ -151666,7 +160458,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TunnelTermination" + "$ref": "#/components/schemas/IPSecProposal" } } }, @@ -151675,8 +160467,8 @@ } }, "delete": { - "operationId": "vpn_tunnel_terminations_destroy", - "description": "Delete a tunnel termination object.", + "operationId": "vpn_ipsec_proposals_destroy", + "description": "Delete a IPSec proposal object.", "parameters": [ { "in": "path", @@ -151684,7 +160476,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel termination.", + "description": "A unique integer value identifying this IPSec proposal.", "required": true } ], @@ -151706,19 +160498,19 @@ } } }, - "/api/vpn/tunnels/": { + "/api/vpn/l2vpn-terminations/": { "get": { - "operationId": "vpn_tunnels_list", - "description": "Get a list of tunnel objects.", + "operationId": "vpn_l2vpn_terminations_list", + "description": "Get a list of L2VPN termination objects.", "parameters": [ { "in": "query", - "name": "created", + "name": "assigned_object_id", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -151726,25 +160518,19 @@ }, { "in": "query", - "name": "created__empty", + "name": "assigned_object_id__empty", "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "created__gt", + "name": "assigned_object_id__gt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -151752,12 +160538,12 @@ }, { "in": "query", - "name": "created__gte", + "name": "assigned_object_id__gte", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -151765,12 +160551,12 @@ }, { "in": "query", - "name": "created__lt", + "name": "assigned_object_id__lt", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -151778,12 +160564,12 @@ }, { "in": "query", - "name": "created__lte", + "name": "assigned_object_id__lte", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -151791,12 +160577,12 @@ }, { "in": "query", - "name": "created__n", + "name": "assigned_object_id__n", "schema": { "type": "array", "items": { - "type": "string", - "format": "date-time" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -151804,38 +160590,26 @@ }, { "in": "query", - "name": "created_by_request", + "name": "assigned_object_type", "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", + "name": "assigned_object_type__n", "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "description__ic", + "name": "created", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151843,11 +160617,12 @@ }, { "in": "query", - "name": "description__ie", + "name": "created__empty", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151855,11 +160630,12 @@ }, { "in": "query", - "name": "description__iew", + "name": "created__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151867,11 +160643,12 @@ }, { "in": "query", - "name": "description__isw", + "name": "created__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151879,11 +160656,12 @@ }, { "in": "query", - "name": "description__n", + "name": "created__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151891,11 +160669,12 @@ }, { "in": "query", - "name": "description__nic", + "name": "created__lte", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151903,11 +160682,12 @@ }, { "in": "query", - "name": "description__nie", + "name": "created__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "date-time" } }, "explode": true, @@ -151915,111 +160695,128 @@ }, { "in": "query", - "name": "description__niew", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "device", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "nullable": true } }, + "description": "Device (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "description__nisw", + "name": "device__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "nullable": true } }, + "description": "Device (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "encapsulation", + "name": "device_id", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "5fc36bb745852746" + "type": "integer" } }, + "description": "Device (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "encapsulation__n", + "name": "device_id__n", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "5fc36bb745852746" + "type": "integer" } }, + "description": "Device (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "group", + "name": "id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "Tunnel group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "group__n", + "name": "id__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "id__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, - "description": "Tunnel group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id", + "name": "id__gte", "schema": { "type": "array", "items": { "type": "integer", - "nullable": true + "format": "int32" } }, - "description": "Tunnel group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "group_id__n", + "name": "id__lt", "schema": { "type": "array", "items": { "type": "integer", - "nullable": true + "format": "int32" } }, - "description": "Tunnel group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id", + "name": "id__lte", "schema": { "type": "array", "items": { @@ -152032,14 +160829,7 @@ }, { "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", + "name": "id__n", "schema": { "type": "array", "items": { @@ -152052,107 +160842,105 @@ }, { "in": "query", - "name": "id__gte", + "name": "interface", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lt", + "name": "interface__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__lte", + "name": "interface_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "id__n", + "name": "interface_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_profile", + "name": "l2vpn", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "IPSec profile (name)", + "description": "L2VPN (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_profile__n", + "name": "l2vpn__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "IPSec profile (name)", + "description": "L2VPN (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_profile_id", + "name": "l2vpn_id", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "integer" } }, - "description": "IPSec profile (ID)", + "description": "L2VPN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ipsec_profile_id__n", + "name": "l2vpn_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "integer" } }, - "description": "IPSec profile (ID)", + "description": "L2VPN (ID)", "explode": true, "style": "form" }, @@ -152265,63 +161053,34 @@ } }, { + "name": "offset", + "required": false, "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", + "description": "The initial index from which to return the results.", "schema": { - "type": "boolean" + "type": "integer" } }, { + "name": "ordering", + "required": false, "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", + "description": "Which field to use when ordering the results.", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "name__iew", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "name__isw", + "name": "region", "schema": { "type": "array", "items": { @@ -152333,11 +161092,12 @@ }, { "in": "query", - "name": "name__n", + "name": "region_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -152345,7 +161105,7 @@ }, { "in": "query", - "name": "name__nic", + "name": "site", "schema": { "type": "array", "items": { @@ -152357,11 +161117,12 @@ }, { "in": "query", - "name": "name__nie", + "name": "site_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -152369,7 +161130,7 @@ }, { "in": "query", - "name": "name__niew", + "name": "tag", "schema": { "type": "array", "items": { @@ -152381,7 +161142,7 @@ }, { "in": "query", - "name": "name__nisw", + "name": "tag__n", "schema": { "type": "array", "items": { @@ -152392,279 +161153,224 @@ "style": "form" }, { - "name": "offset", - "required": false, "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", + "name": "updated_by_request", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", + "name": "virtual_machine", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" + "type": "string" } }, + "description": "Virtual machine (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "status__n", + "name": "virtual_machine__n", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" + "type": "string" } }, + "description": "Virtual machine (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag", + "name": "virtual_machine_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tag__n", + "name": "virtual_machine_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Virtual machine (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant", + "name": "vlan", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", + "description": "VLAN (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant__n", + "name": "vlan__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", + "description": "VLAN (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group", + "name": "vlan_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Tenant Group (slug)", + "description": "VLAN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group__n", + "name": "vlan_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Tenant Group (slug)", + "description": "VLAN (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group_id", + "name": "vlan_vid", "schema": { - "type": "array", - "items": { - "type": "integer" - } + "type": "integer" }, - "description": "Tenant Group (ID)", - "explode": true, - "style": "form" + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tenant_group_id__n", + "name": "vlan_vid__empty", "schema": { - "type": "array", - "items": { - "type": "integer" - } + "type": "integer" }, - "description": "Tenant Group (ID)", - "explode": true, - "style": "form" + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tenant_id", + "name": "vlan_vid__gt", "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + "type": "integer" }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tenant_id__n", + "name": "vlan_vid__gte", "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + "type": "integer" }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tunnel_id", + "name": "vlan_vid__lt", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } + "type": "integer" }, - "explode": true, - "style": "form" + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tunnel_id__empty", + "name": "vlan_vid__lte", "schema": { - "type": "boolean" - } + "type": "integer" + }, + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tunnel_id__gt", + "name": "vlan_vid__n", "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } + "type": "integer" }, - "explode": true, - "style": "form" + "description": "VLAN number (1-4094)" }, { "in": "query", - "name": "tunnel_id__gte", + "name": "vminterface", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tunnel_id__lt", + "name": "vminterface__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tunnel_id__lte", + "name": "vminterface_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "VM Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tunnel_id__n", + "name": "vminterface_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "VM Interface (ID)", "explode": true, "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } } ], "tags": [ @@ -152683,7 +161389,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedTunnelList" + "$ref": "#/components/schemas/PaginatedL2VPNTerminationList" } } }, @@ -152692,8 +161398,8 @@ } }, "post": { - "operationId": "vpn_tunnels_create", - "description": "Post a list of tunnel objects.", + "operationId": "vpn_l2vpn_terminations_create", + "description": "Post a list of L2VPN termination objects.", "tags": [ "vpn" ], @@ -152701,12 +161407,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } }, @@ -152725,7 +161431,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Tunnel" + "$ref": "#/components/schemas/L2VPNTermination" } } }, @@ -152734,8 +161440,8 @@ } }, "put": { - "operationId": "vpn_tunnels_bulk_update", - "description": "Put a list of tunnel objects.", + "operationId": "vpn_l2vpn_terminations_bulk_update", + "description": "Put a list of L2VPN termination objects.", "tags": [ "vpn" ], @@ -152745,7 +161451,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } }, @@ -152753,7 +161459,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } } @@ -152775,7 +161481,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Tunnel" + "$ref": "#/components/schemas/L2VPNTermination" } } } @@ -152785,8 +161491,8 @@ } }, "patch": { - "operationId": "vpn_tunnels_bulk_partial_update", - "description": "Patch a list of tunnel objects.", + "operationId": "vpn_l2vpn_terminations_bulk_partial_update", + "description": "Patch a list of L2VPN termination objects.", "tags": [ "vpn" ], @@ -152796,7 +161502,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } }, @@ -152804,7 +161510,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } } @@ -152826,7 +161532,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Tunnel" + "$ref": "#/components/schemas/L2VPNTermination" } } } @@ -152836,8 +161542,8 @@ } }, "delete": { - "operationId": "vpn_tunnels_bulk_destroy", - "description": "Delete a list of tunnel objects.", + "operationId": "vpn_l2vpn_terminations_bulk_destroy", + "description": "Delete a list of L2VPN termination objects.", "tags": [ "vpn" ], @@ -152847,7 +161553,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } }, @@ -152855,7 +161561,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } } @@ -152877,10 +161583,10 @@ } } }, - "/api/vpn/tunnels/{id}/": { + "/api/vpn/l2vpn-terminations/{id}/": { "get": { - "operationId": "vpn_tunnels_retrieve", - "description": "Get a tunnel object.", + "operationId": "vpn_l2vpn_terminations_retrieve", + "description": "Get a L2VPN termination object.", "parameters": [ { "in": "path", @@ -152888,7 +161594,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel.", + "description": "A unique integer value identifying this L2VPN termination.", "required": true } ], @@ -152908,7 +161614,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Tunnel" + "$ref": "#/components/schemas/L2VPNTermination" } } }, @@ -152917,8 +161623,8 @@ } }, "put": { - "operationId": "vpn_tunnels_update", - "description": "Put a tunnel object.", + "operationId": "vpn_l2vpn_terminations_update", + "description": "Put a L2VPN termination object.", "parameters": [ { "in": "path", @@ -152926,7 +161632,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel.", + "description": "A unique integer value identifying this L2VPN termination.", "required": true } ], @@ -152937,12 +161643,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" + "$ref": "#/components/schemas/L2VPNTerminationRequest" } } }, @@ -152961,7 +161667,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Tunnel" + "$ref": "#/components/schemas/L2VPNTermination" } } }, @@ -152970,8 +161676,8 @@ } }, "patch": { - "operationId": "vpn_tunnels_partial_update", - "description": "Patch a tunnel object.", + "operationId": "vpn_l2vpn_terminations_partial_update", + "description": "Patch a L2VPN termination object.", "parameters": [ { "in": "path", @@ -152979,7 +161685,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel.", + "description": "A unique integer value identifying this L2VPN termination.", "required": true } ], @@ -152990,12 +161696,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelRequest" + "$ref": "#/components/schemas/PatchedL2VPNTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelRequest" + "$ref": "#/components/schemas/PatchedL2VPNTerminationRequest" } } } @@ -153013,7 +161719,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Tunnel" + "$ref": "#/components/schemas/L2VPNTermination" } } }, @@ -153022,8 +161728,8 @@ } }, "delete": { - "operationId": "vpn_tunnels_destroy", - "description": "Delete a tunnel object.", + "operationId": "vpn_l2vpn_terminations_destroy", + "description": "Delete a L2VPN termination object.", "parameters": [ { "in": "path", @@ -153031,7 +161737,7 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this tunnel.", + "description": "A unique integer value identifying this L2VPN termination.", "required": true } ], @@ -153053,10 +161759,10 @@ } } }, - "/api/wireless/wireless-lan-groups/": { + "/api/vpn/l2vpns/": { "get": { - "operationId": "wireless_wireless_lan_groups_list", - "description": "Get a list of wireless LAN group objects.", + "operationId": "vpn_l2vpns_list", + "description": "Get a list of L2VPN objects.", "parameters": [ { "in": "query", @@ -153284,6 +161990,58 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "export_target", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Export target (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "export_target__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Export target (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "export_target_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Export target", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "export_target_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Export target", + "explode": true, + "style": "form" + }, { "in": "query", "name": "id", @@ -153369,6 +162127,143 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "identifier", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "identifier__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "identifier__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "import_target", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Import target (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "import_target__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Import target (name)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "import_target_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Import target", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "import_target_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": "Import target", + "explode": true, + "style": "form" + }, { "in": "query", "name": "last_updated", @@ -153622,56 +162517,6 @@ "type": "string" } }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "q", @@ -153831,6 +162676,134 @@ "explode": true, "style": "form" }, + { + "in": "query", + "name": "tenant", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "type", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "dbaa4f996ec2d110" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "type__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "dbaa4f996ec2d110" + } + }, + "explode": true, + "style": "form" + }, { "in": "query", "name": "updated_by_request", @@ -153841,7 +162814,7 @@ } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -153856,7 +162829,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedWirelessLANGroupList" + "$ref": "#/components/schemas/PaginatedL2VPNList" } } }, @@ -153865,21 +162838,21 @@ } }, "post": { - "operationId": "wireless_wireless_lan_groups_create", - "description": "Post a list of wireless LAN group objects.", + "operationId": "vpn_l2vpns_create", + "description": "Post a list of L2VPN objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" + "$ref": "#/components/schemas/WritableL2VPNRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" + "$ref": "#/components/schemas/WritableL2VPNRequest" } } }, @@ -153898,7 +162871,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" + "$ref": "#/components/schemas/L2VPN" } } }, @@ -153907,10 +162880,10 @@ } }, "put": { - "operationId": "wireless_wireless_lan_groups_bulk_update", - "description": "Put a list of wireless LAN group objects.", + "operationId": "vpn_l2vpns_bulk_update", + "description": "Put a list of L2VPN objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -153918,7 +162891,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" + "$ref": "#/components/schemas/L2VPNRequest" } } }, @@ -153926,7 +162899,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" + "$ref": "#/components/schemas/L2VPNRequest" } } } @@ -153948,7 +162921,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroup" + "$ref": "#/components/schemas/L2VPN" } } } @@ -153958,10 +162931,10 @@ } }, "patch": { - "operationId": "wireless_wireless_lan_groups_bulk_partial_update", - "description": "Patch a list of wireless LAN group objects.", + "operationId": "vpn_l2vpns_bulk_partial_update", + "description": "Patch a list of L2VPN objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -153969,7 +162942,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" + "$ref": "#/components/schemas/L2VPNRequest" } } }, @@ -153977,7 +162950,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" + "$ref": "#/components/schemas/L2VPNRequest" } } } @@ -153999,7 +162972,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroup" + "$ref": "#/components/schemas/L2VPN" } } } @@ -154009,10 +162982,10 @@ } }, "delete": { - "operationId": "wireless_wireless_lan_groups_bulk_destroy", - "description": "Delete a list of wireless LAN group objects.", + "operationId": "vpn_l2vpns_bulk_destroy", + "description": "Delete a list of L2VPN objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -154020,7 +162993,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" + "$ref": "#/components/schemas/L2VPNRequest" } } }, @@ -154028,7 +163001,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" + "$ref": "#/components/schemas/L2VPNRequest" } } } @@ -154050,10 +163023,10 @@ } } }, - "/api/wireless/wireless-lan-groups/{id}/": { + "/api/vpn/l2vpns/{id}/": { "get": { - "operationId": "wireless_wireless_lan_groups_retrieve", - "description": "Get a wireless LAN group object.", + "operationId": "vpn_l2vpns_retrieve", + "description": "Get a L2VPN object.", "parameters": [ { "in": "path", @@ -154061,12 +163034,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN group.", + "description": "A unique integer value identifying this L2VPN.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -154081,7 +163054,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" + "$ref": "#/components/schemas/L2VPN" } } }, @@ -154090,8 +163063,8 @@ } }, "put": { - "operationId": "wireless_wireless_lan_groups_update", - "description": "Put a wireless LAN group object.", + "operationId": "vpn_l2vpns_update", + "description": "Put a L2VPN object.", "parameters": [ { "in": "path", @@ -154099,23 +163072,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN group.", + "description": "A unique integer value identifying this L2VPN.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" + "$ref": "#/components/schemas/WritableL2VPNRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" + "$ref": "#/components/schemas/WritableL2VPNRequest" } } }, @@ -154134,7 +163107,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" + "$ref": "#/components/schemas/L2VPN" } } }, @@ -154143,8 +163116,8 @@ } }, "patch": { - "operationId": "wireless_wireless_lan_groups_partial_update", - "description": "Patch a wireless LAN group object.", + "operationId": "vpn_l2vpns_partial_update", + "description": "Patch a L2VPN object.", "parameters": [ { "in": "path", @@ -154152,23 +163125,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN group.", + "description": "A unique integer value identifying this L2VPN.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANGroupRequest" + "$ref": "#/components/schemas/PatchedWritableL2VPNRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANGroupRequest" + "$ref": "#/components/schemas/PatchedWritableL2VPNRequest" } } } @@ -154186,7 +163159,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" + "$ref": "#/components/schemas/L2VPN" } } }, @@ -154195,8 +163168,8 @@ } }, "delete": { - "operationId": "wireless_wireless_lan_groups_destroy", - "description": "Delete a wireless LAN group object.", + "operationId": "vpn_l2vpns_destroy", + "description": "Delete a L2VPN object.", "parameters": [ { "in": "path", @@ -154204,12 +163177,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN group.", + "description": "A unique integer value identifying this L2VPN.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -154226,194 +163199,11 @@ } } }, - "/api/wireless/wireless-lans/": { + "/api/vpn/tunnel-groups/": { "get": { - "operationId": "wireless_wireless_lans_list", - "description": "Get a list of wireless LAN objects.", + "operationId": "vpn_tunnel_groups_list", + "description": "Get a list of tunnel group objects.", "parameters": [ - { - "in": "query", - "name": "auth_cipher", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_psk__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "created", @@ -154640,54 +163430,6 @@ "explode": true, "style": "form" }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "id", @@ -154881,35 +163623,9 @@ "format": "uuid" } }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, { "in": "query", - "name": "ssid", + "name": "name", "schema": { "type": "array", "items": { @@ -154921,14 +163637,14 @@ }, { "in": "query", - "name": "ssid__empty", + "name": "name__empty", "schema": { "type": "boolean" } }, { "in": "query", - "name": "ssid__ic", + "name": "name__ic", "schema": { "type": "array", "items": { @@ -154940,7 +163656,7 @@ }, { "in": "query", - "name": "ssid__ie", + "name": "name__ie", "schema": { "type": "array", "items": { @@ -154952,7 +163668,7 @@ }, { "in": "query", - "name": "ssid__iew", + "name": "name__iew", "schema": { "type": "array", "items": { @@ -154964,7 +163680,7 @@ }, { "in": "query", - "name": "ssid__isw", + "name": "name__isw", "schema": { "type": "array", "items": { @@ -154976,7 +163692,7 @@ }, { "in": "query", - "name": "ssid__n", + "name": "name__n", "schema": { "type": "array", "items": { @@ -154988,7 +163704,7 @@ }, { "in": "query", - "name": "ssid__nic", + "name": "name__nic", "schema": { "type": "array", "items": { @@ -155000,7 +163716,7 @@ }, { "in": "query", - "name": "ssid__nie", + "name": "name__nie", "schema": { "type": "array", "items": { @@ -155012,7 +163728,7 @@ }, { "in": "query", - "name": "ssid__niew", + "name": "name__niew", "schema": { "type": "array", "items": { @@ -155024,7 +163740,7 @@ }, { "in": "query", - "name": "ssid__nisw", + "name": "name__nisw", "schema": { "type": "array", "items": { @@ -155035,34 +163751,34 @@ "style": "form" }, { + "name": "offset", + "required": false, "in": "query", - "name": "status", + "description": "The initial index from which to return the results.", "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" + "type": "integer" + } + }, + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } }, { "in": "query", - "name": "status__n", + "name": "q", "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } + "type": "string" }, - "explode": true, - "style": "form" + "description": "Search" }, { "in": "query", - "name": "tag", + "name": "slug", "schema": { "type": "array", "items": { @@ -155074,7 +163790,14 @@ }, { "in": "query", - "name": "tag__n", + "name": "slug__empty", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "slug__ic", "schema": { "type": "array", "items": { @@ -155086,126 +163809,107 @@ }, { "in": "query", - "name": "tenant", + "name": "slug__ie", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant__n", + "name": "slug__iew", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group", + "name": "slug__isw", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group__n", + "name": "slug__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (slug)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group_id", + "name": "slug__nic", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group_id__n", + "name": "slug__nie", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_id", + "name": "slug__niew", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "string" } }, - "description": "Tenant (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_id__n", + "name": "slug__nisw", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "string" } }, - "description": "Tenant (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vlan_id", + "name": "tag", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "string" } }, "explode": true, @@ -155213,20 +163917,27 @@ }, { "in": "query", - "name": "vlan_id__n", + "name": "tag__n", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "string" } }, "explode": true, "style": "form" + }, + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -155241,7 +163952,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedWirelessLANList" + "$ref": "#/components/schemas/PaginatedTunnelGroupList" } } }, @@ -155250,21 +163961,21 @@ } }, "post": { - "operationId": "wireless_wireless_lans_create", - "description": "Post a list of wireless LAN objects.", + "operationId": "vpn_tunnel_groups_create", + "description": "Post a list of tunnel group objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } }, @@ -155283,7 +163994,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/TunnelGroup" } } }, @@ -155292,10 +164003,10 @@ } }, "put": { - "operationId": "wireless_wireless_lans_bulk_update", - "description": "Put a list of wireless LAN objects.", + "operationId": "vpn_tunnel_groups_bulk_update", + "description": "Put a list of tunnel group objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -155303,7 +164014,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } }, @@ -155311,7 +164022,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } } @@ -155333,7 +164044,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/TunnelGroup" } } } @@ -155343,10 +164054,10 @@ } }, "patch": { - "operationId": "wireless_wireless_lans_bulk_partial_update", - "description": "Patch a list of wireless LAN objects.", + "operationId": "vpn_tunnel_groups_bulk_partial_update", + "description": "Patch a list of tunnel group objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -155354,7 +164065,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } }, @@ -155362,7 +164073,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } } @@ -155384,7 +164095,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/TunnelGroup" } } } @@ -155394,10 +164105,10 @@ } }, "delete": { - "operationId": "wireless_wireless_lans_bulk_destroy", - "description": "Delete a list of wireless LAN objects.", + "operationId": "vpn_tunnel_groups_bulk_destroy", + "description": "Delete a list of tunnel group objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -155405,7 +164116,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } }, @@ -155413,7 +164124,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } } @@ -155435,10 +164146,10 @@ } } }, - "/api/wireless/wireless-lans/{id}/": { + "/api/vpn/tunnel-groups/{id}/": { "get": { - "operationId": "wireless_wireless_lans_retrieve", - "description": "Get a wireless LAN object.", + "operationId": "vpn_tunnel_groups_retrieve", + "description": "Get a tunnel group object.", "parameters": [ { "in": "path", @@ -155446,12 +164157,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN.", + "description": "A unique integer value identifying this tunnel group.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -155466,7 +164177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/TunnelGroup" } } }, @@ -155475,8 +164186,8 @@ } }, "put": { - "operationId": "wireless_wireless_lans_update", - "description": "Put a wireless LAN object.", + "operationId": "vpn_tunnel_groups_update", + "description": "Put a tunnel group object.", "parameters": [ { "in": "path", @@ -155484,23 +164195,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN.", + "description": "A unique integer value identifying this tunnel group.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" + "$ref": "#/components/schemas/TunnelGroupRequest" } } }, @@ -155519,7 +164230,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/TunnelGroup" } } }, @@ -155528,8 +164239,8 @@ } }, "patch": { - "operationId": "wireless_wireless_lans_partial_update", - "description": "Patch a wireless LAN object.", + "operationId": "vpn_tunnel_groups_partial_update", + "description": "Patch a tunnel group object.", "parameters": [ { "in": "path", @@ -155537,23 +164248,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN.", + "description": "A unique integer value identifying this tunnel group.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANRequest" + "$ref": "#/components/schemas/PatchedTunnelGroupRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANRequest" + "$ref": "#/components/schemas/PatchedTunnelGroupRequest" } } } @@ -155571,7 +164282,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/TunnelGroup" } } }, @@ -155580,8 +164291,8 @@ } }, "delete": { - "operationId": "wireless_wireless_lans_destroy", - "description": "Delete a wireless LAN object.", + "operationId": "vpn_tunnel_groups_destroy", + "description": "Delete a tunnel group object.", "parameters": [ { "in": "path", @@ -155589,12 +164300,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless LAN.", + "description": "A unique integer value identifying this tunnel group.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -155611,194 +164322,11 @@ } } }, - "/api/wireless/wireless-links/": { + "/api/vpn/tunnel-terminations/": { "get": { - "operationId": "wireless_wireless_links_list", - "description": "Get a list of wireless link objects.", + "operationId": "vpn_tunnel_terminations_list", + "description": "Get a list of tunnel termination objects.", "parameters": [ - { - "in": "query", - "name": "auth_cipher", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_psk__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "created", @@ -155898,133 +164426,6 @@ "format": "uuid" } }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, { "in": "query", "name": "id", @@ -156112,183 +164513,53 @@ }, { "in": "query", - "name": "interface_a_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_b_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_b_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_b_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_b_id__gte", + "name": "interface", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_b_id__lt", + "name": "interface__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "string" } }, + "description": "Interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_b_id__lte", + "name": "interface_id", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "interface_b_id__n", + "name": "interface_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "format": "int32" + "type": "integer" } }, + "description": "Interface (ID)", "explode": true, "style": "form" }, @@ -156420,38 +164691,46 @@ }, { "in": "query", - "name": "q", + "name": "outside_ip_id", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "integer" + } }, - "description": "Search" + "description": "Outside IP (ID)", + "explode": true, + "style": "form" }, { "in": "query", - "name": "ssid", + "name": "outside_ip_id__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, + "description": "Outside IP (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "ssid__empty", + "name": "q", "schema": { - "type": "boolean" - } + "type": "string" + }, + "description": "Search" }, { "in": "query", - "name": "ssid__ic", + "name": "role", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "x-spec-enum-id": "52225cd60b867572" } }, "explode": true, @@ -156459,11 +164738,12 @@ }, { "in": "query", - "name": "ssid__ie", + "name": "role__n", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "x-spec-enum-id": "52225cd60b867572" } }, "explode": true, @@ -156471,7 +164751,7 @@ }, { "in": "query", - "name": "ssid__iew", + "name": "tag", "schema": { "type": "array", "items": { @@ -156483,7 +164763,7 @@ }, { "in": "query", - "name": "ssid__isw", + "name": "tag__n", "schema": { "type": "array", "items": { @@ -156495,11 +164775,12 @@ }, { "in": "query", - "name": "ssid__n", + "name": "termination_id", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -156507,23 +164788,19 @@ }, { "in": "query", - "name": "ssid__nic", + "name": "termination_id__empty", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "boolean" + } }, { "in": "query", - "name": "ssid__nie", + "name": "termination_id__gt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -156531,11 +164808,12 @@ }, { "in": "query", - "name": "ssid__niew", + "name": "termination_id__gte", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -156543,11 +164821,12 @@ }, { "in": "query", - "name": "ssid__nisw", + "name": "termination_id__lt", "schema": { "type": "array", "items": { - "type": "string" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -156555,12 +164834,12 @@ }, { "in": "query", - "name": "status", + "name": "termination_id__lte", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -156568,12 +164847,12 @@ }, { "in": "query", - "name": "status__n", + "name": "termination_id__n", "schema": { "type": "array", "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" + "type": "integer", + "format": "int32" } }, "explode": true, @@ -156581,145 +164860,133 @@ }, { "in": "query", - "name": "tag", + "name": "termination_type", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "tag__n", + "name": "termination_type__n", "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" + "type": "string" + } }, { "in": "query", - "name": "tenant", + "name": "tunnel", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", + "description": "Tunnel (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant__n", + "name": "tunnel__n", "schema": { "type": "array", "items": { "type": "string" } }, - "description": "Tenant (slug)", + "description": "Tunnel (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group", + "name": "tunnel_id", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Tenant Group (slug)", + "description": "Tunnel (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group__n", + "name": "tunnel_id__n", "schema": { "type": "array", "items": { "type": "integer" } }, - "description": "Tenant Group (slug)", + "description": "Tunnel (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group_id", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "in": "query", + "name": "vminterface", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", + "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_group_id__n", + "name": "vminterface__n", "schema": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, - "description": "Tenant Group (ID)", + "description": "VM interface (name)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_id", + "name": "vminterface_id", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "integer" } }, - "description": "Tenant (ID)", + "description": "VM interface (ID)", "explode": true, "style": "form" }, { "in": "query", - "name": "tenant_id__n", + "name": "vminterface_id__n", "schema": { "type": "array", "items": { - "type": "integer", - "nullable": true + "type": "integer" } }, - "description": "Tenant (ID)", + "description": "VM interface (ID)", "explode": true, "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -156734,7 +165001,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaginatedWirelessLinkList" + "$ref": "#/components/schemas/PaginatedTunnelTerminationList" } } }, @@ -156743,21 +165010,21 @@ } }, "post": { - "operationId": "wireless_wireless_links_create", - "description": "Post a list of wireless link objects.", + "operationId": "vpn_tunnel_terminations_create", + "description": "Post a list of tunnel termination objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" + "$ref": "#/components/schemas/WritableTunnelTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" + "$ref": "#/components/schemas/WritableTunnelTerminationRequest" } } }, @@ -156776,7 +165043,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/TunnelTermination" } } }, @@ -156785,10 +165052,10 @@ } }, "put": { - "operationId": "wireless_wireless_links_bulk_update", - "description": "Put a list of wireless link objects.", + "operationId": "vpn_tunnel_terminations_bulk_update", + "description": "Put a list of tunnel termination objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -156796,7 +165063,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" + "$ref": "#/components/schemas/TunnelTerminationRequest" } } }, @@ -156804,7 +165071,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" + "$ref": "#/components/schemas/TunnelTerminationRequest" } } } @@ -156826,7 +165093,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/TunnelTermination" } } } @@ -156836,10 +165103,10 @@ } }, "patch": { - "operationId": "wireless_wireless_links_bulk_partial_update", - "description": "Patch a list of wireless link objects.", + "operationId": "vpn_tunnel_terminations_bulk_partial_update", + "description": "Patch a list of tunnel termination objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -156847,7 +165114,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" + "$ref": "#/components/schemas/TunnelTerminationRequest" } } }, @@ -156855,7 +165122,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" + "$ref": "#/components/schemas/TunnelTerminationRequest" } } } @@ -156877,7 +165144,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/TunnelTermination" } } } @@ -156887,10 +165154,10 @@ } }, "delete": { - "operationId": "wireless_wireless_links_bulk_destroy", - "description": "Delete a list of wireless link objects.", + "operationId": "vpn_tunnel_terminations_bulk_destroy", + "description": "Delete a list of tunnel termination objects.", "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { @@ -156898,7 +165165,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" + "$ref": "#/components/schemas/TunnelTerminationRequest" } } }, @@ -156906,7 +165173,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" + "$ref": "#/components/schemas/TunnelTerminationRequest" } } } @@ -156928,10 +165195,10 @@ } } }, - "/api/wireless/wireless-links/{id}/": { + "/api/vpn/tunnel-terminations/{id}/": { "get": { - "operationId": "wireless_wireless_links_retrieve", - "description": "Get a wireless link object.", + "operationId": "vpn_tunnel_terminations_retrieve", + "description": "Get a tunnel termination object.", "parameters": [ { "in": "path", @@ -156939,12 +165206,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless link.", + "description": "A unique integer value identifying this tunnel termination.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -156959,7 +165226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/TunnelTermination" } } }, @@ -156968,8 +165235,8 @@ } }, "put": { - "operationId": "wireless_wireless_links_update", - "description": "Put a wireless link object.", + "operationId": "vpn_tunnel_terminations_update", + "description": "Put a tunnel termination object.", "parameters": [ { "in": "path", @@ -156977,23 +165244,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless link.", + "description": "A unique integer value identifying this tunnel termination.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" + "$ref": "#/components/schemas/WritableTunnelTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" + "$ref": "#/components/schemas/WritableTunnelTerminationRequest" } } }, @@ -157012,7 +165279,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/TunnelTermination" } } }, @@ -157021,8 +165288,8 @@ } }, "patch": { - "operationId": "wireless_wireless_links_partial_update", - "description": "Patch a wireless link object.", + "operationId": "vpn_tunnel_terminations_partial_update", + "description": "Patch a tunnel termination object.", "parameters": [ { "in": "path", @@ -157030,23 +165297,23 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless link.", + "description": "A unique integer value identifying this tunnel termination.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLinkRequest" + "$ref": "#/components/schemas/PatchedWritableTunnelTerminationRequest" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLinkRequest" + "$ref": "#/components/schemas/PatchedWritableTunnelTerminationRequest" } } } @@ -157064,7 +165331,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/TunnelTermination" } } }, @@ -157073,8 +165340,8 @@ } }, "delete": { - "operationId": "wireless_wireless_links_destroy", - "description": "Delete a wireless link object.", + "operationId": "vpn_tunnel_terminations_destroy", + "description": "Delete a tunnel termination object.", "parameters": [ { "in": "path", @@ -157082,12 +165349,12 @@ "schema": { "type": "integer" }, - "description": "A unique integer value identifying this wireless link.", + "description": "A unique integer value identifying this tunnel termination.", "required": true } ], "tags": [ - "wireless" + "vpn" ], "security": [ { @@ -157103,4227 +165370,5335 @@ } } } - } - }, - "components": { - "schemas": { - "ASN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - }, - "rir": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRIR" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + }, + "/api/vpn/tunnels/": { + "get": { + "operationId": "vpn_tunnels_list", + "description": "Get a list of tunnel objects.", + "parameters": [ + { + "in": "query", + "name": "created", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "created__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "site_count": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" + } }, - "provider_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "asn", - "created", - "display", - "id", - "last_updated", - "provider_count", - "site_count", - "url" - ] - }, - "ASNRange": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "description", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "description__empty", + "schema": { + "type": "boolean" + } }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "description__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "description__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + { + "in": "query", + "name": "description__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "rir": { - "$ref": "#/components/schemas/NestedRIR" + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "encapsulation", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "5fc36bb745852746" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "encapsulation__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "5fc36bb745852746" + } + }, + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tunnel group (slug)", + "explode": true, + "style": "form" }, - "asn_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "asn_count", - "created", - "display", - "end", - "id", - "last_updated", - "name", - "rir", - "slug", - "start", - "url" - ] - }, - "ASNRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + { + "in": "query", + "name": "group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tunnel group (slug)", + "explode": true, + "style": "form" }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + { + "in": "query", + "name": "group_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tunnel group (ID)", + "explode": true, + "style": "form" }, - "rir": { - "$ref": "#/components/schemas/NestedRIRRequest" + { + "in": "query", + "name": "group_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tunnel group (ID)", + "explode": true, + "style": "form" }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" + { + "in": "query", + "name": "id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" + { + "in": "query", + "name": "id__empty", + "schema": { + "type": "boolean" + } }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + { + "in": "query", + "name": "id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + { + "in": "query", + "name": "id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "end", - "name", - "rir", - "slug", - "start" - ] - }, - "ASNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" + { + "in": "query", + "name": "id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "rir": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRIRRequest" + { + "in": "query", + "name": "id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + { + "in": "query", + "name": "ipsec_profile", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "description": "IPSec profile (name)", + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "ipsec_profile__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "IPSec profile (name)", + "explode": true, + "style": "form" }, - "comments": { - "type": "string" + { + "in": "query", + "name": "ipsec_profile_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "IPSec profile (ID)", + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + { + "in": "query", + "name": "ipsec_profile_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "IPSec profile (ID)", + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "asn" - ] - }, - "Aggregate": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] + "format": "date-time" } }, - "readOnly": true + "explode": true, + "style": "form" }, - "prefix": { - "type": "string" + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "rir": { - "$ref": "#/components/schemas/NestedRIR" + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "date_added": { - "type": "string", - "format": "date", - "nullable": true + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" + } }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } }, - "comments": { - "type": "string" + { + "in": "query", + "name": "name", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + { + "in": "query", + "name": "name__empty", + "schema": { + "type": "boolean" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "name__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "name__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "family", - "id", - "last_updated", - "prefix", - "rir", - "url" - ] - }, - "AggregateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 + { + "in": "query", + "name": "name__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "rir": { - "$ref": "#/components/schemas/NestedRIRRequest" + { + "in": "query", + "name": "name__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + { + "in": "query", + "name": "name__n", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "date_added": { - "type": "string", - "format": "date", - "nullable": true + { + "in": "query", + "name": "name__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "name__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" + { + "in": "query", + "name": "name__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + { + "in": "query", + "name": "name__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "prefix", - "rir" - ] - }, - "AvailableASN": { - "type": "object", - "description": "Representation of an ASN which does not exist in the database.", - "properties": { - "asn": { - "type": "integer", - "readOnly": true + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } }, - "description": { - "type": "string" - } - }, - "required": [ - "asn" - ] - }, - "AvailableIP": { - "type": "object", - "description": "Representation of an IP address which does not exist in the database.", - "properties": { - "family": { - "type": "integer", - "readOnly": true, - "nullable": true + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } }, - "address": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVRF" + { + "in": "query", + "name": "status", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "0d65f7912cba74aa" } - ], - "readOnly": true, - "nullable": true - }, - "description": { - "type": "string" - } - }, - "required": [ - "address", - "family", - "vrf" - ] - }, - "AvailablePrefix": { - "type": "object", - "description": "Representation of a prefix which does not exist in the database.", - "properties": { - "family": { - "type": "integer", - "readOnly": true, - "nullable": true - }, - "prefix": { - "type": "string", - "readOnly": true + }, + "explode": true, + "style": "form" }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVRF" + { + "in": "query", + "name": "status__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "0d65f7912cba74aa" } - ], - "readOnly": true, - "nullable": true - } - }, - "required": [ - "family", - "prefix", - "vrf" - ] - }, - "AvailableVLAN": { - "type": "object", - "description": "Representation of a VLAN which does not exist in the database.", - "properties": { - "vid": { - "type": "integer", - "readOnly": true + }, + "explode": true, + "style": "form" }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVLANGroup" + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "readOnly": true, - "nullable": true - } - }, - "required": [ - "group", - "vid" - ] - }, - "BGPPeerGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "tenant", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "tenant__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, - "import_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "export_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "description", - "display", - "id", - "name" - ] - }, - "BGPPeerGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "import_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, - "export_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "description", - "name" - ] - }, - "BGPSession": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "tunnel_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + { + "in": "query", + "name": "tunnel_id__empty", + "schema": { + "type": "boolean" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "display": { - "type": "string", - "readOnly": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "failed" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", - "x-spec-enum-id": "b77fc919138c12f6" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Failed" - ] + { + "in": "query", + "name": "tunnel_id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - } + }, + "explode": true, + "style": "form" }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSite" + { + "in": "query", + "name": "tunnel_id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + { + "in": "query", + "name": "tunnel_id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" + { + "in": "query", + "name": "tunnel_id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "local_address": { - "$ref": "#/components/schemas/NestedIPAddress" + { + "in": "query", + "name": "tunnel_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "remote_address": { - "$ref": "#/components/schemas/NestedIPAddress" + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "tags": [ + "vpn" + ], + "security": [ + { + "cookieAuth": [] }, - "local_as": { - "$ref": "#/components/schemas/NestedASN" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedTunnelList" + } + } + }, + "description": "" + } + } + }, + "post": { + "operationId": "vpn_tunnels_create", + "description": "Post a list of tunnel objects.", + "tags": [ + "vpn" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableTunnelRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableTunnelRequest" + } + } }, - "remote_as": { - "$ref": "#/components/schemas/NestedASN" + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "peer_group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedBGPPeerGroup" + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tunnel" + } + } + }, + "description": "" + } + } + }, + "put": { + "operationId": "vpn_tunnels_bulk_update", + "description": "Put a list of tunnel objects.", + "tags": [ + "vpn" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TunnelRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TunnelRequest" + } } - ], - "nullable": true - }, - "import_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true } }, - "export_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "prefix_list_in": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPrefixList" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Tunnel" + } + } } - ], - "nullable": true - }, - "prefix_list_out": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPrefixList" + }, + "description": "" + } + } + }, + "patch": { + "operationId": "vpn_tunnels_bulk_partial_update", + "description": "Patch a list of tunnel objects.", + "tags": [ + "vpn" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TunnelRequest" + } } - ], - "nullable": true + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TunnelRequest" + } + } + } }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Tunnel" + } + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "vpn_tunnels_bulk_destroy", + "description": "Delete a list of tunnel objects.", + "tags": [ + "vpn" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TunnelRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TunnelRequest" + } + } + } }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 256 + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "description": { - "type": "string", - "maxLength": 200 + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/vpn/tunnels/{id}/": { + "get": { + "operationId": "vpn_tunnels_retrieve", + "description": "Get a tunnel object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this tunnel.", + "required": true + } + ], + "tags": [ + "vpn" + ], + "security": [ + { + "cookieAuth": [] }, - "comments": { - "type": "string" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tunnel" + } + } + }, + "description": "" + } + } + }, + "put": { + "operationId": "vpn_tunnels_update", + "description": "Put a tunnel object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this tunnel.", + "required": true } + ], + "tags": [ + "vpn" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableTunnelRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableTunnelRequest" + } + } + }, + "required": true }, - "required": [ - "created", - "display", - "id", - "last_updated", - "local_address", - "local_as", - "remote_address", - "remote_as" - ] + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tunnel" + } + } + }, + "description": "" + } + } }, - "BGPSessionRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + "patch": { + "operationId": "vpn_tunnels_partial_update", + "description": "Patch a tunnel object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this tunnel.", + "required": true + } + ], + "tags": [ + "vpn" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableTunnelRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableTunnelRequest" + } } + } + }, + "security": [ + { + "cookieAuth": [] }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tunnel" + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "vpn_tunnels_destroy", + "description": "Delete a tunnel object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this tunnel.", + "required": true + } + ], + "tags": [ + "vpn" + ], + "security": [ + { + "cookieAuth": [] }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "failed" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", - "x-spec-enum-id": "b77fc919138c12f6" + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/wireless/wireless-lan-groups/": { + "get": { + "operationId": "wireless_wireless_lan_groups_list", + "description": "Get a list of wireless LAN group objects.", + "parameters": [ + { + "in": "query", + "name": "ancestor", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteRequest" + { + "in": "query", + "name": "ancestor__n", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + { + "in": "query", + "name": "ancestor_id", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRequest" + { + "in": "query", + "name": "ancestor_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "local_address": { - "$ref": "#/components/schemas/NestedIPAddressRequest" + { + "in": "query", + "name": "created", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "remote_address": { - "$ref": "#/components/schemas/NestedIPAddressRequest" + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "local_as": { - "$ref": "#/components/schemas/NestedASNRequest" + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "remote_as": { - "$ref": "#/components/schemas/NestedASNRequest" + { + "in": "query", + "name": "created__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "peer_group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedBGPPeerGroupRequest" + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "import_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" } }, - "export_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true + { + "in": "query", + "name": "description", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "description__empty", + "schema": { + "type": "boolean" } }, - "prefix_list_in": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPrefixListRequest" + { + "in": "query", + "name": "description__ic", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "prefix_list_out": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPrefixListRequest" + { + "in": "query", + "name": "description__ie", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 256 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - } - }, - "required": [ - "local_address", - "local_as", - "remote_address", - "remote_as" - ] - }, - "Bookmark": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "description__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "object_type": { - "type": "string" + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "object": { - "nullable": true, - "readOnly": true + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "user": { - "$ref": "#/components/schemas/NestedUser" + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "id", - "object", - "object_id", - "object_type", - "url", - "user" - ] - }, - "BookmarkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + { + "in": "query", + "name": "id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "user": { - "$ref": "#/components/schemas/NestedUserRequest" - } - }, - "required": [ - "object_id", - "object_type", - "user" - ] - }, - "Cable": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "id__empty", + "schema": { + "type": "boolean" + } }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "dac-active", - "dac-passive", - "mrj21-trunk", - "coaxial", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `mrj21-trunk` - MRJ21 Trunk\n* `coaxial` - Coaxial\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Singlemode Fiber\n* `smf-os1` - Singlemode Fiber (OS1)\n* `smf-os2` - Singlemode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power", - "x-spec-enum-id": "e671018e64196f8d" + { + "in": "query", + "name": "id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "a_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObject" - } + { + "in": "query", + "name": "id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "b_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObject" - } + { + "in": "query", + "name": "id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "label": { + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "Connected", - "Planned", - "Decommissioning" - ] + "format": "date-time" } - } + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true - }, - "label": { - "type": "string", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + }, + "explode": true, + "style": "form" }, - "length": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "length_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "km", - "m", - "cm", - "mi", - "ft", - "in", - "", - null - ], + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches", - "x-spec-enum-id": "e64ce3a2c5997172" - }, - "label": { + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "Kilometers", - "Meters", - "Centimeters", - "Miles", - "Feet", - "Inches" - ] + "format": "date-time" } }, - "nullable": true + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "url" - ] - }, - "CableRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "dac-active", - "dac-passive", - "mrj21-trunk", - "coaxial", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `mrj21-trunk` - MRJ21 Trunk\n* `coaxial` - Coaxial\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Singlemode Fiber\n* `smf-os1` - Singlemode Fiber (OS1)\n* `smf-os2` - Singlemode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power", - "x-spec-enum-id": "e671018e64196f8d" + { + "in": "query", + "name": "name", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "a_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" + { + "in": "query", + "name": "name__empty", + "schema": { + "type": "boolean" } }, - "b_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } + { + "in": "query", + "name": "name__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" + { + "in": "query", + "name": "name__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + { + "in": "query", + "name": "name__iew", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "label": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "name__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + { + "in": "query", + "name": "name__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "length": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true + { + "in": "query", + "name": "name__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "length_unit": { - "enum": [ - "km", - "m", - "cm", - "mi", - "ft", - "in", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches", - "x-spec-enum-id": "e64ce3a2c5997172", - "nullable": true + { + "in": "query", + "name": "name__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "name__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" + { + "in": "query", + "name": "name__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "CableTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "cable": { - "type": "integer" + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } }, - "cable_end": { - "enum": [ - "A", - "B" - ], - "type": "string", - "description": "* `A` - A\n* `B` - B", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" + { + "in": "query", + "name": "parent", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "termination_type": { - "type": "string" + { + "in": "query", + "name": "parent__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + { + "in": "query", + "name": "parent_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "explode": true, + "style": "form" }, - "termination": { - "nullable": true, - "readOnly": true + { + "in": "query", + "name": "parent_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "cable", - "cable_end", - "created", - "display", - "id", - "last_updated", - "termination", - "termination_id", - "termination_type", - "url" - ] - }, - "CableTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cable": { - "type": "integer" + { + "in": "query", + "name": "slug", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "cable_end": { - "enum": [ - "A", - "B" - ], - "type": "string", - "description": "* `A` - A\n* `B` - B", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" + { + "in": "query", + "name": "slug__empty", + "schema": { + "type": "boolean" + } }, - "termination_type": { - "type": "string" + { + "in": "query", + "name": "slug__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - }, - "required": [ - "cable", - "cable_end", - "termination_id", - "termination_type" - ] - }, - "Circuit": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "slug__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "slug__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "slug__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "cid": { - "type": "string", - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 + { + "in": "query", + "name": "slug__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "provider": { - "$ref": "#/components/schemas/NestedProvider" + { + "in": "query", + "name": "slug__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "provider_account": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedProviderAccount" + { + "in": "query", + "name": "slug__nie", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "type": { - "$ref": "#/components/schemas/NestedCircuitType" + { + "in": "query", + "name": "slug__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Provisioning", - "Active", - "Offline", - "Deprovisioning", - "Decommissioned" - ] + { + "in": "query", + "name": "slug__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "install_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Installed" - }, - "termination_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Terminates" - }, - "commit_rate": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Commit rate (Kbps)", - "description": "Committed rate" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "termination_a": { - "allOf": [ - { - "$ref": "#/components/schemas/CircuitCircuitTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "termination_z": { - "allOf": [ - { - "$ref": "#/components/schemas/CircuitCircuitTermination" + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "readOnly": true, - "nullable": true - }, - "comments": { - "type": "string" + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true } - }, - "required": [ - "cid", - "created", - "display", - "id", - "last_updated", - "provider", - "termination_a", - "termination_z", - "type", - "url" - ] - }, - "CircuitCircuitTermination": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSite" - } - ], - "nullable": true + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "provider_network": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedProviderNetwork" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedWirelessLANGroupList" + } } - ], - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 + }, + "description": "" } - }, - "required": [ - "display", - "id", - "provider_network", - "site", - "url" - ] + } }, - "CircuitCircuitTerminationRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteRequest" + "post": { + "operationId": "wireless_wireless_lan_groups_create", + "description": "Post a list of wireless LAN group objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" } - ], - "nullable": true - }, - "provider_network": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedProviderNetworkRequest" + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" } - ], - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" + } }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "description": { - "type": "string", - "maxLength": 200 + { + "tokenAuth": [] } - }, - "required": [ - "provider_network", - "site" - ] + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLANGroup" + } + } + }, + "description": "" + } + } }, - "CircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "$ref": "#/components/schemas/NestedProviderRequest" - }, - "provider_account": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedProviderAccountRequest" + "put": { + "operationId": "wireless_wireless_lan_groups_bulk_update", + "description": "Put a list of wireless LAN group objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } } - ], - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/NestedCircuitTypeRequest" - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } } - ], - "nullable": true - }, - "install_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Installed" - }, - "termination_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Terminates" - }, - "commit_rate": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Commit rate (Kbps)", - "description": "Committed rate" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } + "required": true }, - "required": [ - "cid", - "provider", - "type" - ] - }, - "CircuitTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "circuit": { - "$ref": "#/components/schemas/NestedCircuit" - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination" + "security": [ + { + "cookieAuth": [] }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSite" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroup" + } + } } - ], - "nullable": true - }, - "provider_network": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedProviderNetwork" + }, + "description": "" + } + } + }, + "patch": { + "operationId": "wireless_wireless_lan_groups_bulk_partial_update", + "description": "Patch a list of wireless LAN group objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } } - ], - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCable" + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" + { + "tokenAuth": [] } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "circuit", - "created", - "display", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "term_side", - "url" - ] + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroup" + } + } + } + }, + "description": "" + } + } }, - "CircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "circuit": { - "$ref": "#/components/schemas/NestedCircuitRequest" - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination" - }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteRequest" + "delete": { + "operationId": "wireless_wireless_lan_groups_bulk_destroy", + "description": "Delete a list of wireless LAN group objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } } - ], - "nullable": true - }, - "provider_network": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedProviderNetworkRequest" + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } } - ], - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } + "required": true }, - "required": [ - "circuit", - "term_side" - ] - }, - "CircuitType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "security": [ + { + "cookieAuth": [] }, - "circuit_count": { - "type": "integer", - "readOnly": true + { + "tokenAuth": [] } - }, - "required": [ - "circuit_count", - "created", - "display", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "CircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/wireless/wireless-lan-groups/{id}/": { + "get": { + "operationId": "wireless_wireless_lan_groups_retrieve", + "description": "Get a wireless LAN group object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless LAN group.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "tokenAuth": [] } - }, - "required": [ - "name", - "slug" - ] + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLANGroup" + } + } + }, + "description": "" + } + } }, - "Cluster": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "type": { - "$ref": "#/components/schemas/NestedClusterType" - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedClusterGroup" + "put": { + "operationId": "wireless_wireless_lan_groups_update", + "description": "Put a wireless LAN group object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless LAN group.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "offline" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `offline` - Offline", - "x-spec-enum-id": "79d20a734d0eecbb" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Staging", - "Active", - "Decommissioning", - "Offline" - ] + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" } } }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSite" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLANGroup" + } } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "device_count": { - "type": "integer", - "readOnly": true - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true + }, + "description": "" } - }, - "required": [ - "created", - "device_count", - "display", - "id", - "last_updated", - "name", - "type", - "url", - "virtualmachine_count" - ] + } }, - "ClusterGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + "patch": { + "operationId": "wireless_wireless_lan_groups_partial_update", + "description": "Patch a wireless LAN group object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless LAN group.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableWirelessLANGroupRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableWirelessLANGroupRequest" + } } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "cluster_count": { - "type": "integer", - "readOnly": true } }, - "required": [ - "cluster_count", - "created", - "display", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ClusterGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + "security": [ + { + "cookieAuth": [] }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "tokenAuth": [] } - }, - "required": [ - "name", - "slug" - ] + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLANGroup" + } + } + }, + "description": "" + } + } }, - "ClusterRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "$ref": "#/components/schemas/NestedClusterTypeRequest" + "delete": { + "operationId": "wireless_wireless_lan_groups_destroy", + "description": "Delete a wireless LAN group object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless LAN group.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedClusterGroupRequest" + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/wireless/wireless-lans/": { + "get": { + "operationId": "wireless_wireless_lans_list", + "description": "Get a list of wireless LAN objects.", + "parameters": [ + { + "in": "query", + "name": "auth_cipher", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "8fdaefa727c26fdc", + "title": "Authentication cipher" } - ], - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "offline" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `offline` - Offline", - "x-spec-enum-id": "79d20a734d0eecbb" + }, + "explode": true, + "style": "form" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" + { + "in": "query", + "name": "auth_cipher__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "8fdaefa727c26fdc", + "title": "Authentication cipher" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteRequest" + { + "in": "query", + "name": "auth_psk", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + { + "in": "query", + "name": "auth_psk__empty", + "schema": { + "type": "boolean" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "type" - ] - }, - "ClusterType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "auth_psk__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "auth_psk__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + { + "in": "query", + "name": "auth_psk__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "auth_psk__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "auth_psk__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "auth_psk__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "auth_psk__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "auth_psk__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "cluster_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "cluster_count", - "created", - "display", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ClusterTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + { + "in": "query", + "name": "auth_psk__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + { + "in": "query", + "name": "auth_type", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "a2043acb899b3954", + "title": "Authentication type" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "auth_type__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "a2043acb899b3954", + "title": "Authentication type" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + { + "in": "query", + "name": "created", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "Community": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "created__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "deprecated" - ], + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "label": { + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "Active", - "Reserved", - "Deprecated" - ] + "format": "date-time" } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" } }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" + { + "in": "query", + "name": "description", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "description__empty", + "schema": { + "type": "boolean" + } }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "description__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "description__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "value": { - "type": "string", - "pattern": "[\\d\\.\\*]+:[\\d\\.\\*]+", - "maxLength": 64 + { + "in": "query", + "name": "description__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "site": { - "type": "integer", - "nullable": true + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "role": { - "type": "integer", - "nullable": true + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "value" - ] - }, - "CommunityList": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "description", - "display", - "id", - "name" - ] - }, - "CommunityListRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + { + "in": "query", + "name": "group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + { + "in": "query", + "name": "id__empty", + "schema": { + "type": "boolean" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "description", - "name" - ] - }, - "CommunityListRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "community_list": { - "$ref": "#/components/schemas/NestedCommunityList" + { + "in": "query", + "name": "id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "interface_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "interface_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "community": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCommunity" + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "action", - "community_list", - "created", - "display", - "id", - "last_updated" - ] - }, - "CommunityListRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "community_list": { - "$ref": "#/components/schemas/NestedCommunityListRequest" + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "community": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCommunityRequest" + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "action", - "community_list" - ] - }, - "CommunityRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" }, - "value": { - "type": "string", - "minLength": 1, - "pattern": "[\\d\\.\\*]+:[\\d\\.\\*]+", - "maxLength": 64 + { + "in": "query", + "name": "ssid", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "site": { - "type": "integer", - "nullable": true + { + "in": "query", + "name": "ssid__empty", + "schema": { + "type": "boolean" + } }, - "role": { - "type": "integer", - "nullable": true + { + "in": "query", + "name": "ssid__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "comments": { - "type": "string" - } - }, - "required": [ - "value" - ] - }, - "ComponentNestedModule": { - "type": "object", - "description": "Used by device component serializers.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "ssid__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "ssid__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "ssid__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "device": { - "type": "integer" + { + "in": "query", + "name": "ssid__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "module_bay": { - "allOf": [ - { - "$ref": "#/components/schemas/ModuleNestedModuleBay" + { + "in": "query", + "name": "ssid__nic", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "readOnly": true - } - }, - "required": [ - "device", - "display", - "id", - "module_bay", - "url" - ] - }, - "ComponentNestedModuleRequest": { - "type": "object", - "description": "Used by device component serializers.", - "properties": { - "device": { - "type": "integer" - } - }, - "required": [ - "device" - ] - }, - "ConfigContext": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "ssid__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "ssid__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "ssid__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + { + "in": "query", + "name": "status", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "412ebdca597f609e" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "status__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "412ebdca597f609e" + } + }, + "explode": true, + "style": "form" }, - "is_active": { - "type": "boolean" + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "regions": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "site_groups": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, - "sites": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, - "locations": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "device_types": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "roles": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "platforms": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "cluster_types": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, - "cluster_groups": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, - "clusters": { - "type": "array", - "items": { - "type": "integer" + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" } }, - "tenant_groups": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "vlan_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "explode": true, + "style": "form" }, - "tenants": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "vlan_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "explode": true, + "style": "form" + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "tags": { - "type": "array", - "items": { - "type": "string" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedWirelessLANList" + } + } + }, + "description": "" + } + } + }, + "post": { + "operationId": "wireless_wireless_lans_create", + "description": "Post a list of wireless LAN objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANRequest" + } } }, - "data_source": { - "$ref": "#/components/schemas/NestedDataSource" - }, - "data_path": { - "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "data_file": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDataFile" + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLAN" + } } - ], - "readOnly": true - }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" - }, - "data": {}, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + }, + "description": "" } - }, - "required": [ - "created", - "data", - "data_file", - "data_path", - "data_synced", - "display", - "id", - "last_updated", - "name", - "url" - ] + } }, - "ConfigContextRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 + "put": { + "operationId": "wireless_wireless_lans_bulk_update", + "description": "Put a list of wireless LAN objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANRequest" + } + } + } }, - "is_active": { - "type": "boolean" + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "regions": { - "type": "array", - "items": { - "type": "integer" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLAN" + } + } + } + }, + "description": "" + } + } + }, + "patch": { + "operationId": "wireless_wireless_lans_bulk_partial_update", + "description": "Patch a list of wireless LAN objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANRequest" + } + } } }, - "site_groups": { - "type": "array", - "items": { - "type": "integer" - } + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "sites": { - "type": "array", - "items": { - "type": "integer" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLAN" + } + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "wireless_wireless_lans_bulk_destroy", + "description": "Delete a list of wireless LAN objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLANRequest" + } + } } }, - "locations": { - "type": "array", - "items": { - "type": "integer" - } + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "device_types": { - "type": "array", - "items": { + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/wireless/wireless-lans/{id}/": { + "get": { + "operationId": "wireless_wireless_lans_retrieve", + "description": "Get a wireless LAN object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { "type": "integer" - } + }, + "description": "A unique integer value identifying this wireless LAN.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "roles": { - "type": "array", - "items": { + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLAN" + } + } + }, + "description": "" + } + } + }, + "put": { + "operationId": "wireless_wireless_lans_update", + "description": "Put a wireless LAN object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { "type": "integer" + }, + "description": "A unique integer value identifying this wireless LAN.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLANRequest" + } } }, - "platforms": { - "type": "array", - "items": { - "type": "integer" - } + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "cluster_types": { - "type": "array", - "items": { + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLAN" + } + } + }, + "description": "" + } + } + }, + "patch": { + "operationId": "wireless_wireless_lans_partial_update", + "description": "Patch a wireless LAN object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { "type": "integer" + }, + "description": "A unique integer value identifying this wireless LAN.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableWirelessLANRequest" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableWirelessLANRequest" + } } + } + }, + "security": [ + { + "cookieAuth": [] }, - "cluster_groups": { - "type": "array", - "items": { + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLAN" + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "wireless_wireless_lans_destroy", + "description": "Delete a wireless LAN object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { "type": "integer" - } + }, + "description": "A unique integer value identifying this wireless LAN.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "clusters": { - "type": "array", - "items": { - "type": "integer" - } + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/wireless/wireless-links/": { + "get": { + "operationId": "wireless_wireless_links_list", + "description": "Get a list of wireless link objects.", + "parameters": [ + { + "in": "query", + "name": "auth_cipher", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "8fdaefa727c26fdc", + "title": "Authentication cipher" + } + }, + "explode": true, + "style": "form" }, - "tenant_groups": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "auth_cipher__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "8fdaefa727c26fdc", + "title": "Authentication cipher" + } + }, + "explode": true, + "style": "form" }, - "tenants": { - "type": "array", - "items": { - "type": "integer" - } + { + "in": "query", + "name": "auth_psk", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 + { + "in": "query", + "name": "auth_psk__empty", + "schema": { + "type": "boolean" } }, - "data_source": { - "$ref": "#/components/schemas/NestedDataSourceRequest" - }, - "data": {} - }, - "required": [ - "data", - "name" - ] - }, - "ConfigTemplate": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "auth_psk__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "auth_psk__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "auth_psk__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 100 + { + "in": "query", + "name": "auth_psk__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "auth_psk__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja2 environment." + { + "in": "query", + "name": "auth_psk__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "template_code": { - "type": "string", - "description": "Jinja2 template code." + { + "in": "query", + "name": "auth_psk__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "data_source": { - "$ref": "#/components/schemas/NestedDataSource" + { + "in": "query", + "name": "auth_psk__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "data_path": { - "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" + { + "in": "query", + "name": "auth_psk__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "data_file": { - "$ref": "#/components/schemas/NestedDataFile" + { + "in": "query", + "name": "auth_type", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "a2043acb899b3954", + "title": "Authentication type" + } + }, + "explode": true, + "style": "form" }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" + { + "in": "query", + "name": "auth_type__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "x-spec-enum-id": "a2043acb899b3954", + "title": "Authentication type" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "created", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "created__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "data_path", - "data_synced", - "display", - "id", - "last_updated", - "name", - "template_code", - "url" - ] - }, - "ConfigTemplateRequest": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + { + "in": "query", + "name": "created__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "created__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja2 environment." + { + "in": "query", + "name": "created__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code." + { + "in": "query", + "name": "created__lte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "data_source": { - "$ref": "#/components/schemas/NestedDataSourceRequest" + { + "in": "query", + "name": "created__n", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + { + "in": "query", + "name": "created_by_request", + "schema": { + "type": "string", + "format": "uuid" } - } - }, - "required": [ - "name", - "template_code" - ] - }, - "ConsolePort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/NestedDevice" }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModule" + { + "in": "query", + "name": "description", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + }, + "explode": true, + "style": "form" }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { - "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } + { + "in": "query", + "name": "description__empty", + "schema": { + "type": "boolean" } }, - "speed": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378" - }, - "label": { - "type": "string", - "enum": [ - "1200 bps", - "2400 bps", - "4800 bps", - "9600 bps", - "19.2 kbps", - "38.4 kbps", - "57.6 kbps", - "115.2 kbps" - ] + { + "in": "query", + "name": "description__ic", + "schema": { + "type": "array", + "items": { + "type": "string" } }, - "nullable": true + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "description__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" + { + "in": "query", + "name": "description__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCable" + { + "in": "query", + "name": "description__isw", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "readOnly": true, - "nullable": true + }, + "explode": true, + "style": "form" }, - "cable_end": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "description__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true + { + "in": "query", + "name": "description__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true + { + "in": "query", + "name": "description__nie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "connected_endpoints": { - "type": "array", - "items": {}, - "readOnly": true + { + "in": "query", + "name": "description__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "description__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true + { + "in": "query", + "name": "id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + { + "in": "query", + "name": "id__empty", + "schema": { + "type": "boolean" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "device", - "display", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "url" - ] - }, - "ConsolePortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" + { + "in": "query", + "name": "id__gt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 + }, + "explode": true, + "style": "form" }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + { + "in": "query", + "name": "id__gte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" + { + "in": "query", + "name": "id__lt", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true + { + "in": "query", + "name": "id__lte", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "explode": true, + "style": "form" }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" + { + "in": "query", + "name": "interface_a_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + { + "in": "query", + "name": "interface_a_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "ConsolePortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "interface_b_id", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "interface_b_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "last_updated", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceType" + { + "in": "query", + "name": "last_updated__empty", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleType" + { + "in": "query", + "name": "last_updated__gt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + { + "in": "query", + "name": "last_updated__gte", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + { + "in": "query", + "name": "last_updated__lt", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + } + }, + "explode": true, + "style": "form" }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], + { + "in": "query", + "name": "last_updated__lte", + "schema": { + "type": "array", + "items": { "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { + "format": "date-time" + } + }, + "explode": true, + "style": "form" + }, + { + "in": "query", + "name": "last_updated__n", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] + "format": "date-time" } + }, + "explode": true, + "style": "form" + }, + { + "name": "limit", + "required": false, + "in": "query", + "description": "Number of results to return per page.", + "schema": { + "type": "integer" } }, - "description": { - "type": "string", - "maxLength": 200 + { + "in": "query", + "name": "modified_by_request", + "schema": { + "type": "string", + "format": "uuid" + } }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "name": "offset", + "required": false, + "in": "query", + "description": "The initial index from which to return the results.", + "schema": { + "type": "integer" + } }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "ConsolePortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - } - ], - "nullable": true + { + "name": "ordering", + "required": false, + "in": "query", + "description": "Which field to use when ordering the results.", + "schema": { + "type": "string" + } }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleTypeRequest" + { + "in": "query", + "name": "q", + "schema": { + "type": "string" + }, + "description": "Search" + }, + { + "in": "query", + "name": "ssid", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + { + "in": "query", + "name": "ssid__empty", + "schema": { + "type": "boolean" + } }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + { + "in": "query", + "name": "ssid__ic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" + { + "in": "query", + "name": "ssid__ie", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "ConsoleServerPort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + { + "in": "query", + "name": "ssid__iew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + { + "in": "query", + "name": "ssid__isw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "display": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "ssid__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "device": { - "$ref": "#/components/schemas/NestedDevice" + { + "in": "query", + "name": "ssid__nic", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModule" + { + "in": "query", + "name": "ssid__nie", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "nullable": true + }, + "explode": true, + "style": "form" }, - "name": { - "type": "string", - "maxLength": 64 + { + "in": "query", + "name": "ssid__niew", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + { + "in": "query", + "name": "ssid__nisw", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { + { + "in": "query", + "name": "status", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] + "x-spec-enum-id": "fbc2f302c08be50d" } - } + }, + "explode": true, + "style": "form" }, - "speed": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378" - }, - "label": { + { + "in": "query", + "name": "status__n", + "schema": { + "type": "array", + "items": { "type": "string", - "enum": [ - "1200 bps", - "2400 bps", - "4800 bps", - "9600 bps", - "19.2 kbps", - "38.4 kbps", - "57.6 kbps", - "115.2 kbps" - ] + "x-spec-enum-id": "fbc2f302c08be50d" } }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" + "explode": true, + "style": "form" }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCable" + { + "in": "query", + "name": "tag", + "schema": { + "type": "array", + "items": { + "type": "string" } - ], - "readOnly": true, - "nullable": true + }, + "explode": true, + "style": "form" }, - "cable_end": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "tag__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true + { + "in": "query", + "name": "tenant", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true + { + "in": "query", + "name": "tenant__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Tenant (slug)", + "explode": true, + "style": "form" }, - "connected_endpoints": { - "type": "array", - "items": {}, - "readOnly": true + { + "in": "query", + "name": "tenant_group", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true + { + "in": "query", + "name": "tenant_group__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true + { + "in": "query", + "name": "tenant_group_id", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } + { + "in": "query", + "name": "tenant_group_id__n", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "explode": true, + "style": "form" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + { + "in": "query", + "name": "tenant_id", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "tenant_id__n", + "schema": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "description": "Tenant (ID)", + "explode": true, + "style": "form" }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "in": "query", + "name": "updated_by_request", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" + { + "tokenAuth": [] } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "device", - "display", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "url" - ] + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedWirelessLinkList" + } + } + }, + "description": "" + } + } }, - "ConsoleServerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" + "post": { + "operationId": "wireless_wireless_links_create", + "description": "Post a list of wireless link objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLinkRequest" } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLinkRequest" + } + } }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" + { + "tokenAuth": [] + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLink" + } + } + }, + "description": "" + } + } + }, + "put": { + "operationId": "wireless_wireless_links_bulk_update", + "description": "Put a list of wireless link objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLinkRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLinkRequest" + } + } + } }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "description": { - "type": "string", - "maxLength": 200 + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLink" + } + } + } + }, + "description": "" + } + } + }, + "patch": { + "operationId": "wireless_wireless_links_bulk_partial_update", + "description": "Patch a list of wireless link objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLinkRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLinkRequest" + } + } + } }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLink" + } + } + } + }, + "description": "" + } + } + }, + "delete": { + "operationId": "wireless_wireless_links_bulk_destroy", + "description": "Delete a list of wireless link objects.", + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLinkRequest" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLinkRequest" + } + } } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } + "required": true }, - "required": [ - "device", - "name" - ] - }, - "ConsoleServerPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "security": [ + { + "cookieAuth": [] }, - "display": { - "type": "string", - "readOnly": true + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + }, + "/api/wireless/wireless-links/{id}/": { + "get": { + "operationId": "wireless_wireless_links_retrieve", + "description": "Get a wireless link object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless link.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceType" + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLink" + } } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleType" + }, + "description": "" + } + } + }, + "put": { + "operationId": "wireless_wireless_links_update", + "description": "Put a wireless link object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless link.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLinkRequest" } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { - "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/WritableWirelessLinkRequest" } } }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "required": true + }, + "security": [ + { + "cookieAuth": [] }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + { + "tokenAuth": [] } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLink" + } + } + }, + "description": "" + } + } }, - "ConsoleServerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" + "patch": { + "operationId": "wireless_wireless_links_partial_update", + "description": "Patch a wireless link object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless link.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableWirelessLinkRequest" } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleTypeRequest" + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedWritableWirelessLinkRequest" } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "description": { - "type": "string", - "maxLength": 200 + } } }, - "required": [ - "name" - ] + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WirelessLink" + } + } + }, + "description": "" + } + } }, - "Contact": { + "delete": { + "operationId": "wireless_wireless_links_destroy", + "description": "Delete a wireless link object.", + "parameters": [ + { + "in": "path", + "name": "id", + "schema": { + "type": "integer" + }, + "description": "A unique integer value identifying this wireless link.", + "required": true + } + ], + "tags": [ + "wireless" + ], + "security": [ + { + "cookieAuth": [] + }, + { + "tokenAuth": [] + } + ], + "responses": { + "204": { + "description": "No response body" + } + } + } + } + }, + "components": { + "schemas": { + "ASN": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -161340,39 +170715,28 @@ "type": "string", "readOnly": true }, - "group": { + "asn": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64", + "description": "16- or 32-bit autonomous system number" + }, + "rir": { "allOf": [ { - "$ref": "#/components/schemas/NestedContactGroup" + "$ref": "#/components/schemas/RIR" } ], "nullable": true }, - "name": { - "type": "string", - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/Tenant" + } + ], + "nullable": true }, "description": { "type": "string", @@ -161402,176 +170766,32 @@ "format": "date-time", "readOnly": true, "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "ContactAssignment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true }, - "display": { - "type": "string", + "site_count": { + "type": "integer", + "format": "int64", "readOnly": true }, - "content_type": { - "type": "string" - }, - "object_id": { + "provider_count": { "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "type": "object", - "additionalProperties": {}, + "format": "int64", "readOnly": true - }, - "contact": { - "$ref": "#/components/schemas/NestedContact" - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedContactRole" - } - ], - "nullable": true - }, - "priority": { - "type": "object", - "properties": { - "value": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "label": { - "type": "string", - "enum": [ - "Primary", - "Secondary", - "Tertiary", - "Inactive" - ] - } - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true } }, "required": [ - "contact", - "content_type", + "asn", "created", "display", "id", "last_updated", - "object", - "object_id", + "provider_count", + "site_count", "url" ] }, - "ContactAssignmentRequest": { + "ASNRange": { "type": "object", "description": "Adds support for custom fields and tags.", - "properties": { - "content_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "contact": { - "$ref": "#/components/schemas/NestedContactRequest" - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedContactRoleRequest" - } - ], - "nullable": true - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "contact", - "content_type", - "object_id" - ] - }, - "ContactGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", "properties": { "id": { "type": "integer", @@ -161595,10 +170815,25 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "parent": { + "rir": { + "$ref": "#/components/schemas/RIR" + }, + "start": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64" + }, + "end": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64" + }, + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedContactGroup" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -161629,31 +170864,28 @@ "readOnly": true, "nullable": true }, - "contact_count": { + "asn_count": { "type": "integer", "readOnly": true - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" } }, "required": [ - "_depth", - "contact_count", + "asn_count", "created", "display", + "end", "id", "last_updated", "name", + "rir", "slug", + "start", "url" ] }, - "ContactGroupRequest": { + "ASNRangeRequest": { "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", + "description": "Adds support for custom fields and tags.", "properties": { "name": { "type": "string", @@ -161666,80 +170898,33 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedContactGroupRequest" - } - ], - "nullable": true + "rir": { + "$ref": "#/components/schemas/RIRRequest" }, - "description": { - "type": "string", - "maxLength": 200 + "start": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + "end": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "ContactRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedContactGroupRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 - }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, "tags": { "type": "array", "items": { @@ -161752,388 +170937,82 @@ } }, "required": [ - "name" - ] - }, - "ContactRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", + "end", "name", + "rir", "slug", - "url" + "start" ] }, - "ContactRoleRequest": { + "ASNRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "ContentType": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "app_label": { - "type": "string", - "maxLength": 100 - }, - "model": { - "type": "string", - "title": "Python model class name", - "maxLength": 100 - } - }, - "required": [ - "app_label", - "display", - "id", - "model", - "url" - ] - }, - "CustomField": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { + "asn": { "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "content_types": { - "type": "array", - "items": { - "type": "string" - } + "maximum": 4294967295, + "minimum": 1, + "format": "int64", + "description": "16- or 32-bit autonomous system number" }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "text", - "longtext", - "integer", - "decimal", - "boolean", - "date", - "datetime", - "url", - "json", - "select", - "multiselect", - "object", - "multiobject" - ], - "type": "string", - "description": "* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects", - "x-spec-enum-id": "22e3a64138d10046" - }, - "label": { - "type": "string", - "enum": [ - "Text", - "Text (long)", - "Integer", - "Decimal", - "Boolean (true/false)", - "Date", - "Date & time", - "URL", - "JSON", - "Selection", - "Multiple selection", - "Object", - "Multiple objects" - ] + "rir": { + "allOf": [ + { + "$ref": "#/components/schemas/RIRRequest" } - } - }, - "object_type": { - "type": "string", + ], "nullable": true }, - "data_type": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Internal field name", - "pattern": "^[a-z0-9_]+$", - "maxLength": 50 - }, - "label": { - "type": "string", - "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", - "maxLength": 50 - }, - "group_name": { - "type": "string", - "description": "Custom fields within the same group will be displayed together", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "required": { - "type": "boolean", - "description": "If true, this field is required when creating new objects or editing an existing object." - }, - "search_weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." - }, - "filter_logic": { - "type": "object", - "properties": { - "value": { - "enum": [ - "disabled", - "loose", - "exact" - ], - "type": "string", - "description": "* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact", - "x-spec-enum-id": "a958350ae21c10ee" - }, - "label": { - "type": "string", - "enum": [ - "Disabled", - "Loose", - "Exact" - ] - } - } - }, - "ui_visible": { - "type": "object", - "properties": { - "value": { - "enum": [ - "always", - "if-set", - "hidden" - ], - "type": "string", - "description": "* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden", - "x-spec-enum-id": "cd2cf94af56de747" - }, - "label": { - "type": "string", - "enum": [ - "Always", - "If set", - "Hidden" - ] - } - } - }, - "ui_editable": { - "type": "object", - "properties": { - "value": { - "enum": [ - "yes", - "no", - "hidden" - ], - "type": "string", - "description": "* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden", - "x-spec-enum-id": "1065673147e26bb5" - }, - "label": { - "type": "string", - "enum": [ - "Yes", - "No", - "Hidden" - ] - } - } - }, - "is_cloneable": { - "type": "boolean", - "description": "Replicate this value when cloning objects" - }, - "default": { - "nullable": true, - "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "title": "Display weight", - "description": "Fields with higher weights appear lower in a form." - }, - "validation_minimum": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true, - "title": "Minimum value", - "description": "Minimum allowed value (for numeric fields)" - }, - "validation_maximum": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true, - "title": "Maximum value", - "description": "Maximum allowed value (for numeric fields)" - }, - "validation_regex": { - "type": "string", - "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", - "maxLength": 500 - }, - "choice_set": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedCustomFieldChoiceSet" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "last_updated": { + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + }, + "required": [ + "asn" + ] + }, + "ActivateUserKeyRequest": { + "type": "object", + "properties": { + "private_key": { "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "minLength": 1 + }, + "user_keys": { + "type": "array", + "items": {} } }, "required": [ - "content_types", - "created", - "data_type", - "display", - "id", - "last_updated", - "name", - "type", - "url" + "private_key", + "user_keys" ] }, - "CustomFieldChoiceSet": { + "Aggregate": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -162148,53 +171027,63 @@ "type": "string", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "base_choices": { + "family": { "type": "object", "properties": { "value": { "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE" + 4, + 6 ], - "type": "string", - "description": "* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)", - "x-spec-enum-id": "cf0efb5195f85007" + "type": "integer", + "description": "* `4` - IPv4\n* `6` - IPv6", + "x-spec-enum-id": "d72003fd1af3603d" }, "label": { "type": "string", "enum": [ - "IATA (Airport codes)", - "ISO 3166 (Country codes)", - "UN/LOCODE (Location codes)" + "IPv4", + "IPv6" ] } - } + }, + "readOnly": true }, - "extra_choices": { + "prefix": { + "type": "string" + }, + "rir": { + "$ref": "#/components/schemas/RIR" + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/Tenant" + } + ], + "nullable": true + }, + "date_added": { + "type": "string", + "format": "date", + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { "type": "array", "items": { - "type": "array", - "items": {}, - "maxItems": 2, - "minItems": 2 + "$ref": "#/components/schemas/NestedTag" } }, - "order_alphabetically": { - "type": "boolean", - "description": "Choices are automatically ordered alphabetically" - }, - "choices_count": { - "type": "string", - "readOnly": true + "custom_fields": { + "type": "object", + "additionalProperties": {} }, "created": { "type": "string", @@ -162210,209 +171099,164 @@ } }, "required": [ - "choices_count", "created", "display", - "extra_choices", + "family", "id", "last_updated", - "name", + "prefix", + "rir", "url" ] }, - "CustomFieldChoiceSetRequest": { + "AggregateRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { - "name": { + "prefix": { "type": "string", - "minLength": 1, - "maxLength": 100 + "minLength": 1 + }, + "rir": { + "$ref": "#/components/schemas/RIRRequest" + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true + }, + "date_added": { + "type": "string", + "format": "date", + "nullable": true }, "description": { "type": "string", "maxLength": 200 }, - "base_choices": { - "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE" - ], - "type": "string", - "description": "* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)", - "x-spec-enum-id": "cf0efb5195f85007" + "comments": { + "type": "string" }, - "extra_choices": { + "tags": { "type": "array", "items": { - "type": "array", - "items": {}, - "maxItems": 2, - "minItems": 2 + "$ref": "#/components/schemas/NestedTagRequest" } }, - "order_alphabetically": { - "type": "boolean", - "description": "Choices are automatically ordered alphabetically" + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "extra_choices", - "name" + "prefix", + "rir" ] }, - "CustomFieldRequest": { + "AvailableASN": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Representation of an ASN which does not exist in the database.", "properties": { - "content_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "enum": [ - "text", - "longtext", - "integer", - "decimal", - "boolean", - "date", - "datetime", - "url", - "json", - "select", - "multiselect", - "object", - "multiobject" - ], - "type": "string", - "description": "* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects", - "x-spec-enum-id": "22e3a64138d10046" - }, - "object_type": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "Internal field name", - "pattern": "^[a-z0-9_]+$", - "maxLength": 50 - }, - "label": { - "type": "string", - "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", - "maxLength": 50 - }, - "group_name": { - "type": "string", - "description": "Custom fields within the same group will be displayed together", - "maxLength": 50 + "asn": { + "type": "integer", + "readOnly": true }, "description": { - "type": "string", - "maxLength": 200 - }, - "required": { - "type": "boolean", - "description": "If true, this field is required when creating new objects or editing an existing object." - }, - "search_weight": { + "type": "string" + } + }, + "required": [ + "asn" + ] + }, + "AvailableIP": { + "type": "object", + "description": "Representation of an IP address which does not exist in the database.", + "properties": { + "family": { "type": "integer", - "maximum": 32767, - "minimum": 0, - "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." - }, - "filter_logic": { - "enum": [ - "disabled", - "loose", - "exact" - ], - "type": "string", - "description": "* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact", - "x-spec-enum-id": "a958350ae21c10ee" + "readOnly": true }, - "ui_visible": { - "enum": [ - "always", - "if-set", - "hidden" - ], + "address": { "type": "string", - "description": "* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden", - "x-spec-enum-id": "cd2cf94af56de747" + "readOnly": true }, - "ui_editable": { - "enum": [ - "yes", - "no", - "hidden" + "vrf": { + "allOf": [ + { + "$ref": "#/components/schemas/VRF" + } ], - "type": "string", - "description": "* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden", - "x-spec-enum-id": "1065673147e26bb5" - }, - "is_cloneable": { - "type": "boolean", - "description": "Replicate this value when cloning objects" - }, - "default": { - "nullable": true, - "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." + "readOnly": true, + "nullable": true }, - "weight": { + "description": { + "type": "string" + } + }, + "required": [ + "address", + "family", + "vrf" + ] + }, + "AvailablePrefix": { + "type": "object", + "description": "Representation of a prefix which does not exist in the database.", + "properties": { + "family": { "type": "integer", - "maximum": 32767, - "minimum": 0, - "title": "Display weight", - "description": "Fields with higher weights appear lower in a form." + "readOnly": true }, - "validation_minimum": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true, - "title": "Minimum value", - "description": "Minimum allowed value (for numeric fields)" + "prefix": { + "type": "string", + "readOnly": true }, - "validation_maximum": { + "vrf": { + "allOf": [ + { + "$ref": "#/components/schemas/VRF" + } + ], + "readOnly": true, + "nullable": true + } + }, + "required": [ + "family", + "prefix", + "vrf" + ] + }, + "AvailableVLAN": { + "type": "object", + "description": "Representation of a VLAN which does not exist in the database.", + "properties": { + "vid": { "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true, - "title": "Maximum value", - "description": "Maximum allowed value (for numeric fields)" - }, - "validation_regex": { - "type": "string", - "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", - "maxLength": 500 + "readOnly": true }, - "choice_set": { + "group": { "allOf": [ { - "$ref": "#/components/schemas/NestedCustomFieldChoiceSetRequest" + "$ref": "#/components/schemas/VLANGroup" } ], + "readOnly": true, "nullable": true } }, "required": [ - "content_types", - "name", - "type" + "group", + "vid" ] }, - "CustomLink": { + "BGPPeerGroup": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -162427,62 +171271,217 @@ "type": "string", "readOnly": true }, - "content_types": { + "name": { + "type": "string", + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "import_policies": { "type": "array", "items": { - "type": "string" + "allOf": [ + { + "$ref": "#/components/schemas/RoutingPolicy" + } + ], + "nullable": true + } + }, + "export_policies": { + "type": "array", + "items": { + "allOf": [ + { + "$ref": "#/components/schemas/RoutingPolicy" + } + ], + "nullable": true } }, + "comments": { + "type": "string" + } + }, + "required": [ + "description", + "display", + "id", + "name", + "url" + ] + }, + "BGPPeerGroupRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { "name": { "type": "string", + "minLength": 1, "maxLength": 100 }, - "enabled": { - "type": "boolean" - }, - "link_text": { + "description": { "type": "string", - "description": "Jinja2 template code for link text" + "maxLength": 200 }, - "link_url": { - "type": "string", - "description": "Jinja2 template code for link URL" + "import_policies": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } }, - "weight": { + "export_policies": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "comments": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ] + }, + "BGPSession": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { "type": "integer", - "maximum": 32767, - "minimum": 0 + "readOnly": true }, - "group_name": { + "url": { "type": "string", - "description": "Links with the same group will appear as a dropdown menu", - "maxLength": 50 + "format": "uri", + "readOnly": true }, - "button_class": { - "enum": [ - "outline-dark", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - "gray", - "black", - "white", - "ghost-dark" - ], + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "display": { "type": "string", - "x-spec-enum-id": "9378cdf56abee54a", - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" + "readOnly": true }, - "new_window": { - "type": "boolean", - "description": "Force link to open in a new window" + "status": { + "type": "object", + "properties": { + "value": { + "enum": [ + "offline", + "active", + "planned", + "failed" + ], + "type": "string", + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", + "x-spec-enum-id": "b77fc919138c12f6" + }, + "label": { + "type": "string", + "enum": [ + "Offline", + "Active", + "Planned", + "Failed" + ] + } + } + }, + "site": { + "allOf": [ + { + "$ref": "#/components/schemas/Site" + } + ], + "nullable": true + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/Tenant" + } + ], + "nullable": true + }, + "device": { + "allOf": [ + { + "$ref": "#/components/schemas/Device" + } + ], + "nullable": true + }, + "local_address": { + "$ref": "#/components/schemas/IPAddress" + }, + "remote_address": { + "$ref": "#/components/schemas/IPAddress" + }, + "local_as": { + "$ref": "#/components/schemas/ASN" + }, + "remote_as": { + "$ref": "#/components/schemas/ASN" + }, + "peer_group": { + "allOf": [ + { + "$ref": "#/components/schemas/BGPPeerGroup" + } + ], + "nullable": true + }, + "import_policies": { + "type": "array", + "items": { + "allOf": [ + { + "$ref": "#/components/schemas/RoutingPolicy" + } + ], + "nullable": true + } + }, + "export_policies": { + "type": "array", + "items": { + "allOf": [ + { + "$ref": "#/components/schemas/RoutingPolicy" + } + ], + "nullable": true + } + }, + "prefix_list_in": { + "allOf": [ + { + "$ref": "#/components/schemas/PrefixList" + } + ], + "nullable": true + }, + "prefix_list_out": { + "allOf": [ + { + "$ref": "#/components/schemas/PrefixList" + } + ], + "nullable": true }, "created": { "type": "string", @@ -162495,109 +171494,154 @@ "format": "date-time", "readOnly": true, "nullable": true + }, + "name": { + "type": "string", + "nullable": true, + "maxLength": 256 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" } }, "required": [ - "content_types", "created", "display", "id", "last_updated", - "link_text", - "link_url", - "name", + "local_address", + "local_as", + "remote_address", + "remote_as", "url" ] }, - "CustomLinkRequest": { + "BGPSessionRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { - "content_types": { + "tags": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/NestedTagRequest" } }, - "name": { + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "status": { + "enum": [ + "offline", + "active", + "planned", + "failed" + ], "type": "string", - "minLength": 1, - "maxLength": 100 + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", + "x-spec-enum-id": "b77fc919138c12f6" }, - "enabled": { - "type": "boolean" + "site": { + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], + "nullable": true }, - "link_text": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link text" + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true }, - "link_url": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link URL" + "device": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], + "nullable": true }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "local_address": { + "$ref": "#/components/schemas/IPAddressRequest" }, - "group_name": { - "type": "string", - "description": "Links with the same group will appear as a dropdown menu", - "maxLength": 50 + "remote_address": { + "$ref": "#/components/schemas/IPAddressRequest" }, - "button_class": { - "enum": [ - "outline-dark", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - "gray", - "black", - "white", - "ghost-dark" + "local_as": { + "$ref": "#/components/schemas/ASNRequest" + }, + "remote_as": { + "$ref": "#/components/schemas/ASNRequest" + }, + "peer_group": { + "allOf": [ + { + "$ref": "#/components/schemas/BGPPeerGroupRequest" + } + ], + "nullable": true + }, + "import_policies": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "export_policies": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "prefix_list_in": { + "allOf": [ + { + "$ref": "#/components/schemas/PrefixListRequest" + } ], + "nullable": true + }, + "prefix_list_out": { + "allOf": [ + { + "$ref": "#/components/schemas/PrefixListRequest" + } + ], + "nullable": true + }, + "name": { "type": "string", - "x-spec-enum-id": "9378cdf56abee54a", - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" + "nullable": true, + "maxLength": 256 }, - "new_window": { - "type": "boolean", - "description": "Force link to open in a new window" + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" } }, "required": [ - "content_types", - "link_text", - "link_url", - "name" + "local_address", + "local_as", + "remote_address", + "remote_as" ] }, - "Dashboard": { - "type": "object", - "properties": { - "layout": {}, - "config": {} - } - }, - "DashboardRequest": { - "type": "object", - "properties": { - "layout": {}, - "config": {} - } - }, - "DataFile": { + "Bookmark": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -162612,46 +171656,63 @@ "type": "string", "readOnly": true }, - "source": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDataSource" - } - ], + "object_type": { + "type": "string" + }, + "object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "object": { + "nullable": true, "readOnly": true }, - "path": { - "type": "string", - "readOnly": true, - "description": "File path relative to the data source's root" + "user": { + "$ref": "#/components/schemas/User" }, - "last_updated": { + "created": { "type": "string", "format": "date-time", "readOnly": true + } + }, + "required": [ + "created", + "display", + "id", + "object", + "object_id", + "object_type", + "url", + "user" + ] + }, + "BookmarkRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "object_type": { + "type": "string" }, - "size": { + "object_id": { "type": "integer", - "readOnly": true + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, - "hash": { - "type": "string", - "readOnly": true, - "description": "SHA256 hash of the file data" + "user": { + "$ref": "#/components/schemas/UserRequest" } }, "required": [ - "display", - "hash", - "id", - "last_updated", - "path", - "size", - "source", - "url" + "object_id", + "object_type", + "user" ] }, - "DataSource": { + "Cable": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -162668,87 +171729,77 @@ "type": "string", "readOnly": true }, - "name": { + "label": { "type": "string", "maxLength": 100 }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - null, - "local", - "git", - "amazon-s3" - ], - "description": "* `None` - ---------\n* `local` - Local\n* `git` - Git\n* `amazon-s3` - Amazon S3", - "x-spec-enum-id": "570db3f2d4e98ccf" - }, - "label": { - "type": "string", - "enum": [ - "---------", - "Local", - "Git", - "Amazon S3" - ] - } - } + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "display", + "id", + "url" + ] + }, + "CableRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "label": { + "type": "string", + "maxLength": 100 }, - "source_url": { + "description": { "type": "string", - "title": "URL", "maxLength": 200 + } + } + }, + "CableTermination": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true }, - "enabled": { - "type": "boolean" + "url": { + "type": "string", + "format": "uri", + "readOnly": true }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "new", - "queued", - "syncing", - "completed", - "failed" - ], - "type": "string", - "description": "* `new` - New\n* `queued` - Queued\n* `syncing` - Syncing\n* `completed` - Completed\n* `failed` - Failed", - "x-spec-enum-id": "6dfb2220617590c8" - }, - "label": { - "type": "string", - "enum": [ - "New", - "Queued", - "Syncing", - "Completed", - "Failed" - ] - } - }, + "display": { + "type": "string", "readOnly": true }, - "description": { + "cable": { + "type": "integer" + }, + "cable_end": { + "enum": [ + "A", + "B" + ], "type": "string", - "maxLength": 200 + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "title": "End" }, - "comments": { + "termination_type": { "type": "string" }, - "parameters": { - "nullable": true - }, - "ignore_rules": { - "type": "string", - "description": "Patterns (one per line) matching files to ignore when syncing" + "termination_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "termination": { + "nullable": true, + "readOnly": true }, "created": { "type": "string", @@ -162761,79 +171812,111 @@ "format": "date-time", "readOnly": true, "nullable": true - }, - "file_count": { - "type": "integer", - "readOnly": true } }, "required": [ + "cable", + "cable_end", "created", "display", - "file_count", "id", "last_updated", - "name", - "source_url", - "status", - "type", + "termination", + "termination_id", + "termination_type", "url" ] }, - "DataSourceRequest": { + "CableTerminationRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "cable": { + "type": "integer" }, - "type": { + "cable_end": { "enum": [ - null, - "local", - "git", - "amazon-s3" + "A", + "B" ], - "description": "* `None` - ---------\n* `local` - Local\n* `git` - Git\n* `amazon-s3` - Amazon S3", - "x-spec-enum-id": "570db3f2d4e98ccf" + "type": "string", + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "title": "End" }, - "source_url": { + "termination_type": { + "type": "string" + }, + "termination_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + } + }, + "required": [ + "cable", + "cable_end", + "termination_id", + "termination_type" + ] + }, + "Circuit": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { "type": "string", - "minLength": 1, - "title": "URL", - "maxLength": 200 + "format": "uri", + "readOnly": true }, - "enabled": { - "type": "boolean" + "display": { + "type": "string", + "readOnly": true + }, + "cid": { + "type": "string", + "title": "Circuit ID", + "description": "Unique circuit ID", + "maxLength": 100 }, "description": { "type": "string", "maxLength": 200 + } + }, + "required": [ + "cid", + "display", + "id", + "url" + ] + }, + "CircuitRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "cid": { + "type": "string", + "minLength": 1, + "title": "Circuit ID", + "description": "Unique circuit ID", + "maxLength": 100 }, - "comments": { - "type": "string" - }, - "parameters": { - "nullable": true - }, - "ignore_rules": { + "description": { "type": "string", - "description": "Patterns (one per line) matching files to ignore when syncing" - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "maxLength": 200 } }, "required": [ - "name", - "source_url", - "type" + "cid" ] }, - "Device": { + "CircuitTermination": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -162850,364 +171933,224 @@ "type": "string", "readOnly": true }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "$ref": "#/components/schemas/NestedDeviceType" - }, - "role": { - "$ref": "#/components/schemas/NestedDeviceRole" + "circuit": { + "$ref": "#/components/schemas/Circuit" }, - "device_role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRole" - } + "term_side": { + "enum": [ + "A", + "Z" ], - "readOnly": true, - "description": "Deprecated in v3.6 in favor of `role`." + "type": "string", + "description": "* `A` - A\n* `Z` - Z", + "x-spec-enum-id": "95b8fcc737f355d0", + "title": "Termination" }, - "tenant": { + "site": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Site" } ], "nullable": true }, - "platform": { + "provider_network": { "allOf": [ { - "$ref": "#/components/schemas/NestedPlatform" + "$ref": "#/components/schemas/ProviderNetwork" } ], "nullable": true }, - "serial": { + "port_speed": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "Port speed (Kbps)", + "description": "Physical circuit speed" + }, + "upstream_speed": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "Upstream speed (Kbps)", + "description": "Upstream speed, if different from port speed" + }, + "xconnect_id": { "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", + "title": "Cross-connect ID", + "description": "ID of the local cross-connect", "maxLength": 50 }, - "asset_tag": { + "pp_info": { "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 + "title": "Patch panel/port(s)", + "description": "Patch panel ID and port number(s)", + "maxLength": 100 }, - "site": { - "$ref": "#/components/schemas/NestedSite" + "description": { + "type": "string", + "maxLength": 200 }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocation" - } - ], - "nullable": true + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" }, - "rack": { + "cable": { "allOf": [ { - "$ref": "#/components/schemas/NestedRack" + "$ref": "#/components/schemas/Cable" } ], + "readOnly": true, "nullable": true }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front", - "rear", - "" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "label": { - "type": "string", - "enum": [ - "Front", - "Rear" - ] - } - } - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" + "cable_end": { + "type": "string", + "readOnly": true }, - "parent_device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], + "link_peers": { + "type": "array", + "items": {}, "readOnly": true }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Inventory", - "Decommissioning" - ] - } + "link_peers_type": { + "type": "string", + "description": "Return the type of the peer link terminations, or None.", + "readOnly": true, + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" } }, - "airflow": { + "custom_fields": { "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "mixed", - "" - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "58e389e240a5e53d" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Passive", - "Mixed" - ] - } - } + "additionalProperties": {} }, - "primary_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], + "created": { + "type": "string", + "format": "date-time", "readOnly": true, "nullable": true }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, "nullable": true }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], - "nullable": true + "_occupied": { + "type": "boolean", + "readOnly": true, + "title": " occupied" + } + }, + "required": [ + "_occupied", + "cable", + "cable_end", + "circuit", + "created", + "display", + "id", + "last_updated", + "link_peers", + "link_peers_type", + "term_side", + "url" + ] + }, + "CircuitTerminationRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "circuit": { + "$ref": "#/components/schemas/CircuitRequest" }, - "oob_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } + "term_side": { + "enum": [ + "A", + "Z" ], - "nullable": true + "type": "string", + "description": "* `A` - A\n* `Z` - Z", + "x-spec-enum-id": "95b8fcc737f355d0", + "title": "Termination" }, - "cluster": { + "site": { "allOf": [ { - "$ref": "#/components/schemas/NestedCluster" + "$ref": "#/components/schemas/SiteRequest" } ], "nullable": true }, - "virtual_chassis": { + "provider_network": { "allOf": [ { - "$ref": "#/components/schemas/NestedVirtualChassis" + "$ref": "#/components/schemas/ProviderNetworkRequest" } ], "nullable": true }, - "vc_position": { + "port_speed": { "type": "integer", - "maximum": 255, + "maximum": 2147483647, "minimum": 0, - "nullable": true + "nullable": true, + "title": "Port speed (Kbps)", + "description": "Physical circuit speed" }, - "vc_priority": { + "upstream_speed": { "type": "integer", - "maximum": 255, + "maximum": 2147483647, "minimum": 0, "nullable": true, - "description": "Virtual chassis master election priority" + "title": "Upstream speed (Kbps)", + "description": "Upstream speed, if different from port speed" }, - "description": { + "xconnect_id": { "type": "string", - "maxLength": 200 + "title": "Cross-connect ID", + "description": "ID of the local cross-connect", + "maxLength": 50 }, - "comments": { - "type": "string" + "pp_info": { + "type": "string", + "title": "Patch panel/port(s)", + "description": "Patch panel ID and port number(s)", + "maxLength": 100 }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplate" - } - ], - "nullable": true + "description": { + "type": "string", + "maxLength": 200 }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" }, "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTag" + "$ref": "#/components/schemas/NestedTagRequest" } }, "custom_fields": { "type": "object", "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "console_port_count": { - "type": "integer", - "readOnly": true - }, - "console_server_port_count": { - "type": "integer", - "readOnly": true - }, - "power_port_count": { - "type": "integer", - "readOnly": true - }, - "power_outlet_count": { - "type": "integer", - "readOnly": true - }, - "interface_count": { - "type": "integer", - "readOnly": true - }, - "front_port_count": { - "type": "integer", - "readOnly": true - }, - "rear_port_count": { - "type": "integer", - "readOnly": true - }, - "device_bay_count": { - "type": "integer", - "readOnly": true - }, - "module_bay_count": { - "type": "integer", - "readOnly": true - }, - "inventory_item_count": { - "type": "integer", - "readOnly": true } }, "required": [ - "console_port_count", - "console_server_port_count", - "created", - "device_bay_count", - "device_role", - "device_type", - "display", - "front_port_count", - "id", - "interface_count", - "inventory_item_count", - "last_updated", - "module_bay_count", - "parent_device", - "power_outlet_count", - "power_port_count", - "primary_ip", - "rear_port_count", - "role", - "site", - "url" + "circuit", + "term_side" ] }, - "DeviceBay": { + "CircuitType": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -163224,30 +172167,24 @@ "type": "string", "readOnly": true }, - "device": { - "$ref": "#/components/schemas/NestedDevice" - }, "name": { "type": "string", - "maxLength": 64 + "maxLength": 100 }, - "label": { + "slug": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "color": { + "type": "string", + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, "description": { "type": "string", "maxLength": 200 }, - "installed_device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "nullable": true - }, "tags": { "type": "array", "items": { @@ -163269,47 +172206,48 @@ "format": "date-time", "readOnly": true, "nullable": true + }, + "circuit_count": { + "type": "integer", + "format": "int64", + "readOnly": true } }, "required": [ + "circuit_count", "created", - "device", "display", "id", "last_updated", "name", + "slug", "url" ] }, - "DeviceBayRequest": { + "CircuitTypeRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, "name": { "type": "string", "minLength": 1, - "maxLength": 64 + "maxLength": 100 }, - "label": { + "slug": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "color": { + "type": "string", + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, "description": { "type": "string", "maxLength": 200 }, - "installed_device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRequest" - } - ], - "nullable": true - }, "tags": { "type": "array", "items": { @@ -163322,13 +172260,13 @@ } }, "required": [ - "device", - "name" + "name", + "slug" ] }, - "DeviceBayTemplate": { + "Cluster": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -163343,75 +172281,29 @@ "type": "string", "readOnly": true }, - "device_type": { - "$ref": "#/components/schemas/NestedDeviceType" - }, "name": { "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + "maxLength": 100 }, "description": { "type": "string", "maxLength": 200 }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "virtualmachine_count": { + "type": "integer", + "format": "int64", + "readOnly": true } }, "required": [ - "created", - "device_type", "display", "id", - "last_updated", "name", - "url" - ] - }, - "DeviceBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "device_type", - "name" + "url", + "virtualmachine_count" ] }, - "DeviceRole": { + "ClusterGroup": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -163437,23 +172329,6 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplate" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 @@ -163480,28 +172355,24 @@ "readOnly": true, "nullable": true }, - "device_count": { - "type": "integer", - "readOnly": true - }, - "virtualmachine_count": { + "cluster_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ + "cluster_count", "created", - "device_count", "display", "id", "last_updated", "name", "slug", - "url", - "virtualmachine_count" + "url" ] }, - "DeviceRoleRequest": { + "ClusterGroupRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -163516,24 +172387,6 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplateRequest" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 @@ -163554,7 +172407,25 @@ "slug" ] }, - "DeviceType": { + "ClusterRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "name" + ] + }, + "ClusterType": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -163571,18 +172442,7 @@ "type": "string", "readOnly": true }, - "manufacturer": { - "$ref": "#/components/schemas/NestedManufacturer" - }, - "default_platform": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPlatform" - } - ], - "nullable": true - }, - "model": { + "name": { "type": "string", "maxLength": 100 }, @@ -163591,140 +172451,10 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "u_height": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0, - "exclusiveMaximum": true, - "default": 1.0, - "title": "Position (U)" - }, - "exclude_from_utilization": { - "type": "boolean", - "description": "Devices of this type are excluded when calculating rack utilization." - }, - "is_full_depth": { - "type": "boolean", - "description": "Device consumes both front and rear rack faces." - }, - "subdevice_role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "parent", - "child", - "", - null - ], - "type": "string", - "description": "* `parent` - Parent\n* `child` - Child", - "x-spec-enum-id": "d10d91f690a856c2" - }, - "label": { - "type": "string", - "enum": [ - "Parent", - "Child" - ] - } - }, - "nullable": true - }, - "airflow": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "58e389e240a5e53d" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Passive", - "Mixed" - ] - } - }, - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" - }, - "label": { - "type": "string", - "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" - ] - } - }, - "nullable": true - }, - "front_image": { - "type": "string", - "format": "uri", - "nullable": true - }, - "rear_image": { - "type": "string", - "format": "uri", - "nullable": true - }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, "tags": { "type": "array", "items": { @@ -163747,89 +172477,28 @@ "readOnly": true, "nullable": true }, - "device_count": { - "type": "integer", - "readOnly": true - }, - "console_port_template_count": { - "type": "integer", - "readOnly": true - }, - "console_server_port_template_count": { - "type": "integer", - "readOnly": true - }, - "power_port_template_count": { - "type": "integer", - "readOnly": true - }, - "power_outlet_template_count": { - "type": "integer", - "readOnly": true - }, - "interface_template_count": { - "type": "integer", - "readOnly": true - }, - "front_port_template_count": { - "type": "integer", - "readOnly": true - }, - "rear_port_template_count": { - "type": "integer", - "readOnly": true - }, - "device_bay_template_count": { - "type": "integer", - "readOnly": true - }, - "module_bay_template_count": { - "type": "integer", - "readOnly": true - }, - "inventory_item_template_count": { + "cluster_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ - "console_port_template_count", - "console_server_port_template_count", + "cluster_count", "created", - "device_bay_template_count", - "device_count", "display", - "front_port_template_count", "id", - "interface_template_count", - "inventory_item_template_count", "last_updated", - "manufacturer", - "model", - "module_bay_template_count", - "power_outlet_template_count", - "power_port_template_count", - "rear_port_template_count", + "name", "slug", "url" ] }, - "DeviceTypeRequest": { + "ClusterTypeRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "manufacturer": { - "$ref": "#/components/schemas/NestedManufacturerRequest" - }, - "default_platform": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPlatformRequest" - } - ], - "nullable": true - }, - "model": { + "name": { "type": "string", "minLength": 1, "maxLength": 100 @@ -163840,97 +172509,10 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "u_height": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0, - "exclusiveMaximum": true, - "default": 1.0, - "title": "Position (U)" - }, - "exclude_from_utilization": { - "type": "boolean", - "description": "Devices of this type are excluded when calculating rack utilization." - }, - "is_full_depth": { - "type": "boolean", - "description": "Device consumes both front and rear rack faces." - }, - "subdevice_role": { - "enum": [ - "parent", - "child", - "", - null - ], - "type": "string", - "description": "* `parent` - Parent\n* `child` - Child", - "x-spec-enum-id": "d10d91f690a856c2", - "nullable": true - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "58e389e240a5e53d", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "front_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "rear_image": { - "type": "string", - "format": "binary", - "nullable": true - }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, "tags": { "type": "array", "items": { @@ -163943,301 +172525,196 @@ } }, "required": [ - "manufacturer", - "model", + "name", "slug" ] }, - "DeviceWithConfigContext": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "$ref": "#/components/schemas/NestedDeviceType" - }, - "role": { - "$ref": "#/components/schemas/NestedDeviceRole" - }, - "device_role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRole" - } - ], - "readOnly": true, - "description": "Deprecated in v3.6 in favor of `role`." - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, - "platform": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPlatform" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "site": { - "$ref": "#/components/schemas/NestedSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocation" - } - ], - "nullable": true - }, - "rack": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRack" - } - ], - "nullable": true - }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front", - "rear", - "" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "label": { - "type": "string", - "enum": [ - "Front", - "Rear" - ] - } - } - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "parent_device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "readOnly": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Inventory", - "Decommissioning" - ] - } + "Community": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" } }, - "airflow": { + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "display": { + "type": "string", + "readOnly": true + }, + "status": { "type": "object", "properties": { "value": { "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "mixed", - "" + "active", + "reserved", + "deprecated" ], "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "58e389e240a5e53d" + "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", + "x-spec-enum-id": "6388dfb94ca1cc15" }, "label": { "type": "string", "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Passive", - "Mixed" + "Active", + "Reserved", + "Deprecated" ] } } }, - "primary_ip": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/Tenant" } ], - "readOnly": true, "nullable": true }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, "nullable": true }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, "nullable": true }, - "oob_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], - "nullable": true + "description": { + "type": "string", + "maxLength": 200 }, - "cluster": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCluster" - } - ], - "nullable": true + "value": { + "type": "string", + "pattern": "[\\d\\.\\*]+:[\\d\\.\\*]+", + "maxLength": 64 }, - "virtual_chassis": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVirtualChassis" - } - ], + "site": { + "type": "integer", "nullable": true }, - "vc_position": { + "role": { "type": "integer", - "maximum": 255, - "minimum": 0, "nullable": true }, - "vc_priority": { + "comments": { + "type": "string" + } + }, + "required": [ + "created", + "display", + "id", + "last_updated", + "url", + "value" + ] + }, + "CommunityList": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 100 + }, + "display": { + "type": "string", + "readOnly": true }, "description": { "type": "string", "maxLength": 200 }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, "comments": { "type": "string" + } + }, + "required": [ + "description", + "display", + "id", + "name", + "url" + ] + }, + "CommunityListRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplate" - } - ], - "nullable": true + "description": { + "type": "string", + "maxLength": 200 }, - "config_context": { - "nullable": true, - "readOnly": true + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "comments": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ] + }, + "CommunityListRule": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true }, "tags": { "type": "array", @@ -164249,6 +172726,17 @@ "type": "object", "additionalProperties": {} }, + "display": { + "type": "string", + "readOnly": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "community_list": { + "$ref": "#/components/schemas/CommunityList" + }, "created": { "type": "string", "format": "date-time", @@ -164261,294 +172749,144 @@ "readOnly": true, "nullable": true }, - "console_port_count": { - "type": "integer", - "readOnly": true - }, - "console_server_port_count": { - "type": "integer", - "readOnly": true - }, - "power_port_count": { - "type": "integer", - "readOnly": true - }, - "power_outlet_count": { - "type": "integer", - "readOnly": true - }, - "interface_count": { - "type": "integer", - "readOnly": true - }, - "front_port_count": { - "type": "integer", - "readOnly": true - }, - "rear_port_count": { - "type": "integer", - "readOnly": true - }, - "device_bay_count": { - "type": "integer", - "readOnly": true + "action": { + "enum": [ + "permit", + "deny" + ], + "type": "string", + "description": "* `permit` - Permit\n* `deny` - Deny", + "x-spec-enum-id": "1dc943e0aaf6f0a7" }, - "module_bay_count": { - "type": "integer", - "readOnly": true + "community": { + "allOf": [ + { + "$ref": "#/components/schemas/Community" + } + ], + "nullable": true }, - "inventory_item_count": { - "type": "integer", - "readOnly": true + "comments": { + "type": "string" } }, "required": [ - "config_context", - "console_port_count", - "console_server_port_count", + "action", + "community_list", "created", - "device_bay_count", - "device_role", - "device_type", "display", - "front_port_count", "id", - "interface_count", - "inventory_item_count", - "last_updated", - "module_bay_count", - "parent_device", - "power_outlet_count", - "power_port_count", - "primary_ip", - "rear_port_count", - "role", - "site", - "url" + "last_updated" ] }, - "DeviceWithConfigContextRequest": { + "CommunityListRuleRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - }, - "role": { - "$ref": "#/components/schemas/NestedDeviceRoleRequest" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "platform": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPlatformRequest" - } - ], - "nullable": true + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 + "custom_fields": { + "type": "object", + "additionalProperties": {} }, - "asset_tag": { + "description": { "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 + "maxLength": 200 }, - "site": { - "$ref": "#/components/schemas/NestedSiteRequest" + "community_list": { + "$ref": "#/components/schemas/CommunityListRequest" }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocationRequest" - } + "action": { + "enum": [ + "permit", + "deny" ], - "nullable": true + "type": "string", + "description": "* `permit` - Permit\n* `deny` - Deny", + "x-spec-enum-id": "1dc943e0aaf6f0a7" }, - "rack": { + "community": { "allOf": [ { - "$ref": "#/components/schemas/NestedRackRequest" + "$ref": "#/components/schemas/CommunityRequest" } ], "nullable": true }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "enum": [ - "front", - "rear", - "" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" + "comments": { + "type": "string" + } + }, + "required": [ + "action", + "community_list" + ] + }, + "CommunityRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" + "custom_fields": { + "type": "object", + "additionalProperties": {} }, "status": { "enum": [ - "offline", "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "mixed", - "" + "reserved", + "deprecated" ], "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "58e389e240a5e53d" - }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddressRequest" - } - ], - "nullable": true - }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddressRequest" - } - ], - "nullable": true + "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", + "x-spec-enum-id": "6388dfb94ca1cc15" }, - "oob_ip": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddressRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true }, - "cluster": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedClusterRequest" - } - ], - "nullable": true + "description": { + "type": "string", + "maxLength": 200 }, - "virtual_chassis": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVirtualChassisRequest" - } - ], - "nullable": true + "value": { + "type": "string", + "minLength": 1, + "pattern": "[\\d\\.\\*]+:[\\d\\.\\*]+", + "maxLength": 64 }, - "vc_position": { + "site": { "type": "integer", - "maximum": 255, - "minimum": 0, "nullable": true }, - "vc_priority": { + "role": { "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" - }, - "description": { - "type": "string", - "maxLength": 200 + "nullable": true }, "comments": { "type": "string" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplateRequest" - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "device_type", - "role", - "site" + "value" ] }, - "EventRule": { + "ConfigContext": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -164563,98 +172901,124 @@ "type": "string", "readOnly": true }, - "content_types": { - "type": "array", - "items": { - "type": "string" - } - }, "name": { "type": "string", - "maxLength": 150 + "maxLength": 100 }, - "type_create": { - "type": "boolean", - "title": "On create", - "description": "Triggers when a matching object is created." + "weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0 }, - "type_update": { - "type": "boolean", - "title": "On update", - "description": "Triggers when a matching object is updated." + "description": { + "type": "string", + "maxLength": 200 }, - "type_delete": { - "type": "boolean", - "title": "On delete", - "description": "Triggers when a matching object is deleted." + "is_active": { + "type": "boolean" }, - "type_job_start": { - "type": "boolean", - "title": "On job start", - "description": "Triggers when a job for a matching object is started." + "regions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Region" + } }, - "type_job_end": { - "type": "boolean", - "title": "On job end", - "description": "Triggers when a job for a matching object terminates." + "site_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SiteGroup" + } }, - "enabled": { - "type": "boolean" + "sites": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Site" + } }, - "conditions": { - "nullable": true, - "description": "A set of conditions which determine whether the event will be generated." + "locations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Location" + } }, - "action_type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "webhook", - "script" - ], - "type": "string", - "description": "* `webhook` - Webhook\n* `script` - Script", - "x-spec-enum-id": "a08300d86473de6e" - }, - "label": { - "type": "string", - "enum": [ - "Webhook", - "Script" - ] - } + "device_types": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeviceType" } }, - "action_object_type": { - "type": "string" + "roles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeviceRole" + } }, - "action_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true + "platforms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Platform" + } }, - "action_object": { - "type": "object", - "additionalProperties": {}, - "readOnly": true + "cluster_types": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClusterType" + } }, - "description": { - "type": "string", - "maxLength": 200 + "cluster_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClusterGroup" + } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "clusters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Cluster" + } + }, + "tenant_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TenantGroup" + } + }, + "tenants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Tenant" + } }, "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTag" + "type": "string" } }, + "data_source": { + "$ref": "#/components/schemas/DataSource" + }, + "data_path": { + "type": "string", + "readOnly": true, + "description": "Path to remote file (relative to data source root)" + }, + "data_file": { + "allOf": [ + { + "$ref": "#/components/schemas/DataFile" + } + ], + "readOnly": true + }, + "data_synced": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true, + "title": "Date synced" + }, + "data": {}, "created": { "type": "string", "format": "date-time", @@ -164669,11 +173033,11 @@ } }, "required": [ - "action_object", - "action_object_type", - "action_type", - "content_types", "created", + "data", + "data_file", + "data_path", + "data_synced", "display", "id", "last_updated", @@ -164681,97 +173045,119 @@ "url" ] }, - "EventRuleRequest": { + "ConfigContextRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "content_types": { - "type": "array", - "items": { - "type": "string" - } - }, "name": { "type": "string", "minLength": 1, - "maxLength": 150 + "maxLength": 100 }, - "type_create": { - "type": "boolean", - "title": "On create", - "description": "Triggers when a matching object is created." + "weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0 }, - "type_update": { - "type": "boolean", - "title": "On update", - "description": "Triggers when a matching object is updated." + "description": { + "type": "string", + "maxLength": 200 }, - "type_delete": { - "type": "boolean", - "title": "On delete", - "description": "Triggers when a matching object is deleted." + "is_active": { + "type": "boolean" }, - "type_job_start": { - "type": "boolean", - "title": "On job start", - "description": "Triggers when a job for a matching object is started." + "regions": { + "type": "array", + "items": { + "type": "integer" + } }, - "type_job_end": { - "type": "boolean", - "title": "On job end", - "description": "Triggers when a job for a matching object terminates." + "site_groups": { + "type": "array", + "items": { + "type": "integer" + } }, - "enabled": { - "type": "boolean" + "sites": { + "type": "array", + "items": { + "type": "integer" + } }, - "conditions": { - "nullable": true, - "description": "A set of conditions which determine whether the event will be generated." + "locations": { + "type": "array", + "items": { + "type": "integer" + } }, - "action_type": { - "enum": [ - "webhook", - "script" - ], - "type": "string", - "description": "* `webhook` - Webhook\n* `script` - Script", - "x-spec-enum-id": "a08300d86473de6e" + "device_types": { + "type": "array", + "items": { + "type": "integer" + } }, - "action_object_type": { - "type": "string" + "roles": { + "type": "array", + "items": { + "type": "integer" + } }, - "action_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true + "platforms": { + "type": "array", + "items": { + "type": "integer" + } }, - "description": { - "type": "string", - "maxLength": 200 + "cluster_types": { + "type": "array", + "items": { + "type": "integer" + } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "cluster_groups": { + "type": "array", + "items": { + "type": "integer" + } + }, + "clusters": { + "type": "array", + "items": { + "type": "integer" + } + }, + "tenant_groups": { + "type": "array", + "items": { + "type": "integer" + } + }, + "tenants": { + "type": "array", + "items": { + "type": "integer" + } }, "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTagRequest" + "type": "string", + "minLength": 1 } - } + }, + "data_source": { + "$ref": "#/components/schemas/DataSourceRequest" + }, + "data": {} }, "required": [ - "action_object_type", - "action_type", - "content_types", + "data", "name" ] }, - "ExportTemplate": { + "ConfigTemplate": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", "properties": { "id": { "type": "integer", @@ -164786,60 +173172,216 @@ "type": "string", "readOnly": true }, - "content_types": { - "type": "array", - "items": { - "type": "string" - } + "name": { + "type": "string", + "maxLength": 100 }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "display", + "id", + "name", + "url" + ] + }, + "ConfigTemplateRequest": { + "type": "object", + "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", + "properties": { "name": { "type": "string", + "minLength": 1, "maxLength": 100 }, "description": { "type": "string", "maxLength": 200 + } + }, + "required": [ + "name" + ] + }, + "ConsolePort": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true }, - "template_code": { + "url": { "type": "string", - "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." + "format": "uri", + "readOnly": true }, - "mime_type": { + "display": { "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 + "readOnly": true }, - "file_extension": { + "device": { + "$ref": "#/components/schemas/Device" + }, + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/Module" + } + ], + "nullable": true + }, + "name": { "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 + "maxLength": 64 }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 }, - "data_source": { - "$ref": "#/components/schemas/NestedDataSource" + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" + ], + "type": "string", + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" + }, + "label": { + "type": "string", + "enum": [ + "DE-9", + "DB-25", + "RJ-11", + "RJ-12", + "RJ-45", + "Mini-DIN 8", + "USB Type A", + "USB Type B", + "USB Type C", + "USB Mini A", + "USB Mini B", + "USB Micro A", + "USB Micro B", + "USB Micro AB", + "Other" + ] + } + } }, - "data_path": { + "speed": { + "type": "object", + "properties": { + "value": { + "enum": [ + 1200, + 2400, + 4800, + 9600, + 19200, + 38400, + 57600, + 115200, + null + ], + "type": "integer", + "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", + "x-spec-enum-id": "ab6d9635c131a378" + }, + "label": { + "type": "string", + "enum": [ + "1200 bps", + "2400 bps", + "4800 bps", + "9600 bps", + "19.2 kbps", + "38.4 kbps", + "57.6 kbps", + "115.2 kbps" + ] + } + }, + "nullable": true + }, + "description": { "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" + "maxLength": 200 }, - "data_file": { + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" + }, + "cable": { "allOf": [ { - "$ref": "#/components/schemas/NestedDataFile" + "$ref": "#/components/schemas/Cable" } ], + "readOnly": true, + "nullable": true + }, + "cable_end": { + "type": "string", + "readOnly": true + }, + "link_peers": { + "type": "array", + "items": {}, + "readOnly": true + }, + "link_peers_type": { + "type": "string", + "description": "Return the type of the peer link terminations, or None.", + "readOnly": true, + "nullable": true + }, + "connected_endpoints": { + "type": "array", + "items": {}, + "nullable": true, + "readOnly": true + }, + "connected_endpoints_type": { + "type": "string", + "readOnly": true, + "nullable": true + }, + "connected_endpoints_reachable": { + "type": "boolean", "readOnly": true }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} }, "created": { "type": "string", @@ -164852,177 +173394,123 @@ "format": "date-time", "readOnly": true, "nullable": true + }, + "_occupied": { + "type": "boolean", + "readOnly": true, + "title": " occupied" } }, "required": [ - "content_types", + "_occupied", + "cable", + "cable_end", + "connected_endpoints", + "connected_endpoints_reachable", + "connected_endpoints_type", "created", - "data_file", - "data_path", - "data_synced", + "device", "display", "id", "last_updated", + "link_peers", + "link_peers_type", "name", - "template_code", "url" ] }, - "ExportTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "content_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "$ref": "#/components/schemas/NestedDataSourceRequest" - } - }, - "required": [ - "content_types", - "name", - "template_code" - ] - }, - "FHRPGroup": { + "ConsolePortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "id": { - "type": "integer", - "readOnly": true + "device": { + "$ref": "#/components/schemas/DeviceRequest" }, - "name": { - "type": "string", - "maxLength": 100 + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], + "nullable": true }, - "url": { + "name": { "type": "string", - "format": "uri", - "readOnly": true + "minLength": 1, + "maxLength": 64 }, - "display": { + "label": { "type": "string", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "protocol": { + "type": { "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" ], "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" }, - "auth_type": { + "speed": { "enum": [ - "plaintext", - "md5", - "" + 1200, + 2400, + 4800, + 9600, + 19200, + 38400, + 57600, + 115200, + null ], - "type": "string", - "description": "* `plaintext` - Plaintext\n* `md5` - MD5", - "x-spec-enum-id": "12b9faea3a45bf37", - "title": "Authentication type" - }, - "auth_key": { - "type": "string", - "title": "Authentication key", - "maxLength": 255 + "type": "integer", + "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", + "x-spec-enum-id": "ab6d9635c131a378", + "nullable": true }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" }, "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTag" + "$ref": "#/components/schemas/NestedTagRequest" } }, "custom_fields": { "type": "object", "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "ip_addresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedIPAddress" - }, - "readOnly": true } }, "required": [ - "created", - "display", - "group_id", - "id", - "ip_addresses", - "last_updated", - "protocol", - "url" + "device", + "name" ] }, - "FHRPGroupAssignment": { + "ConsolePortTemplate": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -165037,26 +173525,83 @@ "type": "string", "readOnly": true }, - "group": { - "$ref": "#/components/schemas/NestedFHRPGroup" + "device_type": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceType" + } + ], + "nullable": true }, - "interface_type": { - "type": "string" + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleType" + } + ], + "nullable": true }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + "name": { + "type": "string", + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "interface": { - "nullable": true, - "readOnly": true + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" + ], + "type": "string", + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" + }, + "label": { + "type": "string", + "enum": [ + "DE-9", + "DB-25", + "RJ-11", + "RJ-12", + "RJ-45", + "Mini-DIN 8", + "USB Type A", + "USB Type B", + "USB Type C", + "USB Mini A", + "USB Mini B", + "USB Micro A", + "USB Micro B", + "USB Micro AB", + "Other" + ] + } + } + }, + "description": { + "type": "string", + "maxLength": 200 }, "created": { "type": "string", @@ -165074,112 +173619,76 @@ "required": [ "created", "display", - "group", "id", - "interface", - "interface_id", - "interface_type", "last_updated", - "priority", + "name", "url" ] }, - "FHRPGroupAssignmentRequest": { + "ConsolePortTemplateRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "group": { - "$ref": "#/components/schemas/NestedFHRPGroupRequest" - }, - "interface_type": { - "type": "string" + "device_type": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], + "nullable": true }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], + "nullable": true }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 - } - }, - "required": [ - "group", - "interface_id", - "interface_type", - "priority" - ] - }, - "FHRPGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { "name": { "type": "string", - "maxLength": 100 + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], + "label": { "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "description": "Physical label", + "maxLength": 64 }, - "auth_type": { + "type": { "enum": [ - "plaintext", - "md5", + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", "" ], "type": "string", - "description": "* `plaintext` - Plaintext\n* `md5` - MD5", - "x-spec-enum-id": "12b9faea3a45bf37", - "title": "Authentication type" - }, - "auth_key": { - "type": "string", - "title": "Authentication key", - "maxLength": 255 + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "group_id", - "protocol" + "name" ] }, - "FrontPort": { + "ConsoleServerPort": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -165197,12 +173706,12 @@ "readOnly": true }, "device": { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" }, "module": { "allOf": [ { - "$ref": "#/components/schemas/ComponentNestedModule" + "$ref": "#/components/schemas/Module" } ], "nullable": true @@ -165221,125 +173730,83 @@ "properties": { "value": { "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "other" + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" ], "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", - "x-spec-enum-id": "0276d1110ada597a" + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" }, "label": { "type": "string", "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", + "DE-9", + "DB-25", + "RJ-11", + "RJ-12", + "RJ-45", + "Mini-DIN 8", + "USB Type A", + "USB Type B", + "USB Type C", + "USB Mini A", + "USB Mini B", + "USB Micro A", + "USB Micro B", + "USB Micro AB", "Other" ] } } }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "$ref": "#/components/schemas/FrontPortRearPort" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Mapped position on corresponding rear port" + "speed": { + "type": "object", + "properties": { + "value": { + "enum": [ + 1200, + 2400, + 4800, + 9600, + 19200, + 38400, + 57600, + 115200, + null + ], + "type": "integer", + "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", + "x-spec-enum-id": "ab6d9635c131a378" + }, + "label": { + "type": "string", + "enum": [ + "1200 bps", + "2400 bps", + "4800 bps", + "9600 bps", + "19.2 kbps", + "38.4 kbps", + "57.6 kbps", + "115.2 kbps" + ] + } + }, + "nullable": true }, "description": { "type": "string", @@ -165352,7 +173819,7 @@ "cable": { "allOf": [ { - "$ref": "#/components/schemas/NestedCable" + "$ref": "#/components/schemas/Cable" } ], "readOnly": true, @@ -165370,6 +173837,22 @@ "link_peers_type": { "type": "string", "description": "Return the type of the peer link terminations, or None.", + "readOnly": true, + "nullable": true + }, + "connected_endpoints": { + "type": "array", + "items": {}, + "nullable": true, + "readOnly": true + }, + "connected_endpoints_type": { + "type": "string", + "readOnly": true, + "nullable": true + }, + "connected_endpoints_reachable": { + "type": "boolean", "readOnly": true }, "tags": { @@ -165404,6 +173887,9 @@ "_occupied", "cable", "cable_end", + "connected_endpoints", + "connected_endpoints_reachable", + "connected_endpoints_type", "created", "device", "display", @@ -165412,14 +173898,101 @@ "link_peers", "link_peers_type", "name", - "rear_port", - "type", "url" ] }, - "FrontPortRearPort": { + "ConsoleServerPortRequest": { "type": "object", - "description": "NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device)", + "description": "Adds support for custom fields and tags.", + "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 64 + }, + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 + }, + "type": { + "enum": [ + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" + ], + "type": "string", + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" + }, + "speed": { + "enum": [ + 1200, + 2400, + 4800, + 9600, + 19200, + 38400, + 57600, + 115200, + null + ], + "type": "integer", + "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", + "x-spec-enum-id": "ab6d9635c131a378", + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + }, + "required": [ + "device", + "name" + ] + }, + "ConsoleServerPortTemplate": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -165434,8 +174007,25 @@ "type": "string", "readOnly": true }, + "device_type": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceType" + } + ], + "nullable": true + }, + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleType" + } + ], + "nullable": true + }, "name": { "type": "string", + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", "maxLength": 64 }, "label": { @@ -165443,25 +174033,104 @@ "description": "Physical label", "maxLength": 64 }, + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" + ], + "type": "string", + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" + }, + "label": { + "type": "string", + "enum": [ + "DE-9", + "DB-25", + "RJ-11", + "RJ-12", + "RJ-45", + "Mini-DIN 8", + "USB Type A", + "USB Type B", + "USB Type C", + "USB Mini A", + "USB Mini B", + "USB Micro A", + "USB Micro B", + "USB Micro AB", + "Other" + ] + } + } + }, "description": { "type": "string", "maxLength": 200 + }, + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true } }, "required": [ + "created", "display", "id", + "last_updated", "name", "url" ] }, - "FrontPortRearPortRequest": { + "ConsoleServerPortTemplateRequest": { "type": "object", - "description": "NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device)", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { + "device_type": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], + "nullable": true + }, + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], + "nullable": true + }, "name": { "type": "string", "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", "maxLength": 64 }, "label": { @@ -165469,6 +174138,29 @@ "description": "Physical label", "maxLength": 64 }, + "type": { + "enum": [ + "de-9", + "db-25", + "rj-11", + "rj-12", + "rj-45", + "mini-din-8", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", + "other", + "" + ], + "type": "string", + "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", + "x-spec-enum-id": "c5f7197b7211818a" + }, "description": { "type": "string", "maxLength": 200 @@ -165478,106 +174170,177 @@ "name" ] }, - "FrontPortRequest": { + "Contact": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" + "id": { + "type": "integer", + "readOnly": true }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" - } - ], - "nullable": true + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true }, "name": { "type": "string", - "minLength": 1, - "maxLength": 64 + "maxLength": 100 }, - "label": { + "description": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "maxLength": 200 + } + }, + "required": [ + "display", + "id", + "name", + "url" + ] + }, + "ContactAssignment": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "other" - ], + "url": { "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", - "x-spec-enum-id": "0276d1110ada597a" + "format": "uri", + "readOnly": true }, - "color": { + "display": { "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + "readOnly": true }, - "rear_port": { - "$ref": "#/components/schemas/FrontPortRearPortRequest" + "object_type": { + "type": "string" }, - "rear_port_position": { + "object_id": { "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Mapped position on corresponding rear port" + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, - "description": { + "object": { + "type": "object", + "additionalProperties": {}, + "readOnly": true + }, + "contact": { + "$ref": "#/components/schemas/Contact" + }, + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/ContactRole" + } + ], + "nullable": true + }, + "priority": { + "type": "object", + "properties": { + "value": { + "enum": [ + "primary", + "secondary", + "tertiary", + "inactive", + "" + ], + "type": "string", + "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", + "x-spec-enum-id": "ef3a31644cec7524" + }, + "label": { + "type": "string", + "enum": [ + "Primary", + "Secondary", + "Tertiary", + "Inactive" + ] + } + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "created": { "type": "string", - "maxLength": 200 + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + } + }, + "required": [ + "contact", + "created", + "display", + "id", + "last_updated", + "object", + "object_id", + "object_type", + "url" + ] + }, + "ContactAssignmentRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "object_type": { + "type": "string" + }, + "object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "contact": { + "$ref": "#/components/schemas/ContactRequest" + }, + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/ContactRoleRequest" + } + ], + "nullable": true }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" + "priority": { + "enum": [ + "primary", + "secondary", + "tertiary", + "inactive", + "" + ], + "type": "string", + "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", + "x-spec-enum-id": "ef3a31644cec7524" }, "tags": { "type": "array", @@ -165591,15 +174354,14 @@ } }, "required": [ - "device", - "name", - "rear_port", - "type" + "contact", + "object_id", + "object_type" ] }, - "FrontPortTemplate": { + "ContactGroup": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Extends PrimaryModelSerializer to include MPTT support.", "properties": { "id": { "type": "integer", @@ -165614,159 +174376,36 @@ "type": "string", "readOnly": true }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceType" - } - ], - "nullable": true + "name": { + "type": "string", + "maxLength": 100 }, - "module_type": { + "slug": { + "type": "string", + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "parent": { "allOf": [ { - "$ref": "#/components/schemas/NestedModuleType" + "$ref": "#/components/schemas/NestedContactGroup" } ], "nullable": true }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { + "description": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "maxLength": 200 }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", - "x-spec-enum-id": "0276d1110ada597a" - }, - "label": { - "type": "string", - "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", - "Other" - ] - } + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" } }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "$ref": "#/components/schemas/NestedRearPortTemplate" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 + "custom_fields": { + "type": "object", + "additionalProperties": {} }, "created": { "type": "string", @@ -165779,168 +174418,94 @@ "format": "date-time", "readOnly": true, "nullable": true + }, + "contact_count": { + "type": "integer", + "readOnly": true, + "default": 0 + }, + "_depth": { + "type": "integer", + "readOnly": true, + "title": " depth" } }, "required": [ + "_depth", + "contact_count", "created", "display", "id", "last_updated", "name", - "rear_port", - "type", + "slug", "url" ] }, - "FrontPortTemplateRequest": { + "ContactGroupRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Extends PrimaryModelSerializer to include MPTT support.", "properties": { - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleTypeRequest" - } - ], - "nullable": true - }, "name": { "type": "string", "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "maxLength": 100 }, - "label": { + "slug": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "other" + "parent": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedContactGroupRequest" + } ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", - "x-spec-enum-id": "0276d1110ada597a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "$ref": "#/components/schemas/NestedRearPortTemplateRequest" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1 + "nullable": true }, "description": { "type": "string", "maxLength": 200 - } - }, - "required": [ - "name", - "rear_port", - "type" - ] - }, - "GenericObject": { - "type": "object", - "description": "Minimal representation of some generic object identified by ContentType and PK.", - "properties": { - "object_type": { - "type": "string" }, - "object_id": { - "type": "integer" + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "object": { - "nullable": true, - "readOnly": true + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "object", - "object_id", - "object_type" + "name", + "slug" ] }, - "GenericObjectRequest": { + "ContactRequest": { "type": "object", - "description": "Minimal representation of some generic object identified by ContentType and PK.", + "description": "Adds support for custom fields and tags.", "properties": { - "object_type": { - "type": "string" + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "object_id": { - "type": "integer" + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ - "object_id", - "object_type" + "name" ] }, - "Group": { + "ContactRole": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -165957,38 +174522,54 @@ }, "name": { "type": "string", - "maxLength": 150 + "maxLength": 100 }, - "user_count": { - "type": "integer", - "readOnly": true + "slug": { + "type": "string", + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ "display", "id", "name", - "url", - "user_count" + "slug", + "url" ] }, - "GroupRequest": { + "ContactRoleRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "name": { "type": "string", "minLength": 1, - "maxLength": 150 + "maxLength": 100 + }, + "slug": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ - "name" + "name", + "slug" ] }, - "IKEPolicy": { + "CustomField": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -166003,78 +174584,300 @@ "type": "string", "readOnly": true }, + "object_types": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "text", + "longtext", + "integer", + "decimal", + "boolean", + "date", + "datetime", + "url", + "json", + "select", + "multiselect", + "object", + "multiobject" + ], + "type": "string", + "description": "* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects", + "x-spec-enum-id": "22e3a64138d10046" + }, + "label": { + "type": "string", + "enum": [ + "Text", + "Text (long)", + "Integer", + "Decimal", + "Boolean (true/false)", + "Date", + "Date & time", + "URL", + "JSON", + "Selection", + "Multiple selection", + "Object", + "Multiple objects" + ] + } + } + }, + "related_object_type": { + "type": "string", + "nullable": true + }, + "data_type": { + "type": "string", + "readOnly": true + }, "name": { "type": "string", - "maxLength": 100 + "description": "Internal field name", + "pattern": "^[a-z0-9_]+$", + "maxLength": 50 + }, + "label": { + "type": "string", + "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", + "maxLength": 50 + }, + "group_name": { + "type": "string", + "description": "Custom fields within the same group will be displayed together", + "maxLength": 50 }, "description": { "type": "string", "maxLength": 200 }, - "version": { + "required": { + "type": "boolean", + "description": "If true, this field is required when creating new objects or editing an existing object." + }, + "search_weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0, + "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." + }, + "filter_logic": { "type": "object", "properties": { "value": { "enum": [ - 1, - 2 + "disabled", + "loose", + "exact" ], - "type": "integer", - "description": "* `1` - IKEv1\n* `2` - IKEv2", - "x-spec-enum-id": "00872b77916a1fde" + "type": "string", + "description": "* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact", + "x-spec-enum-id": "a958350ae21c10ee" }, "label": { "type": "string", "enum": [ - "IKEv1", - "IKEv2" + "Disabled", + "Loose", + "Exact" ] } } }, - "mode": { + "ui_visible": { "type": "object", "properties": { "value": { "enum": [ - "aggressive", - "main" + "always", + "if-set", + "hidden" ], "type": "string", - "description": "* `aggressive` - Aggressive\n* `main` - Main", - "x-spec-enum-id": "64c1be7bdb2548ca" + "description": "* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden", + "x-spec-enum-id": "cd2cf94af56de747" }, "label": { "type": "string", "enum": [ - "Aggressive", - "Main" + "Always", + "If set", + "Hidden" ] } } }, - "proposals": { - "type": "array", - "items": { - "type": "integer" + "ui_editable": { + "type": "object", + "properties": { + "value": { + "enum": [ + "yes", + "no", + "hidden" + ], + "type": "string", + "description": "* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden", + "x-spec-enum-id": "1065673147e26bb5" + }, + "label": { + "type": "string", + "enum": [ + "Yes", + "No", + "Hidden" + ] + } } }, - "preshared_key": { + "is_cloneable": { + "type": "boolean", + "description": "Replicate this value when cloning objects" + }, + "default": { + "nullable": true, + "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." + }, + "weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0, + "title": "Display weight", + "description": "Fields with higher weights appear lower in a form." + }, + "validation_minimum": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true, + "title": "Minimum value", + "description": "Minimum allowed value (for numeric fields)" + }, + "validation_maximum": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true, + "title": "Maximum value", + "description": "Maximum allowed value (for numeric fields)" + }, + "validation_regex": { "type": "string", - "title": "Pre-shared key" + "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", + "maxLength": 500 + }, + "choice_set": { + "allOf": [ + { + "$ref": "#/components/schemas/CustomFieldChoiceSet" + } + ], + "nullable": true }, "comments": { "type": "string" }, - "tags": { + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + } + }, + "required": [ + "created", + "data_type", + "display", + "id", + "last_updated", + "name", + "object_types", + "type", + "url" + ] + }, + "CustomFieldChoiceSet": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "base_choices": { + "type": "object", + "properties": { + "value": { + "enum": [ + "IATA", + "ISO_3166", + "UN_LOCODE" + ], + "type": "string", + "description": "* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)", + "x-spec-enum-id": "cf0efb5195f85007" + }, + "label": { + "type": "string", + "enum": [ + "IATA (Airport codes)", + "ISO 3166 (Country codes)", + "UN/LOCODE (Location codes)" + ] + } + } + }, + "extra_choices": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTag" + "type": "array", + "items": {}, + "maxItems": 2, + "minItems": 2 } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "order_alphabetically": { + "type": "boolean", + "description": "Choices are automatically ordered alphabetically" + }, + "choices_count": { + "type": "string", + "readOnly": true }, "created": { "type": "string", @@ -166090,19 +174893,19 @@ } }, "required": [ + "choices_count", "created", "display", + "extra_choices", "id", "last_updated", - "mode", "name", - "url", - "version" + "url" ] }, - "IKEPolicyRequest": { + "CustomFieldChoiceSetRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "name": { "type": "string", @@ -166113,248 +174916,259 @@ "type": "string", "maxLength": 200 }, - "version": { - "enum": [ - 1, - 2 - ], - "type": "integer", - "description": "* `1` - IKEv1\n* `2` - IKEv2", - "x-spec-enum-id": "00872b77916a1fde" - }, - "mode": { + "base_choices": { "enum": [ - "aggressive", - "main" + "IATA", + "ISO_3166", + "UN_LOCODE" ], "type": "string", - "description": "* `aggressive` - Aggressive\n* `main` - Main", - "x-spec-enum-id": "64c1be7bdb2548ca" - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "preshared_key": { - "type": "string", - "title": "Pre-shared key" - }, - "comments": { - "type": "string" + "description": "* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)", + "x-spec-enum-id": "cf0efb5195f85007" }, - "tags": { + "extra_choices": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTagRequest" + "type": "array", + "items": {}, + "maxItems": 2, + "minItems": 2 } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "order_alphabetically": { + "type": "boolean", + "description": "Choices are automatically ordered alphabetically" } }, "required": [ - "mode", - "name", - "version" + "extra_choices", + "name" ] }, - "IKEProposal": { + "CustomFieldRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "id": { - "type": "integer", - "readOnly": true + "object_types": { + "type": "array", + "items": { + "type": "string" + } }, - "url": { + "type": { + "enum": [ + "text", + "longtext", + "integer", + "decimal", + "boolean", + "date", + "datetime", + "url", + "json", + "select", + "multiselect", + "object", + "multiobject" + ], "type": "string", - "format": "uri", - "readOnly": true + "description": "* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects", + "x-spec-enum-id": "22e3a64138d10046" }, - "display": { + "related_object_type": { "type": "string", - "readOnly": true + "nullable": true }, "name": { "type": "string", - "maxLength": 100 + "minLength": 1, + "description": "Internal field name", + "pattern": "^[a-z0-9_]+$", + "maxLength": 50 + }, + "label": { + "type": "string", + "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", + "maxLength": 50 + }, + "group_name": { + "type": "string", + "description": "Custom fields within the same group will be displayed together", + "maxLength": 50 }, "description": { "type": "string", "maxLength": 200 }, - "authentication_method": { - "type": "object", - "properties": { - "value": { - "enum": [ - "preshared-keys", - "certificates", - "rsa-signatures", - "dsa-signatures" - ], - "type": "string", - "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", - "x-spec-enum-id": "92bb2f1103b3a262" - }, - "label": { - "type": "string", - "enum": [ - "Pre-shared keys", - "Certificates", - "RSA signatures", - "DSA signatures" - ] - } - } + "required": { + "type": "boolean", + "description": "If true, this field is required when creating new objects or editing an existing object." }, - "encryption_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "label": { - "type": "string", - "enum": [ - "128-bit AES (CBC)", - "128-bit AES (GCM)", - "192-bit AES (CBC)", - "192-bit AES (GCM)", - "256-bit AES (CBC)", - "256-bit AES (GCM)", - "3DES", - "DES" - ] - } - } + "search_weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0, + "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." }, - "authentication_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" - }, - "label": { - "type": "string", - "enum": [ - "SHA-1 HMAC", - "SHA-256 HMAC", - "SHA-384 HMAC", - "SHA-512 HMAC", - "MD5 HMAC" - ] - } - } + "filter_logic": { + "enum": [ + "disabled", + "loose", + "exact" + ], + "type": "string", + "description": "* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact", + "x-spec-enum-id": "a958350ae21c10ee" }, - "group": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "label": { - "type": "string", - "enum": [ - "Group 1", - "Group 2", - "Group 5", - "Group 14", - "Group 15", - "Group 16", - "Group 17", - "Group 18", - "Group 19", - "Group 20", - "Group 21", - "Group 22", - "Group 23", - "Group 24", - "Group 25", - "Group 26", - "Group 27", - "Group 28", - "Group 29", - "Group 30", - "Group 31", - "Group 32", - "Group 33", - "Group 34" - ] - } - } + "ui_visible": { + "enum": [ + "always", + "if-set", + "hidden" + ], + "type": "string", + "description": "* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden", + "x-spec-enum-id": "cd2cf94af56de747" }, - "sa_lifetime": { + "ui_editable": { + "enum": [ + "yes", + "no", + "hidden" + ], + "type": "string", + "description": "* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden", + "x-spec-enum-id": "1065673147e26bb5" + }, + "is_cloneable": { + "type": "boolean", + "description": "Replicate this value when cloning objects" + }, + "default": { + "nullable": true, + "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." + }, + "weight": { "type": "integer", - "maximum": 2147483647, + "maximum": 32767, "minimum": 0, + "title": "Display weight", + "description": "Fields with higher weights appear lower in a form." + }, + "validation_minimum": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", "nullable": true, - "description": "Security association lifetime (in seconds)" + "title": "Minimum value", + "description": "Minimum allowed value (for numeric fields)" + }, + "validation_maximum": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true, + "title": "Maximum value", + "description": "Maximum allowed value (for numeric fields)" + }, + "validation_regex": { + "type": "string", + "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", + "maxLength": 500 + }, + "choice_set": { + "allOf": [ + { + "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" + } + ], + "nullable": true + }, + "comments": { + "type": "string" + } + }, + "required": [ + "name", + "object_types", + "type" + ] + }, + "CustomLink": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true }, - "comments": { - "type": "string" + "display": { + "type": "string", + "readOnly": true }, - "tags": { + "object_types": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTag" + "type": "string" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "name": { + "type": "string", + "maxLength": 100 + }, + "enabled": { + "type": "boolean" + }, + "link_text": { + "type": "string", + "description": "Jinja2 template code for link text" + }, + "link_url": { + "type": "string", + "description": "Jinja2 template code for link URL" + }, + "weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0 + }, + "group_name": { + "type": "string", + "description": "Links with the same group will appear as a dropdown menu", + "maxLength": 50 + }, + "button_class": { + "enum": [ + "outline-dark", + "blue", + "indigo", + "purple", + "pink", + "red", + "orange", + "yellow", + "green", + "teal", + "cyan", + "gray", + "black", + "white", + "ghost-dark" + ], + "type": "string", + "x-spec-enum-id": "9378cdf56abee54a", + "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" + }, + "new_window": { + "type": "boolean", + "description": "Force link to open in a new window" }, "created": { "type": "string", @@ -166370,130 +175184,104 @@ } }, "required": [ - "authentication_algorithm", - "authentication_method", "created", "display", - "encryption_algorithm", - "group", "id", "last_updated", + "link_text", + "link_url", "name", + "object_types", "url" ] }, - "IKEProposalRequest": { + "CustomLinkRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { + "object_types": { + "type": "array", + "items": { + "type": "string" + } + }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, - "description": { - "type": "string", - "maxLength": 200 + "enabled": { + "type": "boolean" }, - "authentication_method": { - "enum": [ - "preshared-keys", - "certificates", - "rsa-signatures", - "dsa-signatures" - ], + "link_text": { "type": "string", - "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", - "x-spec-enum-id": "92bb2f1103b3a262" + "minLength": 1, + "description": "Jinja2 template code for link text" }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], + "link_url": { "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" + "minLength": 1, + "description": "Jinja2 template code for link URL" }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], + "weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0 + }, + "group_name": { "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" + "description": "Links with the same group will appear as a dropdown menu", + "maxLength": 50 }, - "group": { + "button_class": { "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 + "outline-dark", + "blue", + "indigo", + "purple", + "pink", + "red", + "orange", + "yellow", + "green", + "teal", + "cyan", + "gray", + "black", + "white", + "ghost-dark" ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "sa_lifetime": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Security association lifetime (in seconds)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + "type": "string", + "x-spec-enum-id": "9378cdf56abee54a", + "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "new_window": { + "type": "boolean", + "description": "Force link to open in a new window" } }, "required": [ - "authentication_algorithm", - "authentication_method", - "encryption_algorithm", - "group", - "name" + "link_text", + "link_url", + "name", + "object_types" ] }, - "IPAddress": { + "Dashboard": { + "type": "object", + "properties": { + "layout": {}, + "config": {} + } + }, + "DashboardRequest": { + "type": "object", + "properties": { + "layout": {}, + "config": {} + } + }, + "DataFile": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -166510,262 +175298,105 @@ "type": "string", "readOnly": true }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - } - }, - "readOnly": true - }, - "address": { - "type": "string" - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVRF" - } - ], - "nullable": true - }, - "tenant": { + "source": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/DataSource" } ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "deprecated", - "dhcp", - "slaac" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated\n* `dhcp` - DHCP\n* `slaac` - SLAAC", - "x-spec-enum-id": "24935cfee15bd268" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Reserved", - "Deprecated", - "DHCP", - "SLAAC" - ] - } - } + "readOnly": true }, - "role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "loopback", - "secondary", - "anycast", - "vip", - "vrrp", - "hsrp", - "glbp", - "carp", - "" - ], - "type": "string", - "description": "* `loopback` - Loopback\n* `secondary` - Secondary\n* `anycast` - Anycast\n* `vip` - VIP\n* `vrrp` - VRRP\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `carp` - CARP", - "x-spec-enum-id": "10fbcb4930889b0f" - }, - "label": { - "type": "string", - "enum": [ - "Loopback", - "Secondary", - "Anycast", - "VIP", - "VRRP", - "HSRP", - "GLBP", - "CARP" - ] - } - } + "path": { + "type": "string", + "readOnly": true, + "description": "File path relative to the data source's root" }, - "assigned_object_type": { + "last_updated": { "type": "string", - "nullable": true + "format": "date-time", + "readOnly": true }, - "assigned_object_id": { + "size": { "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "assigned_object": { - "nullable": true, "readOnly": true }, - "nat_inside": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], - "nullable": true - }, - "nat_outside": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedIPAddress" - }, + "hash": { + "type": "string", + "readOnly": true, + "description": "SHA256 hash of the file data" + } + }, + "required": [ + "display", + "hash", + "id", + "last_updated", + "path", + "size", + "source", + "url" + ] + }, + "DataSource": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", "readOnly": true }, - "dns_name": { + "url": { "type": "string", - "description": "Hostname or FQDN (not case-sensitive)", - "pattern": "^([0-9A-Za-z_-]+|\\*)(\\.[0-9A-Za-z_-]+)*\\.?$", - "maxLength": 255 + "format": "uri", + "readOnly": true }, - "description": { + "display": { "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "readOnly": true }, - "created": { + "name": { "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "maxLength": 100 }, - "last_updated": { + "description": { "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "maxLength": 200 } }, "required": [ - "address", - "assigned_object", - "created", "display", - "family", "id", - "last_updated", - "nat_outside", + "name", "url" ] }, - "IPAddressRequest": { + "DataSourceRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVRFRequest" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated", - "dhcp", - "slaac" - ], + "name": { "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated\n* `dhcp` - DHCP\n* `slaac` - SLAAC", - "x-spec-enum-id": "24935cfee15bd268" + "minLength": 1, + "maxLength": 100 }, - "role": { + "type": { "enum": [ - "loopback", - "secondary", - "anycast", - "vip", - "vrrp", - "hsrp", - "glbp", - "carp", - "" + null, + "local", + "git", + "amazon-s3" ], - "type": "string", - "description": "* `loopback` - Loopback\n* `secondary` - Secondary\n* `anycast` - Anycast\n* `vip` - VIP\n* `vrrp` - VRRP\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `carp` - CARP", - "x-spec-enum-id": "10fbcb4930889b0f" + "description": "* `None` - ---------\n* `local` - Local\n* `git` - Git\n* `amazon-s3` - Amazon S3", + "x-spec-enum-id": "570db3f2d4e98ccf" }, - "assigned_object_type": { + "source_url": { "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "nat_inside": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddressRequest" - } - ], - "nullable": true + "minLength": 1, + "title": "URL", + "maxLength": 200 }, - "dns_name": { - "type": "string", - "description": "Hostname or FQDN (not case-sensitive)", - "pattern": "^([0-9A-Za-z_-]+|\\*)(\\.[0-9A-Za-z_-]+)*\\.?$", - "maxLength": 255 + "enabled": { + "type": "boolean" }, "description": { "type": "string", @@ -166774,11 +175405,12 @@ "comments": { "type": "string" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + "parameters": { + "nullable": true + }, + "ignore_rules": { + "type": "string", + "description": "Patterns (one per line) matching files to ignore when syncing" }, "custom_fields": { "type": "object", @@ -166786,10 +175418,12 @@ } }, "required": [ - "address" + "name", + "source_url", + "type" ] }, - "IPRange": { + "Device": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -166806,302 +175440,267 @@ "type": "string", "readOnly": true }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] + "name": { + "type": "string", + "nullable": true, + "maxLength": 64 + }, + "device_type": { + "$ref": "#/components/schemas/DeviceType" + }, + "role": { + "$ref": "#/components/schemas/DeviceRole" + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/Tenant" } - }, - "readOnly": true + ], + "nullable": true }, - "start_address": { - "type": "string" + "platform": { + "allOf": [ + { + "$ref": "#/components/schemas/Platform" + } + ], + "nullable": true }, - "end_address": { - "type": "string" + "serial": { + "type": "string", + "title": "Serial number", + "description": "Chassis serial number, assigned by the manufacturer", + "maxLength": 50 }, - "size": { - "type": "integer", - "readOnly": true + "asset_tag": { + "type": "string", + "nullable": true, + "description": "A unique tag used to identify this device", + "maxLength": 50 }, - "vrf": { + "site": { + "$ref": "#/components/schemas/Site" + }, + "location": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRF" + "$ref": "#/components/schemas/Location" } ], "nullable": true }, - "tenant": { + "rack": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Rack" } ], "nullable": true }, - "status": { + "position": { + "type": "number", + "format": "double", + "maximum": 1000, + "minimum": 0.5, + "exclusiveMaximum": true, + "nullable": true, + "title": "Position (U)" + }, + "face": { "type": "object", "properties": { "value": { "enum": [ - "active", - "reserved", - "deprecated" + "front", + "rear", + "" ], "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" + "description": "* `front` - Front\n* `rear` - Rear", + "x-spec-enum-id": "d2fb9b3f75158b83" }, "label": { "type": "string", "enum": [ - "Active", - "Reserved", - "Deprecated" + "Front", + "Rear" ] } } }, - "role": { + "latitude": { + "type": "number", + "format": "double", + "maximum": 100, + "minimum": -100, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "description": "GPS coordinate in decimal format (xx.yyyyyy)" + }, + "longitude": { + "type": "number", + "format": "double", + "maximum": 1000, + "minimum": -1000, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "description": "GPS coordinate in decimal format (xx.yyyyyy)" + }, + "parent_device": { "allOf": [ { - "$ref": "#/components/schemas/NestedRole" + "$ref": "#/components/schemas/NestedDevice" } ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" + "nullable": true, + "readOnly": true }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + "status": { + "type": "object", + "properties": { + "value": { + "enum": [ + "offline", + "active", + "planned", + "staged", + "failed", + "inventory", + "decommissioning" + ], + "type": "string", + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", + "x-spec-enum-id": "8d8971779f16ee18" + }, + "label": { + "type": "string", + "enum": [ + "Offline", + "Active", + "Planned", + "Staged", + "Failed", + "Inventory", + "Decommissioning" + ] + } } }, - "custom_fields": { + "airflow": { "type": "object", - "additionalProperties": {} + "properties": { + "value": { + "enum": [ + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive", + "mixed", + "" + ], + "type": "string", + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", + "x-spec-enum-id": "58e389e240a5e53d" + }, + "label": { + "type": "string", + "enum": [ + "Front to rear", + "Rear to front", + "Left to right", + "Right to left", + "Side to rear", + "Passive", + "Mixed" + ] + } + } }, - "created": { - "type": "string", - "format": "date-time", + "primary_ip": { + "allOf": [ + { + "$ref": "#/components/schemas/IPAddress" + } + ], "readOnly": true, "nullable": true }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, + "primary_ip4": { + "allOf": [ + { + "$ref": "#/components/schemas/IPAddress" + } + ], "nullable": true }, - "mark_utilized": { - "type": "boolean", - "description": "Treat as fully utilized" - } - }, - "required": [ - "created", - "display", - "end_address", - "family", - "id", - "last_updated", - "size", - "start_address", - "url" - ] - }, - "IPRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "start_address": { - "type": "string", - "minLength": 1 - }, - "end_address": { - "type": "string", - "minLength": 1 - }, - "vrf": { + "primary_ip6": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRFRequest" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true }, - "tenant": { + "oob_ip": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/Cluster" + } ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" + "nullable": true }, - "role": { + "virtual_chassis": { "allOf": [ { - "$ref": "#/components/schemas/NestedRoleRequest" + "$ref": "#/components/schemas/VirtualChassis" } ], "nullable": true }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "mark_utilized": { - "type": "boolean", - "description": "Treat as fully utilized" - } - }, - "required": [ - "end_address", - "start_address" - ] - }, - "IPSecPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { + "vc_position": { "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true + "maximum": 255, + "minimum": 0, + "nullable": true }, - "name": { - "type": "string", - "maxLength": 100 + "vc_priority": { + "type": "integer", + "maximum": 255, + "minimum": 0, + "nullable": true, + "description": "Virtual chassis master election priority" }, "description": { "type": "string", "maxLength": 200 }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } + "comments": { + "type": "string" }, - "pfs_group": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "label": { - "type": "string", - "enum": [ - "Group 1", - "Group 2", - "Group 5", - "Group 14", - "Group 15", - "Group 16", - "Group 17", - "Group 18", - "Group 19", - "Group 20", - "Group 21", - "Group 22", - "Group 23", - "Group 24", - "Group 25", - "Group 26", - "Group 27", - "Group 28", - "Group 29", - "Group 30", - "Group 31", - "Group 32", - "Group 33", - "Group 34" - ] + "config_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplate" } - } + ], + "nullable": true }, - "comments": { - "type": "string" + "local_context_data": { + "nullable": true, + "description": "Local config context data takes precedence over source contexts in the final rendered config context" }, "tags": { "type": "array", @@ -167124,86 +175723,72 @@ "format": "date-time", "readOnly": true, "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "IPSecPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 }, - "description": { - "type": "string", - "maxLength": 200 + "console_port_count": { + "type": "integer", + "readOnly": true }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } + "console_server_port_count": { + "type": "integer", + "readOnly": true }, - "pfs_group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], + "power_port_count": { "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" + "readOnly": true }, - "comments": { - "type": "string" + "power_outlet_count": { + "type": "integer", + "readOnly": true }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + "interface_count": { + "type": "integer", + "readOnly": true }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "front_port_count": { + "type": "integer", + "readOnly": true + }, + "rear_port_count": { + "type": "integer", + "readOnly": true + }, + "device_bay_count": { + "type": "integer", + "readOnly": true + }, + "module_bay_count": { + "type": "integer", + "readOnly": true + }, + "inventory_item_count": { + "type": "integer", + "readOnly": true } }, "required": [ - "name" + "console_port_count", + "console_server_port_count", + "created", + "device_bay_count", + "device_type", + "display", + "front_port_count", + "id", + "interface_count", + "inventory_item_count", + "last_updated", + "module_bay_count", + "parent_device", + "power_outlet_count", + "power_port_count", + "primary_ip", + "rear_port_count", + "role", + "site", + "url" ] }, - "IPSecProfile": { + "DeviceBay": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -167220,43 +175805,29 @@ "type": "string", "readOnly": true }, + "device": { + "$ref": "#/components/schemas/Device" + }, "name": { "type": "string", - "maxLength": 100 + "maxLength": 64 }, - "description": { + "label": { "type": "string", - "maxLength": 200 - }, - "mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "esp", - "ah" - ], - "type": "string", - "description": "* `esp` - ESP\n* `ah` - AH", - "x-spec-enum-id": "1136c2cdfee84436" - }, - "label": { - "type": "string", - "enum": [ - "ESP", - "AH" - ] - } - } - }, - "ike_policy": { - "$ref": "#/components/schemas/NestedIKEPolicy" + "description": "Physical label", + "maxLength": 64 }, - "ipsec_policy": { - "$ref": "#/components/schemas/NestedIPSecPolicy" + "description": { + "type": "string", + "maxLength": 200 }, - "comments": { - "type": "string" + "installed_device": { + "allOf": [ + { + "$ref": "#/components/schemas/Device" + } + ], + "nullable": true }, "tags": { "type": "array", @@ -167283,46 +175854,42 @@ }, "required": [ "created", + "device", "display", "id", - "ike_policy", - "ipsec_policy", "last_updated", - "mode", "name", "url" ] }, - "IPSecProfileRequest": { + "DeviceBayRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "maxLength": 64 + }, + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 }, "description": { "type": "string", "maxLength": 200 }, - "mode": { - "enum": [ - "esp", - "ah" + "installed_device": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } ], - "type": "string", - "description": "* `esp` - ESP\n* `ah` - AH", - "x-spec-enum-id": "1136c2cdfee84436" - }, - "ike_policy": { - "$ref": "#/components/schemas/NestedIKEPolicyRequest" - }, - "ipsec_policy": { - "$ref": "#/components/schemas/NestedIPSecPolicyRequest" - }, - "comments": { - "type": "string" + "nullable": true }, "tags": { "type": "array", @@ -167336,15 +175903,13 @@ } }, "required": [ - "ike_policy", - "ipsec_policy", - "mode", + "device", "name" ] }, - "IPSecProposal": { + "DeviceBayTemplate": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -167359,103 +175924,23 @@ "type": "string", "readOnly": true }, + "device_type": { + "$ref": "#/components/schemas/DeviceType" + }, "name": { "type": "string", - "maxLength": 100 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + }, + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 }, "description": { "type": "string", "maxLength": 200 }, - "encryption_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "label": { - "type": "string", - "enum": [ - "128-bit AES (CBC)", - "128-bit AES (GCM)", - "192-bit AES (CBC)", - "192-bit AES (GCM)", - "256-bit AES (CBC)", - "256-bit AES (GCM)", - "3DES", - "DES" - ] - } - } - }, - "authentication_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" - }, - "label": { - "type": "string", - "enum": [ - "SHA-1 HMAC", - "SHA-256 HMAC", - "SHA-384 HMAC", - "SHA-512 HMAC", - "MD5 HMAC" - ] - } - } - }, - "sa_lifetime_seconds": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (seconds)", - "description": "Security association lifetime (seconds)" - }, - "sa_lifetime_data": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (KB)", - "description": "Security association lifetime (in kilobytes)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, "created": { "type": "string", "format": "date-time", @@ -167470,74 +175955,145 @@ } }, "required": [ - "authentication_algorithm", "created", + "device_type", "display", - "encryption_algorithm", "id", "last_updated", "name", "url" ] }, - "IPSecProposalRequest": { + "DeviceBayTemplateRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" + }, "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + }, + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 }, "description": { "type": "string", "maxLength": 200 + } + }, + "required": [ + "device_type", + "name" + ] + }, + "DeviceRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "nullable": true, + "maxLength": 64 }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], + "description": { "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" + "maxLength": 200 + } + } + }, + "DeviceRole": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], + "url": { "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" + "format": "uri", + "readOnly": true }, - "sa_lifetime_seconds": { + "display": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 100 + }, + "slug": { + "type": "string", + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "device_count": { "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (seconds)", - "description": "Security association lifetime (seconds)" + "format": "int64", + "readOnly": true }, - "sa_lifetime_data": { + "virtualmachine_count": { "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (KB)", - "description": "Security association lifetime (in kilobytes)" + "format": "int64", + "readOnly": true + } + }, + "required": [ + "device_count", + "display", + "id", + "name", + "slug", + "url", + "virtualmachine_count" + ] + }, + "DeviceRoleRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "comments": { - "type": "string" + "slug": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "color": { + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 + }, + "vm_role": { + "type": "boolean", + "description": "Virtual machines may be assigned to this role" + }, + "config_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 }, "tags": { "type": "array", @@ -167551,14 +176107,13 @@ } }, "required": [ - "authentication_algorithm", - "encryption_algorithm", - "name" + "name", + "slug" ] }, - "ImageAttachment": { + "DeviceType": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -167573,105 +176128,68 @@ "type": "string", "readOnly": true }, - "content_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "parent": { - "nullable": true, - "readOnly": true + "manufacturer": { + "$ref": "#/components/schemas/Manufacturer" }, - "name": { + "model": { "type": "string", - "maxLength": 50 + "maxLength": 100 }, - "image": { + "slug": { "type": "string", - "format": "uri" - }, - "image_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "image_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "created": { + "description": { "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "maxLength": 200 }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "device_count": { + "type": "integer", + "format": "int64", + "readOnly": true } }, "required": [ - "content_type", - "created", + "device_count", "display", "id", - "image", - "image_height", - "image_width", - "last_updated", - "object_id", - "parent", + "manufacturer", + "model", + "slug", "url" ] }, - "ImageAttachmentRequest": { + "DeviceTypeRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { - "content_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + "manufacturer": { + "$ref": "#/components/schemas/ManufacturerRequest" }, - "name": { + "model": { "type": "string", - "maxLength": 50 + "minLength": 1, + "maxLength": 100 }, - "image": { + "slug": { "type": "string", - "format": "binary" - }, - "image_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "image_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ - "content_type", - "image", - "image_height", - "image_width", - "object_id" + "manufacturer", + "model", + "slug" ] }, - "Interface": { + "DeviceWithConfigContext": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -167688,997 +176206,272 @@ "type": "string", "readOnly": true }, - "device": { - "$ref": "#/components/schemas/NestedDevice" - }, - "vdcs": { - "type": "array", - "items": { - "type": "integer" - } - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModule" - } - ], - "nullable": true - }, "name": { "type": "string", + "nullable": true, "maxLength": 64 }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-t", - "2.5gbase-t", - "5gbase-t", - "10gbase-t", - "10gbase-cx4", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xfp", - "10gbase-x-xenpak", - "10gbase-x-x2", - "25gbase-x-sfp28", - "50gbase-x-sfp56", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "200gbase-x-cfp2", - "400gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-sfpdd", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "400gbase-x-cdfp", - "400gbase-x-cfp8", - "800gbase-x-qsfpdd", - "800gbase-x-osfp", - "1000base-kx", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.15.1", - "other-wireless", - "gsm", - "cdma", - "lte", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "epon", - "10g-epon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" - }, - "label": { - "type": "string", - "enum": [ - "Virtual", - "Bridge", - "Link Aggregation Group (LAG)", - "100BASE-FX (10/100ME FIBER)", - "100BASE-LFX (10/100ME FIBER)", - "100BASE-TX (10/100ME)", - "100BASE-T1 (10/100ME Single Pair)", - "1000BASE-T (1GE)", - "2.5GBASE-T (2.5GE)", - "5GBASE-T (5GE)", - "10GBASE-T (10GE)", - "10GBASE-CX4 (10GE)", - "GBIC (1GE)", - "SFP (1GE)", - "SFP+ (10GE)", - "XFP (10GE)", - "XENPAK (10GE)", - "X2 (10GE)", - "SFP28 (25GE)", - "SFP56 (50GE)", - "QSFP+ (40GE)", - "QSFP28 (50GE)", - "CFP (100GE)", - "CFP2 (100GE)", - "CFP2 (200GE)", - "CFP2 (400GE)", - "CFP4 (100GE)", - "CXP (100GE)", - "Cisco CPAK (100GE)", - "DSFP (100GE)", - "SFP-DD (100GE)", - "QSFP28 (100GE)", - "QSFP-DD (100GE)", - "QSFP56 (200GE)", - "QSFP-DD (200GE)", - "QSFP112 (400GE)", - "QSFP-DD (400GE)", - "OSFP (400GE)", - "OSFP-RHS (400GE)", - "CDFP (400GE)", - "CPF8 (400GE)", - "QSFP-DD (800GE)", - "OSFP (800GE)", - "1000BASE-KX (1GE)", - "10GBASE-KR (10GE)", - "10GBASE-KX4 (10GE)", - "25GBASE-KR (25GE)", - "40GBASE-KR4 (40GE)", - "50GBASE-KR (50GE)", - "100GBASE-KP4 (100GE)", - "100GBASE-KR2 (100GE)", - "100GBASE-KR4 (100GE)", - "IEEE 802.11a", - "IEEE 802.11b/g", - "IEEE 802.11n", - "IEEE 802.11ac", - "IEEE 802.11ad", - "IEEE 802.11ax", - "IEEE 802.11ay", - "IEEE 802.15.1 (Bluetooth)", - "Other (Wireless)", - "GSM", - "CDMA", - "LTE", - "OC-3/STM-1", - "OC-12/STM-4", - "OC-48/STM-16", - "OC-192/STM-64", - "OC-768/STM-256", - "OC-1920/STM-640", - "OC-3840/STM-1234", - "SFP (1GFC)", - "SFP (2GFC)", - "SFP (4GFC)", - "SFP+ (8GFC)", - "SFP+ (16GFC)", - "SFP28 (32GFC)", - "SFP+ (32GFC)", - "QSFP+ (64GFC)", - "SFP-DD (64GFC)", - "SFP+ (64GFC)", - "QSFP28 (128GFC)", - "SDR (2 Gbps)", - "DDR (4 Gbps)", - "QDR (8 Gbps)", - "FDR10 (10 Gbps)", - "FDR (13.5 Gbps)", - "EDR (25 Gbps)", - "HDR (50 Gbps)", - "NDR (100 Gbps)", - "XDR (250 Gbps)", - "T1 (1.544 Mbps)", - "E1 (2.048 Mbps)", - "T3 (45 Mbps)", - "E3 (34 Mbps)", - "xDSL", - "DOCSIS", - "GPON (2.5 Gbps / 1.25 Gps)", - "XG-PON (10 Gbps / 2.5 Gbps)", - "XGS-PON (10 Gbps)", - "NG-PON2 (TWDM-PON) (4x10 Gbps)", - "EPON (1 Gbps)", - "10G-EPON (10 Gbps)", - "Cisco StackWise", - "Cisco StackWise Plus", - "Cisco FlexStack", - "Cisco FlexStack Plus", - "Cisco StackWise-80", - "Cisco StackWise-160", - "Cisco StackWise-320", - "Cisco StackWise-480", - "Cisco StackWise-1T", - "Juniper VCP", - "Extreme SummitStack", - "Extreme SummitStack-128", - "Extreme SummitStack-256", - "Extreme SummitStack-512", - "Other" - ] - } - } - }, - "enabled": { - "type": "boolean" + "device_type": { + "$ref": "#/components/schemas/DeviceType" }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterface" - } - ], - "nullable": true + "role": { + "$ref": "#/components/schemas/DeviceRole" }, - "bridge": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedInterface" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true }, - "lag": { + "platform": { "allOf": [ { - "$ref": "#/components/schemas/NestedInterface" + "$ref": "#/components/schemas/Platform" } ], "nullable": true }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "mac_address": { + "serial": { "type": "string", - "nullable": true - }, - "speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Speed (Kbps)" - }, - "duplex": { - "type": "object", - "properties": { - "value": { - "enum": [ - "half", - "full", - "auto", - "", - null - ], - "type": "string", - "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", - "x-spec-enum-id": "47eab9b1a65a1e21" - }, - "label": { - "type": "string", - "enum": [ - "Half", - "Full", - "Auto" - ] - } - }, - "nullable": true + "title": "Serial number", + "description": "Chassis serial number, assigned by the manufacturer", + "maxLength": 50 }, - "wwn": { + "asset_tag": { "type": "string", - "nullable": true - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only", - "description": "This interface is used only for out-of-band management" + "nullable": true, + "description": "A unique tag used to identify this device", + "maxLength": 50 }, - "description": { - "type": "string", - "maxLength": 200 + "site": { + "$ref": "#/components/schemas/Site" }, - "mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "access", - "tagged", - "tagged-all", - "" - ], - "type": "string", - "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)", - "x-spec-enum-id": "79109bd9dbb73a3c" - }, - "label": { - "type": "string", - "enum": [ - "Access", - "Tagged", - "Tagged (All)" - ] + "location": { + "allOf": [ + { + "$ref": "#/components/schemas/Location" } - } + ], + "nullable": true }, - "rf_role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "ap", - "station", - "" - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1" - }, - "label": { - "type": "string", - "enum": [ - "Access point", - "Station" - ] + "rack": { + "allOf": [ + { + "$ref": "#/components/schemas/Rack" } - } + ], + "nullable": true }, - "rf_channel": { - "type": "object", - "properties": { - "value": { - "enum": [ - "2.4g-1-2412-22", - "2.4g-2-2417-22", - "2.4g-3-2422-22", - "2.4g-4-2427-22", - "2.4g-5-2432-22", - "2.4g-6-2437-22", - "2.4g-7-2442-22", - "2.4g-8-2447-22", - "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", - "5g-100-5500-20", - "5g-102-5510-40", - "5g-104-5520-20", - "5g-106-5530-80", - "5g-108-5540-20", - "5g-110-5550-40", - "5g-112-5560-20", - "5g-114-5570-160", - "5g-116-5580-20", - "5g-118-5590-40", - "5g-120-5600-20", - "5g-122-5610-80", - "5g-124-5620-20", - "5g-126-5630-40", - "5g-128-5640-20", - "5g-132-5660-20", - "5g-134-5670-40", - "5g-136-5680-20", - "5g-138-5690-80", - "5g-140-5700-20", - "5g-142-5710-40", - "5g-144-5720-20", - "5g-149-5745-20", - "5g-151-5755-40", - "5g-153-5765-20", - "5g-155-5775-80", - "5g-157-5785-20", - "5g-159-5795-40", - "5g-161-5805-20", - "5g-163-5815-160", - "5g-165-5825-20", - "5g-167-5835-40", - "5g-169-5845-20", - "5g-171-5855-80", - "5g-173-5865-20", - "5g-175-5875-40", - "5g-177-5885-20", - "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", - "6g-101-6455-20", - "6g-103-6465-80", - "6g-105-6475-20", - "6g-107-6485-40", - "6g-109-6495-20", - "6g-111-6505-160", - "6g-113-6515-20", - "6g-115-6525-40", - "6g-117-6535-20", - "6g-119-6545-80", - "6g-121-6555-20", - "6g-123-6565-40", - "6g-125-6575-20", - "6g-129-6595-20", - "6g-131-6605-40", - "6g-133-6615-20", - "6g-135-6625-80", - "6g-137-6635-20", - "6g-139-6645-40", - "6g-141-6655-20", - "6g-143-6665-160", - "6g-145-6675-20", - "6g-147-6685-40", - "6g-149-6695-20", - "6g-151-6705-80", - "6g-153-6715-20", - "6g-155-6725-40", - "6g-157-6735-20", - "6g-159-6745-320", - "6g-161-6755-20", - "6g-163-6765-40", - "6g-165-6775-20", - "6g-167-6785-80", - "6g-169-6795-20", - "6g-171-6805-40", - "6g-173-6815-20", - "6g-175-6825-160", - "6g-177-6835-20", - "6g-179-6845-40", - "6g-181-6855-20", - "6g-183-6865-80", - "6g-185-6875-20", - "6g-187-6885-40", - "6g-189-6895-20", - "6g-193-6915-20", - "6g-195-6925-40", - "6g-197-6935-20", - "6g-199-6945-80", - "6g-201-6955-20", - "6g-203-6965-40", - "6g-205-6975-20", - "6g-207-6985-160", - "6g-209-6995-20", - "6g-211-7005-40", - "6g-213-7015-20", - "6g-215-7025-80", - "6g-217-7035-20", - "6g-219-7045-40", - "6g-221-7055-20", - "6g-225-7075-20", - "6g-227-7085-40", - "6g-229-7095-20", - "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", + "position": { + "type": "number", + "format": "double", + "maximum": 1000, + "minimum": 0.5, + "exclusiveMaximum": true, + "nullable": true, + "title": "Position (U)" + }, + "face": { + "type": "object", + "properties": { + "value": { + "enum": [ + "front", + "rear", "" ], "type": "string", - "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", - "x-spec-enum-id": "aac33cc237adc8f9" + "description": "* `front` - Front\n* `rear` - Rear", + "x-spec-enum-id": "d2fb9b3f75158b83" }, "label": { "type": "string", "enum": [ - "1 (2412 MHz)", - "2 (2417 MHz)", - "3 (2422 MHz)", - "4 (2427 MHz)", - "5 (2432 MHz)", - "6 (2437 MHz)", - "7 (2442 MHz)", - "8 (2447 MHz)", - "9 (2452 MHz)", - "10 (2457 MHz)", - "11 (2462 MHz)", - "12 (2467 MHz)", - "13 (2472 MHz)", - "32 (5160/20 MHz)", - "34 (5170/40 MHz)", - "36 (5180/20 MHz)", - "38 (5190/40 MHz)", - "40 (5200/20 MHz)", - "42 (5210/80 MHz)", - "44 (5220/20 MHz)", - "46 (5230/40 MHz)", - "48 (5240/20 MHz)", - "50 (5250/160 MHz)", - "52 (5260/20 MHz)", - "54 (5270/40 MHz)", - "56 (5280/20 MHz)", - "58 (5290/80 MHz)", - "60 (5300/20 MHz)", - "62 (5310/40 MHz)", - "64 (5320/20 MHz)", - "100 (5500/20 MHz)", - "102 (5510/40 MHz)", - "104 (5520/20 MHz)", - "106 (5530/80 MHz)", - "108 (5540/20 MHz)", - "110 (5550/40 MHz)", - "112 (5560/20 MHz)", - "114 (5570/160 MHz)", - "116 (5580/20 MHz)", - "118 (5590/40 MHz)", - "120 (5600/20 MHz)", - "122 (5610/80 MHz)", - "124 (5620/20 MHz)", - "126 (5630/40 MHz)", - "128 (5640/20 MHz)", - "132 (5660/20 MHz)", - "134 (5670/40 MHz)", - "136 (5680/20 MHz)", - "138 (5690/80 MHz)", - "140 (5700/20 MHz)", - "142 (5710/40 MHz)", - "144 (5720/20 MHz)", - "149 (5745/20 MHz)", - "151 (5755/40 MHz)", - "153 (5765/20 MHz)", - "155 (5775/80 MHz)", - "157 (5785/20 MHz)", - "159 (5795/40 MHz)", - "161 (5805/20 MHz)", - "163 (5815/160 MHz)", - "165 (5825/20 MHz)", - "167 (5835/40 MHz)", - "169 (5845/20 MHz)", - "171 (5855/80 MHz)", - "173 (5865/20 MHz)", - "175 (5875/40 MHz)", - "177 (5885/20 MHz)", - "1 (5955/20 MHz)", - "3 (5965/40 MHz)", - "5 (5975/20 MHz)", - "7 (5985/80 MHz)", - "9 (5995/20 MHz)", - "11 (6005/40 MHz)", - "13 (6015/20 MHz)", - "15 (6025/160 MHz)", - "17 (6035/20 MHz)", - "19 (6045/40 MHz)", - "21 (6055/20 MHz)", - "23 (6065/80 MHz)", - "25 (6075/20 MHz)", - "27 (6085/40 MHz)", - "29 (6095/20 MHz)", - "31 (6105/320 MHz)", - "33 (6115/20 MHz)", - "35 (6125/40 MHz)", - "37 (6135/20 MHz)", - "39 (6145/80 MHz)", - "41 (6155/20 MHz)", - "43 (6165/40 MHz)", - "45 (6175/20 MHz)", - "47 (6185/160 MHz)", - "49 (6195/20 MHz)", - "51 (6205/40 MHz)", - "53 (6215/20 MHz)", - "55 (6225/80 MHz)", - "57 (6235/20 MHz)", - "59 (6245/40 MHz)", - "61 (6255/20 MHz)", - "65 (6275/20 MHz)", - "67 (6285/40 MHz)", - "69 (6295/20 MHz)", - "71 (6305/80 MHz)", - "73 (6315/20 MHz)", - "75 (6325/40 MHz)", - "77 (6335/20 MHz)", - "79 (6345/160 MHz)", - "81 (6355/20 MHz)", - "83 (6365/40 MHz)", - "85 (6375/20 MHz)", - "87 (6385/80 MHz)", - "89 (6395/20 MHz)", - "91 (6405/40 MHz)", - "93 (6415/20 MHz)", - "95 (6425/320 MHz)", - "97 (6435/20 MHz)", - "99 (6445/40 MHz)", - "101 (6455/20 MHz)", - "103 (6465/80 MHz)", - "105 (6475/20 MHz)", - "107 (6485/40 MHz)", - "109 (6495/20 MHz)", - "111 (6505/160 MHz)", - "113 (6515/20 MHz)", - "115 (6525/40 MHz)", - "117 (6535/20 MHz)", - "119 (6545/80 MHz)", - "121 (6555/20 MHz)", - "123 (6565/40 MHz)", - "125 (6575/20 MHz)", - "129 (6595/20 MHz)", - "131 (6605/40 MHz)", - "133 (6615/20 MHz)", - "135 (6625/80 MHz)", - "137 (6635/20 MHz)", - "139 (6645/40 MHz)", - "141 (6655/20 MHz)", - "143 (6665/160 MHz)", - "145 (6675/20 MHz)", - "147 (6685/40 MHz)", - "149 (6695/20 MHz)", - "151 (6705/80 MHz)", - "153 (6715/20 MHz)", - "155 (6725/40 MHz)", - "157 (6735/20 MHz)", - "159 (6745/320 MHz)", - "161 (6755/20 MHz)", - "163 (6765/40 MHz)", - "165 (6775/20 MHz)", - "167 (6785/80 MHz)", - "169 (6795/20 MHz)", - "171 (6805/40 MHz)", - "173 (6815/20 MHz)", - "175 (6825/160 MHz)", - "177 (6835/20 MHz)", - "179 (6845/40 MHz)", - "181 (6855/20 MHz)", - "183 (6865/80 MHz)", - "185 (6875/20 MHz)", - "187 (6885/40 MHz)", - "189 (6895/20 MHz)", - "193 (6915/20 MHz)", - "195 (6925/40 MHz)", - "197 (6935/20 MHz)", - "199 (6945/80 MHz)", - "201 (6955/20 MHz)", - "203 (6965/40 MHz)", - "205 (6975/20 MHz)", - "207 (6985/160 MHz)", - "209 (6995/20 MHz)", - "211 (7005/40 MHz)", - "213 (7015/20 MHz)", - "215 (7025/80 MHz)", - "217 (7035/20 MHz)", - "219 (7045/40 MHz)", - "221 (7055/20 MHz)", - "225 (7075/20 MHz)", - "227 (7085/40 MHz)", - "229 (7095/20 MHz)", - "233 (7115/20 MHz)", - "1 (58.32/2.16 GHz)", - "2 (60.48/2.16 GHz)", - "3 (62.64/2.16 GHz)", - "4 (64.80/2.16 GHz)", - "5 (66.96/2.16 GHz)", - "6 (69.12/2.16 GHz)", - "9 (59.40/4.32 GHz)", - "10 (61.56/4.32 GHz)", - "11 (63.72/4.32 GHz)", - "12 (65.88/4.32 GHz)", - "13 (68.04/4.32 GHz)", - "17 (60.48/6.48 GHz)", - "18 (62.64/6.48 GHz)", - "19 (64.80/6.48 GHz)", - "20 (66.96/6.48 GHz)", - "25 (61.56/8.64 GHz)", - "26 (63.72/8.64 GHz)", - "27 (65.88/8.64 GHz)" + "Front", + "Rear" ] } } }, - "poe_mode": { + "latitude": { + "type": "number", + "format": "double", + "maximum": 100, + "minimum": -100, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "description": "GPS coordinate in decimal format (xx.yyyyyy)" + }, + "longitude": { + "type": "number", + "format": "double", + "maximum": 1000, + "minimum": -1000, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "description": "GPS coordinate in decimal format (xx.yyyyyy)" + }, + "parent_device": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedDevice" + } + ], + "nullable": true, + "readOnly": true + }, + "status": { "type": "object", "properties": { "value": { "enum": [ - "pd", - "pse", - "" + "offline", + "active", + "planned", + "staged", + "failed", + "inventory", + "decommissioning" ], "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd" + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", + "x-spec-enum-id": "8d8971779f16ee18" }, "label": { "type": "string", "enum": [ - "PD", - "PSE" + "Offline", + "Active", + "Planned", + "Staged", + "Failed", + "Inventory", + "Decommissioning" ] } } }, - "poe_type": { + "airflow": { "type": "object", "properties": { "value": { "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive", + "mixed", "" ], "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9" + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", + "x-spec-enum-id": "58e389e240a5e53d" }, "label": { "type": "string", "enum": [ - "802.3af (Type 1)", - "802.3at (Type 2)", - "802.3bt (Type 3)", - "802.3bt (Type 4)", - "Passive 24V (2-pair)", - "Passive 24V (4-pair)", - "Passive 48V (2-pair)", - "Passive 48V (4-pair)" + "Front to rear", + "Rear to front", + "Left to right", + "Right to left", + "Side to rear", + "Passive", + "Mixed" ] } } }, - "rf_channel_frequency": { - "type": "number", - "format": "double", - "maximum": 100000, - "minimum": -100000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel frequency (MHz)", - "description": "Populated by selected channel (if set)" - }, - "rf_channel_width": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": -10000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel width (MHz)", - "description": "Populated by selected channel (if set)" - }, - "tx_power": { - "type": "integer", - "maximum": 127, - "minimum": 0, - "nullable": true, - "title": "Transmit power (dBm)" - }, - "untagged_vlan": { + "primary_ip": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLAN" + "$ref": "#/components/schemas/IPAddress" } ], + "readOnly": true, "nullable": true }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { + "primary_ip4": { "allOf": [ { - "$ref": "#/components/schemas/NestedCable" + "$ref": "#/components/schemas/IPAddress" } ], - "readOnly": true, "nullable": true }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "wireless_link": { + "primary_ip6": { "allOf": [ { - "$ref": "#/components/schemas/NestedWirelessLink" + "$ref": "#/components/schemas/IPAddress" } ], - "readOnly": true, "nullable": true }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true - }, - "wireless_lans": { - "type": "array", - "items": { - "type": "integer" - } + "oob_ip": { + "allOf": [ + { + "$ref": "#/components/schemas/IPAddress" + } + ], + "nullable": true }, - "vrf": { + "cluster": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRF" + "$ref": "#/components/schemas/Cluster" } ], "nullable": true }, - "l2vpn_termination": { + "virtual_chassis": { "allOf": [ { - "$ref": "#/components/schemas/NestedL2VPNTermination" + "$ref": "#/components/schemas/VirtualChassis" } ], - "readOnly": true, "nullable": true }, - "connected_endpoints": { - "type": "array", - "items": {}, - "readOnly": true + "vc_position": { + "type": "integer", + "maximum": 255, + "minimum": 0, + "nullable": true }, - "connected_endpoints_type": { + "vc_priority": { + "type": "integer", + "maximum": 255, + "minimum": 0, + "nullable": true, + "description": "Virtual chassis master election priority" + }, + "description": { "type": "string", - "readOnly": true + "maxLength": 200 }, - "connected_endpoints_reachable": { - "type": "boolean", + "comments": { + "type": "string" + }, + "config_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplate" + } + ], + "nullable": true + }, + "config_context": { + "nullable": true, "readOnly": true }, + "local_context_data": { + "nullable": true, + "description": "Local config context data takes precedence over source contexts in the final rendered config context" + }, "tags": { "type": "array", "items": { @@ -168701,582 +176494,273 @@ "readOnly": true, "nullable": true }, - "count_ipaddresses": { + "console_port_count": { "type": "integer", "readOnly": true }, - "count_fhrp_groups": { + "console_server_port_count": { "type": "integer", "readOnly": true }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" + "power_port_count": { + "type": "integer", + "readOnly": true + }, + "power_outlet_count": { + "type": "integer", + "readOnly": true + }, + "interface_count": { + "type": "integer", + "readOnly": true + }, + "front_port_count": { + "type": "integer", + "readOnly": true + }, + "rear_port_count": { + "type": "integer", + "readOnly": true + }, + "device_bay_count": { + "type": "integer", + "readOnly": true + }, + "module_bay_count": { + "type": "integer", + "readOnly": true + }, + "inventory_item_count": { + "type": "integer", + "readOnly": true } }, "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "count_fhrp_groups", - "count_ipaddresses", + "config_context", + "console_port_count", + "console_server_port_count", "created", - "device", + "device_bay_count", + "device_type", "display", + "front_port_count", "id", - "l2vpn_termination", + "interface_count", + "inventory_item_count", "last_updated", - "link_peers", - "link_peers_type", - "name", - "type", - "url", - "wireless_link" + "module_bay_count", + "parent_device", + "power_outlet_count", + "power_port_count", + "primary_ip", + "rear_port_count", + "role", + "site", + "url" ] }, - "InterfaceRequest": { + "DeviceWithConfigContextRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, - "vdcs": { - "type": "array", - "items": { - "type": "integer" - } - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" - } - ], - "nullable": true - }, "name": { "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", + "nullable": true, "maxLength": 64 }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-t", - "2.5gbase-t", - "5gbase-t", - "10gbase-t", - "10gbase-cx4", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xfp", - "10gbase-x-xenpak", - "10gbase-x-x2", - "25gbase-x-sfp28", - "50gbase-x-sfp56", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "200gbase-x-cfp2", - "400gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-sfpdd", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "400gbase-x-cdfp", - "400gbase-x-cfp8", - "800gbase-x-qsfpdd", - "800gbase-x-osfp", - "1000base-kx", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.15.1", - "other-wireless", - "gsm", - "cdma", - "lte", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "epon", - "10g-epon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" - }, - "enabled": { - "type": "boolean" + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceRequest" - } - ], - "nullable": true + "role": { + "$ref": "#/components/schemas/DeviceRoleRequest" }, - "bridge": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedInterfaceRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true }, - "lag": { + "platform": { "allOf": [ { - "$ref": "#/components/schemas/NestedInterfaceRequest" + "$ref": "#/components/schemas/PlatformRequest" } ], "nullable": true }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "mac_address": { + "serial": { "type": "string", - "nullable": true + "title": "Serial number", + "description": "Chassis serial number, assigned by the manufacturer", + "maxLength": 50 }, - "speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, + "asset_tag": { + "type": "string", "nullable": true, - "title": "Speed (Kbps)" + "description": "A unique tag used to identify this device", + "maxLength": 50 }, - "duplex": { - "enum": [ - "half", - "full", - "auto", - "", - null + "site": { + "$ref": "#/components/schemas/SiteRequest" + }, + "location": { + "allOf": [ + { + "$ref": "#/components/schemas/LocationRequest" + } ], - "type": "string", - "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", - "x-spec-enum-id": "47eab9b1a65a1e21", "nullable": true }, - "wwn": { - "type": "string", + "rack": { + "allOf": [ + { + "$ref": "#/components/schemas/RackRequest" + } + ], "nullable": true }, - "mgmt_only": { - "type": "boolean", - "title": "Management only", - "description": "This interface is used only for out-of-band management" - }, - "description": { - "type": "string", - "maxLength": 200 + "position": { + "type": "number", + "format": "double", + "maximum": 1000, + "minimum": 0.5, + "exclusiveMaximum": true, + "nullable": true, + "title": "Position (U)" }, - "mode": { + "face": { "enum": [ - "access", - "tagged", - "tagged-all", + "front", + "rear", "" ], "type": "string", - "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)", - "x-spec-enum-id": "79109bd9dbb73a3c" + "description": "* `front` - Front\n* `rear` - Rear", + "x-spec-enum-id": "d2fb9b3f75158b83" }, - "rf_role": { - "enum": [ - "ap", - "station", - "" - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1" + "latitude": { + "type": "number", + "format": "double", + "maximum": 100, + "minimum": -100, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "description": "GPS coordinate in decimal format (xx.yyyyyy)" }, - "rf_channel": { - "enum": [ - "2.4g-1-2412-22", - "2.4g-2-2417-22", - "2.4g-3-2422-22", - "2.4g-4-2427-22", - "2.4g-5-2432-22", - "2.4g-6-2437-22", - "2.4g-7-2442-22", - "2.4g-8-2447-22", - "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", - "5g-100-5500-20", - "5g-102-5510-40", - "5g-104-5520-20", - "5g-106-5530-80", - "5g-108-5540-20", - "5g-110-5550-40", - "5g-112-5560-20", - "5g-114-5570-160", - "5g-116-5580-20", - "5g-118-5590-40", - "5g-120-5600-20", - "5g-122-5610-80", - "5g-124-5620-20", - "5g-126-5630-40", - "5g-128-5640-20", - "5g-132-5660-20", - "5g-134-5670-40", - "5g-136-5680-20", - "5g-138-5690-80", - "5g-140-5700-20", - "5g-142-5710-40", - "5g-144-5720-20", - "5g-149-5745-20", - "5g-151-5755-40", - "5g-153-5765-20", - "5g-155-5775-80", - "5g-157-5785-20", - "5g-159-5795-40", - "5g-161-5805-20", - "5g-163-5815-160", - "5g-165-5825-20", - "5g-167-5835-40", - "5g-169-5845-20", - "5g-171-5855-80", - "5g-173-5865-20", - "5g-175-5875-40", - "5g-177-5885-20", - "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", - "6g-101-6455-20", - "6g-103-6465-80", - "6g-105-6475-20", - "6g-107-6485-40", - "6g-109-6495-20", - "6g-111-6505-160", - "6g-113-6515-20", - "6g-115-6525-40", - "6g-117-6535-20", - "6g-119-6545-80", - "6g-121-6555-20", - "6g-123-6565-40", - "6g-125-6575-20", - "6g-129-6595-20", - "6g-131-6605-40", - "6g-133-6615-20", - "6g-135-6625-80", - "6g-137-6635-20", - "6g-139-6645-40", - "6g-141-6655-20", - "6g-143-6665-160", - "6g-145-6675-20", - "6g-147-6685-40", - "6g-149-6695-20", - "6g-151-6705-80", - "6g-153-6715-20", - "6g-155-6725-40", - "6g-157-6735-20", - "6g-159-6745-320", - "6g-161-6755-20", - "6g-163-6765-40", - "6g-165-6775-20", - "6g-167-6785-80", - "6g-169-6795-20", - "6g-171-6805-40", - "6g-173-6815-20", - "6g-175-6825-160", - "6g-177-6835-20", - "6g-179-6845-40", - "6g-181-6855-20", - "6g-183-6865-80", - "6g-185-6875-20", - "6g-187-6885-40", - "6g-189-6895-20", - "6g-193-6915-20", - "6g-195-6925-40", - "6g-197-6935-20", - "6g-199-6945-80", - "6g-201-6955-20", - "6g-203-6965-40", - "6g-205-6975-20", - "6g-207-6985-160", - "6g-209-6995-20", - "6g-211-7005-40", - "6g-213-7015-20", - "6g-215-7025-80", - "6g-217-7035-20", - "6g-219-7045-40", - "6g-221-7055-20", - "6g-225-7075-20", - "6g-227-7085-40", - "6g-229-7095-20", - "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", - "" - ], - "type": "string", - "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", - "x-spec-enum-id": "aac33cc237adc8f9" + "longitude": { + "type": "number", + "format": "double", + "maximum": 1000, + "minimum": -1000, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "description": "GPS coordinate in decimal format (xx.yyyyyy)" }, - "poe_mode": { + "status": { "enum": [ - "pd", - "pse", - "" + "offline", + "active", + "planned", + "staged", + "failed", + "inventory", + "decommissioning" ], "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd" + "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", + "x-spec-enum-id": "8d8971779f16ee18" }, - "poe_type": { + "airflow": { "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive", + "mixed", "" ], "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9" + "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive\n* `mixed` - Mixed", + "x-spec-enum-id": "58e389e240a5e53d" }, - "rf_channel_frequency": { - "type": "number", - "format": "double", - "maximum": 100000, - "minimum": -100000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel frequency (MHz)", - "description": "Populated by selected channel (if set)" + "primary_ip4": { + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, - "rf_channel_width": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": -10000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel width (MHz)", - "description": "Populated by selected channel (if set)" + "primary_ip6": { + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, - "tx_power": { - "type": "integer", - "maximum": 127, - "minimum": 0, - "nullable": true, - "title": "Transmit power (dBm)" + "oob_ip": { + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, - "untagged_vlan": { + "cluster": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLANRequest" + "$ref": "#/components/schemas/ClusterRequest" } ], "nullable": true }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } + "virtual_chassis": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualChassisRequest" + } + ], + "nullable": true }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" + "vc_position": { + "type": "integer", + "maximum": 255, + "minimum": 0, + "nullable": true }, - "wireless_lans": { - "type": "array", - "items": { - "type": "integer" - } + "vc_priority": { + "type": "integer", + "maximum": 255, + "minimum": 0, + "nullable": true, + "description": "Virtual chassis master election priority" }, - "vrf": { + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "config_template": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRFRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } ], "nullable": true }, + "local_context_data": { + "nullable": true, + "description": "Local config context data takes precedence over source contexts in the final rendered config context" + }, "tags": { "type": "array", "items": { @@ -169289,14 +176773,14 @@ } }, "required": [ - "device", - "name", - "type" + "device_type", + "role", + "site" ] }, - "InterfaceTemplate": { + "EventRule": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -169311,387 +176795,97 @@ "type": "string", "readOnly": true }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleType" - } - ], - "nullable": true + "object_types": { + "type": "array", + "items": { + "type": "string" + } }, "name": { "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "maxLength": 150 }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + "type_create": { + "type": "boolean", + "title": "On create", + "description": "Triggers when a matching object is created." }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-t", - "2.5gbase-t", - "5gbase-t", - "10gbase-t", - "10gbase-cx4", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xfp", - "10gbase-x-xenpak", - "10gbase-x-x2", - "25gbase-x-sfp28", - "50gbase-x-sfp56", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "200gbase-x-cfp2", - "400gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-sfpdd", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "400gbase-x-cdfp", - "400gbase-x-cfp8", - "800gbase-x-qsfpdd", - "800gbase-x-osfp", - "1000base-kx", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.15.1", - "other-wireless", - "gsm", - "cdma", - "lte", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "epon", - "10g-epon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" - }, - "label": { - "type": "string", - "enum": [ - "Virtual", - "Bridge", - "Link Aggregation Group (LAG)", - "100BASE-FX (10/100ME FIBER)", - "100BASE-LFX (10/100ME FIBER)", - "100BASE-TX (10/100ME)", - "100BASE-T1 (10/100ME Single Pair)", - "1000BASE-T (1GE)", - "2.5GBASE-T (2.5GE)", - "5GBASE-T (5GE)", - "10GBASE-T (10GE)", - "10GBASE-CX4 (10GE)", - "GBIC (1GE)", - "SFP (1GE)", - "SFP+ (10GE)", - "XFP (10GE)", - "XENPAK (10GE)", - "X2 (10GE)", - "SFP28 (25GE)", - "SFP56 (50GE)", - "QSFP+ (40GE)", - "QSFP28 (50GE)", - "CFP (100GE)", - "CFP2 (100GE)", - "CFP2 (200GE)", - "CFP2 (400GE)", - "CFP4 (100GE)", - "CXP (100GE)", - "Cisco CPAK (100GE)", - "DSFP (100GE)", - "SFP-DD (100GE)", - "QSFP28 (100GE)", - "QSFP-DD (100GE)", - "QSFP56 (200GE)", - "QSFP-DD (200GE)", - "QSFP112 (400GE)", - "QSFP-DD (400GE)", - "OSFP (400GE)", - "OSFP-RHS (400GE)", - "CDFP (400GE)", - "CPF8 (400GE)", - "QSFP-DD (800GE)", - "OSFP (800GE)", - "1000BASE-KX (1GE)", - "10GBASE-KR (10GE)", - "10GBASE-KX4 (10GE)", - "25GBASE-KR (25GE)", - "40GBASE-KR4 (40GE)", - "50GBASE-KR (50GE)", - "100GBASE-KP4 (100GE)", - "100GBASE-KR2 (100GE)", - "100GBASE-KR4 (100GE)", - "IEEE 802.11a", - "IEEE 802.11b/g", - "IEEE 802.11n", - "IEEE 802.11ac", - "IEEE 802.11ad", - "IEEE 802.11ax", - "IEEE 802.11ay", - "IEEE 802.15.1 (Bluetooth)", - "Other (Wireless)", - "GSM", - "CDMA", - "LTE", - "OC-3/STM-1", - "OC-12/STM-4", - "OC-48/STM-16", - "OC-192/STM-64", - "OC-768/STM-256", - "OC-1920/STM-640", - "OC-3840/STM-1234", - "SFP (1GFC)", - "SFP (2GFC)", - "SFP (4GFC)", - "SFP+ (8GFC)", - "SFP+ (16GFC)", - "SFP28 (32GFC)", - "SFP+ (32GFC)", - "QSFP+ (64GFC)", - "SFP-DD (64GFC)", - "SFP+ (64GFC)", - "QSFP28 (128GFC)", - "SDR (2 Gbps)", - "DDR (4 Gbps)", - "QDR (8 Gbps)", - "FDR10 (10 Gbps)", - "FDR (13.5 Gbps)", - "EDR (25 Gbps)", - "HDR (50 Gbps)", - "NDR (100 Gbps)", - "XDR (250 Gbps)", - "T1 (1.544 Mbps)", - "E1 (2.048 Mbps)", - "T3 (45 Mbps)", - "E3 (34 Mbps)", - "xDSL", - "DOCSIS", - "GPON (2.5 Gbps / 1.25 Gps)", - "XG-PON (10 Gbps / 2.5 Gbps)", - "XGS-PON (10 Gbps)", - "NG-PON2 (TWDM-PON) (4x10 Gbps)", - "EPON (1 Gbps)", - "10G-EPON (10 Gbps)", - "Cisco StackWise", - "Cisco StackWise Plus", - "Cisco FlexStack", - "Cisco FlexStack Plus", - "Cisco StackWise-80", - "Cisco StackWise-160", - "Cisco StackWise-320", - "Cisco StackWise-480", - "Cisco StackWise-1T", - "Juniper VCP", - "Extreme SummitStack", - "Extreme SummitStack-128", - "Extreme SummitStack-256", - "Extreme SummitStack-512", - "Other" - ] - } - } + "type_update": { + "type": "boolean", + "title": "On update", + "description": "Triggers when a matching object is updated." }, - "enabled": { - "type": "boolean" + "type_delete": { + "type": "boolean", + "title": "On delete", + "description": "Triggers when a matching object is deleted." }, - "mgmt_only": { + "type_job_start": { "type": "boolean", - "title": "Management only" + "title": "On job start", + "description": "Triggers when a job for a matching object is started." }, - "description": { - "type": "string", - "maxLength": 200 + "type_job_end": { + "type": "boolean", + "title": "On job end", + "description": "Triggers when a job for a matching object terminates." }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceTemplate" - } - ], - "nullable": true + "enabled": { + "type": "boolean" }, - "poe_mode": { + "conditions": { + "nullable": true, + "description": "A set of conditions which determine whether the event will be generated." + }, + "action_type": { "type": "object", "properties": { "value": { "enum": [ - "pd", - "pse", - "", - null + "webhook", + "script" ], "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd" + "description": "* `webhook` - Webhook\n* `script` - Script", + "x-spec-enum-id": "a08300d86473de6e" }, "label": { "type": "string", "enum": [ - "PD", - "PSE" + "Webhook", + "Script" ] } - }, + } + }, + "action_object_type": { + "type": "string" + }, + "action_object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", "nullable": true }, - "poe_type": { + "action_object": { "type": "object", - "properties": { - "value": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9" - }, - "label": { - "type": "string", - "enum": [ - "802.3af (Type 1)", - "802.3at (Type 2)", - "802.3bt (Type 3)", - "802.3bt (Type 4)", - "Passive 24V (2-pair)", - "Passive 24V (4-pair)", - "Passive 48V (2-pair)", - "Passive 48V (4-pair)" - ] - } - }, - "nullable": true + "additionalProperties": {}, + "readOnly": true }, - "rf_role": { + "description": { + "type": "string", + "maxLength": 200 + }, + "custom_fields": { "type": "object", - "properties": { - "value": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1" - }, - "label": { - "type": "string", - "enum": [ - "Access point", - "Station" - ] - } - }, - "nullable": true + "additionalProperties": {} + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } }, "created": { "type": "string", @@ -169707,239 +176901,429 @@ } }, "required": [ + "action_object", + "action_object_type", + "action_type", "created", "display", "id", "last_updated", "name", - "type", + "object_types", "url" ] }, - "InterfaceTemplateRequest": { + "EventRuleRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - } + "object_types": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 150 + }, + "type_create": { + "type": "boolean", + "title": "On create", + "description": "Triggers when a matching object is created." + }, + "type_update": { + "type": "boolean", + "title": "On update", + "description": "Triggers when a matching object is updated." + }, + "type_delete": { + "type": "boolean", + "title": "On delete", + "description": "Triggers when a matching object is deleted." + }, + "type_job_start": { + "type": "boolean", + "title": "On job start", + "description": "Triggers when a job for a matching object is started." + }, + "type_job_end": { + "type": "boolean", + "title": "On job end", + "description": "Triggers when a job for a matching object terminates." + }, + "enabled": { + "type": "boolean" + }, + "conditions": { + "nullable": true, + "description": "A set of conditions which determine whether the event will be generated." + }, + "action_type": { + "enum": [ + "webhook", + "script" ], + "type": "string", + "description": "* `webhook` - Webhook\n* `script` - Script", + "x-spec-enum-id": "a08300d86473de6e" + }, + "action_object_type": { + "type": "string" + }, + "action_object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", "nullable": true }, - "module_type": { + "description": { + "type": "string", + "maxLength": 200 + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + } + }, + "required": [ + "action_object_type", + "action_type", + "name", + "object_types" + ] + }, + "ExportTemplate": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "object_types": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string", + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "template_code": { + "type": "string", + "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." + }, + "mime_type": { + "type": "string", + "description": "Defaults to text/plain; charset=utf-8", + "maxLength": 50 + }, + "file_extension": { + "type": "string", + "description": "Extension to append to the rendered filename", + "maxLength": 15 + }, + "as_attachment": { + "type": "boolean", + "description": "Download file as attachment" + }, + "data_source": { + "$ref": "#/components/schemas/DataSource" + }, + "data_path": { + "type": "string", + "readOnly": true, + "description": "Path to remote file (relative to data source root)" + }, + "data_file": { "allOf": [ { - "$ref": "#/components/schemas/NestedModuleTypeRequest" + "$ref": "#/components/schemas/DataFile" } ], + "readOnly": true + }, + "data_synced": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true, + "title": "Date synced" + }, + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, "nullable": true + } + }, + "required": [ + "created", + "data_file", + "data_path", + "data_synced", + "display", + "id", + "last_updated", + "name", + "object_types", + "template_code", + "url" + ] + }, + "ExportTemplateRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "object_types": { + "type": "array", + "items": { + "type": "string" + } }, "name": { "type": "string", "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "maxLength": 100 }, - "label": { + "description": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "maxLength": 200 }, - "type": { + "template_code": { + "type": "string", + "minLength": 1, + "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." + }, + "mime_type": { + "type": "string", + "description": "Defaults to text/plain; charset=utf-8", + "maxLength": 50 + }, + "file_extension": { + "type": "string", + "description": "Extension to append to the rendered filename", + "maxLength": 15 + }, + "as_attachment": { + "type": "boolean", + "description": "Download file as attachment" + }, + "data_source": { + "$ref": "#/components/schemas/DataSourceRequest" + } + }, + "required": [ + "name", + "object_types", + "template_code" + ] + }, + "FHRPGroup": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "protocol": { "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-t", - "2.5gbase-t", - "5gbase-t", - "10gbase-t", - "10gbase-cx4", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xfp", - "10gbase-x-xenpak", - "10gbase-x-x2", - "25gbase-x-sfp28", - "50gbase-x-sfp56", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "200gbase-x-cfp2", - "400gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-sfpdd", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "400gbase-x-cdfp", - "400gbase-x-cfp8", - "800gbase-x-qsfpdd", - "800gbase-x-osfp", - "1000base-kx", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.15.1", - "other-wireless", - "gsm", - "cdma", - "lte", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "epon", - "10g-epon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", + "vrrp2", + "vrrp3", + "carp", + "clusterxl", + "hsrp", + "glbp", "other" ], "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" - }, - "enabled": { - "type": "boolean" + "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", + "x-spec-enum-id": "40dc831c689b4b78" }, - "mgmt_only": { - "type": "boolean", - "title": "Management only" + "group_id": { + "type": "integer", + "maximum": 32767, + "minimum": 0 }, "description": { "type": "string", "maxLength": 200 + } + }, + "required": [ + "display", + "group_id", + "id", + "protocol", + "url" + ] + }, + "FHRPGroupAssignment": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceTemplateRequest" - } - ], - "nullable": true + "url": { + "type": "string", + "format": "uri", + "readOnly": true }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "", - null - ], + "display": { "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd", + "readOnly": true + }, + "group": { + "$ref": "#/components/schemas/FHRPGroup" + }, + "interface_type": { + "type": "string" + }, + "interface_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "interface": { + "nullable": true, + "readOnly": true + }, + "priority": { + "type": "integer", + "maximum": 255, + "minimum": 0 + }, + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, "nullable": true }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], + "last_updated": { "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9", + "format": "date-time", + "readOnly": true, "nullable": true + } + }, + "required": [ + "created", + "display", + "group", + "id", + "interface", + "interface_id", + "interface_type", + "last_updated", + "priority", + "url" + ] + }, + "FHRPGroupAssignmentRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "group": { + "$ref": "#/components/schemas/FHRPGroupRequest" }, - "rf_role": { + "interface_type": { + "type": "string" + }, + "interface_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "priority": { + "type": "integer", + "maximum": 255, + "minimum": 0 + } + }, + "required": [ + "group", + "interface_id", + "interface_type", + "priority" + ] + }, + "FHRPGroupRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "protocol": { "enum": [ - "ap", - "station", - "", - null + "vrrp2", + "vrrp3", + "carp", + "clusterxl", + "hsrp", + "glbp", + "other" ], "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true + "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", + "x-spec-enum-id": "40dc831c689b4b78" + }, + "group_id": { + "type": "integer", + "maximum": 32767, + "minimum": 0 + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ - "name", - "type" + "group_id", + "protocol" ] }, - "InventoryItem": { + "FrontPort": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -169957,10 +177341,14 @@ "readOnly": true }, "device": { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" }, - "parent": { - "type": "integer", + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/Module" + } + ], "nullable": true }, "name": { @@ -169972,61 +177360,164 @@ "description": "Physical label", "maxLength": 64 }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInventoryItemRole" - } - ], - "nullable": true - }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedManufacturer" + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "8p8c", + "8p6c", + "8p4c", + "8p2c", + "6p6c", + "6p4c", + "6p2c", + "4p4c", + "4p2c", + "gg45", + "tera-4p", + "tera-2p", + "tera-1p", + "110-punch", + "bnc", + "f", + "n", + "mrj21", + "fc", + "lc", + "lc-pc", + "lc-upc", + "lc-apc", + "lsh", + "lsh-pc", + "lsh-upc", + "lsh-apc", + "lx5", + "lx5-pc", + "lx5-upc", + "lx5-apc", + "mpo", + "mtrj", + "sc", + "sc-pc", + "sc-upc", + "sc-apc", + "st", + "cs", + "sn", + "sma-905", + "sma-906", + "urm-p2", + "urm-p4", + "urm-p8", + "splice", + "other" + ], + "type": "string", + "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", + "x-spec-enum-id": "0276d1110ada597a" + }, + "label": { + "type": "string", + "enum": [ + "8P8C", + "8P6C", + "8P4C", + "8P2C", + "6P6C", + "6P4C", + "6P2C", + "4P4C", + "4P2C", + "GG45", + "TERA 4P", + "TERA 2P", + "TERA 1P", + "110 Punch", + "BNC", + "F Connector", + "N Connector", + "MRJ21", + "FC", + "LC", + "LC/PC", + "LC/UPC", + "LC/APC", + "LSH", + "LSH/PC", + "LSH/UPC", + "LSH/APC", + "LX.5", + "LX.5/PC", + "LX.5/UPC", + "LX.5/APC", + "MPO", + "MTRJ", + "SC", + "SC/PC", + "SC/UPC", + "SC/APC", + "ST", + "CS", + "SN", + "SMA 905", + "SMA 906", + "URM-P2", + "URM-P4", + "URM-P8", + "Splice", + "Other" + ] } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 + } }, - "serial": { + "color": { "type": "string", - "title": "Serial number", - "maxLength": 50 + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 + "rear_port": { + "$ref": "#/components/schemas/FrontPortRearPort" }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" + "rear_port_position": { + "type": "integer", + "maximum": 1024, + "minimum": 1, + "default": 1, + "description": "Mapped position on corresponding rear port" }, "description": { "type": "string", "maxLength": 200 }, - "component_type": { - "type": "string", - "nullable": true + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", + "cable": { + "allOf": [ + { + "$ref": "#/components/schemas/Cable" + } + ], + "readOnly": true, "nullable": true }, - "component": { - "nullable": true, + "cable_end": { + "type": "string", + "readOnly": true + }, + "link_peers": { + "type": "array", + "items": {}, "readOnly": true }, + "link_peers_type": { + "type": "string", + "description": "Return the type of the peer link terminations, or None.", + "readOnly": true, + "nullable": true + }, "tags": { "type": "array", "items": { @@ -170049,38 +177540,48 @@ "readOnly": true, "nullable": true }, - "_depth": { - "type": "integer", + "_occupied": { + "type": "boolean", "readOnly": true, - "title": " depth" + "title": " occupied" } }, "required": [ - "_depth", - "component", + "_occupied", + "cable", + "cable_end", "created", "device", "display", "id", "last_updated", + "link_peers", + "link_peers_type", "name", + "rear_port", + "type", "url" ] }, - "InventoryItemRequest": { + "FrontPortRearPort": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device)", "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, - "parent": { + "id": { "type": "integer", - "nullable": true + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true }, "name": { "type": "string", - "minLength": 1, "maxLength": 64 }, "label": { @@ -170088,171 +177589,143 @@ "description": "Physical label", "maxLength": 64 }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInventoryItemRoleRequest" - } - ], - "nullable": true - }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedManufacturerRequest" - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, "description": { "type": "string", "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "device", - "name" + "display", + "id", + "name", + "url" ] }, - "InventoryItemRole": { + "FrontPortRearPortRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device)", "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, "name": { "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "minLength": 1, + "maxLength": 64 }, - "color": { + "label": { "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + "description": "Physical label", + "maxLength": 64 }, "description": { "type": "string", "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "inventoryitem_count": { - "type": "integer", - "readOnly": true } }, "required": [ - "created", - "display", - "id", - "inventoryitem_count", - "last_updated", - "name", - "slug", - "url" + "name" ] }, - "InventoryItemRoleRequest": { + "FrontPortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], + "nullable": true + }, "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "maxLength": 64 }, - "slug": { + "label": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "description": "Physical label", + "maxLength": 64 + }, + "type": { + "enum": [ + "8p8c", + "8p6c", + "8p4c", + "8p2c", + "6p6c", + "6p4c", + "6p2c", + "4p4c", + "4p2c", + "gg45", + "tera-4p", + "tera-2p", + "tera-1p", + "110-punch", + "bnc", + "f", + "n", + "mrj21", + "fc", + "lc", + "lc-pc", + "lc-upc", + "lc-apc", + "lsh", + "lsh-pc", + "lsh-upc", + "lsh-apc", + "lx5", + "lx5-pc", + "lx5-upc", + "lx5-apc", + "mpo", + "mtrj", + "sc", + "sc-pc", + "sc-upc", + "sc-apc", + "st", + "cs", + "sn", + "sma-905", + "sma-906", + "urm-p2", + "urm-p4", + "urm-p8", + "splice", + "other" + ], + "type": "string", + "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", + "x-spec-enum-id": "0276d1110ada597a" }, "color": { "type": "string", - "minLength": 1, "pattern": "^[0-9a-f]{6}$", "maxLength": 6 }, + "rear_port": { + "$ref": "#/components/schemas/FrontPortRearPortRequest" + }, + "rear_port_position": { + "type": "integer", + "maximum": 1024, + "minimum": 1, + "default": 1, + "description": "Mapped position on corresponding rear port" + }, "description": { "type": "string", "maxLength": 200 }, + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" + }, "tags": { "type": "array", "items": { @@ -170265,11 +177738,13 @@ } }, "required": [ + "device", "name", - "slug" + "rear_port", + "type" ] }, - "InventoryItemTemplate": { + "FrontPortTemplate": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { @@ -170287,61 +177762,159 @@ "readOnly": true }, "device_type": { - "$ref": "#/components/schemas/NestedDeviceType" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedInventoryItemRole" + "$ref": "#/components/schemas/DeviceType" } ], "nullable": true }, - "manufacturer": { + "module_type": { "allOf": [ { - "$ref": "#/components/schemas/NestedManufacturer" + "$ref": "#/components/schemas/ModuleType" } ], "nullable": true }, - "part_id": { + "name": { "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "description": { + "label": { "type": "string", - "maxLength": 200 + "description": "Physical label", + "maxLength": 64 }, - "component_type": { + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "8p8c", + "8p6c", + "8p4c", + "8p2c", + "6p6c", + "6p4c", + "6p2c", + "4p4c", + "4p2c", + "gg45", + "tera-4p", + "tera-2p", + "tera-1p", + "110-punch", + "bnc", + "f", + "n", + "mrj21", + "fc", + "lc", + "lc-pc", + "lc-upc", + "lc-apc", + "lsh", + "lsh-pc", + "lsh-upc", + "lsh-apc", + "lx5", + "lx5-pc", + "lx5-upc", + "lx5-apc", + "mpo", + "mtrj", + "sc", + "sc-pc", + "sc-upc", + "sc-apc", + "st", + "cs", + "sn", + "sma-905", + "sma-906", + "urm-p2", + "urm-p4", + "urm-p8", + "splice", + "other" + ], + "type": "string", + "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", + "x-spec-enum-id": "0276d1110ada597a" + }, + "label": { + "type": "string", + "enum": [ + "8P8C", + "8P6C", + "8P4C", + "8P2C", + "6P6C", + "6P4C", + "6P2C", + "4P4C", + "4P2C", + "GG45", + "TERA 4P", + "TERA 2P", + "TERA 1P", + "110 Punch", + "BNC", + "F Connector", + "N Connector", + "MRJ21", + "FC", + "LC", + "LC/PC", + "LC/UPC", + "LC/APC", + "LSH", + "LSH/PC", + "LSH/UPC", + "LSH/APC", + "LX.5", + "LX.5/PC", + "LX.5/UPC", + "LX.5/APC", + "MPO", + "MTRJ", + "SC", + "SC/PC", + "SC/UPC", + "SC/APC", + "ST", + "CS", + "SN", + "SMA 905", + "SMA 906", + "URM-P2", + "URM-P4", + "URM-P8", + "Splice", + "Other" + ] + } + } + }, + "color": { "type": "string", - "nullable": true + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, - "component_id": { + "rear_port": { + "$ref": "#/components/schemas/RearPortTemplate" + }, + "rear_port_position": { "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true + "maximum": 1024, + "minimum": 1, + "default": 1 }, - "component": { - "nullable": true, - "readOnly": true + "description": { + "type": "string", + "maxLength": 200 }, "created": { "type": "string", @@ -170354,34 +177927,37 @@ "format": "date-time", "readOnly": true, "nullable": true - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" } }, "required": [ - "_depth", - "component", "created", - "device_type", "display", "id", "last_updated", "name", + "rear_port", + "type", "url" ] }, - "InventoryItemTemplateRequest": { + "FrontPortTemplateRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], + "nullable": true }, - "parent": { - "type": "integer", + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -170395,50 +177971,104 @@ "description": "Physical label", "maxLength": 64 }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInventoryItemRoleRequest" - } - ], - "nullable": true - }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedManufacturerRequest" - } + "type": { + "enum": [ + "8p8c", + "8p6c", + "8p4c", + "8p2c", + "6p6c", + "6p4c", + "6p2c", + "4p4c", + "4p2c", + "gg45", + "tera-4p", + "tera-2p", + "tera-1p", + "110-punch", + "bnc", + "f", + "n", + "mrj21", + "fc", + "lc", + "lc-pc", + "lc-upc", + "lc-apc", + "lsh", + "lsh-pc", + "lsh-upc", + "lsh-apc", + "lx5", + "lx5-pc", + "lx5-upc", + "lx5-apc", + "mpo", + "mtrj", + "sc", + "sc-pc", + "sc-upc", + "sc-apc", + "st", + "cs", + "sn", + "sma-905", + "sma-906", + "urm-p2", + "urm-p4", + "urm-p8", + "splice", + "other" ], - "nullable": true + "type": "string", + "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", + "x-spec-enum-id": "0276d1110ada597a" }, - "part_id": { + "color": { "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 + }, + "rear_port": { + "$ref": "#/components/schemas/RearPortTemplateRequest" + }, + "rear_port_position": { + "type": "integer", + "maximum": 1024, + "minimum": 1, + "default": 1 }, "description": { "type": "string", "maxLength": 200 + } + }, + "required": [ + "name", + "rear_port", + "type" + ] + }, + "GenericObjectRequest": { + "type": "object", + "description": "Minimal representation of some generic object identified by ContentType and PK.", + "properties": { + "object_type": { + "type": "string" }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true + "object_id": { + "type": "integer" } }, "required": [ - "device_type", - "name" + "object_id", + "object_type" ] }, - "Job": { + "Group": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -170453,112 +178083,58 @@ "type": "string", "readOnly": true }, - "object_type": { - "type": "string", - "readOnly": true - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, "name": { "type": "string", - "maxLength": 200 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "pending", - "scheduled", - "running", - "completed", - "errored", - "failed" - ], - "type": "string", - "description": "* `pending` - Pending\n* `scheduled` - Scheduled\n* `running` - Running\n* `completed` - Completed\n* `errored` - Errored\n* `failed` - Failed", - "x-spec-enum-id": "e33887d83efcc138" - }, - "label": { - "type": "string", - "enum": [ - "Pending", - "Scheduled", - "Running", - "Completed", - "Errored", - "Failed" - ] - } - }, - "readOnly": true + "maxLength": 150 }, - "created": { + "description": { "type": "string", - "format": "date-time", - "readOnly": true + "maxLength": 200 }, - "scheduled": { - "type": "string", - "format": "date-time", - "nullable": true + "permissions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ObjectPermission" + } }, - "interval": { + "user_count": { "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Recurrence interval (in minutes)" - }, - "started": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "completed": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "user": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedUser" - } - ], - "readOnly": true - }, - "data": { - "nullable": true - }, - "error": { - "type": "string", "readOnly": true - }, - "job_id": { - "type": "string", - "format": "uuid" } }, "required": [ - "created", "display", - "error", "id", - "job_id", "name", - "object_type", - "status", "url", - "user" + "user_count" ] }, - "JournalEntry": { + "GroupRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 150 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "permissions": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name" + ] + }, + "IKEPolicy": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -170575,54 +178151,66 @@ "type": "string", "readOnly": true }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "assigned_object": { - "nullable": true, - "readOnly": true + "name": { + "type": "string", + "maxLength": 100 }, - "created": { + "description": { "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "maxLength": 200 }, - "created_by": { - "type": "integer", - "nullable": true + "version": { + "type": "object", + "properties": { + "value": { + "enum": [ + 1, + 2 + ], + "type": "integer", + "description": "* `1` - IKEv1\n* `2` - IKEv2", + "x-spec-enum-id": "00872b77916a1fde" + }, + "label": { + "type": "string", + "enum": [ + "IKEv1", + "IKEv2" + ] + } + } }, - "kind": { + "mode": { "type": "object", "properties": { "value": { "enum": [ - "info", - "success", - "warning", - "danger" + "aggressive", + "main" ], "type": "string", - "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", - "x-spec-enum-id": "a21af280f632fa34" + "description": "* `aggressive` - Aggressive\n* `main` - Main", + "x-spec-enum-id": "64c1be7bdb2548ca" }, "label": { "type": "string", "enum": [ - "Info", - "Success", - "Warning", - "Danger" + "Aggressive", + "Main" ] } } }, + "proposals": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IKEProposal" + } + }, + "preshared_key": { + "type": "string", + "title": "Pre-shared key" + }, "comments": { "type": "string" }, @@ -170636,6 +178224,12 @@ "type": "object", "additionalProperties": {} }, + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + }, "last_updated": { "type": "string", "format": "date-time", @@ -170644,48 +178238,58 @@ } }, "required": [ - "assigned_object", - "assigned_object_id", - "assigned_object_type", - "comments", "created", "display", "id", "last_updated", - "url" + "name", + "url", + "version" ] }, - "JournalEntryRequest": { + "IKEPolicyRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "assigned_object_type": { - "type": "string" + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + "description": { + "type": "string", + "maxLength": 200 }, - "created_by": { + "version": { + "enum": [ + 1, + 2 + ], "type": "integer", - "nullable": true + "description": "* `1` - IKEv1\n* `2` - IKEv2", + "x-spec-enum-id": "00872b77916a1fde" }, - "kind": { + "mode": { "enum": [ - "info", - "success", - "warning", - "danger" + "aggressive", + "main" ], "type": "string", - "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", - "x-spec-enum-id": "a21af280f632fa34" + "description": "* `aggressive` - Aggressive\n* `main` - Main", + "x-spec-enum-id": "64c1be7bdb2548ca" }, - "comments": { + "proposals": { + "type": "array", + "items": { + "type": "integer" + } + }, + "preshared_key": { "type": "string", - "minLength": 1 + "title": "Pre-shared key" + }, + "comments": { + "type": "string" }, "tags": { "type": "array", @@ -170699,12 +178303,11 @@ } }, "required": [ - "assigned_object_id", - "assigned_object_type", - "comments" + "name", + "version" ] }, - "L2VPN": { + "IKEProposal": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -170721,90 +178324,174 @@ "type": "string", "readOnly": true }, - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, "name": { "type": "string", "maxLength": 100 }, - "slug": { + "description": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "maxLength": 200 + }, + "authentication_method": { + "type": "object", + "properties": { + "value": { + "enum": [ + "preshared-keys", + "certificates", + "rsa-signatures", + "dsa-signatures" + ], + "type": "string", + "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", + "x-spec-enum-id": "92bb2f1103b3a262" + }, + "label": { + "type": "string", + "enum": [ + "Pre-shared keys", + "Certificates", + "RSA signatures", + "DSA signatures" + ] + } + } }, - "type": { + "encryption_algorithm": { "type": "object", "properties": { "value": { "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree" + "aes-128-cbc", + "aes-128-gcm", + "aes-192-cbc", + "aes-192-gcm", + "aes-256-cbc", + "aes-256-gcm", + "3des-cbc", + "des-cbc" ], "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree", - "x-spec-enum-id": "dbaa4f996ec2d110" + "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", + "x-spec-enum-id": "b022535cfdee79fe" }, "label": { "type": "string", "enum": [ - "VPWS", - "VPLS", - "VXLAN", - "VXLAN-EVPN", - "MPLS EVPN", - "PBB EVPN", - "EPL", - "EVPL", - "Ethernet Private LAN", - "Ethernet Virtual Private LAN", - "Ethernet Private Tree", - "Ethernet Virtual Private Tree" + "128-bit AES (CBC)", + "128-bit AES (GCM)", + "192-bit AES (CBC)", + "192-bit AES (GCM)", + "256-bit AES (CBC)", + "256-bit AES (GCM)", + "3DES", + "DES" ] } } }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" + "authentication_algorithm": { + "type": "object", + "properties": { + "value": { + "enum": [ + "hmac-sha1", + "hmac-sha256", + "hmac-sha384", + "hmac-sha512", + "hmac-md5" + ], + "type": "string", + "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", + "x-spec-enum-id": "0830e8839f5dea4f" + }, + "label": { + "type": "string", + "enum": [ + "SHA-1 HMAC", + "SHA-256 HMAC", + "SHA-384 HMAC", + "SHA-512 HMAC", + "MD5 HMAC" + ] + } } }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" + "group": { + "type": "object", + "properties": { + "value": { + "enum": [ + 1, + 2, + 5, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "type": "integer", + "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", + "x-spec-enum-id": "dbef43be795462a8" + }, + "label": { + "type": "string", + "enum": [ + "Group 1", + "Group 2", + "Group 5", + "Group 14", + "Group 15", + "Group 16", + "Group 17", + "Group 18", + "Group 19", + "Group 20", + "Group 21", + "Group 22", + "Group 23", + "Group 24", + "Group 25", + "Group 26", + "Group 27", + "Group 28", + "Group 29", + "Group 30", + "Group 31", + "Group 32", + "Group 33", + "Group 34" + ] + } } }, - "description": { - "type": "string", - "maxLength": 200 + "sa_lifetime": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "description": "Security association lifetime (in seconds)" }, "comments": { "type": "string" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, "tags": { "type": "array", "items": { @@ -170829,83 +178516,109 @@ } }, "required": [ + "authentication_method", "created", "display", + "encryption_algorithm", + "group", "id", "last_updated", "name", - "slug", "url" ] }, - "L2VPNRequest": { + "IKEProposalRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, - "slug": { + "description": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "maxLength": 200 }, - "type": { + "authentication_method": { "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree" + "preshared-keys", + "certificates", + "rsa-signatures", + "dsa-signatures" ], "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree", - "x-spec-enum-id": "dbaa4f996ec2d110" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } + "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", + "x-spec-enum-id": "92bb2f1103b3a262" }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } + "encryption_algorithm": { + "enum": [ + "aes-128-cbc", + "aes-128-gcm", + "aes-192-cbc", + "aes-192-gcm", + "aes-256-cbc", + "aes-256-gcm", + "3des-cbc", + "des-cbc" + ], + "type": "string", + "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", + "x-spec-enum-id": "b022535cfdee79fe" }, - "description": { + "authentication_algorithm": { + "enum": [ + "hmac-sha1", + "hmac-sha256", + "hmac-sha384", + "hmac-sha512", + "hmac-md5" + ], "type": "string", - "maxLength": 200 + "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", + "x-spec-enum-id": "0830e8839f5dea4f" + }, + "group": { + "enum": [ + 1, + 2, + 5, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "type": "integer", + "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", + "x-spec-enum-id": "dbef43be795462a8" + }, + "sa_lifetime": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "description": "Security association lifetime (in seconds)" }, "comments": { "type": "string" }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, "tags": { "type": "array", "items": { @@ -170918,11 +178631,13 @@ } }, "required": [ - "name", - "slug" + "authentication_method", + "encryption_algorithm", + "group", + "name" ] }, - "L2VPNTermination": { + "IPAddress": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -170939,93 +178654,64 @@ "type": "string", "readOnly": true }, - "l2vpn": { - "$ref": "#/components/schemas/NestedL2VPN" - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "assigned_object": { - "nullable": true, - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { + "family": { "type": "object", - "additionalProperties": {} + "properties": { + "value": { + "enum": [ + 4, + 6 + ], + "type": "integer", + "description": "* `4` - IPv4\n* `6` - IPv6", + "x-spec-enum-id": "d72003fd1af3603d" + }, + "label": { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + } + }, + "readOnly": true }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "address": { + "type": "string" }, - "last_updated": { + "description": { "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "maxLength": 200 } }, "required": [ - "assigned_object", - "assigned_object_id", - "assigned_object_type", - "created", + "address", "display", + "family", "id", - "l2vpn", - "last_updated", "url" ] }, - "L2VPNTerminationRequest": { + "IPAddressRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "l2vpn": { - "$ref": "#/components/schemas/NestedL2VPNRequest" - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } + "address": { + "type": "string", + "minLength": 1 }, - "custom_fields": { - "type": "object", - "additionalProperties": {} + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ - "assigned_object_id", - "assigned_object_type", - "l2vpn" + "address" ] }, - "Location": { + "IPRange": { "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -171040,22 +178726,50 @@ "type": "string", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 100 + "family": { + "type": "object", + "properties": { + "value": { + "enum": [ + 4, + 6 + ], + "type": "integer", + "description": "* `4` - IPv4\n* `6` - IPv6", + "x-spec-enum-id": "d72003fd1af3603d" + }, + "label": { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + } + }, + "readOnly": true }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "start_address": { + "type": "string" }, - "site": { - "$ref": "#/components/schemas/NestedSite" + "end_address": { + "type": "string" }, - "parent": { + "size": { + "type": "integer", + "readOnly": true + }, + "vrf": { + "allOf": [ + { + "$ref": "#/components/schemas/VRF" + } + ], + "nullable": true + }, + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedLocation" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -171065,32 +178779,28 @@ "properties": { "value": { "enum": [ - "planned", - "staging", "active", - "decommissioning", - "retired" + "reserved", + "deprecated" ], "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" + "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", + "x-spec-enum-id": "6388dfb94ca1cc15" }, "label": { "type": "string", "enum": [ - "Planned", - "Staging", "Active", - "Decommissioning", - "Retired" + "Reserved", + "Deprecated" ] } } }, - "tenant": { + "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Role" } ], "nullable": true @@ -171099,6 +178809,9 @@ "type": "string", "maxLength": 200 }, + "comments": { + "type": "string" + }, "tags": { "type": "array", "items": { @@ -171121,76 +178834,65 @@ "readOnly": true, "nullable": true }, - "rack_count": { - "type": "integer", - "readOnly": true - }, - "device_count": { - "type": "integer", - "readOnly": true - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" + "mark_utilized": { + "type": "boolean", + "description": "Treat as fully utilized" } }, "required": [ - "_depth", "created", - "device_count", "display", + "end_address", + "family", "id", "last_updated", - "name", - "rack_count", - "site", - "slug", + "size", + "start_address", "url" ] }, - "LocationRequest": { + "IPRangeRequest": { "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", + "description": "Adds support for custom fields and tags.", "properties": { - "name": { + "start_address": { "type": "string", - "minLength": 1, - "maxLength": 100 + "minLength": 1 }, - "slug": { + "end_address": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "minLength": 1 }, - "site": { - "$ref": "#/components/schemas/NestedSiteRequest" + "vrf": { + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], + "nullable": true }, - "parent": { + "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedLocationRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true }, "status": { "enum": [ - "planned", - "staging", "active", - "decommissioning", - "retired" + "reserved", + "deprecated" ], "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" + "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", + "x-spec-enum-id": "6388dfb94ca1cc15" }, - "tenant": { + "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/RoleRequest" } ], "nullable": true @@ -171199,6 +178901,9 @@ "type": "string", "maxLength": 200 }, + "comments": { + "type": "string" + }, "tags": { "type": "array", "items": { @@ -171208,15 +178913,18 @@ "custom_fields": { "type": "object", "additionalProperties": {} + }, + "mark_utilized": { + "type": "boolean", + "description": "Treat as fully utilized" } }, "required": [ - "name", - "site", - "slug" + "end_address", + "start_address" ] }, - "Manufacturer": { + "IPSecPolicy": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -171237,15 +178945,84 @@ "type": "string", "maxLength": 100 }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, "description": { "type": "string", "maxLength": 200 }, + "proposals": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IPSecProposal" + } + }, + "pfs_group": { + "type": "object", + "properties": { + "value": { + "enum": [ + 1, + 2, + 5, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "type": "integer", + "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", + "x-spec-enum-id": "dbef43be795462a8" + }, + "label": { + "type": "string", + "enum": [ + "Group 1", + "Group 2", + "Group 5", + "Group 14", + "Group 15", + "Group 16", + "Group 17", + "Group 18", + "Group 19", + "Group 20", + "Group 21", + "Group 22", + "Group 23", + "Group 24", + "Group 25", + "Group 26", + "Group 27", + "Group 28", + "Group 29", + "Group 30", + "Group 31", + "Group 32", + "Group 33", + "Group 34" + ] + } + } + }, + "comments": { + "type": "string" + }, "tags": { "type": "array", "items": { @@ -171267,34 +179044,18 @@ "format": "date-time", "readOnly": true, "nullable": true - }, - "devicetype_count": { - "type": "integer", - "readOnly": true - }, - "inventoryitem_count": { - "type": "integer", - "readOnly": true - }, - "platform_count": { - "type": "integer", - "readOnly": true } }, "required": [ "created", - "devicetype_count", "display", "id", - "inventoryitem_count", "last_updated", "name", - "platform_count", - "slug", "url" ] }, - "ManufacturerRequest": { + "IPSecPolicyRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -171303,16 +179064,50 @@ "minLength": 1, "maxLength": 100 }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, "description": { "type": "string", "maxLength": 200 }, + "proposals": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pfs_group": { + "enum": [ + 1, + 2, + 5, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "type": "integer", + "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", + "x-spec-enum-id": "dbef43be795462a8" + }, + "comments": { + "type": "string" + }, "tags": { "type": "array", "items": { @@ -171325,11 +179120,10 @@ } }, "required": [ - "name", - "slug" + "name" ] }, - "Module": { + "IPSecProfile": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -171346,58 +179140,40 @@ "type": "string", "readOnly": true }, - "device": { - "$ref": "#/components/schemas/NestedDevice" - }, - "module_bay": { - "$ref": "#/components/schemas/NestedModuleBay" + "name": { + "type": "string", + "maxLength": 100 }, - "module_type": { - "$ref": "#/components/schemas/NestedModuleType" + "description": { + "type": "string", + "maxLength": 200 }, - "status": { + "mode": { "type": "object", "properties": { "value": { "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" + "esp", + "ah" ], "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" + "description": "* `esp` - ESP\n* `ah` - AH", + "x-spec-enum-id": "1136c2cdfee84436" }, "label": { "type": "string", "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Decommissioning" + "ESP", + "AH" ] } } }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 + "ike_policy": { + "$ref": "#/components/schemas/IKEPolicy" }, - "description": { - "type": "string", - "maxLength": 200 + "ipsec_policy": { + "$ref": "#/components/schemas/IPSecPolicy" }, "comments": { "type": "string" @@ -171427,16 +179203,66 @@ }, "required": [ "created", - "device", "display", "id", + "ike_policy", + "ipsec_policy", "last_updated", - "module_bay", - "module_type", + "mode", + "name", "url" ] }, - "ModuleBay": { + "IPSecProfileRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "mode": { + "enum": [ + "esp", + "ah" + ], + "type": "string", + "description": "* `esp` - ESP\n* `ah` - AH", + "x-spec-enum-id": "1136c2cdfee84436" + }, + "ike_policy": { + "$ref": "#/components/schemas/IKEPolicyRequest" + }, + "ipsec_policy": { + "$ref": "#/components/schemas/IPSecPolicyRequest" + }, + "comments": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + }, + "required": [ + "ike_policy", + "ipsec_policy", + "mode", + "name" + ] + }, + "IPSecProposal": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -171453,34 +179279,92 @@ "type": "string", "readOnly": true }, - "device": { - "$ref": "#/components/schemas/NestedDevice" - }, "name": { "type": "string", - "maxLength": 64 + "maxLength": 100 }, - "installed_module": { - "allOf": [ - { - "$ref": "#/components/schemas/ModuleBayNestedModule" + "description": { + "type": "string", + "maxLength": 200 + }, + "encryption_algorithm": { + "type": "object", + "properties": { + "value": { + "enum": [ + "aes-128-cbc", + "aes-128-gcm", + "aes-192-cbc", + "aes-192-gcm", + "aes-256-cbc", + "aes-256-gcm", + "3des-cbc", + "des-cbc" + ], + "type": "string", + "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", + "x-spec-enum-id": "b022535cfdee79fe" + }, + "label": { + "type": "string", + "enum": [ + "128-bit AES (CBC)", + "128-bit AES (GCM)", + "192-bit AES (CBC)", + "192-bit AES (GCM)", + "256-bit AES (CBC)", + "256-bit AES (GCM)", + "3DES", + "DES" + ] } - ], - "nullable": true + } }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + "authentication_algorithm": { + "type": "object", + "properties": { + "value": { + "enum": [ + "hmac-sha1", + "hmac-sha256", + "hmac-sha384", + "hmac-sha512", + "hmac-md5" + ], + "type": "string", + "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", + "x-spec-enum-id": "0830e8839f5dea4f" + }, + "label": { + "type": "string", + "enum": [ + "SHA-1 HMAC", + "SHA-256 HMAC", + "SHA-384 HMAC", + "SHA-512 HMAC", + "MD5 HMAC" + ] + } + } }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 + "sa_lifetime_seconds": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "SA lifetime (seconds)", + "description": "Security association lifetime (seconds)" }, - "description": { - "type": "string", - "maxLength": 200 + "sa_lifetime_data": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "SA lifetime (KB)", + "description": "Security association lifetime (in kilobytes)" + }, + "comments": { + "type": "string" }, "tags": { "type": "array", @@ -171506,88 +179390,74 @@ } }, "required": [ + "authentication_algorithm", "created", - "device", "display", + "encryption_algorithm", "id", "last_updated", "name", "url" ] }, - "ModuleBayNestedModule": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - } - }, - "required": [ - "display", - "id", - "url" - ] - }, - "ModuleBayNestedModuleRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - } - } - }, - "ModuleBayRequest": { + "IPSecProposalRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, "name": { "type": "string", "minLength": 1, - "maxLength": 64 - }, - "installed_module": { - "allOf": [ - { - "$ref": "#/components/schemas/ModuleBayNestedModuleRequest" - } - ], - "nullable": true + "maxLength": 100 }, - "label": { + "description": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "maxLength": 200 }, - "position": { + "encryption_algorithm": { + "enum": [ + "aes-128-cbc", + "aes-128-gcm", + "aes-192-cbc", + "aes-192-gcm", + "aes-256-cbc", + "aes-256-gcm", + "3des-cbc", + "des-cbc" + ], "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 + "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", + "x-spec-enum-id": "b022535cfdee79fe" }, - "description": { + "authentication_algorithm": { + "enum": [ + "hmac-sha1", + "hmac-sha256", + "hmac-sha384", + "hmac-sha512", + "hmac-md5" + ], "type": "string", - "maxLength": 200 + "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", + "x-spec-enum-id": "0830e8839f5dea4f" + }, + "sa_lifetime_seconds": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "SA lifetime (seconds)", + "description": "Security association lifetime (seconds)" + }, + "sa_lifetime_data": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "SA lifetime (KB)", + "description": "Security association lifetime (in kilobytes)" + }, + "comments": { + "type": "string" }, "tags": { "type": "array", @@ -171601,11 +179471,12 @@ } }, "required": [ - "device", + "authentication_algorithm", + "encryption_algorithm", "name" ] }, - "ModuleBayTemplate": { + "ImageAttachment": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { @@ -171622,27 +179493,36 @@ "type": "string", "readOnly": true }, - "device_type": { - "$ref": "#/components/schemas/NestedDeviceType" + "object_type": { + "type": "string" }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 + "parent": { + "nullable": true, + "readOnly": true }, - "position": { + "name": { "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 + "maxLength": 50 }, - "description": { + "image": { "type": "string", - "maxLength": 200 + "format": "uri" + }, + "image_height": { + "type": "integer", + "maximum": 32767, + "minimum": 0 + }, + "image_width": { + "type": "integer", + "maximum": 32767, + "minimum": 0 }, "created": { "type": "string", @@ -171659,50 +179539,61 @@ }, "required": [ "created", - "device_type", "display", "id", + "image", + "image_height", + "image_width", "last_updated", - "name", + "object_id", + "object_type", + "parent", "url" ] }, - "ModuleBayTemplateRequest": { + "ImageAttachmentRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "device_type": { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" + "object_type": { + "type": "string" + }, + "object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, "name": { "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "maxLength": 50 }, - "label": { + "image": { "type": "string", - "description": "Physical label", - "maxLength": 64 + "format": "binary" }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 + "image_height": { + "type": "integer", + "maximum": 32767, + "minimum": 0 }, - "description": { - "type": "string", - "maxLength": 200 + "image_width": { + "type": "integer", + "maximum": 32767, + "minimum": 0 } }, "required": [ - "device_type", - "name" + "image", + "image_height", + "image_width", + "object_id", + "object_type" ] }, - "ModuleNestedModuleBay": { + "Interface": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -171717,1308 +179608,1645 @@ "type": "string", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 64 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "ModuleNestedModuleBayRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "ModuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" + "$ref": "#/components/schemas/Device" }, - "module_bay": { - "$ref": "#/components/schemas/NestedModuleBayRequest" - }, - "module_type": { - "$ref": "#/components/schemas/NestedModuleTypeRequest" + "vdcs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualDeviceContext" + } }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/Module" + } ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 + "nullable": true }, - "asset_tag": { + "name": { "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 + "maxLength": 64 }, - "description": { + "label": { "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" + "description": "Physical label", + "maxLength": 64 }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "virtual", + "bridge", + "lag", + "100base-fx", + "100base-lfx", + "100base-tx", + "100base-t1", + "1000base-t", + "1000base-tx", + "2.5gbase-t", + "5gbase-t", + "10gbase-t", + "10gbase-cx4", + "1000base-x-gbic", + "1000base-x-sfp", + "10gbase-x-sfpp", + "10gbase-x-xfp", + "10gbase-x-xenpak", + "10gbase-x-x2", + "25gbase-x-sfp28", + "50gbase-x-sfp56", + "40gbase-x-qsfpp", + "50gbase-x-sfp28", + "100gbase-x-cfp", + "100gbase-x-cfp2", + "200gbase-x-cfp2", + "400gbase-x-cfp2", + "100gbase-x-cfp4", + "100gbase-x-cxp", + "100gbase-x-cpak", + "100gbase-x-dsfp", + "100gbase-x-sfpdd", + "100gbase-x-qsfp28", + "100gbase-x-qsfpdd", + "200gbase-x-qsfp56", + "200gbase-x-qsfpdd", + "400gbase-x-qsfp112", + "400gbase-x-qsfpdd", + "400gbase-x-osfp", + "400gbase-x-osfp-rhs", + "400gbase-x-cdfp", + "400gbase-x-cfp8", + "800gbase-x-qsfpdd", + "800gbase-x-osfp", + "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", + "10gbase-kr", + "10gbase-kx4", + "25gbase-kr", + "40gbase-kr4", + "50gbase-kr", + "100gbase-kp4", + "100gbase-kr2", + "100gbase-kr4", + "ieee802.11a", + "ieee802.11g", + "ieee802.11n", + "ieee802.11ac", + "ieee802.11ad", + "ieee802.11ax", + "ieee802.11ay", + "ieee802.11be", + "ieee802.15.1", + "other-wireless", + "gsm", + "cdma", + "lte", + "4g", + "5g", + "sonet-oc3", + "sonet-oc12", + "sonet-oc48", + "sonet-oc192", + "sonet-oc768", + "sonet-oc1920", + "sonet-oc3840", + "1gfc-sfp", + "2gfc-sfp", + "4gfc-sfp", + "8gfc-sfpp", + "16gfc-sfpp", + "32gfc-sfp28", + "32gfc-sfpp", + "64gfc-qsfpp", + "64gfc-sfpdd", + "64gfc-sfpp", + "128gfc-qsfp28", + "infiniband-sdr", + "infiniband-ddr", + "infiniband-qdr", + "infiniband-fdr10", + "infiniband-fdr", + "infiniband-edr", + "infiniband-hdr", + "infiniband-ndr", + "infiniband-xdr", + "t1", + "e1", + "t3", + "e3", + "xdsl", + "docsis", + "bpon", + "epon", + "10g-epon", + "gpon", + "xg-pon", + "xgs-pon", + "ng-pon2", + "25g-pon", + "50g-pon", + "cisco-stackwise", + "cisco-stackwise-plus", + "cisco-flexstack", + "cisco-flexstack-plus", + "cisco-stackwise-80", + "cisco-stackwise-160", + "cisco-stackwise-320", + "cisco-stackwise-480", + "cisco-stackwise-1t", + "juniper-vcp", + "extreme-summitstack", + "extreme-summitstack-128", + "extreme-summitstack-256", + "extreme-summitstack-512", + "other" + ], + "type": "string", + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" + }, + "label": { + "type": "string", + "enum": [ + "Virtual", + "Bridge", + "Link Aggregation Group (LAG)", + "100BASE-FX (10/100ME FIBER)", + "100BASE-LFX (10/100ME FIBER)", + "100BASE-TX (10/100ME)", + "100BASE-T1 (10/100ME Single Pair)", + "1000BASE-T (1GE)", + "1000BASE-TX (1GE)", + "2.5GBASE-T (2.5GE)", + "5GBASE-T (5GE)", + "10GBASE-T (10GE)", + "10GBASE-CX4 (10GE)", + "GBIC (1GE)", + "SFP (1GE)", + "SFP+ (10GE)", + "XFP (10GE)", + "XENPAK (10GE)", + "X2 (10GE)", + "SFP28 (25GE)", + "SFP56 (50GE)", + "QSFP+ (40GE)", + "QSFP28 (50GE)", + "CFP (100GE)", + "CFP2 (100GE)", + "CFP2 (200GE)", + "CFP2 (400GE)", + "CFP4 (100GE)", + "CXP (100GE)", + "Cisco CPAK (100GE)", + "DSFP (100GE)", + "SFP-DD (100GE)", + "QSFP28 (100GE)", + "QSFP-DD (100GE)", + "QSFP56 (200GE)", + "QSFP-DD (200GE)", + "QSFP112 (400GE)", + "QSFP-DD (400GE)", + "OSFP (400GE)", + "OSFP-RHS (400GE)", + "CDFP (400GE)", + "CPF8 (400GE)", + "QSFP-DD (800GE)", + "OSFP (800GE)", + "1000BASE-KX (1GE)", + "2.5GBASE-KX (2.5GE)", + "5GBASE-KR (5GE)", + "10GBASE-KR (10GE)", + "10GBASE-KX4 (10GE)", + "25GBASE-KR (25GE)", + "40GBASE-KR4 (40GE)", + "50GBASE-KR (50GE)", + "100GBASE-KP4 (100GE)", + "100GBASE-KR2 (100GE)", + "100GBASE-KR4 (100GE)", + "IEEE 802.11a", + "IEEE 802.11b/g", + "IEEE 802.11n", + "IEEE 802.11ac", + "IEEE 802.11ad", + "IEEE 802.11ax", + "IEEE 802.11ay", + "IEEE 802.11be", + "IEEE 802.15.1 (Bluetooth)", + "Other (Wireless)", + "GSM", + "CDMA", + "LTE", + "4G", + "5G", + "OC-3/STM-1", + "OC-12/STM-4", + "OC-48/STM-16", + "OC-192/STM-64", + "OC-768/STM-256", + "OC-1920/STM-640", + "OC-3840/STM-1234", + "SFP (1GFC)", + "SFP (2GFC)", + "SFP (4GFC)", + "SFP+ (8GFC)", + "SFP+ (16GFC)", + "SFP28 (32GFC)", + "SFP+ (32GFC)", + "QSFP+ (64GFC)", + "SFP-DD (64GFC)", + "SFP+ (64GFC)", + "QSFP28 (128GFC)", + "SDR (2 Gbps)", + "DDR (4 Gbps)", + "QDR (8 Gbps)", + "FDR10 (10 Gbps)", + "FDR (13.5 Gbps)", + "EDR (25 Gbps)", + "HDR (50 Gbps)", + "NDR (100 Gbps)", + "XDR (250 Gbps)", + "T1 (1.544 Mbps)", + "E1 (2.048 Mbps)", + "T3 (45 Mbps)", + "E3 (34 Mbps)", + "xDSL", + "DOCSIS", + "BPON (622 Mbps / 155 Mbps)", + "EPON (1 Gbps)", + "10G-EPON (10 Gbps)", + "GPON (2.5 Gbps / 1.25 Gbps)", + "XG-PON (10 Gbps / 2.5 Gbps)", + "XGS-PON (10 Gbps)", + "NG-PON2 (TWDM-PON) (4x10 Gbps)", + "25G-PON (25 Gbps)", + "50G-PON (50 Gbps)", + "Cisco StackWise", + "Cisco StackWise Plus", + "Cisco FlexStack", + "Cisco FlexStack Plus", + "Cisco StackWise-80", + "Cisco StackWise-160", + "Cisco StackWise-320", + "Cisco StackWise-480", + "Cisco StackWise-1T", + "Juniper VCP", + "Extreme SummitStack", + "Extreme SummitStack-128", + "Extreme SummitStack-256", + "Extreme SummitStack-512", + "Other" + ] + } } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "module_bay", - "module_type" - ] - }, - "ModuleType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "enabled": { + "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "parent": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterface" + } + ], + "nullable": true }, - "display": { - "type": "string", - "readOnly": true + "bridge": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterface" + } + ], + "nullable": true }, - "manufacturer": { - "$ref": "#/components/schemas/NestedManufacturer" + "lag": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterface" + } + ], + "nullable": true }, - "model": { - "type": "string", - "maxLength": 100 + "mtu": { + "type": "integer", + "maximum": 65536, + "minimum": 1, + "nullable": true }, - "part_number": { + "mac_address": { "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, "nullable": true }, - "weight_unit": { + "speed": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "Speed (Kbps)" + }, + "duplex": { "type": "object", "properties": { "value": { "enum": [ - "kg", - "g", - "lb", - "oz", + "half", + "full", + "auto", "", null ], "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" + "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", + "x-spec-enum-id": "47eab9b1a65a1e21" }, "label": { "type": "string", "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" + "Half", + "Full", + "Auto" ] } }, "nullable": true }, + "wwn": { + "type": "string", + "nullable": true + }, + "mgmt_only": { + "type": "boolean", + "title": "Management only", + "description": "This interface is used only for out-of-band management" + }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" + "mode": { + "type": "object", + "properties": { + "value": { + "enum": [ + "access", + "tagged", + "tagged-all", + "" + ], + "type": "string", + "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)", + "x-spec-enum-id": "79109bd9dbb73a3c" + }, + "label": { + "type": "string", + "enum": [ + "Access", + "Tagged", + "Tagged (All)" + ] + } } }, - "custom_fields": { + "rf_role": { "type": "object", - "additionalProperties": {} + "properties": { + "value": { + "enum": [ + "ap", + "station", + "" + ], + "type": "string", + "description": "* `ap` - Access point\n* `station` - Station", + "x-spec-enum-id": "d2772dbea88b0fb1" + }, + "label": { + "type": "string", + "enum": [ + "Access point", + "Station" + ] + } + } }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true + "rf_channel": { + "type": "object", + "properties": { + "value": { + "enum": [ + "2.4g-1-2412-22", + "2.4g-2-2417-22", + "2.4g-3-2422-22", + "2.4g-4-2427-22", + "2.4g-5-2432-22", + "2.4g-6-2437-22", + "2.4g-7-2442-22", + "2.4g-8-2447-22", + "2.4g-9-2452-22", + "2.4g-10-2457-22", + "2.4g-11-2462-22", + "2.4g-12-2467-22", + "2.4g-13-2472-22", + "5g-32-5160-20", + "5g-34-5170-40", + "5g-36-5180-20", + "5g-38-5190-40", + "5g-40-5200-20", + "5g-42-5210-80", + "5g-44-5220-20", + "5g-46-5230-40", + "5g-48-5240-20", + "5g-50-5250-160", + "5g-52-5260-20", + "5g-54-5270-40", + "5g-56-5280-20", + "5g-58-5290-80", + "5g-60-5300-20", + "5g-62-5310-40", + "5g-64-5320-20", + "5g-100-5500-20", + "5g-102-5510-40", + "5g-104-5520-20", + "5g-106-5530-80", + "5g-108-5540-20", + "5g-110-5550-40", + "5g-112-5560-20", + "5g-114-5570-160", + "5g-116-5580-20", + "5g-118-5590-40", + "5g-120-5600-20", + "5g-122-5610-80", + "5g-124-5620-20", + "5g-126-5630-40", + "5g-128-5640-20", + "5g-132-5660-20", + "5g-134-5670-40", + "5g-136-5680-20", + "5g-138-5690-80", + "5g-140-5700-20", + "5g-142-5710-40", + "5g-144-5720-20", + "5g-149-5745-20", + "5g-151-5755-40", + "5g-153-5765-20", + "5g-155-5775-80", + "5g-157-5785-20", + "5g-159-5795-40", + "5g-161-5805-20", + "5g-163-5815-160", + "5g-165-5825-20", + "5g-167-5835-40", + "5g-169-5845-20", + "5g-171-5855-80", + "5g-173-5865-20", + "5g-175-5875-40", + "5g-177-5885-20", + "6g-1-5955-20", + "6g-3-5965-40", + "6g-5-5975-20", + "6g-7-5985-80", + "6g-9-5995-20", + "6g-11-6005-40", + "6g-13-6015-20", + "6g-15-6025-160", + "6g-17-6035-20", + "6g-19-6045-40", + "6g-21-6055-20", + "6g-23-6065-80", + "6g-25-6075-20", + "6g-27-6085-40", + "6g-29-6095-20", + "6g-31-6105-320", + "6g-33-6115-20", + "6g-35-6125-40", + "6g-37-6135-20", + "6g-39-6145-80", + "6g-41-6155-20", + "6g-43-6165-40", + "6g-45-6175-20", + "6g-47-6185-160", + "6g-49-6195-20", + "6g-51-6205-40", + "6g-53-6215-20", + "6g-55-6225-80", + "6g-57-6235-20", + "6g-59-6245-40", + "6g-61-6255-20", + "6g-65-6275-20", + "6g-67-6285-40", + "6g-69-6295-20", + "6g-71-6305-80", + "6g-73-6315-20", + "6g-75-6325-40", + "6g-77-6335-20", + "6g-79-6345-160", + "6g-81-6355-20", + "6g-83-6365-40", + "6g-85-6375-20", + "6g-87-6385-80", + "6g-89-6395-20", + "6g-91-6405-40", + "6g-93-6415-20", + "6g-95-6425-320", + "6g-97-6435-20", + "6g-99-6445-40", + "6g-101-6455-20", + "6g-103-6465-80", + "6g-105-6475-20", + "6g-107-6485-40", + "6g-109-6495-20", + "6g-111-6505-160", + "6g-113-6515-20", + "6g-115-6525-40", + "6g-117-6535-20", + "6g-119-6545-80", + "6g-121-6555-20", + "6g-123-6565-40", + "6g-125-6575-20", + "6g-129-6595-20", + "6g-131-6605-40", + "6g-133-6615-20", + "6g-135-6625-80", + "6g-137-6635-20", + "6g-139-6645-40", + "6g-141-6655-20", + "6g-143-6665-160", + "6g-145-6675-20", + "6g-147-6685-40", + "6g-149-6695-20", + "6g-151-6705-80", + "6g-153-6715-20", + "6g-155-6725-40", + "6g-157-6735-20", + "6g-159-6745-320", + "6g-161-6755-20", + "6g-163-6765-40", + "6g-165-6775-20", + "6g-167-6785-80", + "6g-169-6795-20", + "6g-171-6805-40", + "6g-173-6815-20", + "6g-175-6825-160", + "6g-177-6835-20", + "6g-179-6845-40", + "6g-181-6855-20", + "6g-183-6865-80", + "6g-185-6875-20", + "6g-187-6885-40", + "6g-189-6895-20", + "6g-193-6915-20", + "6g-195-6925-40", + "6g-197-6935-20", + "6g-199-6945-80", + "6g-201-6955-20", + "6g-203-6965-40", + "6g-205-6975-20", + "6g-207-6985-160", + "6g-209-6995-20", + "6g-211-7005-40", + "6g-213-7015-20", + "6g-215-7025-80", + "6g-217-7035-20", + "6g-219-7045-40", + "6g-221-7055-20", + "6g-225-7075-20", + "6g-227-7085-40", + "6g-229-7095-20", + "6g-233-7115-20", + "60g-1-58320-2160", + "60g-2-60480-2160", + "60g-3-62640-2160", + "60g-4-64800-2160", + "60g-5-66960-2160", + "60g-6-69120-2160", + "60g-9-59400-4320", + "60g-10-61560-4320", + "60g-11-63720-4320", + "60g-12-65880-4320", + "60g-13-68040-4320", + "60g-17-60480-6480", + "60g-18-62640-6480", + "60g-19-64800-6480", + "60g-20-66960-6480", + "60g-25-61560-6480", + "60g-26-63720-6480", + "60g-27-65880-6480", + "" + ], + "type": "string", + "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", + "x-spec-enum-id": "aac33cc237adc8f9" + }, + "label": { + "type": "string", + "enum": [ + "1 (2412 MHz)", + "2 (2417 MHz)", + "3 (2422 MHz)", + "4 (2427 MHz)", + "5 (2432 MHz)", + "6 (2437 MHz)", + "7 (2442 MHz)", + "8 (2447 MHz)", + "9 (2452 MHz)", + "10 (2457 MHz)", + "11 (2462 MHz)", + "12 (2467 MHz)", + "13 (2472 MHz)", + "32 (5160/20 MHz)", + "34 (5170/40 MHz)", + "36 (5180/20 MHz)", + "38 (5190/40 MHz)", + "40 (5200/20 MHz)", + "42 (5210/80 MHz)", + "44 (5220/20 MHz)", + "46 (5230/40 MHz)", + "48 (5240/20 MHz)", + "50 (5250/160 MHz)", + "52 (5260/20 MHz)", + "54 (5270/40 MHz)", + "56 (5280/20 MHz)", + "58 (5290/80 MHz)", + "60 (5300/20 MHz)", + "62 (5310/40 MHz)", + "64 (5320/20 MHz)", + "100 (5500/20 MHz)", + "102 (5510/40 MHz)", + "104 (5520/20 MHz)", + "106 (5530/80 MHz)", + "108 (5540/20 MHz)", + "110 (5550/40 MHz)", + "112 (5560/20 MHz)", + "114 (5570/160 MHz)", + "116 (5580/20 MHz)", + "118 (5590/40 MHz)", + "120 (5600/20 MHz)", + "122 (5610/80 MHz)", + "124 (5620/20 MHz)", + "126 (5630/40 MHz)", + "128 (5640/20 MHz)", + "132 (5660/20 MHz)", + "134 (5670/40 MHz)", + "136 (5680/20 MHz)", + "138 (5690/80 MHz)", + "140 (5700/20 MHz)", + "142 (5710/40 MHz)", + "144 (5720/20 MHz)", + "149 (5745/20 MHz)", + "151 (5755/40 MHz)", + "153 (5765/20 MHz)", + "155 (5775/80 MHz)", + "157 (5785/20 MHz)", + "159 (5795/40 MHz)", + "161 (5805/20 MHz)", + "163 (5815/160 MHz)", + "165 (5825/20 MHz)", + "167 (5835/40 MHz)", + "169 (5845/20 MHz)", + "171 (5855/80 MHz)", + "173 (5865/20 MHz)", + "175 (5875/40 MHz)", + "177 (5885/20 MHz)", + "1 (5955/20 MHz)", + "3 (5965/40 MHz)", + "5 (5975/20 MHz)", + "7 (5985/80 MHz)", + "9 (5995/20 MHz)", + "11 (6005/40 MHz)", + "13 (6015/20 MHz)", + "15 (6025/160 MHz)", + "17 (6035/20 MHz)", + "19 (6045/40 MHz)", + "21 (6055/20 MHz)", + "23 (6065/80 MHz)", + "25 (6075/20 MHz)", + "27 (6085/40 MHz)", + "29 (6095/20 MHz)", + "31 (6105/320 MHz)", + "33 (6115/20 MHz)", + "35 (6125/40 MHz)", + "37 (6135/20 MHz)", + "39 (6145/80 MHz)", + "41 (6155/20 MHz)", + "43 (6165/40 MHz)", + "45 (6175/20 MHz)", + "47 (6185/160 MHz)", + "49 (6195/20 MHz)", + "51 (6205/40 MHz)", + "53 (6215/20 MHz)", + "55 (6225/80 MHz)", + "57 (6235/20 MHz)", + "59 (6245/40 MHz)", + "61 (6255/20 MHz)", + "65 (6275/20 MHz)", + "67 (6285/40 MHz)", + "69 (6295/20 MHz)", + "71 (6305/80 MHz)", + "73 (6315/20 MHz)", + "75 (6325/40 MHz)", + "77 (6335/20 MHz)", + "79 (6345/160 MHz)", + "81 (6355/20 MHz)", + "83 (6365/40 MHz)", + "85 (6375/20 MHz)", + "87 (6385/80 MHz)", + "89 (6395/20 MHz)", + "91 (6405/40 MHz)", + "93 (6415/20 MHz)", + "95 (6425/320 MHz)", + "97 (6435/20 MHz)", + "99 (6445/40 MHz)", + "101 (6455/20 MHz)", + "103 (6465/80 MHz)", + "105 (6475/20 MHz)", + "107 (6485/40 MHz)", + "109 (6495/20 MHz)", + "111 (6505/160 MHz)", + "113 (6515/20 MHz)", + "115 (6525/40 MHz)", + "117 (6535/20 MHz)", + "119 (6545/80 MHz)", + "121 (6555/20 MHz)", + "123 (6565/40 MHz)", + "125 (6575/20 MHz)", + "129 (6595/20 MHz)", + "131 (6605/40 MHz)", + "133 (6615/20 MHz)", + "135 (6625/80 MHz)", + "137 (6635/20 MHz)", + "139 (6645/40 MHz)", + "141 (6655/20 MHz)", + "143 (6665/160 MHz)", + "145 (6675/20 MHz)", + "147 (6685/40 MHz)", + "149 (6695/20 MHz)", + "151 (6705/80 MHz)", + "153 (6715/20 MHz)", + "155 (6725/40 MHz)", + "157 (6735/20 MHz)", + "159 (6745/320 MHz)", + "161 (6755/20 MHz)", + "163 (6765/40 MHz)", + "165 (6775/20 MHz)", + "167 (6785/80 MHz)", + "169 (6795/20 MHz)", + "171 (6805/40 MHz)", + "173 (6815/20 MHz)", + "175 (6825/160 MHz)", + "177 (6835/20 MHz)", + "179 (6845/40 MHz)", + "181 (6855/20 MHz)", + "183 (6865/80 MHz)", + "185 (6875/20 MHz)", + "187 (6885/40 MHz)", + "189 (6895/20 MHz)", + "193 (6915/20 MHz)", + "195 (6925/40 MHz)", + "197 (6935/20 MHz)", + "199 (6945/80 MHz)", + "201 (6955/20 MHz)", + "203 (6965/40 MHz)", + "205 (6975/20 MHz)", + "207 (6985/160 MHz)", + "209 (6995/20 MHz)", + "211 (7005/40 MHz)", + "213 (7015/20 MHz)", + "215 (7025/80 MHz)", + "217 (7035/20 MHz)", + "219 (7045/40 MHz)", + "221 (7055/20 MHz)", + "225 (7075/20 MHz)", + "227 (7085/40 MHz)", + "229 (7095/20 MHz)", + "233 (7115/20 MHz)", + "1 (58.32/2.16 GHz)", + "2 (60.48/2.16 GHz)", + "3 (62.64/2.16 GHz)", + "4 (64.80/2.16 GHz)", + "5 (66.96/2.16 GHz)", + "6 (69.12/2.16 GHz)", + "9 (59.40/4.32 GHz)", + "10 (61.56/4.32 GHz)", + "11 (63.72/4.32 GHz)", + "12 (65.88/4.32 GHz)", + "13 (68.04/4.32 GHz)", + "17 (60.48/6.48 GHz)", + "18 (62.64/6.48 GHz)", + "19 (64.80/6.48 GHz)", + "20 (66.96/6.48 GHz)", + "25 (61.56/8.64 GHz)", + "26 (63.72/8.64 GHz)", + "27 (65.88/8.64 GHz)" + ] + } + } }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "manufacturer", - "model", - "url" - ] - }, - "ModuleTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "$ref": "#/components/schemas/NestedManufacturerRequest" + "poe_mode": { + "type": "object", + "properties": { + "value": { + "enum": [ + "pd", + "pse", + "" + ], + "type": "string", + "description": "* `pd` - PD\n* `pse` - PSE", + "x-spec-enum-id": "2f2fe6dcdc7772bd" + }, + "label": { + "type": "string", + "enum": [ + "PD", + "PSE" + ] + } + } }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "poe_type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "type1-ieee802.3af", + "type2-ieee802.3at", + "type3-ieee802.3bt", + "type4-ieee802.3bt", + "passive-24v-2pair", + "passive-24v-4pair", + "passive-48v-2pair", + "passive-48v-4pair", + "" + ], + "type": "string", + "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", + "x-spec-enum-id": "74bd3be4012f6da9" + }, + "label": { + "type": "string", + "enum": [ + "802.3af (Type 1)", + "802.3at (Type 2)", + "802.3bt (Type 3)", + "802.3bt (Type 4)", + "Passive 24V (2-pair)", + "Passive 24V (4-pair)", + "Passive 48V (2-pair)", + "Passive 48V (4-pair)" + ] + } + } }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 + "rf_channel_frequency": { + "type": "number", + "format": "double", + "maximum": 100000, + "minimum": -100000, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "title": "Channel frequency (MHz)", + "description": "Populated by selected channel (if set)" }, - "weight": { + "rf_channel_width": { "type": "number", "format": "double", - "maximum": 1000000, - "minimum": -1000000, + "maximum": 10000, + "minimum": -10000, "exclusiveMaximum": true, "exclusiveMinimum": true, - "nullable": true + "nullable": true, + "title": "Channel width (MHz)", + "description": "Populated by selected channel (if set)" }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null + "tx_power": { + "type": "integer", + "maximum": 127, + "minimum": 0, + "nullable": true, + "title": "Transmit power (dBm)" + }, + "untagged_vlan": { + "allOf": [ + { + "$ref": "#/components/schemas/VLAN" + } ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", "nullable": true }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { + "tagged_vlans": { "type": "array", "items": { - "$ref": "#/components/schemas/NestedTagRequest" + "$ref": "#/components/schemas/VLAN" } }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "manufacturer", - "model" - ] - }, - "NestedASN": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - } - }, - "required": [ - "asn", - "display", - "id", - "url" - ] - }, - "NestedASNRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - } - }, - "required": [ - "asn" - ] - }, - "NestedBGPPeerGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" }, - "display": { - "type": "string", - "readOnly": true + "cable": { + "allOf": [ + { + "$ref": "#/components/schemas/Cable" + } + ], + "readOnly": true, + "nullable": true }, - "url": { + "cable_end": { "type": "string", - "format": "uri", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedBGPPeerGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "NestedCable": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "wireless_link": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedWirelessLink" + } + ], + "readOnly": true, + "nullable": true }, - "url": { - "type": "string", - "format": "uri", + "link_peers": { + "type": "array", + "items": {}, "readOnly": true }, - "display": { + "link_peers_type": { "type": "string", - "readOnly": true + "description": "Return the type of the peer link terminations, or None.", + "readOnly": true, + "nullable": true }, - "label": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "url" - ] - }, - "NestedCableRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "label": { - "type": "string", - "maxLength": 100 - } - } - }, - "NestedCircuit": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "wireless_lans": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WirelessLAN" + } }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "vrf": { + "allOf": [ + { + "$ref": "#/components/schemas/VRF" + } + ], + "nullable": true }, - "display": { - "type": "string", - "readOnly": true + "l2vpn_termination": { + "allOf": [ + { + "$ref": "#/components/schemas/L2VPNTermination" + } + ], + "readOnly": true, + "nullable": true }, - "cid": { - "type": "string", - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - } - }, - "required": [ - "cid", - "display", - "id", - "url" - ] - }, - "NestedCircuitRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - } - }, - "required": [ - "cid" - ] - }, - "NestedCircuitType": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", + "connected_endpoints": { + "type": "array", + "items": {}, + "nullable": true, "readOnly": true }, - "url": { + "connected_endpoints_type": { "type": "string", - "format": "uri", - "readOnly": true + "readOnly": true, + "nullable": true }, - "display": { - "type": "string", + "connected_endpoints_reachable": { + "type": "boolean", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedCircuitTypeRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedCluster": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "custom_fields": { + "type": "object", + "additionalProperties": {} }, - "url": { + "created": { "type": "string", - "format": "uri", - "readOnly": true + "format": "date-time", + "readOnly": true, + "nullable": true }, - "display": { + "last_updated": { "type": "string", - "readOnly": true + "format": "date-time", + "readOnly": true, + "nullable": true }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedClusterGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "count_ipaddresses": { "type": "integer", "readOnly": true }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedClusterGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedClusterRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedClusterType": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "count_fhrp_groups": { "type": "integer", "readOnly": true }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "_occupied": { + "type": "boolean", + "readOnly": true, + "title": " occupied" } }, "required": [ + "_occupied", + "cable", + "cable_end", + "connected_endpoints", + "connected_endpoints_reachable", + "connected_endpoints_type", + "count_fhrp_groups", + "count_ipaddresses", + "created", + "device", "display", "id", + "l2vpn_termination", + "last_updated", + "link_peers", + "link_peers_type", "name", - "slug", - "url" - ] - }, - "NestedClusterTypeRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedCommunity": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "value": { - "type": "string", - "pattern": "[\\d\\.\\*]+:[\\d\\.\\*]+", - "maxLength": 64 - } - }, - "required": [ - "display", - "id", + "type", "url", - "value" + "wireless_link" ] }, - "NestedCommunityList": { + "InterfaceRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { - "id": { - "type": "integer", - "readOnly": true + "device": { + "$ref": "#/components/schemas/DeviceRequest" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "vdcs": { + "type": "array", + "items": { + "type": "integer" + } }, - "display": { - "type": "string", - "readOnly": true + "module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], + "nullable": true }, "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedCommunityListRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedCommunityRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "value": { "type": "string", "minLength": 1, - "pattern": "[\\d\\.\\*]+:[\\d\\.\\*]+", "maxLength": 64 - } - }, - "required": [ - "value" - ] - }, - "NestedConfigTemplate": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedConfigTemplateRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedContact": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedContactGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedContactGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedContactRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedContactRole": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedContactRoleRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedCustomFieldChoiceSet": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true }, - "url": { + "label": { "type": "string", - "format": "uri", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "display": { + "type": { + "enum": [ + "virtual", + "bridge", + "lag", + "100base-fx", + "100base-lfx", + "100base-tx", + "100base-t1", + "1000base-t", + "1000base-tx", + "2.5gbase-t", + "5gbase-t", + "10gbase-t", + "10gbase-cx4", + "1000base-x-gbic", + "1000base-x-sfp", + "10gbase-x-sfpp", + "10gbase-x-xfp", + "10gbase-x-xenpak", + "10gbase-x-x2", + "25gbase-x-sfp28", + "50gbase-x-sfp56", + "40gbase-x-qsfpp", + "50gbase-x-sfp28", + "100gbase-x-cfp", + "100gbase-x-cfp2", + "200gbase-x-cfp2", + "400gbase-x-cfp2", + "100gbase-x-cfp4", + "100gbase-x-cxp", + "100gbase-x-cpak", + "100gbase-x-dsfp", + "100gbase-x-sfpdd", + "100gbase-x-qsfp28", + "100gbase-x-qsfpdd", + "200gbase-x-qsfp56", + "200gbase-x-qsfpdd", + "400gbase-x-qsfp112", + "400gbase-x-qsfpdd", + "400gbase-x-osfp", + "400gbase-x-osfp-rhs", + "400gbase-x-cdfp", + "400gbase-x-cfp8", + "800gbase-x-qsfpdd", + "800gbase-x-osfp", + "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", + "10gbase-kr", + "10gbase-kx4", + "25gbase-kr", + "40gbase-kr4", + "50gbase-kr", + "100gbase-kp4", + "100gbase-kr2", + "100gbase-kr4", + "ieee802.11a", + "ieee802.11g", + "ieee802.11n", + "ieee802.11ac", + "ieee802.11ad", + "ieee802.11ax", + "ieee802.11ay", + "ieee802.11be", + "ieee802.15.1", + "other-wireless", + "gsm", + "cdma", + "lte", + "4g", + "5g", + "sonet-oc3", + "sonet-oc12", + "sonet-oc48", + "sonet-oc192", + "sonet-oc768", + "sonet-oc1920", + "sonet-oc3840", + "1gfc-sfp", + "2gfc-sfp", + "4gfc-sfp", + "8gfc-sfpp", + "16gfc-sfpp", + "32gfc-sfp28", + "32gfc-sfpp", + "64gfc-qsfpp", + "64gfc-sfpdd", + "64gfc-sfpp", + "128gfc-qsfp28", + "infiniband-sdr", + "infiniband-ddr", + "infiniband-qdr", + "infiniband-fdr10", + "infiniband-fdr", + "infiniband-edr", + "infiniband-hdr", + "infiniband-ndr", + "infiniband-xdr", + "t1", + "e1", + "t3", + "e3", + "xdsl", + "docsis", + "bpon", + "epon", + "10g-epon", + "gpon", + "xg-pon", + "xgs-pon", + "ng-pon2", + "25g-pon", + "50g-pon", + "cisco-stackwise", + "cisco-stackwise-plus", + "cisco-flexstack", + "cisco-flexstack-plus", + "cisco-stackwise-80", + "cisco-stackwise-160", + "cisco-stackwise-320", + "cisco-stackwise-480", + "cisco-stackwise-1t", + "juniper-vcp", + "extreme-summitstack", + "extreme-summitstack-128", + "extreme-summitstack-256", + "extreme-summitstack-512", + "other" + ], "type": "string", - "readOnly": true + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" }, - "name": { - "type": "string", - "maxLength": 100 + "enabled": { + "type": "boolean" }, - "choices_count": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "choices_count", - "display", - "id", - "name", - "url" - ] - }, - "NestedCustomFieldChoiceSetRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedDataFile": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "parent": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterfaceRequest" + } + ], + "nullable": true }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "bridge": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterfaceRequest" + } + ], + "nullable": true }, - "display": { - "type": "string", - "readOnly": true + "lag": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterfaceRequest" + } + ], + "nullable": true }, - "path": { - "type": "string", - "readOnly": true, - "description": "File path relative to the data source's root" - } - }, - "required": [ - "display", - "id", - "path", - "url" - ] - }, - "NestedDataSource": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "mtu": { "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "maximum": 65536, + "minimum": 1, + "nullable": true }, - "display": { + "mac_address": { "type": "string", - "readOnly": true + "nullable": true }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedDataSourceRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedDevice": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "speed": { "type": "integer", - "readOnly": true + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "Speed (Kbps)" }, - "url": { + "duplex": { + "enum": [ + "half", + "full", + "auto", + "", + null + ], "type": "string", - "format": "uri", - "readOnly": true + "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", + "x-spec-enum-id": "47eab9b1a65a1e21", + "nullable": true }, - "display": { + "wwn": { "type": "string", - "readOnly": true + "nullable": true }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - } - }, - "required": [ - "display", - "id", - "url" - ] - }, - "NestedDeviceRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - } - } - }, - "NestedDeviceRole": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "mgmt_only": { + "type": "boolean", + "title": "Management only", + "description": "This interface is used only for out-of-band management" }, - "url": { + "description": { "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 200 }, - "display": { + "mode": { + "enum": [ + "access", + "tagged", + "tagged-all", + "" + ], "type": "string", - "readOnly": true + "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)", + "x-spec-enum-id": "79109bd9dbb73a3c" }, - "name": { + "rf_role": { + "enum": [ + "ap", + "station", + "" + ], "type": "string", - "maxLength": 100 + "description": "* `ap` - Access point\n* `station` - Station", + "x-spec-enum-id": "d2772dbea88b0fb1" }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedDeviceRoleRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { + "rf_channel": { + "enum": [ + "2.4g-1-2412-22", + "2.4g-2-2417-22", + "2.4g-3-2422-22", + "2.4g-4-2427-22", + "2.4g-5-2432-22", + "2.4g-6-2437-22", + "2.4g-7-2442-22", + "2.4g-8-2447-22", + "2.4g-9-2452-22", + "2.4g-10-2457-22", + "2.4g-11-2462-22", + "2.4g-12-2467-22", + "2.4g-13-2472-22", + "5g-32-5160-20", + "5g-34-5170-40", + "5g-36-5180-20", + "5g-38-5190-40", + "5g-40-5200-20", + "5g-42-5210-80", + "5g-44-5220-20", + "5g-46-5230-40", + "5g-48-5240-20", + "5g-50-5250-160", + "5g-52-5260-20", + "5g-54-5270-40", + "5g-56-5280-20", + "5g-58-5290-80", + "5g-60-5300-20", + "5g-62-5310-40", + "5g-64-5320-20", + "5g-100-5500-20", + "5g-102-5510-40", + "5g-104-5520-20", + "5g-106-5530-80", + "5g-108-5540-20", + "5g-110-5550-40", + "5g-112-5560-20", + "5g-114-5570-160", + "5g-116-5580-20", + "5g-118-5590-40", + "5g-120-5600-20", + "5g-122-5610-80", + "5g-124-5620-20", + "5g-126-5630-40", + "5g-128-5640-20", + "5g-132-5660-20", + "5g-134-5670-40", + "5g-136-5680-20", + "5g-138-5690-80", + "5g-140-5700-20", + "5g-142-5710-40", + "5g-144-5720-20", + "5g-149-5745-20", + "5g-151-5755-40", + "5g-153-5765-20", + "5g-155-5775-80", + "5g-157-5785-20", + "5g-159-5795-40", + "5g-161-5805-20", + "5g-163-5815-160", + "5g-165-5825-20", + "5g-167-5835-40", + "5g-169-5845-20", + "5g-171-5855-80", + "5g-173-5865-20", + "5g-175-5875-40", + "5g-177-5885-20", + "6g-1-5955-20", + "6g-3-5965-40", + "6g-5-5975-20", + "6g-7-5985-80", + "6g-9-5995-20", + "6g-11-6005-40", + "6g-13-6015-20", + "6g-15-6025-160", + "6g-17-6035-20", + "6g-19-6045-40", + "6g-21-6055-20", + "6g-23-6065-80", + "6g-25-6075-20", + "6g-27-6085-40", + "6g-29-6095-20", + "6g-31-6105-320", + "6g-33-6115-20", + "6g-35-6125-40", + "6g-37-6135-20", + "6g-39-6145-80", + "6g-41-6155-20", + "6g-43-6165-40", + "6g-45-6175-20", + "6g-47-6185-160", + "6g-49-6195-20", + "6g-51-6205-40", + "6g-53-6215-20", + "6g-55-6225-80", + "6g-57-6235-20", + "6g-59-6245-40", + "6g-61-6255-20", + "6g-65-6275-20", + "6g-67-6285-40", + "6g-69-6295-20", + "6g-71-6305-80", + "6g-73-6315-20", + "6g-75-6325-40", + "6g-77-6335-20", + "6g-79-6345-160", + "6g-81-6355-20", + "6g-83-6365-40", + "6g-85-6375-20", + "6g-87-6385-80", + "6g-89-6395-20", + "6g-91-6405-40", + "6g-93-6415-20", + "6g-95-6425-320", + "6g-97-6435-20", + "6g-99-6445-40", + "6g-101-6455-20", + "6g-103-6465-80", + "6g-105-6475-20", + "6g-107-6485-40", + "6g-109-6495-20", + "6g-111-6505-160", + "6g-113-6515-20", + "6g-115-6525-40", + "6g-117-6535-20", + "6g-119-6545-80", + "6g-121-6555-20", + "6g-123-6565-40", + "6g-125-6575-20", + "6g-129-6595-20", + "6g-131-6605-40", + "6g-133-6615-20", + "6g-135-6625-80", + "6g-137-6635-20", + "6g-139-6645-40", + "6g-141-6655-20", + "6g-143-6665-160", + "6g-145-6675-20", + "6g-147-6685-40", + "6g-149-6695-20", + "6g-151-6705-80", + "6g-153-6715-20", + "6g-155-6725-40", + "6g-157-6735-20", + "6g-159-6745-320", + "6g-161-6755-20", + "6g-163-6765-40", + "6g-165-6775-20", + "6g-167-6785-80", + "6g-169-6795-20", + "6g-171-6805-40", + "6g-173-6815-20", + "6g-175-6825-160", + "6g-177-6835-20", + "6g-179-6845-40", + "6g-181-6855-20", + "6g-183-6865-80", + "6g-185-6875-20", + "6g-187-6885-40", + "6g-189-6895-20", + "6g-193-6915-20", + "6g-195-6925-40", + "6g-197-6935-20", + "6g-199-6945-80", + "6g-201-6955-20", + "6g-203-6965-40", + "6g-205-6975-20", + "6g-207-6985-160", + "6g-209-6995-20", + "6g-211-7005-40", + "6g-213-7015-20", + "6g-215-7025-80", + "6g-217-7035-20", + "6g-219-7045-40", + "6g-221-7055-20", + "6g-225-7075-20", + "6g-227-7085-40", + "6g-229-7095-20", + "6g-233-7115-20", + "60g-1-58320-2160", + "60g-2-60480-2160", + "60g-3-62640-2160", + "60g-4-64800-2160", + "60g-5-66960-2160", + "60g-6-69120-2160", + "60g-9-59400-4320", + "60g-10-61560-4320", + "60g-11-63720-4320", + "60g-12-65880-4320", + "60g-13-68040-4320", + "60g-17-60480-6480", + "60g-18-62640-6480", + "60g-19-64800-6480", + "60g-20-66960-6480", + "60g-25-61560-6480", + "60g-26-63720-6480", + "60g-27-65880-6480", + "" + ], "type": "string", - "minLength": 1, - "maxLength": 100 + "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", + "x-spec-enum-id": "aac33cc237adc8f9" }, - "slug": { + "poe_mode": { + "enum": [ + "pd", + "pse", + "" + ], "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedDeviceType": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "description": "* `pd` - PD\n* `pse` - PSE", + "x-spec-enum-id": "2f2fe6dcdc7772bd" }, - "url": { + "poe_type": { + "enum": [ + "type1-ieee802.3af", + "type2-ieee802.3at", + "type3-ieee802.3bt", + "type4-ieee802.3bt", + "passive-24v-2pair", + "passive-24v-4pair", + "passive-48v-2pair", + "passive-48v-4pair", + "" + ], "type": "string", - "format": "uri", - "readOnly": true + "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", + "x-spec-enum-id": "74bd3be4012f6da9" }, - "display": { - "type": "string", - "readOnly": true + "rf_channel_frequency": { + "type": "number", + "format": "double", + "maximum": 100000, + "minimum": -100000, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "title": "Channel frequency (MHz)", + "description": "Populated by selected channel (if set)" }, - "manufacturer": { + "rf_channel_width": { + "type": "number", + "format": "double", + "maximum": 10000, + "minimum": -10000, + "exclusiveMaximum": true, + "exclusiveMinimum": true, + "nullable": true, + "title": "Channel width (MHz)", + "description": "Populated by selected channel (if set)" + }, + "tx_power": { + "type": "integer", + "maximum": 127, + "minimum": 0, + "nullable": true, + "title": "Transmit power (dBm)" + }, + "untagged_vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedManufacturer" + "$ref": "#/components/schemas/VLANRequest" } ], - "readOnly": true - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "manufacturer", - "model", - "slug", - "url" - ] - }, - "NestedDeviceTypeRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "nullable": true }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "model", - "slug" - ] - }, - "NestedFHRPGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "tagged_vlans": { + "type": "array", + "items": { + "type": "integer" + } }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" }, - "display": { - "type": "string", - "readOnly": true + "wireless_lans": { + "type": "array", + "items": { + "type": "integer" + } }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" + "vrf": { + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" + "nullable": true }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "required": [ - "display", - "group_id", - "id", - "protocol", - "url" - ] - }, - "NestedFHRPGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "group_id", - "protocol" + "device", + "name", + "type" ] }, - "NestedIKEPolicy": { + "InterfaceTemplate": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -173033,334 +181261,664 @@ "type": "string", "readOnly": true }, + "device_type": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceType" + } + ], + "nullable": true + }, + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleType" + } + ], + "nullable": true + }, "name": { "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedIKEPolicyRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedIPAddress": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "url": { + "label": { "type": "string", - "format": "uri", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "display": { - "type": "string", - "readOnly": true + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "virtual", + "bridge", + "lag", + "100base-fx", + "100base-lfx", + "100base-tx", + "100base-t1", + "1000base-t", + "1000base-tx", + "2.5gbase-t", + "5gbase-t", + "10gbase-t", + "10gbase-cx4", + "1000base-x-gbic", + "1000base-x-sfp", + "10gbase-x-sfpp", + "10gbase-x-xfp", + "10gbase-x-xenpak", + "10gbase-x-x2", + "25gbase-x-sfp28", + "50gbase-x-sfp56", + "40gbase-x-qsfpp", + "50gbase-x-sfp28", + "100gbase-x-cfp", + "100gbase-x-cfp2", + "200gbase-x-cfp2", + "400gbase-x-cfp2", + "100gbase-x-cfp4", + "100gbase-x-cxp", + "100gbase-x-cpak", + "100gbase-x-dsfp", + "100gbase-x-sfpdd", + "100gbase-x-qsfp28", + "100gbase-x-qsfpdd", + "200gbase-x-qsfp56", + "200gbase-x-qsfpdd", + "400gbase-x-qsfp112", + "400gbase-x-qsfpdd", + "400gbase-x-osfp", + "400gbase-x-osfp-rhs", + "400gbase-x-cdfp", + "400gbase-x-cfp8", + "800gbase-x-qsfpdd", + "800gbase-x-osfp", + "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", + "10gbase-kr", + "10gbase-kx4", + "25gbase-kr", + "40gbase-kr4", + "50gbase-kr", + "100gbase-kp4", + "100gbase-kr2", + "100gbase-kr4", + "ieee802.11a", + "ieee802.11g", + "ieee802.11n", + "ieee802.11ac", + "ieee802.11ad", + "ieee802.11ax", + "ieee802.11ay", + "ieee802.11be", + "ieee802.15.1", + "other-wireless", + "gsm", + "cdma", + "lte", + "4g", + "5g", + "sonet-oc3", + "sonet-oc12", + "sonet-oc48", + "sonet-oc192", + "sonet-oc768", + "sonet-oc1920", + "sonet-oc3840", + "1gfc-sfp", + "2gfc-sfp", + "4gfc-sfp", + "8gfc-sfpp", + "16gfc-sfpp", + "32gfc-sfp28", + "32gfc-sfpp", + "64gfc-qsfpp", + "64gfc-sfpdd", + "64gfc-sfpp", + "128gfc-qsfp28", + "infiniband-sdr", + "infiniband-ddr", + "infiniband-qdr", + "infiniband-fdr10", + "infiniband-fdr", + "infiniband-edr", + "infiniband-hdr", + "infiniband-ndr", + "infiniband-xdr", + "t1", + "e1", + "t3", + "e3", + "xdsl", + "docsis", + "bpon", + "epon", + "10g-epon", + "gpon", + "xg-pon", + "xgs-pon", + "ng-pon2", + "25g-pon", + "50g-pon", + "cisco-stackwise", + "cisco-stackwise-plus", + "cisco-flexstack", + "cisco-flexstack-plus", + "cisco-stackwise-80", + "cisco-stackwise-160", + "cisco-stackwise-320", + "cisco-stackwise-480", + "cisco-stackwise-1t", + "juniper-vcp", + "extreme-summitstack", + "extreme-summitstack-128", + "extreme-summitstack-256", + "extreme-summitstack-512", + "other" + ], + "type": "string", + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" + }, + "label": { + "type": "string", + "enum": [ + "Virtual", + "Bridge", + "Link Aggregation Group (LAG)", + "100BASE-FX (10/100ME FIBER)", + "100BASE-LFX (10/100ME FIBER)", + "100BASE-TX (10/100ME)", + "100BASE-T1 (10/100ME Single Pair)", + "1000BASE-T (1GE)", + "1000BASE-TX (1GE)", + "2.5GBASE-T (2.5GE)", + "5GBASE-T (5GE)", + "10GBASE-T (10GE)", + "10GBASE-CX4 (10GE)", + "GBIC (1GE)", + "SFP (1GE)", + "SFP+ (10GE)", + "XFP (10GE)", + "XENPAK (10GE)", + "X2 (10GE)", + "SFP28 (25GE)", + "SFP56 (50GE)", + "QSFP+ (40GE)", + "QSFP28 (50GE)", + "CFP (100GE)", + "CFP2 (100GE)", + "CFP2 (200GE)", + "CFP2 (400GE)", + "CFP4 (100GE)", + "CXP (100GE)", + "Cisco CPAK (100GE)", + "DSFP (100GE)", + "SFP-DD (100GE)", + "QSFP28 (100GE)", + "QSFP-DD (100GE)", + "QSFP56 (200GE)", + "QSFP-DD (200GE)", + "QSFP112 (400GE)", + "QSFP-DD (400GE)", + "OSFP (400GE)", + "OSFP-RHS (400GE)", + "CDFP (400GE)", + "CPF8 (400GE)", + "QSFP-DD (800GE)", + "OSFP (800GE)", + "1000BASE-KX (1GE)", + "2.5GBASE-KX (2.5GE)", + "5GBASE-KR (5GE)", + "10GBASE-KR (10GE)", + "10GBASE-KX4 (10GE)", + "25GBASE-KR (25GE)", + "40GBASE-KR4 (40GE)", + "50GBASE-KR (50GE)", + "100GBASE-KP4 (100GE)", + "100GBASE-KR2 (100GE)", + "100GBASE-KR4 (100GE)", + "IEEE 802.11a", + "IEEE 802.11b/g", + "IEEE 802.11n", + "IEEE 802.11ac", + "IEEE 802.11ad", + "IEEE 802.11ax", + "IEEE 802.11ay", + "IEEE 802.11be", + "IEEE 802.15.1 (Bluetooth)", + "Other (Wireless)", + "GSM", + "CDMA", + "LTE", + "4G", + "5G", + "OC-3/STM-1", + "OC-12/STM-4", + "OC-48/STM-16", + "OC-192/STM-64", + "OC-768/STM-256", + "OC-1920/STM-640", + "OC-3840/STM-1234", + "SFP (1GFC)", + "SFP (2GFC)", + "SFP (4GFC)", + "SFP+ (8GFC)", + "SFP+ (16GFC)", + "SFP28 (32GFC)", + "SFP+ (32GFC)", + "QSFP+ (64GFC)", + "SFP-DD (64GFC)", + "SFP+ (64GFC)", + "QSFP28 (128GFC)", + "SDR (2 Gbps)", + "DDR (4 Gbps)", + "QDR (8 Gbps)", + "FDR10 (10 Gbps)", + "FDR (13.5 Gbps)", + "EDR (25 Gbps)", + "HDR (50 Gbps)", + "NDR (100 Gbps)", + "XDR (250 Gbps)", + "T1 (1.544 Mbps)", + "E1 (2.048 Mbps)", + "T3 (45 Mbps)", + "E3 (34 Mbps)", + "xDSL", + "DOCSIS", + "BPON (622 Mbps / 155 Mbps)", + "EPON (1 Gbps)", + "10G-EPON (10 Gbps)", + "GPON (2.5 Gbps / 1.25 Gbps)", + "XG-PON (10 Gbps / 2.5 Gbps)", + "XGS-PON (10 Gbps)", + "NG-PON2 (TWDM-PON) (4x10 Gbps)", + "25G-PON (25 Gbps)", + "50G-PON (50 Gbps)", + "Cisco StackWise", + "Cisco StackWise Plus", + "Cisco FlexStack", + "Cisco FlexStack Plus", + "Cisco StackWise-80", + "Cisco StackWise-160", + "Cisco StackWise-320", + "Cisco StackWise-480", + "Cisco StackWise-1T", + "Juniper VCP", + "Extreme SummitStack", + "Extreme SummitStack-128", + "Extreme SummitStack-256", + "Extreme SummitStack-512", + "Other" + ] + } + } }, - "family": { - "type": "integer", - "readOnly": true + "enabled": { + "type": "boolean" }, - "address": { - "type": "string" - } - }, - "required": [ - "address", - "display", - "family", - "id", - "url" - ] - }, - "NestedIPAddressRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "address": { - "type": "string", - "minLength": 1 - } - }, - "required": [ - "address" - ] - }, - "NestedIPSecPolicy": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "mgmt_only": { + "type": "boolean", + "title": "Management only" }, - "url": { + "description": { "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 200 }, - "display": { - "type": "string", - "readOnly": true + "bridge": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterfaceTemplate" + } + ], + "nullable": true }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedIPSecPolicyRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedIPSecProfile": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "poe_mode": { + "type": "object", + "properties": { + "value": { + "enum": [ + "pd", + "pse", + "", + null + ], + "type": "string", + "description": "* `pd` - PD\n* `pse` - PSE", + "x-spec-enum-id": "2f2fe6dcdc7772bd" + }, + "label": { + "type": "string", + "enum": [ + "PD", + "PSE" + ] + } + }, + "nullable": true }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "poe_type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "type1-ieee802.3af", + "type2-ieee802.3at", + "type3-ieee802.3bt", + "type4-ieee802.3bt", + "passive-24v-2pair", + "passive-24v-4pair", + "passive-48v-2pair", + "passive-48v-4pair", + "", + null + ], + "type": "string", + "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", + "x-spec-enum-id": "74bd3be4012f6da9" + }, + "label": { + "type": "string", + "enum": [ + "802.3af (Type 1)", + "802.3at (Type 2)", + "802.3bt (Type 3)", + "802.3bt (Type 4)", + "Passive 24V (2-pair)", + "Passive 24V (4-pair)", + "Passive 48V (2-pair)", + "Passive 48V (4-pair)" + ] + } + }, + "nullable": true }, - "display": { + "rf_role": { + "type": "object", + "properties": { + "value": { + "enum": [ + "ap", + "station", + "", + null + ], + "type": "string", + "description": "* `ap` - Access point\n* `station` - Station", + "x-spec-enum-id": "d2772dbea88b0fb1" + }, + "label": { + "type": "string", + "enum": [ + "Access point", + "Station" + ] + } + }, + "nullable": true + }, + "created": { "type": "string", - "readOnly": true + "format": "date-time", + "readOnly": true, + "nullable": true }, - "name": { + "last_updated": { "type": "string", - "maxLength": 100 + "format": "date-time", + "readOnly": true, + "nullable": true } }, "required": [ + "created", "display", "id", + "last_updated", "name", + "type", "url" ] }, - "NestedIPSecProfileRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedInterface": { + "InterfaceTemplateRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { + "device_type": { "allOf": [ { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/DeviceTypeRequest" } ], - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 + "nullable": true }, - "cable": { - "type": "integer", + "module_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "device", - "display", - "id", - "name", - "url" - ] - }, - "NestedInterfaceRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { "name": { "type": "string", "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", "maxLength": 64 }, - "cable": { - "type": "integer", - "nullable": true - } - }, - "required": [ - "name" - ] - }, - "NestedInterfaceTemplate": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { + "label": { "type": "string", - "format": "uri", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "display": { + "type": { + "enum": [ + "virtual", + "bridge", + "lag", + "100base-fx", + "100base-lfx", + "100base-tx", + "100base-t1", + "1000base-t", + "1000base-tx", + "2.5gbase-t", + "5gbase-t", + "10gbase-t", + "10gbase-cx4", + "1000base-x-gbic", + "1000base-x-sfp", + "10gbase-x-sfpp", + "10gbase-x-xfp", + "10gbase-x-xenpak", + "10gbase-x-x2", + "25gbase-x-sfp28", + "50gbase-x-sfp56", + "40gbase-x-qsfpp", + "50gbase-x-sfp28", + "100gbase-x-cfp", + "100gbase-x-cfp2", + "200gbase-x-cfp2", + "400gbase-x-cfp2", + "100gbase-x-cfp4", + "100gbase-x-cxp", + "100gbase-x-cpak", + "100gbase-x-dsfp", + "100gbase-x-sfpdd", + "100gbase-x-qsfp28", + "100gbase-x-qsfpdd", + "200gbase-x-qsfp56", + "200gbase-x-qsfpdd", + "400gbase-x-qsfp112", + "400gbase-x-qsfpdd", + "400gbase-x-osfp", + "400gbase-x-osfp-rhs", + "400gbase-x-cdfp", + "400gbase-x-cfp8", + "800gbase-x-qsfpdd", + "800gbase-x-osfp", + "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", + "10gbase-kr", + "10gbase-kx4", + "25gbase-kr", + "40gbase-kr4", + "50gbase-kr", + "100gbase-kp4", + "100gbase-kr2", + "100gbase-kr4", + "ieee802.11a", + "ieee802.11g", + "ieee802.11n", + "ieee802.11ac", + "ieee802.11ad", + "ieee802.11ax", + "ieee802.11ay", + "ieee802.11be", + "ieee802.15.1", + "other-wireless", + "gsm", + "cdma", + "lte", + "4g", + "5g", + "sonet-oc3", + "sonet-oc12", + "sonet-oc48", + "sonet-oc192", + "sonet-oc768", + "sonet-oc1920", + "sonet-oc3840", + "1gfc-sfp", + "2gfc-sfp", + "4gfc-sfp", + "8gfc-sfpp", + "16gfc-sfpp", + "32gfc-sfp28", + "32gfc-sfpp", + "64gfc-qsfpp", + "64gfc-sfpdd", + "64gfc-sfpp", + "128gfc-qsfp28", + "infiniband-sdr", + "infiniband-ddr", + "infiniband-qdr", + "infiniband-fdr10", + "infiniband-fdr", + "infiniband-edr", + "infiniband-hdr", + "infiniband-ndr", + "infiniband-xdr", + "t1", + "e1", + "t3", + "e3", + "xdsl", + "docsis", + "bpon", + "epon", + "10g-epon", + "gpon", + "xg-pon", + "xgs-pon", + "ng-pon2", + "25g-pon", + "50g-pon", + "cisco-stackwise", + "cisco-stackwise-plus", + "cisco-flexstack", + "cisco-flexstack-plus", + "cisco-stackwise-80", + "cisco-stackwise-160", + "cisco-stackwise-320", + "cisco-stackwise-480", + "cisco-stackwise-1t", + "juniper-vcp", + "extreme-summitstack", + "extreme-summitstack-128", + "extreme-summitstack-256", + "extreme-summitstack-512", + "other" + ], "type": "string", - "readOnly": true + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedInterfaceTemplateRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedInventoryItemRole": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "enabled": { + "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "mgmt_only": { + "type": "boolean", + "title": "Management only" }, - "display": { + "description": { "type": "string", - "readOnly": true + "maxLength": 200 }, - "name": { - "type": "string", - "maxLength": 100 + "bridge": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedInterfaceTemplateRequest" + } + ], + "nullable": true }, - "slug": { + "poe_mode": { + "enum": [ + "pd", + "pse", + "", + null + ], "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedInventoryItemRoleRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { + "description": "* `pd` - PD\n* `pse` - PSE", + "x-spec-enum-id": "2f2fe6dcdc7772bd", + "nullable": true + }, + "poe_type": { + "enum": [ + "type1-ieee802.3af", + "type2-ieee802.3at", + "type3-ieee802.3bt", + "type4-ieee802.3bt", + "passive-24v-2pair", + "passive-24v-4pair", + "passive-48v-2pair", + "passive-48v-4pair", + "", + null + ], "type": "string", - "minLength": 1, - "maxLength": 100 + "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", + "x-spec-enum-id": "74bd3be4012f6da9", + "nullable": true }, - "slug": { + "rf_role": { + "enum": [ + "ap", + "station", + "", + null + ], "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "description": "* `ap` - Access point\n* `station` - Station", + "x-spec-enum-id": "d2772dbea88b0fb1", + "nullable": true } }, "required": [ "name", - "slug" + "type" ] }, - "NestedL2VPN": { + "InventoryItem": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -173375,164 +181933,98 @@ "type": "string", "readOnly": true }, - "identifier": { + "device": { + "$ref": "#/components/schemas/Device" + }, + "parent": { "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", "nullable": true }, "name": { "type": "string", - "maxLength": 100 + "maxLength": 64 }, - "slug": { + "label": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "description": "Physical label", + "maxLength": 64 }, - "type": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree" + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/InventoryItemRole" + } ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree", - "x-spec-enum-id": "dbaa4f996ec2d110" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "type", - "url" - ] - }, - "NestedL2VPNRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", "nullable": true }, - "name": { + "manufacturer": { + "allOf": [ + { + "$ref": "#/components/schemas/Manufacturer" + } + ], + "nullable": true + }, + "part_id": { "type": "string", - "minLength": 1, - "maxLength": 100 + "description": "Manufacturer-assigned part identifier", + "maxLength": 50 }, - "slug": { + "serial": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "title": "Serial number", + "maxLength": 50 }, - "type": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree" - ], + "asset_tag": { "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree", - "x-spec-enum-id": "dbaa4f996ec2d110" - } - }, - "required": [ - "name", - "slug", - "type" - ] - }, - "NestedL2VPNTermination": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "nullable": true, + "description": "A unique tag used to identify this item", + "maxLength": 50 }, - "url": { + "discovered": { + "type": "boolean", + "description": "This item was automatically discovered" + }, + "description": { "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 200 }, - "display": { + "component_type": { "type": "string", - "readOnly": true + "nullable": true }, - "l2vpn": { - "$ref": "#/components/schemas/NestedL2VPN" - } - }, - "required": [ - "display", - "id", - "l2vpn", - "url" - ] - }, - "NestedL2VPNTerminationRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "l2vpn": { - "$ref": "#/components/schemas/NestedL2VPNRequest" - } - }, - "required": [ - "l2vpn" - ] - }, - "NestedLocation": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "component_id": { "type": "integer", - "readOnly": true + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true }, - "url": { - "type": "string", - "format": "uri", + "component": { + "nullable": true, "readOnly": true }, - "display": { - "type": "string", - "readOnly": true + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } }, - "name": { + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "created": { "type": "string", - "maxLength": 100 + "format": "date-time", + "readOnly": true, + "nullable": true }, - "slug": { + "last_updated": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "format": "date-time", + "readOnly": true, + "nullable": true }, "_depth": { "type": "integer", @@ -173542,204 +182034,107 @@ }, "required": [ "_depth", + "component", + "created", + "device", "display", "id", + "last_updated", "name", - "slug", "url" ] }, - "NestedLocationRequest": { + "InventoryItemRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "device": { + "$ref": "#/components/schemas/DeviceRequest" }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedManufacturer": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "parent": { "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 + "nullable": true }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedManufacturerRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { "name": { "type": "string", "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedModuleBay": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 64 }, - "display": { + "label": { "type": "string", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "installed_module": { + "role": { "allOf": [ { - "$ref": "#/components/schemas/ModuleBayNestedModule" + "$ref": "#/components/schemas/InventoryItemRoleRequest" } ], "nullable": true }, - "name": { - "type": "string", - "maxLength": 64 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedModuleBayRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "installed_module": { + "manufacturer": { "allOf": [ { - "$ref": "#/components/schemas/ModuleBayNestedModuleRequest" + "$ref": "#/components/schemas/ManufacturerRequest" } ], "nullable": true }, - "name": { + "part_id": { "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedModuleType": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "description": "Manufacturer-assigned part identifier", + "maxLength": 50 }, - "url": { + "serial": { "type": "string", - "format": "uri", - "readOnly": true + "title": "Serial number", + "maxLength": 50 }, - "display": { + "asset_tag": { "type": "string", - "readOnly": true + "nullable": true, + "description": "A unique tag used to identify this item", + "maxLength": 50 }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedManufacturer" - } - ], - "readOnly": true + "discovered": { + "type": "boolean", + "description": "This item was automatically discovered" }, - "model": { + "description": { "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "manufacturer", - "model", - "url" - ] - }, - "NestedModuleTypeRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "model": { + "maxLength": 200 + }, + "component_type": { "type": "string", - "minLength": 1, - "maxLength": 100 + "nullable": true + }, + "component_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "model" + "device", + "name" ] }, - "NestedPlatform": { + "InventoryItemRole": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -173762,149 +182157,99 @@ "type": "string", "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "NestedPlatformRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 }, - "slug": { + "color": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedPowerPanel": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, - "url": { + "description": { "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 200 }, - "display": { + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "created": { "type": "string", - "readOnly": true + "format": "date-time", + "readOnly": true, + "nullable": true }, - "name": { + "last_updated": { "type": "string", - "maxLength": 100 + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "inventoryitem_count": { + "type": "integer", + "format": "int64", + "readOnly": true } }, "required": [ + "created", "display", "id", + "inventoryitem_count", + "last_updated", "name", + "slug", "url" ] }, - "NestedPowerPanelRequest": { + "InventoryItemRoleRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedPowerPort": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true }, - "url": { + "slug": { "type": "string", - "format": "uri", - "readOnly": true + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "display": { + "color": { "type": "string", - "readOnly": true - }, - "device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "readOnly": true + "minLength": 1, + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, - "name": { + "description": { "type": "string", - "maxLength": 64 + "maxLength": 200 }, - "cable": { - "type": "integer", - "nullable": true + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "_occupied", - "device", - "display", - "id", "name", - "url" - ] - }, - "NestedPowerPortRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "cable": { - "type": "integer", - "nullable": true - } - }, - "required": [ - "name" + "slug" ] }, - "NestedPowerPortTemplate": { + "InventoryItemTemplate": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -173919,222 +182264,159 @@ "type": "string", "readOnly": true }, + "device_type": { + "$ref": "#/components/schemas/DeviceType" + }, + "parent": { + "type": "integer", + "nullable": true + }, "name": { "type": "string", "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", "maxLength": 64 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedPowerPortTemplateRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedPrefix": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "integer", - "readOnly": true }, - "prefix": { + "label": { "type": "string", - "description": "IPv4 or IPv6 network with mask" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "family", - "id", - "prefix", - "url" - ] - }, - "NestedPrefixList": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/InventoryItemRole" + } + ], + "nullable": true }, - "display": { - "type": "string", - "readOnly": true + "manufacturer": { + "allOf": [ + { + "$ref": "#/components/schemas/Manufacturer" + } + ], + "nullable": true }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedPrefixListRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedPrefixRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "prefix": { + "part_id": { "type": "string", - "description": "IPv4 or IPv6 network with mask" - } - }, - "required": [ - "prefix" - ] - }, - "NestedProvider": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "description": "Manufacturer-assigned part identifier", + "maxLength": 50 }, - "url": { + "description": { "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 200 }, - "display": { + "component_type": { "type": "string", + "nullable": true + }, + "component_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true + }, + "component": { + "nullable": true, "readOnly": true }, - "name": { + "created": { "type": "string", - "description": "Full name of the provider", - "maxLength": 100 + "format": "date-time", + "readOnly": true, + "nullable": true }, - "slug": { + "last_updated": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "_depth": { + "type": "integer", + "readOnly": true, + "title": " depth" } }, "required": [ + "_depth", + "component", + "created", + "device_type", "display", "id", + "last_updated", "name", - "slug", "url" ] }, - "NestedProviderAccount": { + "InventoryItemTemplateRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "id": { + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" + }, + "parent": { "type": "integer", - "readOnly": true + "nullable": true }, - "url": { + "name": { "type": "string", - "format": "uri", - "readOnly": true + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "display": { + "label": { "type": "string", - "readOnly": true + "description": "Physical label", + "maxLength": 64 }, - "name": { - "type": "string", - "maxLength": 100 + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/InventoryItemRoleRequest" + } + ], + "nullable": true }, - "account": { + "manufacturer": { + "allOf": [ + { + "$ref": "#/components/schemas/ManufacturerRequest" + } + ], + "nullable": true + }, + "part_id": { "type": "string", - "title": "Account ID", - "maxLength": 100 - } - }, - "required": [ - "account", - "display", - "id", - "url" - ] - }, - "NestedProviderAccountRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { + "description": "Manufacturer-assigned part identifier", + "maxLength": 50 + }, + "description": { "type": "string", - "maxLength": 100 + "maxLength": 200 }, - "account": { + "component_type": { "type": "string", - "minLength": 1, - "title": "Account ID", - "maxLength": 100 + "nullable": true + }, + "component_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true } }, "required": [ - "account" + "device_type", + "name" ] }, - "NestedProviderNetwork": { + "Job": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { "id": { "type": "integer", @@ -174149,113 +182431,124 @@ "type": "string", "readOnly": true }, - "name": { + "object_type": { "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedProviderNetworkRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { + "readOnly": true + }, + "object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true + }, "name": { "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedProviderRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { + "maxLength": 200 + }, + "status": { + "type": "object", + "properties": { + "value": { + "enum": [ + "pending", + "scheduled", + "running", + "completed", + "errored", + "failed" + ], + "type": "string", + "description": "* `pending` - Pending\n* `scheduled` - Scheduled\n* `running` - Running\n* `completed` - Completed\n* `errored` - Errored\n* `failed` - Failed", + "x-spec-enum-id": "e33887d83efcc138" + }, + "label": { + "type": "string", + "enum": [ + "Pending", + "Scheduled", + "Running", + "Completed", + "Errored", + "Failed" + ] + } + }, + "readOnly": true + }, + "created": { "type": "string", - "minLength": 1, - "description": "Full name of the provider", - "maxLength": 100 + "format": "date-time", + "readOnly": true }, - "slug": { + "scheduled": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedRIR": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { + "format": "date-time", + "nullable": true + }, + "interval": { "type": "integer", - "readOnly": true + "maximum": 2147483647, + "minimum": 1, + "nullable": true, + "description": "Recurrence interval (in minutes)" }, - "url": { + "started": { "type": "string", - "format": "uri", - "readOnly": true + "format": "date-time", + "nullable": true }, - "display": { + "completed": { "type": "string", + "format": "date-time", + "nullable": true + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/User" + } + ], "readOnly": true }, - "name": { + "data": { + "nullable": true + }, + "error": { "type": "string", - "maxLength": 100 + "readOnly": true }, - "slug": { + "job_id": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "format": "uuid" } }, "required": [ + "created", "display", + "error", "id", + "job_id", "name", - "slug", - "url" + "object_type", + "status", + "url", + "user" ] }, - "NestedRIRRequest": { + "JobRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { + "completed": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "format": "date-time", + "nullable": true } - }, - "required": [ - "name", - "slug" - ] + } }, - "NestedRack": { + "JournalEntry": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174270,35 +182563,138 @@ "type": "string", "readOnly": true }, - "name": { + "assigned_object_type": { + "type": "string" + }, + "assigned_object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "assigned_object": { + "nullable": true, + "readOnly": true + }, + "created": { "type": "string", - "maxLength": 100 + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "created_by": { + "type": "integer", + "nullable": true + }, + "kind": { + "type": "object", + "properties": { + "value": { + "enum": [ + "info", + "success", + "warning", + "danger" + ], + "type": "string", + "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", + "x-spec-enum-id": "a21af280f632fa34" + }, + "label": { + "type": "string", + "enum": [ + "Info", + "Success", + "Warning", + "Danger" + ] + } + } + }, + "comments": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true } }, "required": [ + "assigned_object", + "assigned_object_id", + "assigned_object_type", + "comments", + "created", "display", "id", - "name", + "last_updated", "url" ] }, - "NestedRackRequest": { + "JournalEntryRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { - "name": { + "assigned_object_type": { + "type": "string" + }, + "assigned_object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "created_by": { + "type": "integer", + "nullable": true + }, + "kind": { + "enum": [ + "info", + "success", + "warning", + "danger" + ], "type": "string", - "minLength": 1, - "maxLength": 100 + "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", + "x-spec-enum-id": "a21af280f632fa34" + }, + "comments": { + "type": "string", + "minLength": 1 + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "name" + "assigned_object_id", + "assigned_object_type", + "comments" ] }, - "NestedRackRole": { + "L2VPN": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174313,6 +182709,13 @@ "type": "string", "readOnly": true }, + "identifier": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true + }, "name": { "type": "string", "maxLength": 100 @@ -174321,6 +182724,51 @@ "type": "string", "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" + }, + "type": { + "type": "object", + "properties": { + "value": { + "enum": [ + "vpws", + "vpls", + "vxlan", + "vxlan-evpn", + "mpls-evpn", + "pbb-evpn", + "epl", + "evpl", + "ep-lan", + "evp-lan", + "ep-tree", + "evp-tree" + ], + "type": "string", + "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree", + "x-spec-enum-id": "dbaa4f996ec2d110" + }, + "label": { + "type": "string", + "enum": [ + "VPWS", + "VPLS", + "VXLAN", + "VXLAN-EVPN", + "MPLS EVPN", + "PBB EVPN", + "EPL", + "EVPL", + "Ethernet Private LAN", + "Ethernet Virtual Private LAN", + "Ethernet Private Tree", + "Ethernet Virtual Private Tree" + ] + } + } + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ @@ -174331,10 +182779,17 @@ "url" ] }, - "NestedRackRoleRequest": { + "L2VPNRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { + "identifier": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": -9223372036854775808, + "format": "int64", + "nullable": true + }, "name": { "type": "string", "minLength": 1, @@ -174345,6 +182800,29 @@ "minLength": 1, "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" + }, + "type": { + "enum": [ + "vpws", + "vpls", + "vxlan", + "vxlan-evpn", + "mpls-evpn", + "pbb-evpn", + "epl", + "evpl", + "ep-lan", + "evp-lan", + "ep-tree", + "evp-tree" + ], + "type": "string", + "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree", + "x-spec-enum-id": "dbaa4f996ec2d110" + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ @@ -174352,9 +182830,9 @@ "slug" ] }, - "NestedRearPortTemplate": { + "L2VPNTermination": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174369,37 +182847,32 @@ "type": "string", "readOnly": true }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "l2vpn": { + "$ref": "#/components/schemas/L2VPN" } }, "required": [ "display", "id", - "name", + "l2vpn", "url" ] }, - "NestedRearPortTemplateRequest": { + "L2VPNTerminationRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 + "l2vpn": { + "$ref": "#/components/schemas/L2VPNRequest" } }, "required": [ - "name" + "l2vpn" ] }, - "NestedRegion": { + "Location": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends PrimaryModelSerializer to include MPTT support.", "properties": { "id": { "type": "integer", @@ -174423,6 +182896,15 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, + "description": { + "type": "string", + "maxLength": 200 + }, + "rack_count": { + "type": "integer", + "readOnly": true, + "default": 0 + }, "_depth": { "type": "integer", "readOnly": true, @@ -174434,13 +182916,14 @@ "display", "id", "name", + "rack_count", "slug", "url" ] }, - "NestedRegionRequest": { + "LocationRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends PrimaryModelSerializer to include MPTT support.", "properties": { "name": { "type": "string", @@ -174452,6 +182935,10 @@ "minLength": 1, "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ @@ -174459,9 +182946,9 @@ "slug" ] }, - "NestedRole": { + "Manufacturer": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174484,9 +182971,19 @@ "type": "string", "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "devicetype_count": { + "type": "integer", + "format": "int64", + "readOnly": true } }, "required": [ + "devicetype_count", "display", "id", "name", @@ -174494,9 +182991,9 @@ "url" ] }, - "NestedRoleRequest": { + "ManufacturerRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "name": { "type": "string", @@ -174508,6 +183005,10 @@ "minLength": 1, "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ @@ -174515,9 +183016,9 @@ "slug" ] }, - "NestedRoutingPolicy": { + "Module": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174528,47 +183029,28 @@ "format": "uri", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 100 - }, "display": { "type": "string", "readOnly": true }, - "description": { - "type": "string", - "maxLength": 200 + "device": { + "$ref": "#/components/schemas/Device" + }, + "module_bay": { + "$ref": "#/components/schemas/NestedModuleBay" } }, "required": [ + "device", "display", "id", - "name", + "module_bay", "url" ] }, - "NestedRoutingPolicyRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "NestedSecretRole": { + "ModuleBay": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174583,87 +183065,69 @@ "type": "string", "readOnly": true }, + "device": { + "$ref": "#/components/schemas/Device" + }, "name": { "type": "string", - "maxLength": 100 + "maxLength": 64 }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "installed_module": { + "allOf": [ + { + "$ref": "#/components/schemas/Module" + } + ], + "nullable": true }, - "secret_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "secret_count", - "slug", - "url" - ] - }, - "NestedSecretRoleRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { + "label": { "type": "string", - "minLength": 1, - "maxLength": 100 + "description": "Physical label", + "maxLength": 64 }, - "slug": { + "position": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedSite": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true + "description": "Identifier to reference when renaming installed components", + "maxLength": 30 }, - "url": { + "description": { "type": "string", - "format": "uri", - "readOnly": true + "maxLength": 200 }, - "display": { - "type": "string", - "readOnly": true + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } }, - "name": { + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "created": { "type": "string", - "description": "Full name of the site", - "maxLength": 100 + "format": "date-time", + "readOnly": true, + "nullable": true }, - "slug": { + "last_updated": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "format": "date-time", + "readOnly": true, + "nullable": true } }, "required": [ + "created", + "device", "display", "id", + "last_updated", "name", - "slug", "url" ] }, - "NestedSiteGroup": { + "ModuleBayNestedModule": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -174680,76 +183144,82 @@ "type": "string", "readOnly": true }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { + "serial": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" + "title": "Serial number", + "maxLength": 50 } }, "required": [ - "_depth", "display", "id", - "name", - "slug", "url" ] }, - "NestedSiteGroupRequest": { + "ModuleBayNestedModuleRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { + "serial": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "title": "Serial number", + "maxLength": 50 } - }, - "required": [ - "name", - "slug" - ] + } }, - "NestedSiteRequest": { + "ModuleBayRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, "name": { "type": "string", "minLength": 1, - "description": "Full name of the site", - "maxLength": 100 + "maxLength": 64 }, - "slug": { + "installed_module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], + "nullable": true + }, + "label": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "description": "Physical label", + "maxLength": 64 + }, + "position": { + "type": "string", + "description": "Identifier to reference when renaming installed components", + "maxLength": 30 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ - "name", - "slug" + "device", + "name" ] }, - "NestedTag": { + "ModuleBayTemplate": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "id": { "type": "integer", @@ -174764,59 +183234,103 @@ "type": "string", "readOnly": true }, + "device_type": { + "$ref": "#/components/schemas/DeviceType" + }, "name": { "type": "string", - "maxLength": 100 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "slug": { + "label": { "type": "string", - "pattern": "^[-\\w]+$", - "maxLength": 100 + "description": "Physical label", + "maxLength": 64 }, - "color": { + "position": { "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + "description": "Identifier to reference when renaming installed components", + "maxLength": 30 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "created": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "last_updated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "nullable": true } }, "required": [ + "created", + "device_type", "display", "id", + "last_updated", "name", - "slug", "url" ] }, - "NestedTagRequest": { + "ModuleBayTemplateRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" + }, "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "slug": { + "label": { "type": "string", - "minLength": 1, - "pattern": "^[-\\w]+$", - "maxLength": 100 + "description": "Physical label", + "maxLength": 64 }, - "color": { + "position": { "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + "description": "Identifier to reference when renaming installed components", + "maxLength": 30 + }, + "description": { + "type": "string", + "maxLength": 200 } }, "required": [ - "name", - "slug" + "device_type", + "name" ] }, - "NestedTenant": { + "ModuleRequest": { "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "description": "Adds support for custom fields and tags.", + "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, + "module_bay": { + "$ref": "#/components/schemas/NestedModuleBayRequest" + } + }, + "required": [ + "device", + "module_bay" + ] + }, + "ModuleType": { + "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { "id": { "type": "integer", @@ -174831,25 +183345,49 @@ "type": "string", "readOnly": true }, - "name": { + "manufacturer": { + "$ref": "#/components/schemas/Manufacturer" + }, + "model": { "type": "string", "maxLength": 100 }, - "slug": { + "description": { "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "maxLength": 200 } }, "required": [ "display", "id", - "name", - "slug", + "manufacturer", + "model", "url" ] }, - "NestedTenantGroup": { + "ModuleTypeRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "manufacturer": { + "$ref": "#/components/schemas/ManufacturerRequest" + }, + "model": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "manufacturer", + "model" + ] + }, + "NestedContactGroup": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -174890,7 +183428,7 @@ "url" ] }, - "NestedTenantGroupRequest": { + "NestedContactGroupRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -174911,28 +183449,47 @@ "slug" ] }, - "NestedTenantRequest": { + "NestedDevice": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { - "name": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { "type": "string", - "minLength": 1, - "maxLength": 100 + "format": "uri", + "readOnly": true }, - "slug": { + "display": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "readOnly": true + }, + "name": { + "type": "string", + "nullable": true, + "maxLength": 64 } }, "required": [ - "name", - "slug" + "display", + "id", + "url" ] }, - "NestedTunnel": { + "NestedDeviceRequest": { + "type": "object", + "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "properties": { + "name": { + "type": "string", + "nullable": true, + "maxLength": 64 + } + } + }, + "NestedGroup": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -174951,7 +183508,7 @@ }, "name": { "type": "string", - "maxLength": 100 + "maxLength": 150 } }, "required": [ @@ -174961,7 +183518,7 @@ "url" ] }, - "NestedTunnelGroup": { + "NestedInterface": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -174978,60 +183535,56 @@ "type": "string", "readOnly": true }, + "device": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedDevice" + } + ], + "readOnly": true + }, "name": { "type": "string", - "maxLength": 100 + "maxLength": 64 }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "cable": { + "type": "integer", + "nullable": true + }, + "_occupied": { + "type": "boolean", + "readOnly": true, + "title": " occupied" } }, "required": [ + "_occupied", + "device", "display", "id", "name", - "slug", "url" ] }, - "NestedTunnelGroupRequest": { + "NestedInterfaceRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "maxLength": 64 }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedTunnelRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "cable": { + "type": "integer", + "nullable": true } }, "required": [ "name" ] }, - "NestedUser": { + "NestedInterfaceTemplate": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175048,21 +183601,35 @@ "type": "string", "readOnly": true }, - "username": { + "name": { "type": "string", - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 } }, "required": [ "display", "id", - "url", - "username" + "name", + "url" + ] + }, + "NestedInterfaceTemplateRequest": { + "type": "object", + "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + } + }, + "required": [ + "name" ] }, - "NestedUserKey": { + "NestedModuleBay": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175075,34 +183642,53 @@ "format": "uri", "readOnly": true }, - "display": { + "display": { + "type": "string", + "readOnly": true + }, + "installed_module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleBayNestedModule" + } + ], + "nullable": true + }, + "name": { "type": "string", - "readOnly": true + "maxLength": 64 } }, "required": [ "display", "id", + "name", "url" ] }, - "NestedUserRequest": { + "NestedModuleBayRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { - "username": { + "installed_module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleBayNestedModuleRequest" + } + ], + "nullable": true + }, + "name": { "type": "string", "minLength": 1, - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 + "maxLength": 64 } }, "required": [ - "username" + "name" ] }, - "NestedVLAN": { + "NestedRegion": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175119,27 +183705,52 @@ "type": "string", "readOnly": true }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, "name": { "type": "string", - "maxLength": 64 + "maxLength": 100 + }, + "slug": { + "type": "string", + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "_depth": { + "type": "integer", + "readOnly": true, + "title": " depth" } }, "required": [ + "_depth", "display", "id", "name", - "url", - "vid" + "slug", + "url" + ] + }, + "NestedRegionRequest": { + "type": "object", + "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "slug": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + } + }, + "required": [ + "name", + "slug" ] }, - "NestedVLANGroup": { + "NestedSiteGroup": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175164,9 +183775,15 @@ "type": "string", "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" + }, + "_depth": { + "type": "integer", + "readOnly": true, + "title": " depth" } }, "required": [ + "_depth", "display", "id", "name", @@ -175174,7 +183791,7 @@ "url" ] }, - "NestedVLANGroupRequest": { + "NestedSiteGroupRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175195,29 +183812,7 @@ "slug" ] }, - "NestedVLANRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "name", - "vid" - ] - }, - "NestedVMInterface": { + "NestedTag": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175234,42 +183829,57 @@ "type": "string", "readOnly": true }, - "virtual_machine": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVirtualMachine" - } - ], - "readOnly": true - }, "name": { "type": "string", - "maxLength": 64 + "maxLength": 100 + }, + "slug": { + "type": "string", + "pattern": "^[-\\w]+$", + "maxLength": 100 + }, + "color": { + "type": "string", + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 } }, "required": [ "display", "id", "name", - "url", - "virtual_machine" + "slug", + "url" ] }, - "NestedVMInterfaceRequest": { + "NestedTagRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { "name": { "type": "string", "minLength": 1, - "maxLength": 64 + "maxLength": 100 + }, + "slug": { + "type": "string", + "minLength": 1, + "pattern": "^[-\\w]+$", + "maxLength": 100 + }, + "color": { + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 } }, "required": [ - "name" + "name", + "slug" ] }, - "NestedVRF": { + "NestedTenantGroup": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175290,22 +183900,27 @@ "type": "string", "maxLength": 100 }, - "rd": { + "slug": { "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "_depth": { + "type": "integer", + "readOnly": true, + "title": " depth" } }, "required": [ + "_depth", "display", "id", "name", + "slug", "url" ] }, - "NestedVRFRequest": { + "NestedTenantGroupRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175314,19 +183929,19 @@ "minLength": 1, "maxLength": 100 }, - "rd": { + "slug": { "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" } }, "required": [ - "name" + "name", + "slug" ] }, - "NestedVirtualChassis": { + "NestedUser": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175343,41 +183958,21 @@ "type": "string", "readOnly": true }, - "name": { + "username": { "type": "string", - "maxLength": 64 - }, - "master": { - "$ref": "#/components/schemas/NestedDevice" + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "pattern": "^[\\w.@+-]+$", + "maxLength": 150 } }, "required": [ "display", "id", - "master", - "name", - "url" - ] - }, - "NestedVirtualChassisRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "master": { - "$ref": "#/components/schemas/NestedDeviceRequest" - } - }, - "required": [ - "master", - "name" + "url", + "username" ] }, - "NestedVirtualMachine": { + "NestedVMInterface": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175394,6 +183989,14 @@ "type": "string", "readOnly": true }, + "virtual_machine": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualMachine" + } + ], + "readOnly": true + }, "name": { "type": "string", "maxLength": 64 @@ -175403,10 +184006,11 @@ "display", "id", "name", - "url" + "url", + "virtual_machine" ] }, - "NestedVirtualMachineRequest": { + "NestedVMInterfaceRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175420,7 +184024,7 @@ "name" ] }, - "NestedWirelessLANGroup": { + "NestedVirtualMachine": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", "properties": { @@ -175439,28 +184043,30 @@ }, "name": { "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" + "maxLength": 64 } }, "required": [ - "_depth", "display", "id", "name", - "slug", "url" ] }, + "NestedVirtualMachineRequest": { + "type": "object", + "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 64 + } + }, + "required": [ + "name" + ] + }, "NestedWirelessLANGroupRequest": { "type": "object", "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", @@ -175544,7 +184150,7 @@ "user": { "allOf": [ { - "$ref": "#/components/schemas/NestedUser" + "$ref": "#/components/schemas/User" } ], "readOnly": true @@ -175598,13 +184204,11 @@ }, "prechange_data": { "readOnly": true, - "nullable": true, - "title": "Pre-change data" + "nullable": true }, "postchange_data": { "readOnly": true, - "nullable": true, - "title": "Post-change data" + "nullable": true } }, "required": [ @@ -175657,18 +184261,6 @@ "type": "string" } }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - }, "actions": { "type": "array", "items": { @@ -175680,6 +184272,18 @@ "constraints": { "nullable": true, "description": "Queryset filter matching the applicable objects of the selected type(s)" + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedGroup" + } + }, + "users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedUser" + } } }, "required": [ @@ -175713,18 +184317,6 @@ "type": "string" } }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - }, "actions": { "type": "array", "items": { @@ -175737,6 +184329,18 @@ "constraints": { "nullable": true, "description": "Queryset filter matching the applicable objects of the selected type(s)" + }, + "groups": { + "type": "array", + "items": { + "type": "integer" + } + }, + "users": { + "type": "array", + "items": { + "type": "integer" + } } }, "required": [ @@ -175745,8 +184349,790 @@ "object_types" ] }, + "ObjectType": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "app_label": { + "type": "string", + "maxLength": 100 + }, + "model": { + "type": "string", + "title": "Python model class name", + "maxLength": 100 + } + }, + "required": [ + "app_label", + "display", + "id", + "model", + "url" + ] + }, "PaginatedASNList": { "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ASN" + } + } + } + }, + "PaginatedASNRangeList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ASNRange" + } + } + } + }, + "PaginatedAggregateList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Aggregate" + } + } + } + }, + "PaginatedBGPPeerGroupList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BGPPeerGroup" + } + } + } + }, + "PaginatedBGPSessionList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BGPSession" + } + } + } + }, + "PaginatedBookmarkList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Bookmark" + } + } + } + }, + "PaginatedCableList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Cable" + } + } + } + }, + "PaginatedCableTerminationList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CableTermination" + } + } + } + }, + "PaginatedCircuitList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Circuit" + } + } + } + }, + "PaginatedCircuitTerminationList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CircuitTermination" + } + } + } + }, + "PaginatedCircuitTypeList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CircuitType" + } + } + } + }, + "PaginatedClusterGroupList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClusterGroup" + } + } + } + }, + "PaginatedClusterList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Cluster" + } + } + } + }, + "PaginatedClusterTypeList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClusterType" + } + } + } + }, + "PaginatedCommunityList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Community" + } + } + } + }, + "PaginatedCommunityListList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CommunityList" + } + } + } + }, + "PaginatedCommunityListRuleList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CommunityListRule" + } + } + } + }, + "PaginatedConfigContextList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigContext" + } + } + } + }, + "PaginatedConfigTemplateList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigTemplate" + } + } + } + }, + "PaginatedConsolePortList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConsolePort" + } + } + } + }, + "PaginatedConsolePortTemplateList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConsolePortTemplate" + } + } + } + }, + "PaginatedConsoleServerPortList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConsoleServerPort" + } + } + } + }, + "PaginatedConsoleServerPortTemplateList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConsoleServerPortTemplate" + } + } + } + }, + "PaginatedContactAssignmentList": { + "type": "object", + "required": [ + "count", + "results" + ], + "properties": { + "count": { + "type": "integer", + "example": 123 + }, + "next": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=400&limit=100" + }, + "previous": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "http://api.example.org/accounts/?offset=200&limit=100" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ContactAssignment" + } + } + } + }, + "PaginatedContactGroupList": { + "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175767,13 +185153,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ASN" + "$ref": "#/components/schemas/ContactGroup" } } } }, - "PaginatedASNRangeList": { + "PaginatedContactList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175794,13 +185184,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ASNRange" + "$ref": "#/components/schemas/Contact" } } } }, - "PaginatedAggregateList": { + "PaginatedContactRoleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175821,13 +185215,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Aggregate" + "$ref": "#/components/schemas/ContactRole" } } } }, - "PaginatedBGPPeerGroupList": { + "PaginatedCustomFieldChoiceSetList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175848,13 +185246,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/BGPPeerGroup" + "$ref": "#/components/schemas/CustomFieldChoiceSet" } } } }, - "PaginatedBGPSessionList": { + "PaginatedCustomFieldList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175875,13 +185277,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/BGPSession" + "$ref": "#/components/schemas/CustomField" } } } }, - "PaginatedBookmarkList": { + "PaginatedCustomLinkList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175902,13 +185308,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Bookmark" + "$ref": "#/components/schemas/CustomLink" } } } }, - "PaginatedCableList": { + "PaginatedDataFileList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175929,13 +185339,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Cable" + "$ref": "#/components/schemas/DataFile" } } } }, - "PaginatedCableTerminationList": { + "PaginatedDataSourceList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175956,13 +185370,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CableTermination" + "$ref": "#/components/schemas/DataSource" } } } }, - "PaginatedCircuitList": { + "PaginatedDeviceBayList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -175983,13 +185401,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Circuit" + "$ref": "#/components/schemas/DeviceBay" } } } }, - "PaginatedCircuitTerminationList": { + "PaginatedDeviceBayTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176010,13 +185432,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CircuitTermination" + "$ref": "#/components/schemas/DeviceBayTemplate" } } } }, - "PaginatedCircuitTypeList": { + "PaginatedDeviceRoleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176037,13 +185463,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CircuitType" + "$ref": "#/components/schemas/DeviceRole" } } } }, - "PaginatedClusterGroupList": { + "PaginatedDeviceTypeList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176064,13 +185494,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterGroup" + "$ref": "#/components/schemas/DeviceType" } } } }, - "PaginatedClusterList": { + "PaginatedDeviceWithConfigContextList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176091,13 +185525,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Cluster" + "$ref": "#/components/schemas/DeviceWithConfigContext" } } } }, - "PaginatedClusterTypeList": { + "PaginatedEventRuleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176118,13 +185556,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ClusterType" + "$ref": "#/components/schemas/EventRule" } } } }, - "PaginatedCommunityList": { + "PaginatedExportTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176145,13 +185587,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Community" + "$ref": "#/components/schemas/ExportTemplate" } } } }, - "PaginatedCommunityListList": { + "PaginatedFHRPGroupAssignmentList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176172,13 +185618,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CommunityList" + "$ref": "#/components/schemas/FHRPGroupAssignment" } } } }, - "PaginatedCommunityListRuleList": { + "PaginatedFHRPGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176199,13 +185649,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CommunityListRule" + "$ref": "#/components/schemas/FHRPGroup" } } } }, - "PaginatedConfigContextList": { + "PaginatedFrontPortList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176226,13 +185680,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ConfigContext" + "$ref": "#/components/schemas/FrontPort" } } } }, - "PaginatedConfigTemplateList": { + "PaginatedFrontPortTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176253,13 +185711,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ConfigTemplate" + "$ref": "#/components/schemas/FrontPortTemplate" } } } }, - "PaginatedConsolePortList": { + "PaginatedGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176280,13 +185742,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ConsolePort" + "$ref": "#/components/schemas/Group" } } } }, - "PaginatedConsolePortTemplateList": { + "PaginatedIKEPolicyList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176307,13 +185773,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ConsolePortTemplate" + "$ref": "#/components/schemas/IKEPolicy" } } } }, - "PaginatedConsoleServerPortList": { + "PaginatedIKEProposalList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176334,13 +185804,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ConsoleServerPort" + "$ref": "#/components/schemas/IKEProposal" } } } }, - "PaginatedConsoleServerPortTemplateList": { + "PaginatedIPAddressList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176361,13 +185835,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" + "$ref": "#/components/schemas/IPAddress" } } } }, - "PaginatedContactAssignmentList": { + "PaginatedIPRangeList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176388,13 +185866,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactAssignment" + "$ref": "#/components/schemas/IPRange" } } } }, - "PaginatedContactGroupList": { + "PaginatedIPSecPolicyList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176415,13 +185897,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactGroup" + "$ref": "#/components/schemas/IPSecPolicy" } } } }, - "PaginatedContactList": { + "PaginatedIPSecProfileList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176442,13 +185928,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Contact" + "$ref": "#/components/schemas/IPSecProfile" } } } }, - "PaginatedContactRoleList": { + "PaginatedIPSecProposalList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176469,13 +185959,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ContactRole" + "$ref": "#/components/schemas/IPSecProposal" } } } }, - "PaginatedContentTypeList": { + "PaginatedImageAttachmentList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176496,13 +185990,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ContentType" + "$ref": "#/components/schemas/ImageAttachment" } } } }, - "PaginatedCustomFieldChoiceSetList": { + "PaginatedInterfaceList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176523,13 +186021,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" + "$ref": "#/components/schemas/Interface" } } } }, - "PaginatedCustomFieldList": { + "PaginatedInterfaceTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176550,13 +186052,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomField" + "$ref": "#/components/schemas/InterfaceTemplate" } } } }, - "PaginatedCustomLinkList": { + "PaginatedInventoryItemList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176577,13 +186083,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomLink" + "$ref": "#/components/schemas/InventoryItem" } } } }, - "PaginatedDataFileList": { + "PaginatedInventoryItemRoleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176604,13 +186114,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DataFile" + "$ref": "#/components/schemas/InventoryItemRole" } } } }, - "PaginatedDataSourceList": { + "PaginatedInventoryItemTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176631,13 +186145,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DataSource" + "$ref": "#/components/schemas/InventoryItemTemplate" } } } }, - "PaginatedDeviceBayList": { + "PaginatedJobList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176658,13 +186176,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DeviceBay" + "$ref": "#/components/schemas/Job" } } } }, - "PaginatedDeviceBayTemplateList": { + "PaginatedJournalEntryList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176685,13 +186207,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DeviceBayTemplate" + "$ref": "#/components/schemas/JournalEntry" } } } }, - "PaginatedDeviceRoleList": { + "PaginatedL2VPNList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176712,13 +186238,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DeviceRole" + "$ref": "#/components/schemas/L2VPN" } } } }, - "PaginatedDeviceTypeList": { + "PaginatedL2VPNTerminationList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176739,13 +186269,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DeviceType" + "$ref": "#/components/schemas/L2VPNTermination" } } } }, - "PaginatedDeviceWithConfigContextList": { + "PaginatedLocationList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176766,13 +186300,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/DeviceWithConfigContext" + "$ref": "#/components/schemas/Location" } } } }, - "PaginatedEventRuleList": { + "PaginatedManufacturerList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176793,13 +186331,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/EventRule" + "$ref": "#/components/schemas/Manufacturer" } } } }, - "PaginatedExportTemplateList": { + "PaginatedModuleBayList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176820,13 +186362,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ExportTemplate" + "$ref": "#/components/schemas/ModuleBay" } } } }, - "PaginatedFHRPGroupAssignmentList": { + "PaginatedModuleBayTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176847,13 +186393,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/FHRPGroupAssignment" + "$ref": "#/components/schemas/ModuleBayTemplate" } } } }, - "PaginatedFHRPGroupList": { + "PaginatedModuleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176874,13 +186424,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/FHRPGroup" + "$ref": "#/components/schemas/Module" } } } }, - "PaginatedFrontPortList": { + "PaginatedModuleTypeList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176901,13 +186455,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/FrontPort" + "$ref": "#/components/schemas/ModuleType" } } } }, - "PaginatedFrontPortTemplateList": { + "PaginatedObjectChangeList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176928,13 +186486,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/FrontPortTemplate" + "$ref": "#/components/schemas/ObjectChange" } } } }, - "PaginatedGroupList": { + "PaginatedObjectPermissionList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176955,13 +186517,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/ObjectPermission" } } } }, - "PaginatedIKEPolicyList": { + "PaginatedObjectTypeList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -176982,13 +186548,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEPolicy" + "$ref": "#/components/schemas/ObjectType" } } } }, - "PaginatedIKEProposalList": { + "PaginatedPlatformList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177009,13 +186579,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IKEProposal" + "$ref": "#/components/schemas/Platform" } } } }, - "PaginatedIPAddressList": { + "PaginatedPowerFeedList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177036,13 +186610,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IPAddress" + "$ref": "#/components/schemas/PowerFeed" } } } }, - "PaginatedIPRangeList": { + "PaginatedPowerOutletList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177063,13 +186641,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IPRange" + "$ref": "#/components/schemas/PowerOutlet" } } } }, - "PaginatedIPSecPolicyList": { + "PaginatedPowerOutletTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177090,13 +186672,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecPolicy" + "$ref": "#/components/schemas/PowerOutletTemplate" } } } }, - "PaginatedIPSecProfileList": { + "PaginatedPowerPanelList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177117,13 +186703,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProfile" + "$ref": "#/components/schemas/PowerPanel" } } } }, - "PaginatedIPSecProposalList": { + "PaginatedPowerPortList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177144,13 +186734,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/IPSecProposal" + "$ref": "#/components/schemas/PowerPort" } } } }, - "PaginatedImageAttachmentList": { + "PaginatedPowerPortTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177171,13 +186765,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ImageAttachment" + "$ref": "#/components/schemas/PowerPortTemplate" } } } }, - "PaginatedInterfaceList": { + "PaginatedPrefixList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177198,13 +186796,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Interface" + "$ref": "#/components/schemas/Prefix" } } } }, - "PaginatedInterfaceTemplateList": { + "PaginatedPrefixListList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177225,13 +186827,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/InterfaceTemplate" + "$ref": "#/components/schemas/PrefixList" } } } }, - "PaginatedInventoryItemList": { + "PaginatedPrefixListRuleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177252,13 +186858,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/InventoryItem" + "$ref": "#/components/schemas/PrefixListRule" } } } }, - "PaginatedInventoryItemRoleList": { + "PaginatedProviderAccountList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177279,13 +186889,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/InventoryItemRole" + "$ref": "#/components/schemas/ProviderAccount" } } } }, - "PaginatedInventoryItemTemplateList": { + "PaginatedProviderList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177306,13 +186920,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/InventoryItemTemplate" + "$ref": "#/components/schemas/Provider" } } } }, - "PaginatedJobList": { + "PaginatedProviderNetworkList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177333,13 +186951,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Job" + "$ref": "#/components/schemas/ProviderNetwork" } } } }, - "PaginatedJournalEntryList": { + "PaginatedRIRList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177360,13 +186982,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/JournalEntry" + "$ref": "#/components/schemas/RIR" } } } }, - "PaginatedL2VPNList": { + "PaginatedRackList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177387,13 +187013,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPN" + "$ref": "#/components/schemas/Rack" } } } }, - "PaginatedL2VPNTerminationList": { + "PaginatedRackReservationList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177414,13 +187044,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/L2VPNTermination" + "$ref": "#/components/schemas/RackReservation" } } } }, - "PaginatedLocationList": { + "PaginatedRackRoleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177441,13 +187075,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Location" + "$ref": "#/components/schemas/RackRole" } } } }, - "PaginatedManufacturerList": { + "PaginatedRackUnitList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177468,13 +187106,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Manufacturer" + "$ref": "#/components/schemas/RackUnit" } } } }, - "PaginatedModuleBayList": { + "PaginatedRearPortList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177495,13 +187137,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ModuleBay" + "$ref": "#/components/schemas/RearPort" } } } }, - "PaginatedModuleBayTemplateList": { + "PaginatedRearPortTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177522,13 +187168,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ModuleBayTemplate" + "$ref": "#/components/schemas/RearPortTemplate" } } } }, - "PaginatedModuleList": { + "PaginatedRegionList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177549,13 +187199,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Module" + "$ref": "#/components/schemas/Region" } } } }, - "PaginatedModuleTypeList": { + "PaginatedRoleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177576,13 +187230,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ModuleType" + "$ref": "#/components/schemas/Role" } } } }, - "PaginatedObjectChangeList": { + "PaginatedRouteTargetList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177603,13 +187261,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectChange" + "$ref": "#/components/schemas/RouteTarget" } } } }, - "PaginatedObjectPermissionList": { + "PaginatedRoutingPolicyList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177630,13 +187292,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectPermission" + "$ref": "#/components/schemas/RoutingPolicy" } } } }, - "PaginatedPlatformList": { + "PaginatedRoutingPolicyRuleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177657,13 +187323,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Platform" + "$ref": "#/components/schemas/RoutingPolicyRule" } } } }, - "PaginatedPowerFeedList": { + "PaginatedSavedFilterList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177684,13 +187354,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PowerFeed" + "$ref": "#/components/schemas/SavedFilter" } } } }, - "PaginatedPowerOutletList": { + "PaginatedScriptList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177711,13 +187385,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PowerOutlet" + "$ref": "#/components/schemas/Script" } } } }, - "PaginatedPowerOutletTemplateList": { + "PaginatedSecretList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177738,13 +187416,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PowerOutletTemplate" + "$ref": "#/components/schemas/Secret" } } } }, - "PaginatedPowerPanelList": { + "PaginatedSecretRoleList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177765,13 +187447,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PowerPanel" + "$ref": "#/components/schemas/SecretRole" } } } }, - "PaginatedPowerPortList": { + "PaginatedServiceList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177792,13 +187478,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PowerPort" + "$ref": "#/components/schemas/Service" } } } }, - "PaginatedPowerPortTemplateList": { + "PaginatedServiceTemplateList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177819,13 +187509,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PowerPortTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } }, - "PaginatedPrefixList": { + "PaginatedSessionKeyList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177846,13 +187540,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Prefix" + "$ref": "#/components/schemas/SessionKey" } } } }, - "PaginatedPrefixListList": { + "PaginatedSiteGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177873,13 +187571,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PrefixList" + "$ref": "#/components/schemas/SiteGroup" } } } }, - "PaginatedPrefixListRuleList": { + "PaginatedSiteList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177900,13 +187602,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/PrefixListRule" + "$ref": "#/components/schemas/Site" } } } }, - "PaginatedProviderAccountList": { + "PaginatedTagList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177927,13 +187633,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ProviderAccount" + "$ref": "#/components/schemas/Tag" } } } }, - "PaginatedProviderList": { + "PaginatedTenantGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177954,13 +187664,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Provider" + "$ref": "#/components/schemas/TenantGroup" } } } }, - "PaginatedProviderNetworkList": { + "PaginatedTenantList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -177981,13 +187695,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ProviderNetwork" + "$ref": "#/components/schemas/Tenant" } } } }, - "PaginatedRIRList": { + "PaginatedTokenList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178008,13 +187726,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RIR" + "$ref": "#/components/schemas/Token" } } } }, - "PaginatedRackList": { + "PaginatedTunnelGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178035,13 +187757,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Rack" + "$ref": "#/components/schemas/TunnelGroup" } } } }, - "PaginatedRackReservationList": { + "PaginatedTunnelList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178062,13 +187788,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RackReservation" + "$ref": "#/components/schemas/Tunnel" } } } }, - "PaginatedRackRoleList": { + "PaginatedTunnelTerminationList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178089,13 +187819,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RackRole" + "$ref": "#/components/schemas/TunnelTermination" } } } }, - "PaginatedRackUnitList": { + "PaginatedUserKeyList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178116,13 +187850,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RackUnit" + "$ref": "#/components/schemas/UserKey" } } } }, - "PaginatedRearPortList": { + "PaginatedUserList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178143,13 +187881,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RearPort" + "$ref": "#/components/schemas/User" } } } }, - "PaginatedRearPortTemplateList": { + "PaginatedVLANGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178170,13 +187912,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RearPortTemplate" + "$ref": "#/components/schemas/VLANGroup" } } } }, - "PaginatedRegionList": { + "PaginatedVLANList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178197,13 +187943,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Region" + "$ref": "#/components/schemas/VLAN" } } } }, - "PaginatedRoleList": { + "PaginatedVMInterfaceList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178224,13 +187974,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Role" + "$ref": "#/components/schemas/VMInterface" } } } }, - "PaginatedRouteTargetList": { + "PaginatedVRFList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178251,13 +188005,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RouteTarget" + "$ref": "#/components/schemas/VRF" } } } }, - "PaginatedRoutingPolicyList": { + "PaginatedVirtualChassisList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178278,13 +188036,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RoutingPolicy" + "$ref": "#/components/schemas/VirtualChassis" } } } }, - "PaginatedRoutingPolicyRuleList": { + "PaginatedVirtualDeviceContextList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178305,13 +188067,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/RoutingPolicyRule" + "$ref": "#/components/schemas/VirtualDeviceContext" } } } }, - "PaginatedSavedFilterList": { + "PaginatedVirtualDiskList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178332,13 +188098,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/SavedFilter" + "$ref": "#/components/schemas/VirtualDisk" } } } }, - "PaginatedSecretList": { + "PaginatedVirtualMachineWithConfigContextList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178359,13 +188129,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Secret" + "$ref": "#/components/schemas/VirtualMachineWithConfigContext" } } } }, - "PaginatedSecretRoleList": { + "PaginatedWebhookList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178386,13 +188160,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/SecretRole" + "$ref": "#/components/schemas/Webhook" } } } }, - "PaginatedServiceList": { + "PaginatedWirelessLANGroupList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178413,13 +188191,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/Service" + "$ref": "#/components/schemas/WirelessLANGroup" } } } }, - "PaginatedServiceTemplateList": { + "PaginatedWirelessLANList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178440,13 +188222,17 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/WirelessLAN" } } } }, - "PaginatedSessionKeyList": { + "PaginatedWirelessLinkList": { "type": "object", + "required": [ + "count", + "results" + ], "properties": { "count": { "type": "integer", @@ -178467,693 +188253,1247 @@ "results": { "type": "array", "items": { - "$ref": "#/components/schemas/SessionKey" + "$ref": "#/components/schemas/WirelessLink" + } + } + } + }, + "PatchedASNRangeRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "slug": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "rir": { + "$ref": "#/components/schemas/RIRRequest" + }, + "start": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64" + }, + "end": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64" + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, + "PatchedASNRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "asn": { + "type": "integer", + "maximum": 4294967295, + "minimum": 1, + "format": "int64", + "description": "16- or 32-bit autonomous system number" + }, + "rir": { + "allOf": [ + { + "$ref": "#/components/schemas/RIRRequest" + } + ], + "nullable": true + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, + "PatchedBGPPeerGroupRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "import_policies": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "export_policies": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "comments": { + "type": "string" + } + } + }, + "PatchedBookmarkRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "object_type": { + "type": "string" + }, + "object_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + }, + "user": { + "$ref": "#/components/schemas/UserRequest" + } + } + }, + "PatchedCableTerminationRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "cable": { + "type": "integer" + }, + "cable_end": { + "enum": [ + "A", + "B" + ], + "type": "string", + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "title": "End" + }, + "termination_type": { + "type": "string" + }, + "termination_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" + } + } + }, + "PatchedCircuitTerminationRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "circuit": { + "$ref": "#/components/schemas/CircuitRequest" + }, + "term_side": { + "enum": [ + "A", + "Z" + ], + "type": "string", + "description": "* `A` - A\n* `Z` - Z", + "x-spec-enum-id": "95b8fcc737f355d0", + "title": "Termination" + }, + "site": { + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], + "nullable": true + }, + "provider_network": { + "allOf": [ + { + "$ref": "#/components/schemas/ProviderNetworkRequest" + } + ], + "nullable": true + }, + "port_speed": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "Port speed (Kbps)", + "description": "Physical circuit speed" + }, + "upstream_speed": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "nullable": true, + "title": "Upstream speed (Kbps)", + "description": "Upstream speed, if different from port speed" + }, + "xconnect_id": { + "type": "string", + "title": "Cross-connect ID", + "description": "ID of the local cross-connect", + "maxLength": 50 + }, + "pp_info": { + "type": "string", + "title": "Patch panel/port(s)", + "description": "Patch panel ID and port number(s)", + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, + "PatchedCircuitTypeRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "slug": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "color": { + "type": "string", + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedSiteGroupList": { + "PatchedClusterGroupRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "next": { + "slug": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "previous": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/SiteGroup" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedSiteList": { + "PatchedClusterTypeRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "next": { + "slug": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "previous": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/Site" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedTagList": { + "PatchedCommunityListRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100 }, - "previous": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/Tag" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "comments": { + "type": "string" } } }, - "PaginatedTenantGroupList": { + "PatchedCommunityListRuleRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } }, - "next": { + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "maxLength": 200 }, - "previous": { + "community_list": { + "$ref": "#/components/schemas/CommunityListRequest" + }, + "action": { + "enum": [ + "permit", + "deny" + ], "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "description": "* `permit` - Permit\n* `deny` - Deny", + "x-spec-enum-id": "1dc943e0aaf6f0a7" }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroup" - } + "community": { + "allOf": [ + { + "$ref": "#/components/schemas/CommunityRequest" + } + ], + "nullable": true + }, + "comments": { + "type": "string" } } }, - "PaginatedTenantList": { + "PatchedConfigContextRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "count": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "weight": { "type": "integer", - "example": 123 + "maximum": 32767, + "minimum": 0 }, - "next": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "maxLength": 200 }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "is_active": { + "type": "boolean" }, - "results": { + "regions": { "type": "array", "items": { - "$ref": "#/components/schemas/Tenant" + "type": "integer" } - } - } - }, - "PaginatedTokenList": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "example": 123 }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "site_groups": { + "type": "array", + "items": { + "type": "integer" + } }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "sites": { + "type": "array", + "items": { + "type": "integer" + } }, - "results": { + "locations": { "type": "array", "items": { - "$ref": "#/components/schemas/Token" + "type": "integer" } - } - } - }, - "PaginatedTunnelGroupList": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "example": 123 }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "device_types": { + "type": "array", + "items": { + "type": "integer" + } }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "roles": { + "type": "array", + "items": { + "type": "integer" + } }, - "results": { + "platforms": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelGroup" + "type": "integer" } - } - } - }, - "PaginatedTunnelList": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "example": 123 }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "cluster_types": { + "type": "array", + "items": { + "type": "integer" + } }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "cluster_groups": { + "type": "array", + "items": { + "type": "integer" + } }, - "results": { + "clusters": { "type": "array", "items": { - "$ref": "#/components/schemas/Tunnel" + "type": "integer" } - } - } - }, - "PaginatedTunnelTerminationList": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "example": 123 }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "tenant_groups": { + "type": "array", + "items": { + "type": "integer" + } }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "tenants": { + "type": "array", + "items": { + "type": "integer" + } }, - "results": { + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/TunnelTermination" + "type": "string", + "minLength": 1 } - } + }, + "data_source": { + "$ref": "#/components/schemas/DataSourceRequest" + }, + "data": {} } }, - "PaginatedUserKeyList": { + "PatchedConfigTemplateRequest": { "type": "object", + "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", "properties": { - "count": { - "type": "integer", - "example": 123 + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "next": { + "description": { "type": "string", + "maxLength": 200 + }, + "environment_params": { "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "title": "Environment parameters", + "description": "Any additional parameters to pass when constructing the Jinja2 environment." }, - "previous": { + "template_code": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "minLength": 1, + "description": "Jinja2 template code." }, - "results": { + "data_source": { + "$ref": "#/components/schemas/DataSourceRequest" + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/UserKey" + "$ref": "#/components/schemas/NestedTagRequest" } } } }, - "PaginatedUserList": { + "PatchedContactRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "group": { + "allOf": [ + { + "$ref": "#/components/schemas/ContactGroupRequest" + } + ], + "nullable": true }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100 }, - "previous": { + "title": { + "type": "string", + "maxLength": 100 + }, + "phone": { + "type": "string", + "maxLength": 50 + }, + "email": { + "type": "string", + "format": "email", + "maxLength": 254 + }, + "address": { + "type": "string", + "maxLength": 200 + }, + "link": { "type": "string", - "nullable": true, "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/User" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedVLANGroupList": { + "PatchedContactRoleRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "next": { + "slug": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "previous": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/VLANGroup" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedVLANList": { + "PatchedCustomLinkRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "count": { + "object_types": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "enabled": { + "type": "boolean" + }, + "link_text": { + "type": "string", + "minLength": 1, + "description": "Jinja2 template code for link text" + }, + "link_url": { + "type": "string", + "minLength": 1, + "description": "Jinja2 template code for link URL" + }, + "weight": { "type": "integer", - "example": 123 + "maximum": 32767, + "minimum": 0 }, - "next": { + "group_name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "description": "Links with the same group will appear as a dropdown menu", + "maxLength": 50 }, - "previous": { + "button_class": { + "enum": [ + "outline-dark", + "blue", + "indigo", + "purple", + "pink", + "red", + "orange", + "yellow", + "green", + "teal", + "cyan", + "gray", + "black", + "white", + "ghost-dark" + ], "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "x-spec-enum-id": "9378cdf56abee54a", + "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } + "new_window": { + "type": "boolean", + "description": "Force link to open in a new window" } } }, - "PaginatedVMInterfaceList": { + "PatchedDashboardRequest": { "type": "object", "properties": { - "count": { - "type": "integer", - "example": 123 + "layout": {}, + "config": {} + } + }, + "PatchedDeviceBayRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 64 }, - "previous": { + "label": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "description": "Physical label", + "maxLength": 64 }, - "results": { + "description": { + "type": "string", + "maxLength": 200 + }, + "installed_device": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], + "nullable": true + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/VMInterface" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedVRFList": { + "PatchedDeviceBayTemplateRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "count": { - "type": "integer", - "example": 123 + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "previous": { + "label": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "description": "Physical label", + "maxLength": 64 }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRF" - } + "description": { + "type": "string", + "maxLength": 200 } } }, - "PaginatedVirtualChassisList": { + "PatchedDeviceRoleRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "next": { + "slug": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "previous": { + "color": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "minLength": 1, + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, - "results": { + "vm_role": { + "type": "boolean", + "description": "Virtual machines may be assigned to this role" + }, + "config_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualChassis" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedVirtualDeviceContextList": { + "PatchedExportTemplateRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "count": { - "type": "integer", - "example": 123 + "object_types": { + "type": "array", + "items": { + "type": "string" + } }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100 }, - "previous": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } + "template_code": { + "type": "string", + "minLength": 1, + "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." + }, + "mime_type": { + "type": "string", + "description": "Defaults to text/plain; charset=utf-8", + "maxLength": 50 + }, + "file_extension": { + "type": "string", + "description": "Extension to append to the rendered filename", + "maxLength": 15 + }, + "as_attachment": { + "type": "boolean", + "description": "Download file as attachment" + }, + "data_source": { + "$ref": "#/components/schemas/DataSourceRequest" } } }, - "PaginatedVirtualDiskList": { + "PatchedFHRPGroupAssignmentRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "group": { + "$ref": "#/components/schemas/FHRPGroupRequest" }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "interface_type": { + "type": "string" }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "interface_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDisk" - } + "priority": { + "type": "integer", + "maximum": 255, + "minimum": 0 } } }, - "PaginatedVirtualMachineWithConfigContextList": { + "PatchedFHRPGroupRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { + "name": { + "type": "string", + "maxLength": 100 + }, + "protocol": { + "enum": [ + "vrrp2", + "vrrp3", + "carp", + "clusterxl", + "hsrp", + "glbp", + "other" + ], + "type": "string", + "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", + "x-spec-enum-id": "40dc831c689b4b78" + }, + "group_id": { "type": "integer", - "example": 123 + "maximum": 32767, + "minimum": 0 }, - "next": { + "auth_type": { + "enum": [ + "plaintext", + "md5", + "" + ], "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "description": "* `plaintext` - Plaintext\n* `md5` - MD5", + "x-spec-enum-id": "12b9faea3a45bf37", + "title": "Authentication type" }, - "previous": { + "auth_key": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "title": "Authentication key", + "maxLength": 255 }, - "results": { + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedWebhookList": { + "PatchedGroupRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 150 }, - "previous": { + "description": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "maxLength": 200 }, - "results": { + "permissions": { "type": "array", "items": { - "$ref": "#/components/schemas/Webhook" + "type": "integer" } } } }, - "PaginatedWirelessLANGroupList": { + "PatchedImageAttachmentRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "count": { + "object_type": { + "type": "string" + }, + "object_id": { "type": "integer", - "example": 123 + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64" }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "maxLength": 50 }, - "previous": { + "image": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "format": "binary" }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroup" - } + "image_height": { + "type": "integer", + "maximum": 32767, + "minimum": 0 + }, + "image_width": { + "type": "integer", + "maximum": 32767, + "minimum": 0 } } }, - "PaginatedWirelessLANList": { + "PatchedInventoryItemRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, + "parent": { "type": "integer", - "example": 123 + "nullable": true }, - "next": { + "name": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 64 }, - "previous": { + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 + }, + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/InventoryItemRoleRequest" + } + ], + "nullable": true + }, + "manufacturer": { + "allOf": [ + { + "$ref": "#/components/schemas/ManufacturerRequest" + } + ], + "nullable": true + }, + "part_id": { + "type": "string", + "description": "Manufacturer-assigned part identifier", + "maxLength": 50 + }, + "serial": { + "type": "string", + "title": "Serial number", + "maxLength": 50 + }, + "asset_tag": { "type": "string", "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "description": "A unique tag used to identify this item", + "maxLength": 50 }, - "results": { + "discovered": { + "type": "boolean", + "description": "This item was automatically discovered" + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "component_type": { + "type": "string", + "nullable": true + }, + "component_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLAN" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PaginatedWirelessLinkList": { + "PatchedInventoryItemRoleRequest": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "count": { - "type": "integer", - "example": 123 + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 }, - "next": { + "slug": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" }, - "previous": { + "color": { "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" + "minLength": 1, + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, - "results": { + "description": { + "type": "string", + "maxLength": 200 + }, + "tags": { "type": "array", "items": { - "$ref": "#/components/schemas/WirelessLink" + "$ref": "#/components/schemas/NestedTagRequest" } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PatchedBGPPeerGroupRequest": { + "PatchedInventoryItemTemplateRequest": { "type": "object", - "description": "Adds support for custom fields and tags.", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" + }, + "parent": { + "type": "integer", + "nullable": true + }, "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + }, + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 + }, + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/InventoryItemRoleRequest" + } + ], + "nullable": true + }, + "manufacturer": { + "allOf": [ + { + "$ref": "#/components/schemas/ManufacturerRequest" + } + ], + "nullable": true + }, + "part_id": { + "type": "string", + "description": "Manufacturer-assigned part identifier", + "maxLength": 50 }, "description": { "type": "string", "maxLength": 200 }, - "import_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "export_policies": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } + "component_type": { + "type": "string", + "nullable": true }, - "comments": { - "type": "string" + "component_id": { + "type": "integer", + "maximum": 9223372036854775807, + "minimum": 0, + "format": "int64", + "nullable": true } } }, - "PatchedCableTerminationRequest": { + "PatchedL2VPNTerminationRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "cable": { - "type": "integer" - }, - "cable_end": { - "enum": [ - "A", - "B" - ], - "type": "string", - "description": "* `A` - A\n* `B` - B", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" + "l2vpn": { + "$ref": "#/components/schemas/L2VPNRequest" }, - "termination_type": { + "assigned_object_type": { "type": "string" }, - "termination_id": { + "assigned_object_id": { "type": "integer", "maximum": 9223372036854775807, "minimum": 0, "format": "int64" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PatchedCircuitTypeRequest": { + "PatchedManufacturerRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -179168,11 +189508,6 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, "description": { "type": "string", "maxLength": 200 @@ -179189,20 +189524,35 @@ } } }, - "PatchedClusterGroupRequest": { + "PatchedModuleBayRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { + "device": { + "$ref": "#/components/schemas/DeviceRequest" + }, "name": { "type": "string", "minLength": 1, - "maxLength": 100 + "maxLength": 64 }, - "slug": { + "installed_module": { + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], + "nullable": true + }, + "label": { "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "description": "Physical label", + "maxLength": 64 + }, + "position": { + "type": "string", + "description": "Identifier to reference when renaming installed components", + "maxLength": 30 }, "description": { "type": "string", @@ -179220,7 +189570,85 @@ } } }, - "PatchedClusterTypeRequest": { + "PatchedModuleBayTemplateRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "device_type": { + "$ref": "#/components/schemas/DeviceTypeRequest" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + }, + "label": { + "type": "string", + "description": "Physical label", + "maxLength": 64 + }, + "position": { + "type": "string", + "description": "Identifier to reference when renaming installed components", + "maxLength": 30 + }, + "description": { + "type": "string", + "maxLength": 200 + } + } + }, + "PatchedObjectPermissionRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "enabled": { + "type": "boolean" + }, + "object_types": { + "type": "array", + "items": { + "type": "string" + } + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "minLength": 1, + "maxLength": 30 + }, + "description": "The list of actions granted by this permission" + }, + "constraints": { + "nullable": true, + "description": "Queryset filter matching the applicable objects of the selected type(s)" + }, + "groups": { + "type": "array", + "items": { + "type": "integer" + } + }, + "users": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "PatchedPlatformRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -179235,6 +189663,22 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, + "manufacturer": { + "allOf": [ + { + "$ref": "#/components/schemas/ManufacturerRequest" + } + ], + "nullable": true + }, + "config_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], + "nullable": true + }, "description": { "type": "string", "maxLength": 200 @@ -179251,10 +189695,21 @@ } } }, - "PatchedCommunityListRequest": { + "PatchedPowerPanelRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { + "site": { + "$ref": "#/components/schemas/SiteRequest" + }, + "location": { + "allOf": [ + { + "$ref": "#/components/schemas/LocationRequest" + } + ], + "nullable": true + }, "name": { "type": "string", "minLength": 1, @@ -179264,6 +189719,9 @@ "type": "string", "maxLength": 200 }, + "comments": { + "type": "string" + }, "tags": { "type": "array", "items": { @@ -179273,13 +189731,10 @@ "custom_fields": { "type": "object", "additionalProperties": {} - }, - "comments": { - "type": "string" } } }, - "PatchedContactRoleRequest": { + "PatchedPrefixListRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -179288,16 +189743,19 @@ "minLength": 1, "maxLength": 100 }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, "description": { "type": "string", "maxLength": 200 }, + "family": { + "enum": [ + "ipv4", + "ipv6" + ], + "type": "string", + "description": "* `ipv4` - IPv4\n* `ipv6` - IPv6", + "x-spec-enum-id": "7aa5eccc95045be6" + }, "tags": { "type": "array", "items": { @@ -179307,124 +189765,94 @@ "custom_fields": { "type": "object", "additionalProperties": {} + }, + "comments": { + "type": "string" } } }, - "PatchedCustomLinkRequest": { + "PatchedPrefixListRuleRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { - "content_types": { + "description": { + "type": "string", + "maxLength": 200 + }, + "tags": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/NestedTagRequest" } }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "custom_fields": { + "type": "object", + "additionalProperties": {} }, - "enabled": { - "type": "boolean" + "prefix_list": { + "$ref": "#/components/schemas/PrefixListRequest" }, - "link_text": { + "index": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0 + }, + "action": { + "enum": [ + "permit", + "deny" + ], "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link text" + "description": "* `permit` - Permit\n* `deny` - Deny", + "x-spec-enum-id": "1dc943e0aaf6f0a7" }, - "link_url": { + "prefix_custom": { "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link URL" + "nullable": true, + "minLength": 1 }, - "weight": { + "ge": { "type": "integer", - "maximum": 32767, - "minimum": 0 + "maximum": 128, + "minimum": 0, + "nullable": true }, - "group_name": { - "type": "string", - "description": "Links with the same group will appear as a dropdown menu", - "maxLength": 50 + "le": { + "type": "integer", + "maximum": 128, + "minimum": 0, + "nullable": true }, - "button_class": { - "enum": [ - "outline-dark", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - "gray", - "black", - "white", - "ghost-dark" + "prefix": { + "allOf": [ + { + "$ref": "#/components/schemas/PrefixRequest" + } ], - "type": "string", - "x-spec-enum-id": "9378cdf56abee54a", - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `outline-dark` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" + "nullable": true }, - "new_window": { - "type": "boolean", - "description": "Force link to open in a new window" + "comments": { + "type": "string" } } }, - "PatchedDashboardRequest": { - "type": "object", - "properties": { - "layout": {}, - "config": {} - } - }, - "PatchedFHRPGroupRequest": { + "PatchedProviderAccountRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { + "provider": { + "$ref": "#/components/schemas/ProviderRequest" + }, "name": { "type": "string", + "default": "", "maxLength": 100 }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "auth_type": { - "enum": [ - "plaintext", - "md5", - "" - ], - "type": "string", - "description": "* `plaintext` - Plaintext\n* `md5` - MD5", - "x-spec-enum-id": "12b9faea3a45bf37", - "title": "Authentication type" - }, - "auth_key": { + "account": { "type": "string", - "title": "Authentication key", - "maxLength": 255 + "minLength": 1, + "title": "Account ID", + "maxLength": 100 }, "description": { "type": "string", @@ -179445,57 +189873,49 @@ } } }, - "PatchedGroupRequest": { + "PatchedProviderNetworkRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { + "provider": { + "$ref": "#/components/schemas/ProviderRequest" + }, "name": { "type": "string", "minLength": 1, - "maxLength": 150 - } - } - }, - "PatchedImageAttachmentRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "content_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" + "maxLength": 100 }, - "name": { + "service_id": { "type": "string", - "maxLength": 50 + "maxLength": 100 }, - "image": { + "description": { "type": "string", - "format": "binary" + "maxLength": 200 }, - "image_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "comments": { + "type": "string" }, - "image_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } } }, - "PatchedInventoryItemRoleRequest": { + "PatchedProviderRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "name": { "type": "string", "minLength": 1, + "description": "Full name of the provider", "maxLength": 100 }, "slug": { @@ -179504,16 +189924,25 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + "accounts": { + "type": "array", + "items": { + "type": "integer" + } }, "description": { "type": "string", "maxLength": 200 }, + "comments": { + "type": "string" + }, + "asns": { + "type": "array", + "items": { + "type": "integer" + } + }, "tags": { "type": "array", "items": { @@ -179526,7 +189955,7 @@ } } }, - "PatchedManufacturerRequest": { + "PatchedRIRRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -179541,6 +189970,11 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, + "is_private": { + "type": "boolean", + "title": "Private", + "description": "IP space managed by this RIR is considered private" + }, "description": { "type": "string", "maxLength": 200 @@ -179557,27 +189991,39 @@ } } }, - "PatchedPrefixListRequest": { + "PatchedRackReservationRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 + "rack": { + "$ref": "#/components/schemas/RackRequest" + }, + "units": { + "type": "array", + "items": { + "type": "integer", + "maximum": 32767, + "minimum": 0 + } + }, + "user": { + "$ref": "#/components/schemas/UserRequest" + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true }, "description": { "type": "string", + "minLength": 1, "maxLength": 200 }, - "family": { - "enum": [ - "ipv4", - "ipv6" - ], - "type": "string", - "description": "* `ipv4` - IPv4\n* `ipv6` - IPv6", - "x-spec-enum-id": "7aa5eccc95045be6" + "comments": { + "type": "string" }, "tags": { "type": "array", @@ -179588,13 +190034,10 @@ "custom_fields": { "type": "object", "additionalProperties": {} - }, - "comments": { - "type": "string" } } }, - "PatchedRIRRequest": { + "PatchedRackRoleRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -179609,10 +190052,11 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "is_private": { - "type": "boolean", - "title": "Private", - "description": "IP space managed by this RIR is considered private" + "color": { + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-f]{6}$", + "maxLength": 6 }, "description": { "type": "string", @@ -179630,7 +190074,7 @@ } } }, - "PatchedRackRoleRequest": { + "PatchedRoleRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { @@ -179645,11 +190089,10 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 + "weight": { + "type": "integer", + "maximum": 32767, + "minimum": 0 }, "description": { "type": "string", @@ -179667,30 +190110,31 @@ } } }, - "PatchedRoleRequest": { + "PatchedRouteTargetRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "name": { "type": "string", "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" + "description": "Route target value (formatted in accordance with RFC 4360)", + "maxLength": 21 }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true }, "description": { "type": "string", "maxLength": 200 }, + "comments": { + "type": "string" + }, "tags": { "type": "array", "items": { @@ -179731,11 +190175,84 @@ } } }, + "PatchedRoutingPolicyRuleRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "index": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0 + }, + "action": { + "enum": [ + "permit", + "deny" + ], + "type": "string", + "description": "* `permit` - Permit\n* `deny` - Deny", + "x-spec-enum-id": "1dc943e0aaf6f0a7" + }, + "match_ip_address": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "routing_policy": { + "$ref": "#/components/schemas/RoutingPolicyRequest" + }, + "match_community": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "match_community_list": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, + "match_custom": { + "nullable": true + }, + "set_actions": { + "nullable": true + }, + "match_ipv6_address": { + "type": "array", + "items": { + "type": "integer" + } + }, + "description": { + "type": "string", + "maxLength": 500 + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, + "comments": { + "type": "string" + } + } + }, "PatchedSavedFilterRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -179774,6 +190291,48 @@ "parameters": {} } }, + "PatchedSecretRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "assigned_object_type": { + "type": "string" + }, + "assigned_object_id": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0 + }, + "role": { + "$ref": "#/components/schemas/SecretRoleRequest" + }, + "name": { + "type": "string", + "maxLength": 100 + }, + "plaintext": { + "type": "string", + "minLength": 1 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, "PatchedSecretRoleRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -179835,6 +190394,80 @@ } } }, + "PatchedTenantRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "slug": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-a-zA-Z0-9_]+$" + }, + "group": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantGroupRequest" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, + "PatchedTokenRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "user": { + "$ref": "#/components/schemas/UserRequest" + }, + "expires": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "key": { + "type": "string", + "maxLength": 40, + "minLength": 40 + }, + "write_enabled": { + "type": "boolean", + "description": "Permit create/update/delete operations using this key" + }, + "description": { + "type": "string", + "maxLength": 200 + } + } + }, "PatchedTunnelGroupRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -179866,17 +190499,67 @@ } } }, - "PatchedUserKeyRequest": { + "PatchedUserRequest": { "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "public_key": { + "username": { "type": "string", - "minLength": 1 + "minLength": 1, + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "pattern": "^[\\w.@+-]+$", + "maxLength": 150 }, - "private_key": { + "password": { "type": "string", "writeOnly": true, - "minLength": 1 + "minLength": 1, + "maxLength": 128 + }, + "first_name": { + "type": "string", + "maxLength": 150 + }, + "last_name": { + "type": "string", + "maxLength": 150 + }, + "email": { + "type": "string", + "format": "email", + "title": "Email address", + "maxLength": 254 + }, + "is_staff": { + "type": "boolean", + "title": "Staff status", + "description": "Designates whether the user can log into this admin site." + }, + "is_active": { + "type": "boolean", + "title": "Active", + "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." + }, + "date_joined": { + "type": "string", + "format": "date-time" + }, + "last_login": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "groups": { + "type": "array", + "items": { + "type": "integer" + } + }, + "permissions": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -179933,6 +190616,100 @@ } } }, + "PatchedVRFRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "rd": { + "type": "string", + "nullable": true, + "title": "Route distinguisher", + "description": "Unique route distinguisher (as defined in RFC 4364)", + "maxLength": 21 + }, + "tenant": { + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], + "nullable": true + }, + "enforce_unique": { + "type": "boolean", + "title": "Enforce unique space", + "description": "Prevent duplicate prefixes/IP addresses within this VRF" + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "comments": { + "type": "string" + }, + "import_targets": { + "type": "array", + "items": { + "type": "integer" + } + }, + "export_targets": { + "type": "array", + "items": { + "type": "integer" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, + "PatchedVirtualDiskRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "virtual_machine": { + "$ref": "#/components/schemas/VirtualMachineRequest" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 64 + }, + "description": { + "type": "string", + "maxLength": 200 + }, + "size": { + "type": "integer", + "maximum": 2147483647, + "minimum": 0, + "title": "Size (GB)" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + } + } + }, "PatchedWebhookRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -180006,94 +190783,6 @@ } } }, - "PatchedWritableASNRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "rir": { - "type": "integer" - }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableASNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - }, - "rir": { - "type": "integer", - "description": "Regional Internet Registry responsible for this AS number space" - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableAggregateRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -180103,11 +190792,14 @@ "minLength": 1 }, "rir": { - "type": "integer", - "description": "Regional Internet Registry responsible for this IP space" + "$ref": "#/components/schemas/RIRRequest" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "date_added": { @@ -180160,31 +190852,47 @@ "x-spec-enum-id": "b77fc919138c12f6" }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "device": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], "nullable": true }, "local_address": { - "type": "integer" + "$ref": "#/components/schemas/IPAddressRequest" }, "remote_address": { - "type": "integer" + "$ref": "#/components/schemas/IPAddressRequest" }, "local_as": { - "type": "integer" + "$ref": "#/components/schemas/ASNRequest" }, "remote_as": { - "type": "integer" + "$ref": "#/components/schemas/ASNRequest" }, "peer_group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/BGPPeerGroupRequest" + } + ], "nullable": true }, "import_policies": { @@ -180202,11 +190910,19 @@ } }, "prefix_list_in": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PrefixListRequest" + } + ], "nullable": true }, "prefix_list_out": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PrefixListRequest" + } + ], "nullable": true }, "name": { @@ -180223,24 +190939,6 @@ } } }, - "PatchedWritableBookmarkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "type": "integer" - } - } - }, "PatchedWritableCableRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -180299,7 +190997,11 @@ "x-spec-enum-id": "fbc2f302c08be50d" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "label": { @@ -180365,14 +191067,18 @@ "maxLength": 100 }, "provider": { - "type": "integer" + "$ref": "#/components/schemas/ProviderRequest" }, "provider_account": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ProviderAccountRequest" + } + ], "nullable": true }, "type": { - "type": "integer" + "$ref": "#/components/schemas/CircuitTypeRequest" }, "status": { "enum": [ @@ -180388,7 +191094,11 @@ "x-spec-enum-id": "63c838134a022200" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "install_date": { @@ -180430,79 +191140,6 @@ } } }, - "PatchedWritableCircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "circuit": { - "type": "integer" - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination" - }, - "site": { - "type": "integer", - "nullable": true - }, - "provider_network": { - "type": "integer", - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableClusterRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -180513,10 +191150,14 @@ "maxLength": 100 }, "type": { - "type": "integer" + "$ref": "#/components/schemas/ClusterTypeRequest" }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ClusterGroupRequest" + } + ], "nullable": true }, "status": { @@ -180532,11 +191173,19 @@ "x-spec-enum-id": "79d20a734d0eecbb" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "description": { @@ -180558,40 +191207,6 @@ } } }, - "PatchedWritableCommunityListRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "community_list": { - "type": "integer" - }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - }, - "community": { - "type": "integer" - }, - "comments": { - "type": "string" - } - } - }, "PatchedWritableCommunityRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -180617,7 +191232,11 @@ "x-spec-enum-id": "6388dfb94ca1cc15" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "description": { @@ -180643,163 +191262,19 @@ } } }, - "PatchedWritableConfigContextRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "is_active": { - "type": "boolean" - }, - "regions": { - "type": "array", - "items": { - "type": "integer" - } - }, - "site_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sites": { - "type": "array", - "items": { - "type": "integer" - } - }, - "locations": { - "type": "array", - "items": { - "type": "integer" - } - }, - "device_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "roles": { - "type": "array", - "items": { - "type": "integer" - } - }, - "platforms": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "clusters": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenant_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - } - }, - "data_source": { - "type": "integer", - "nullable": true, - "description": "Remote data source" - }, - "data": {} - } - }, - "PatchedWritableConfigTemplateRequest": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja2 environment." - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code." - }, - "data_source": { - "type": "integer", - "nullable": true, - "description": "Remote data source" - }, - "data_file": { - "type": "integer", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - } - }, "PatchedWritableConsolePortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -180879,11 +191354,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -180931,10 +191414,14 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -181014,11 +191501,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -181065,7 +191560,7 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "content_type": { + "object_type": { "type": "string" }, "object_id": { @@ -181075,10 +191570,15 @@ "format": "int64" }, "contact": { - "type": "integer" + "$ref": "#/components/schemas/ContactRequest" }, "role": { - "type": "integer" + "allOf": [ + { + "$ref": "#/components/schemas/ContactRoleRequest" + } + ], + "nullable": true }, "priority": { "enum": [ @@ -181139,60 +191639,6 @@ } } }, - "PatchedWritableContactRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableCustomFieldChoiceSetRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -181236,7 +191682,7 @@ "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -181262,7 +191708,7 @@ "x-spec-enum-id": "22e3a64138d10046", "description": "The type of data this custom field holds\n\n* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects" }, - "object_type": { + "related_object_type": { "type": "string", "nullable": true }, @@ -181366,8 +191812,15 @@ "maxLength": 500 }, "choice_set": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" + } + ], "nullable": true + }, + "comments": { + "type": "string" } } }, @@ -181414,121 +191867,19 @@ } } }, - "PatchedWritableDeviceBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "installed_device": { - "type": "integer", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableDeviceBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritableDeviceRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableDeviceTypeRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "manufacturer": { - "type": "integer" + "$ref": "#/components/schemas/ManufacturerRequest" }, "default_platform": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PlatformRequest" + } + ], "nullable": true }, "model": { @@ -181551,7 +191902,7 @@ "type": "number", "format": "double", "maximum": 1000, - "minimum": 0, + "minimum": 0.0, "exclusiveMaximum": true, "default": 1.0, "title": "Position (U)" @@ -181650,18 +192001,25 @@ "maxLength": 64 }, "device_type": { - "type": "integer" + "$ref": "#/components/schemas/DeviceTypeRequest" }, "role": { - "type": "integer", - "description": "The function this device serves" + "$ref": "#/components/schemas/DeviceRoleRequest" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "platform": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PlatformRequest" + } + ], "nullable": true }, "serial": { @@ -181677,14 +192035,22 @@ "maxLength": 50 }, "site": { - "type": "integer" + "$ref": "#/components/schemas/SiteRequest" }, "location": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/LocationRequest" + } + ], "nullable": true }, "rack": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/RackRequest" + } + ], "nullable": true }, "position": { @@ -181757,26 +192123,43 @@ "x-spec-enum-id": "58e389e240a5e53d" }, "primary_ip4": { - "type": "integer", - "nullable": true, - "title": "Primary IPv4" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "primary_ip6": { - "type": "integer", - "nullable": true, - "title": "Primary IPv6" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "oob_ip": { - "type": "integer", - "nullable": true, - "title": "Out-of-band IP" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "cluster": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ClusterRequest" + } + ], "nullable": true }, "virtual_chassis": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VirtualChassisRequest" + } + ], "nullable": true }, "vc_position": { @@ -181800,7 +192183,11 @@ "type": "string" }, "config_template": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], "nullable": true }, "local_context_data": { @@ -181823,7 +192210,7 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -181901,83 +192288,19 @@ } } }, - "PatchedWritableExportTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "content_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "type": "integer", - "nullable": true, - "description": "Remote data source" - } - } - }, - "PatchedWritableFHRPGroupAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { - "type": "integer" - }, - "interface_type": { - "type": "string" - }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 - } - } - }, "PatchedWritableFrontPortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -182056,6 +192379,7 @@ "type": "integer", "maximum": 1024, "minimum": 1, + "default": 1, "description": "Mapped position on corresponding rear port" }, "description": { @@ -182083,11 +192407,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -182161,12 +192493,13 @@ "maxLength": 6 }, "rear_port": { - "type": "integer" + "$ref": "#/components/schemas/RearPortTemplateRequest" }, "rear_port_position": { "type": "integer", "maximum": 1024, - "minimum": 1 + "minimum": 1, + "default": 1 }, "description": { "type": "string", @@ -182349,11 +192682,19 @@ "minLength": 1 }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -182439,11 +192780,19 @@ "minLength": 1 }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -182457,9 +192806,12 @@ "description": "Operational status of this range\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, "role": { - "type": "integer", - "nullable": true, - "description": "The primary function of this range" + "allOf": [ + { + "$ref": "#/components/schemas/RoleRequest" + } + ], + "nullable": true }, "description": { "type": "string", @@ -182576,10 +192928,10 @@ "x-spec-enum-id": "1136c2cdfee84436" }, "ike_policy": { - "type": "integer" + "$ref": "#/components/schemas/IKEPolicyRequest" }, "ipsec_policy": { - "type": "integer" + "$ref": "#/components/schemas/IPSecPolicyRequest" }, "comments": { "type": "string" @@ -182676,7 +193028,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "vdcs": { "type": "array", @@ -182685,7 +193037,11 @@ } }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -182708,6 +193064,7 @@ "100base-tx", "100base-t1", "1000base-t", + "1000base-tx", "2.5gbase-t", "5gbase-t", "10gbase-t", @@ -182744,6 +193101,8 @@ "800gbase-x-qsfpdd", "800gbase-x-osfp", "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", "10gbase-kr", "10gbase-kx4", "25gbase-kr", @@ -182759,11 +193118,14 @@ "ieee802.11ad", "ieee802.11ax", "ieee802.11ay", + "ieee802.11be", "ieee802.15.1", "other-wireless", "gsm", "cdma", "lte", + "4g", + "5g", "sonet-oc3", "sonet-oc12", "sonet-oc48", @@ -182797,12 +193159,15 @@ "e3", "xdsl", "docsis", + "bpon", + "epon", + "10g-epon", "gpon", "xg-pon", "xgs-pon", "ng-pon2", - "epon", - "10g-epon", + "25g-pon", + "50g-pon", "cisco-stackwise", "cisco-stackwise-plus", "cisco-flexstack", @@ -182820,8 +193185,8 @@ "other" ], "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" }, "enabled": { "type": "boolean" @@ -183168,14 +193533,17 @@ "title": "Transmit power (dBm)" }, "untagged_vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "tagged_vlans": { "type": "array", "items": { - "type": "integer", - "title": "Tagged VLANs" + "type": "integer" } }, "mark_connected": { @@ -183185,12 +193553,15 @@ "wireless_lans": { "type": "array", "items": { - "type": "integer", - "title": "Wireless LANs" + "type": "integer" } }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tags": { @@ -183210,11 +193581,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -183238,6 +193617,7 @@ "100base-tx", "100base-t1", "1000base-t", + "1000base-tx", "2.5gbase-t", "5gbase-t", "10gbase-t", @@ -183274,6 +193654,8 @@ "800gbase-x-qsfpdd", "800gbase-x-osfp", "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", "10gbase-kr", "10gbase-kx4", "25gbase-kr", @@ -183289,11 +193671,14 @@ "ieee802.11ad", "ieee802.11ax", "ieee802.11ay", + "ieee802.11be", "ieee802.15.1", "other-wireless", "gsm", "cdma", "lte", + "4g", + "5g", "sonet-oc3", "sonet-oc12", "sonet-oc48", @@ -183327,12 +193712,15 @@ "e3", "xdsl", "docsis", + "bpon", + "epon", + "10g-epon", "gpon", "xg-pon", "xgs-pon", "ng-pon2", - "epon", - "10g-epon", + "25g-pon", + "50g-pon", "cisco-stackwise", "cisco-stackwise-plus", "cisco-flexstack", @@ -183350,8 +193738,8 @@ "other" ], "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" }, "enabled": { "type": "boolean" @@ -183408,134 +193796,6 @@ } } }, - "PatchedWritableInventoryItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "type": "integer" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "type": "integer", - "nullable": true - }, - "manufacturer": { - "type": "integer", - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableInventoryItemTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "type": "integer" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "type": "integer", - "nullable": true - }, - "manufacturer": { - "type": "integer", - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - } - } - }, "PatchedWritableJournalEntryRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -183641,7 +193901,11 @@ "type": "string" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "tags": { @@ -183656,34 +193920,6 @@ } } }, - "PatchedWritableL2VPNTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "l2vpn": { - "type": "integer" - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableLocationRequest": { "type": "object", "description": "Extends PrimaryModelSerializer to include MPTT support.", @@ -183700,7 +193936,7 @@ "pattern": "^[-a-zA-Z0-9_]+$" }, "site": { - "type": "integer" + "$ref": "#/components/schemas/SiteRequest" }, "parent": { "type": "integer", @@ -183719,49 +193955,17 @@ "x-spec-enum-id": "e363a8ddb138be50" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableModuleBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "installed_module": { - "type": "integer" - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { + "facility": { "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 + "description": "Local facility ID or description", + "maxLength": 50 }, "description": { "type": "string", @@ -183779,47 +193983,18 @@ } } }, - "PatchedWritableModuleBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, "PatchedWritableModuleRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module_bay": { "type": "integer" }, "module_type": { - "type": "integer" + "$ref": "#/components/schemas/ModuleTypeRequest" }, "status": { "enum": [ @@ -183869,7 +194044,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "manufacturer": { - "type": "integer" + "$ref": "#/components/schemas/ManufacturerRequest" }, "model": { "type": "string", @@ -183921,104 +194096,19 @@ } } }, - "PatchedWritableObjectPermissionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 30 - }, - "description": "The list of actions granted by this permission" - }, - "constraints": { - "nullable": true, - "description": "Queryset filter matching the applicable objects of the selected type(s)" - } - } - }, - "PatchedWritablePlatformRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "manufacturer": { - "type": "integer", - "nullable": true, - "description": "Optionally limit this platform to devices of a certain manufacturer" - }, - "config_template": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritablePowerFeedRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "power_panel": { - "type": "integer" + "$ref": "#/components/schemas/PowerPanelRequest" }, "rack": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/RackRequest" + } + ], "nullable": true }, "name": { @@ -184089,7 +194179,11 @@ "maxLength": 200 }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "comments": { @@ -184112,10 +194206,14 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -184213,6 +194311,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -184226,11 +194327,15 @@ "" ], "type": "string", - "x-spec-enum-id": "5be1814581544db3", - "description": "Physical port type\n\n* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" + "x-spec-enum-id": "2ff919f516566857", + "description": "Physical port type\n\n* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" }, "power_port": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PowerPortRequest" + } + ], "nullable": true }, "feed_leg": { @@ -184269,11 +194374,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -184372,6 +194485,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -184385,11 +194501,15 @@ "" ], "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "5be1814581544db3" + "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "2ff919f516566857" }, "power_port": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PowerPortTemplateRequest" + } + ], "nullable": true }, "feed_leg": { @@ -184409,50 +194529,19 @@ } } }, - "PatchedWritablePowerPanelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "type": "integer" - }, - "location": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritablePowerPortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -184558,6 +194647,9 @@ "usb-micro-ab", "usb-3-b", "usb-3-micro-b", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "saf-d-grid", "neutrik-powercon-20", @@ -184570,8 +194662,8 @@ "" ], "type": "string", - "x-spec-enum-id": "0612e2fb273da8ee", - "description": "Physical port type\n\n* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" + "x-spec-enum-id": "6d680dea031864ae", + "description": "Physical port type\n\n* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" }, "maximum_draw": { "type": "integer", @@ -184612,11 +194704,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -184723,6 +194823,9 @@ "usb-micro-ab", "usb-3-b", "usb-3-micro-b", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "saf-d-grid", "neutrik-powercon-20", @@ -184735,8 +194838,8 @@ "" ], "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "0612e2fb273da8ee" + "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "6d680dea031864ae" }, "maximum_draw": { "type": "integer", @@ -184758,63 +194861,6 @@ } } }, - "PatchedWritablePrefixListRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "prefix_list": { - "type": "integer" - }, - "index": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0 - }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - }, - "prefix_custom": { - "type": "string", - "nullable": true, - "minLength": 1 - }, - "ge": { - "type": "integer", - "maximum": 128, - "minimum": 0, - "nullable": true - }, - "le": { - "type": "integer", - "maximum": 128, - "minimum": 0, - "nullable": true - }, - "prefix": { - "type": "integer", - "nullable": true - }, - "comments": { - "type": "string" - } - } - }, "PatchedWritablePrefixRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -184824,19 +194870,35 @@ "minLength": 1 }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "status": { @@ -184851,9 +194913,12 @@ "description": "Operational status of this prefix\n\n* `container` - Container\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, "role": { - "type": "integer", - "nullable": true, - "description": "The primary function of this prefix" + "allOf": [ + { + "$ref": "#/components/schemas/RoleRequest" + } + ], + "nullable": true }, "is_pool": { "type": "boolean", @@ -184883,124 +194948,6 @@ } } }, - "PatchedWritableProviderAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "type": "integer" - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "account": { - "type": "string", - "minLength": 1, - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableProviderNetworkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "service_id": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableProviderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "accounts": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableRackRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -185016,14 +194963,22 @@ "maxLength": 50 }, "site": { - "type": "integer" + "$ref": "#/components/schemas/SiteRequest" }, "location": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/LocationRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -185039,9 +194994,12 @@ "x-spec-enum-id": "0c556d55dc1baa13" }, "role": { - "type": "integer", - "nullable": true, - "description": "Functional role" + "allOf": [ + { + "$ref": "#/components/schemas/RackRoleRequest" + } + ], + "nullable": true }, "serial": { "type": "string", @@ -185178,57 +195136,19 @@ } } }, - "PatchedWritableRackReservationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "rack": { - "type": "integer" - }, - "units": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "user": { - "type": "integer" - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "minLength": 1, - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableRearPortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -185331,11 +195251,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -185454,157 +195382,24 @@ } } }, - "PatchedWritableRouteTargetRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Route target value (formatted in accordance with RFC 4360)", - "maxLength": 21 - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableRoutingPolicyRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "index": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0 - }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - }, - "match_ip_address": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "routing_policy": { - "type": "integer" - }, - "match_community": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "match_custom": { - "nullable": true - }, - "set_actions": { - "nullable": true - }, - "match_ipv6_address": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 500 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableSecretRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0 - }, - "role": { - "type": "integer" - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "plaintext": { - "type": "string", - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableServiceRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], "nullable": true }, "virtual_machine": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VirtualMachineRequest" + } + ], "nullable": true }, "name": { @@ -185612,15 +195407,6 @@ "minLength": 1, "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "enum": [ "tcp", @@ -185631,14 +195417,20 @@ "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", "x-spec-enum-id": "5521e084b1ad51de" }, - "ipaddresses": { + "ports": { "type": "array", "items": { "type": "integer", - "title": "IP addresses" + "maximum": 65535, + "minimum": 1 }, - "title": "IP addresses", - "description": "The specific IP addresses (if any) to which this service is bound" + "title": "Port numbers" + }, + "ipaddresses": { + "type": "array", + "items": { + "type": "integer" + } }, "description": { "type": "string", @@ -185668,15 +195460,6 @@ "minLength": 1, "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "enum": [ "tcp", @@ -185687,6 +195470,15 @@ "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", "x-spec-enum-id": "5521e084b1ad51de" }, + "ports": { + "type": "array", + "items": { + "type": "integer", + "maximum": 65535, + "minimum": 1 + }, + "title": "Port numbers" + }, "description": { "type": "string", "maxLength": 200 @@ -185770,15 +195562,27 @@ "x-spec-enum-id": "e363a8ddb138be50" }, "region": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/RegionRequest" + } + ], "nullable": true }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteGroupRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "facility": { @@ -185788,7 +195592,8 @@ }, "time_zone": { "type": "string", - "nullable": true + "nullable": true, + "minLength": 1 }, "description": { "type": "string", @@ -185880,76 +195685,6 @@ } } }, - "PatchedWritableTenantRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "group": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableTokenRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "user": { - "type": "integer" - }, - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "last_used": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "key": { - "type": "string", - "maxLength": 40, - "minLength": 40 - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, "PatchedWritableTunnelRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -185970,7 +195705,11 @@ "x-spec-enum-id": "0d65f7912cba74aa" }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TunnelGroupRequest" + } + ], "nullable": true }, "encapsulation": { @@ -185985,11 +195724,19 @@ "x-spec-enum-id": "5fc36bb745852746" }, "ipsec_profile": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/IPSecProfileRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "tunnel_id": { @@ -186023,7 +195770,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "tunnel": { - "type": "integer" + "$ref": "#/components/schemas/TunnelRequest" }, "role": { "enum": [ @@ -186046,7 +195793,11 @@ "nullable": true }, "outside_ip": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], "nullable": true }, "tags": { @@ -186061,78 +195812,25 @@ } } }, - "PatchedWritableUserRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "username": { - "type": "string", - "minLength": 1, - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - }, - "password": { - "type": "string", - "writeOnly": true, - "minLength": 1, - "maxLength": 128 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "The groups this user belongs to. A user will get all permissions granted to each of their groups." - } - } - }, "PatchedWritableVLANRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "site": { - "type": "integer", - "nullable": true, - "description": "The specific site to which this VLAN is assigned (if any)" + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], + "nullable": true }, "group": { - "type": "integer", - "nullable": true, - "description": "VLAN group (optional)" + "allOf": [ + { + "$ref": "#/components/schemas/VLANGroupRequest" + } + ], + "nullable": true }, "vid": { "type": "integer", @@ -186147,7 +195845,11 @@ "maxLength": 64 }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -186161,9 +195863,12 @@ "description": "Operational status of this VLAN\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, "role": { - "type": "integer", - "nullable": true, - "description": "The primary function of this VLAN" + "allOf": [ + { + "$ref": "#/components/schemas/RoleRequest" + } + ], + "nullable": true }, "description": { "type": "string", @@ -186189,7 +195894,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "virtual_machine": { - "type": "integer" + "$ref": "#/components/schemas/VirtualMachineRequest" }, "name": { "type": "string", @@ -186236,18 +195941,25 @@ "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)" }, "untagged_vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "tagged_vlans": { "type": "array", "items": { - "type": "integer", - "title": "Tagged VLANs" + "type": "integer" } }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tags": { @@ -186262,62 +195974,6 @@ } } }, - "PatchedWritableVRFRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableVirtualChassisRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -186364,29 +196020,37 @@ "maxLength": 64 }, "device": { - "type": "integer", - "nullable": true + "$ref": "#/components/schemas/DeviceRequest" }, "identifier": { "type": "integer", "maximum": 32767, "minimum": 0, - "nullable": true, - "description": "Numeric identifier unique to the parent device" + "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "primary_ip4": { - "type": "integer", - "nullable": true, - "title": "Primary IPv4" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "primary_ip6": { - "type": "integer", - "nullable": true, - "title": "Primary IPv6" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "status": { "enum": [ @@ -186417,40 +196081,6 @@ } } }, - "PatchedWritableVirtualDiskRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "size": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "title": "Size (GB)" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableVirtualMachineWithConfigContextRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -186474,38 +196104,68 @@ "x-spec-enum-id": "2217e87d0c3efdda" }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "cluster": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ClusterRequest" + } + ], "nullable": true }, "device": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], "nullable": true }, "role": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRoleRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "platform": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PlatformRequest" + } + ], "nullable": true }, "primary_ip4": { - "type": "integer", - "nullable": true, - "title": "Primary IPv4" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "primary_ip6": { - "type": "integer", - "nullable": true, - "title": "Primary IPv6" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "vcpus": { "type": "number", @@ -186537,7 +196197,11 @@ "type": "string" }, "config_template": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], "nullable": true }, "local_context_data": { @@ -186605,7 +196269,11 @@ "maxLength": 200 }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } + ], "nullable": true }, "status": { @@ -186620,11 +196288,19 @@ "x-spec-enum-id": "412ebdca597f609e" }, "vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "auth_type": { @@ -186677,10 +196353,10 @@ "description": "Adds support for custom fields and tags.", "properties": { "interface_a": { - "type": "integer" + "$ref": "#/components/schemas/InterfaceRequest" }, "interface_b": { - "type": "integer" + "$ref": "#/components/schemas/InterfaceRequest" }, "ssid": { "type": "string", @@ -186697,7 +196373,11 @@ "x-spec-enum-id": "fbc2f302c08be50d" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "auth_type": { @@ -186775,63 +196455,25 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedManufacturer" - } - ], - "nullable": true - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplate" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "device_count": { "type": "integer", + "format": "int64", "readOnly": true }, "virtualmachine_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ - "created", "device_count", "display", "id", - "last_updated", "name", "slug", "url", @@ -186853,35 +196495,9 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedManufacturerRequest" - } - ], - "nullable": true - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedConfigTemplateRequest" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -186907,12 +196523,12 @@ "readOnly": true }, "power_panel": { - "$ref": "#/components/schemas/NestedPowerPanel" + "$ref": "#/components/schemas/PowerPanel" }, "rack": { "allOf": [ { - "$ref": "#/components/schemas/NestedRack" + "$ref": "#/components/schemas/Rack" } ], "nullable": true @@ -187032,7 +196648,7 @@ "cable": { "allOf": [ { - "$ref": "#/components/schemas/NestedCable" + "$ref": "#/components/schemas/Cable" } ], "readOnly": true, @@ -187050,16 +196666,19 @@ "link_peers_type": { "type": "string", "description": "Return the type of the peer link terminations, or None.", - "readOnly": true + "readOnly": true, + "nullable": true }, "connected_endpoints": { "type": "array", "items": {}, + "nullable": true, "readOnly": true }, "connected_endpoints_type": { "type": "string", - "readOnly": true + "readOnly": true, + "nullable": true }, "connected_endpoints_reachable": { "type": "boolean", @@ -187072,7 +196691,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -187131,12 +196750,12 @@ "description": "Adds support for custom fields and tags.", "properties": { "power_panel": { - "$ref": "#/components/schemas/NestedPowerPanelRequest" + "$ref": "#/components/schemas/PowerPanelRequest" }, "rack": { "allOf": [ { - "$ref": "#/components/schemas/NestedRackRequest" + "$ref": "#/components/schemas/RackRequest" } ], "nullable": true @@ -187211,7 +196830,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -187253,12 +196872,12 @@ "readOnly": true }, "device": { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" }, "module": { "allOf": [ { - "$ref": "#/components/schemas/ComponentNestedModule" + "$ref": "#/components/schemas/Module" } ], "nullable": true @@ -187360,6 +196979,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -187374,8 +196996,8 @@ null ], "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "5be1814581544db3" + "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "2ff919f516566857" }, "label": { "type": "string", @@ -187463,6 +197085,9 @@ "USB Type A", "USB Micro B", "USB Type C", + "Molex Micro-Fit 1x2", + "Molex Micro-Fit 2x2", + "Molex Micro-Fit 2x4", "DC Terminal", "HDOT Cx", "Saf-D-Grid", @@ -187481,7 +197106,7 @@ "power_port": { "allOf": [ { - "$ref": "#/components/schemas/NestedPowerPort" + "$ref": "#/components/schemas/PowerPort" } ], "nullable": true @@ -187523,7 +197148,7 @@ "cable": { "allOf": [ { - "$ref": "#/components/schemas/NestedCable" + "$ref": "#/components/schemas/Cable" } ], "readOnly": true, @@ -187541,16 +197166,19 @@ "link_peers_type": { "type": "string", "description": "Return the type of the peer link terminations, or None.", - "readOnly": true + "readOnly": true, + "nullable": true }, "connected_endpoints": { "type": "array", "items": {}, + "nullable": true, "readOnly": true }, "connected_endpoints_type": { "type": "string", - "readOnly": true + "readOnly": true, + "nullable": true }, "connected_endpoints_reachable": { "type": "boolean", @@ -187607,12 +197235,12 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { "allOf": [ { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" + "$ref": "#/components/schemas/ModuleRequest" } ], "nullable": true @@ -187712,6 +197340,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -187726,14 +197357,14 @@ null ], "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "5be1814581544db3", + "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "2ff919f516566857", "nullable": true }, "power_port": { "allOf": [ { - "$ref": "#/components/schemas/NestedPowerPortRequest" + "$ref": "#/components/schemas/PowerPortRequest" } ], "nullable": true @@ -187795,7 +197426,7 @@ "device_type": { "allOf": [ { - "$ref": "#/components/schemas/NestedDeviceType" + "$ref": "#/components/schemas/DeviceType" } ], "nullable": true @@ -187803,7 +197434,7 @@ "module_type": { "allOf": [ { - "$ref": "#/components/schemas/NestedModuleType" + "$ref": "#/components/schemas/ModuleType" } ], "nullable": true @@ -187906,6 +197537,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -187920,8 +197554,8 @@ null ], "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "5be1814581544db3" + "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "2ff919f516566857" }, "label": { "type": "string", @@ -188009,6 +197643,9 @@ "USB Type A", "USB Micro B", "USB Type C", + "Molex Micro-Fit 1x2", + "Molex Micro-Fit 2x2", + "Molex Micro-Fit 2x4", "DC Terminal", "HDOT Cx", "Saf-D-Grid", @@ -188027,7 +197664,7 @@ "power_port": { "allOf": [ { - "$ref": "#/components/schemas/NestedPowerPortTemplate" + "$ref": "#/components/schemas/PowerPortTemplate" } ], "nullable": true @@ -188091,7 +197728,7 @@ "device_type": { "allOf": [ { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" + "$ref": "#/components/schemas/DeviceTypeRequest" } ], "nullable": true @@ -188099,7 +197736,7 @@ "module_type": { "allOf": [ { - "$ref": "#/components/schemas/NestedModuleTypeRequest" + "$ref": "#/components/schemas/ModuleTypeRequest" } ], "nullable": true @@ -188200,6 +197837,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -188214,14 +197854,14 @@ null ], "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "5be1814581544db3", + "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "2ff919f516566857", "nullable": true }, "power_port": { "allOf": [ { - "$ref": "#/components/schemas/NestedPowerPortTemplateRequest" + "$ref": "#/components/schemas/PowerPortTemplateRequest" } ], "nullable": true @@ -188265,17 +197905,6 @@ "type": "string", "readOnly": true }, - "site": { - "$ref": "#/components/schemas/NestedSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocation" - } - ], - "nullable": true - }, "name": { "type": "string", "maxLength": 100 @@ -188284,44 +197913,17 @@ "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, "powerfeed_count": { "type": "integer", + "format": "int64", "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true } }, "required": [ - "created", "display", "id", - "last_updated", "name", "powerfeed_count", - "site", "url" ] }, @@ -188329,17 +197931,6 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "site": { - "$ref": "#/components/schemas/NestedSiteRequest" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocationRequest" - } - ], - "nullable": true - }, "name": { "type": "string", "minLength": 1, @@ -188348,24 +197939,10 @@ "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "name", - "site" + "name" ] }, "PowerPort": { @@ -188386,325 +197963,25 @@ "readOnly": true }, "device": { - "$ref": "#/components/schemas/NestedDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModule" - } - ], - "nullable": true + "$ref": "#/components/schemas/Device" }, "name": { "type": "string", "maxLength": 64 }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "0612e2fb273da8ee" - }, - "label": { - "type": "string", - "enum": [ - "C6", - "C8", - "C14", - "C16", - "C20", - "C22", - "P+N+E 4H", - "P+N+E 6H", - "P+N+E 9H", - "2P+E 4H", - "2P+E 6H", - "2P+E 9H", - "3P+E 4H", - "3P+E 6H", - "3P+E 9H", - "3P+N+E 4H", - "3P+N+E 6H", - "3P+N+E 9H", - "IEC 60906-1", - "2P+T 10A (NBR 14136)", - "2P+T 20A (NBR 14136)", - "NEMA 1-15P", - "NEMA 5-15P", - "NEMA 5-20P", - "NEMA 5-30P", - "NEMA 5-50P", - "NEMA 6-15P", - "NEMA 6-20P", - "NEMA 6-30P", - "NEMA 6-50P", - "NEMA 10-30P", - "NEMA 10-50P", - "NEMA 14-20P", - "NEMA 14-30P", - "NEMA 14-50P", - "NEMA 14-60P", - "NEMA 15-15P", - "NEMA 15-20P", - "NEMA 15-30P", - "NEMA 15-50P", - "NEMA 15-60P", - "NEMA L1-15P", - "NEMA L5-15P", - "NEMA L5-20P", - "NEMA L5-30P", - "NEMA L5-50P", - "NEMA L6-15P", - "NEMA L6-20P", - "NEMA L6-30P", - "NEMA L6-50P", - "NEMA L10-30P", - "NEMA L14-20P", - "NEMA L14-30P", - "NEMA L14-50P", - "NEMA L14-60P", - "NEMA L15-20P", - "NEMA L15-30P", - "NEMA L15-50P", - "NEMA L15-60P", - "NEMA L21-20P", - "NEMA L21-30P", - "NEMA L22-30P", - "CS6361C", - "CS6365C", - "CS8165C", - "CS8265C", - "CS8365C", - "CS8465C", - "ITA Type C (CEE 7/16)", - "ITA Type E (CEE 7/6)", - "ITA Type F (CEE 7/4)", - "ITA Type E/F (CEE 7/7)", - "ITA Type G (BS 1363)", - "ITA Type H", - "ITA Type I", - "ITA Type J", - "ITA Type K", - "ITA Type L (CEI 23-50)", - "ITA Type M (BS 546)", - "ITA Type N", - "ITA Type O", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "USB 3.0 Type B", - "USB 3.0 Micro B", - "DC Terminal", - "Saf-D-Grid", - "Neutrik powerCON (20A)", - "Neutrik powerCON (32A)", - "Neutrik powerCON TRUE1", - "Neutrik powerCON TRUE1 TOP", - "Ubiquiti SmartPower", - "Hardwired", - "Other" - ] - } - }, - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, "description": { "type": "string", "maxLength": 200 }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, "cable": { "allOf": [ { - "$ref": "#/components/schemas/NestedCable" + "$ref": "#/components/schemas/Cable" } ], "readOnly": true, "nullable": true }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "_occupied": { "type": "boolean", "readOnly": true, @@ -188714,17 +197991,9 @@ "required": [ "_occupied", "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", "device", "display", "id", - "last_updated", - "link_peers", - "link_peers_type", "name", "url" ] @@ -188734,167 +198003,16 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" - } - ], - "nullable": true + "$ref": "#/components/schemas/DeviceRequest" }, "name": { "type": "string", "minLength": 1, "maxLength": 64 }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "0612e2fb273da8ee", - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, "description": { "type": "string", "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -188919,446 +198037,32 @@ "type": "string", "readOnly": true }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "0612e2fb273da8ee" - }, - "label": { - "type": "string", - "enum": [ - "C6", - "C8", - "C14", - "C16", - "C20", - "C22", - "P+N+E 4H", - "P+N+E 6H", - "P+N+E 9H", - "2P+E 4H", - "2P+E 6H", - "2P+E 9H", - "3P+E 4H", - "3P+E 6H", - "3P+E 9H", - "3P+N+E 4H", - "3P+N+E 6H", - "3P+N+E 9H", - "IEC 60906-1", - "2P+T 10A (NBR 14136)", - "2P+T 20A (NBR 14136)", - "NEMA 1-15P", - "NEMA 5-15P", - "NEMA 5-20P", - "NEMA 5-30P", - "NEMA 5-50P", - "NEMA 6-15P", - "NEMA 6-20P", - "NEMA 6-30P", - "NEMA 6-50P", - "NEMA 10-30P", - "NEMA 10-50P", - "NEMA 14-20P", - "NEMA 14-30P", - "NEMA 14-50P", - "NEMA 14-60P", - "NEMA 15-15P", - "NEMA 15-20P", - "NEMA 15-30P", - "NEMA 15-50P", - "NEMA 15-60P", - "NEMA L1-15P", - "NEMA L5-15P", - "NEMA L5-20P", - "NEMA L5-30P", - "NEMA L5-50P", - "NEMA L6-15P", - "NEMA L6-20P", - "NEMA L6-30P", - "NEMA L6-50P", - "NEMA L10-30P", - "NEMA L14-20P", - "NEMA L14-30P", - "NEMA L14-50P", - "NEMA L14-60P", - "NEMA L15-20P", - "NEMA L15-30P", - "NEMA L15-50P", - "NEMA L15-60P", - "NEMA L21-20P", - "NEMA L21-30P", - "NEMA L22-30P", - "CS6361C", - "CS6365C", - "CS8165C", - "CS8265C", - "CS8365C", - "CS8465C", - "ITA Type C (CEE 7/16)", - "ITA Type E (CEE 7/6)", - "ITA Type F (CEE 7/4)", - "ITA Type E/F (CEE 7/7)", - "ITA Type G (BS 1363)", - "ITA Type H", - "ITA Type I", - "ITA Type J", - "ITA Type K", - "ITA Type L (CEI 23-50)", - "ITA Type M (BS 546)", - "ITA Type N", - "ITA Type O", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "USB 3.0 Type B", - "USB 3.0 Micro B", - "DC Terminal", - "Saf-D-Grid", - "Neutrik powerCON (20A)", - "Neutrik powerCON (32A)", - "Neutrik powerCON TRUE1", - "Neutrik powerCON TRUE1 TOP", - "Ubiquiti SmartPower", - "Hardwired", - "Other" - ] - } - }, - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "PowerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleTypeRequest" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "0612e2fb273da8ee", - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" + "name": { + "type": "string", + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "display", + "id", + "name", + "url" + ] + }, + "PowerPortTemplateRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 }, "description": { "type": "string", @@ -189414,7 +198118,7 @@ "site": { "allOf": [ { - "$ref": "#/components/schemas/NestedSite" + "$ref": "#/components/schemas/Site" } ], "nullable": true @@ -189422,7 +198126,7 @@ "vrf": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRF" + "$ref": "#/components/schemas/VRF" } ], "nullable": true @@ -189430,7 +198134,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -189438,7 +198142,7 @@ "vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLAN" + "$ref": "#/components/schemas/VLAN" } ], "nullable": true @@ -189471,7 +198175,7 @@ "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedRole" + "$ref": "#/components/schemas/Role" } ], "nullable": true @@ -189544,6 +198248,11 @@ "type": "integer", "readOnly": true }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, "name": { "type": "string", "maxLength": 100 @@ -189555,36 +198264,14 @@ "description": { "type": "string", "maxLength": 200 - }, - "family": { - "enum": [ - "ipv4", - "ipv6" - ], - "type": "string", - "description": "* `ipv4` - IPv4\n* `ipv6` - IPv6", - "x-spec-enum-id": "7aa5eccc95045be6" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" } }, "required": [ "description", "display", - "family", "id", - "name" + "name", + "url" ] }, "PrefixListRequest": { @@ -189599,33 +198286,10 @@ "description": { "type": "string", "maxLength": 200 - }, - "family": { - "enum": [ - "ipv4", - "ipv6" - ], - "type": "string", - "description": "* `ipv4` - IPv4\n* `ipv6` - IPv6", - "x-spec-enum-id": "7aa5eccc95045be6" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" } }, "required": [ "description", - "family", "name" ] }, @@ -189637,6 +198301,10 @@ "type": "integer", "readOnly": true }, + "description": { + "type": "string", + "maxLength": 200 + }, "tags": { "type": "array", "items": { @@ -189652,7 +198320,7 @@ "readOnly": true }, "prefix_list": { - "$ref": "#/components/schemas/NestedPrefixList" + "$ref": "#/components/schemas/PrefixList" }, "created": { "type": "string", @@ -189699,7 +198367,7 @@ "prefix": { "allOf": [ { - "$ref": "#/components/schemas/NestedPrefix" + "$ref": "#/components/schemas/Prefix" } ], "nullable": true @@ -189722,6 +198390,10 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { + "description": { + "type": "string", + "maxLength": 200 + }, "tags": { "type": "array", "items": { @@ -189733,7 +198405,7 @@ "additionalProperties": {} }, "prefix_list": { - "$ref": "#/components/schemas/NestedPrefixListRequest" + "$ref": "#/components/schemas/PrefixListRequest" }, "index": { "type": "integer", @@ -189769,7 +198441,7 @@ "prefix": { "allOf": [ { - "$ref": "#/components/schemas/NestedPrefixRequest" + "$ref": "#/components/schemas/PrefixRequest" } ], "nullable": true @@ -189795,7 +198467,7 @@ "site": { "allOf": [ { - "$ref": "#/components/schemas/NestedSiteRequest" + "$ref": "#/components/schemas/SiteRequest" } ], "nullable": true @@ -189803,7 +198475,7 @@ "vrf": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRFRequest" + "$ref": "#/components/schemas/VRFRequest" } ], "nullable": true @@ -189811,7 +198483,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -189819,7 +198491,7 @@ "vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLANRequest" + "$ref": "#/components/schemas/VLANRequest" } ], "nullable": true @@ -189838,7 +198510,7 @@ "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedRoleRequest" + "$ref": "#/components/schemas/RoleRequest" } ], "nullable": true @@ -189901,58 +198573,20 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "accounts": { - "type": "array", - "items": { - "type": "integer" - } - }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "circuit_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ "circuit_count", - "created", "display", "id", - "last_updated", "name", "slug", "url" @@ -189976,10 +198610,11 @@ "readOnly": true }, "provider": { - "$ref": "#/components/schemas/NestedProvider" + "$ref": "#/components/schemas/Provider" }, "name": { "type": "string", + "default": "", "maxLength": 100 }, "account": { @@ -190031,11 +198666,9 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "provider": { - "$ref": "#/components/schemas/NestedProviderRequest" - }, "name": { "type": "string", + "default": "", "maxLength": 100 }, "account": { @@ -190047,24 +198680,10 @@ "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "account", - "provider" + "account" ] }, "ProviderNetwork": { @@ -190084,54 +198703,19 @@ "type": "string", "readOnly": true }, - "provider": { - "$ref": "#/components/schemas/NestedProvider" - }, "name": { "type": "string", "maxLength": 100 }, - "service_id": { - "type": "string", - "maxLength": 100 - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true } }, "required": [ - "created", "display", "id", - "last_updated", "name", - "provider", "url" ] }, @@ -190139,39 +198723,18 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "provider": { - "$ref": "#/components/schemas/NestedProviderRequest" - }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, - "service_id": { - "type": "string", - "maxLength": 100 - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "name", - "provider" + "name" ] }, "ProviderRequest": { @@ -190190,34 +198753,9 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "accounts": { - "type": "array", - "items": { - "type": "integer" - } - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -190251,48 +198789,20 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "is_private": { - "type": "boolean", - "title": "Private", - "description": "IP space managed by this RIR is considered private" - }, "description": { "type": "string", "maxLength": 200 }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "aggregate_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ "aggregate_count", - "created", "display", "id", - "last_updated", "name", "slug", "url" @@ -190313,24 +198823,9 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "is_private": { - "type": "boolean", - "title": "Private", - "description": "IP space managed by this RIR is considered private" - }, "description": { "type": "string", "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -190374,289 +198869,21 @@ "type": "string", "maxLength": 100 }, - "facility_id": { - "type": "string", - "nullable": true, - "maxLength": 50 - }, - "site": { - "$ref": "#/components/schemas/NestedSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocation" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "reserved", - "available", - "planned", - "active", - "deprecated" - ], - "type": "string", - "description": "* `reserved` - Reserved\n* `available` - Available\n* `planned` - Planned\n* `active` - Active\n* `deprecated` - Deprecated", - "x-spec-enum-id": "0c556d55dc1baa13" - }, - "label": { - "type": "string", - "enum": [ - "Reserved", - "Available", - "Planned", - "Active", - "Deprecated" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRackRole" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this rack", - "maxLength": 50 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea" - }, - "label": { - "type": "string", - "enum": [ - "2-post frame", - "4-post frame", - "4-post cabinet", - "Wall-mounted frame", - "Wall-mounted frame (vertical)", - "Wall-mounted cabinet", - "Wall-mounted cabinet (vertical)" - ] - } - }, - "nullable": true - }, - "width": { - "type": "object", - "properties": { - "value": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "description": "* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "x-spec-enum-id": "9b322795f297a9c3" - }, - "label": { - "type": "string", - "enum": [ - "10 inches", - "19 inches", - "21 inches", - "23 inches" - ] - } - } - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" - }, - "label": { - "type": "string", - "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" - ] - } - }, - "nullable": true - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e" - }, - "label": { - "type": "string", - "enum": [ - "Millimeters", - "Inches" - ] - } - }, - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "device_count": { "type": "integer", - "readOnly": true - }, - "powerfeed_count": { - "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ - "created", "device_count", "display", "id", - "last_updated", "name", - "powerfeed_count", - "site", "url" ] }, @@ -190669,191 +198896,13 @@ "minLength": 1, "maxLength": 100 }, - "facility_id": { - "type": "string", - "nullable": true, - "maxLength": 50 - }, - "site": { - "$ref": "#/components/schemas/NestedSiteRequest" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocationRequest" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "status": { - "enum": [ - "reserved", - "available", - "planned", - "active", - "deprecated" - ], - "type": "string", - "description": "* `reserved` - Reserved\n* `available` - Available\n* `planned` - Planned\n* `active` - Active\n* `deprecated` - Deprecated", - "x-spec-enum-id": "0c556d55dc1baa13" - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRackRoleRequest" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this rack", - "maxLength": 50 - }, - "type": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "description": "* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "x-spec-enum-id": "9b322795f297a9c3" - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "name", - "site" + "name" ] }, "RackReservation": { @@ -190874,7 +198923,7 @@ "readOnly": true }, "rack": { - "$ref": "#/components/schemas/NestedRack" + "$ref": "#/components/schemas/Rack" }, "units": { "type": "array", @@ -190897,12 +198946,12 @@ "nullable": true }, "user": { - "$ref": "#/components/schemas/NestedUser" + "$ref": "#/components/schemas/User" }, "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -190942,7 +198991,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "rack": { - "$ref": "#/components/schemas/NestedRackRequest" + "$ref": "#/components/schemas/RackRequest" }, "units": { "type": "array", @@ -190953,12 +199002,12 @@ } }, "user": { - "$ref": "#/components/schemas/NestedUserRequest" + "$ref": "#/components/schemas/UserRequest" }, "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -191048,6 +199097,7 @@ }, "rack_count": { "type": "integer", + "format": "int64", "readOnly": true } }, @@ -191145,7 +199195,7 @@ "device": { "allOf": [ { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" } ], "readOnly": true @@ -191186,373 +199236,18 @@ "readOnly": true }, "device": { - "$ref": "#/components/schemas/NestedDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/ComponentNestedModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", - "x-spec-enum-id": "0276d1110ada597a" - }, - "label": { - "type": "string", - "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", - "Other" - ] - } - } - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Number of front ports which may be mapped" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "created", - "device", - "display", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "type", - "url" - ] - }, - "RearPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" + "$ref": "#/components/schemas/Device" }, "module": { "allOf": [ { - "$ref": "#/components/schemas/ComponentNestedModuleRequest" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `other` - Other", - "x-spec-enum-id": "0276d1110ada597a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Number of front ports which may be mapped" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "type" - ] - }, - "RearPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedModuleType" + "$ref": "#/components/schemas/Module" } ], "nullable": true }, "name": { "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", "maxLength": 64 }, "label": { @@ -191679,12 +199374,51 @@ "positions": { "type": "integer", "maximum": 1024, - "minimum": 1 + "minimum": 1, + "description": "Number of front ports which may be mapped" }, "description": { "type": "string", "maxLength": 200 }, + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" + }, + "cable": { + "allOf": [ + { + "$ref": "#/components/schemas/Cable" + } + ], + "readOnly": true, + "nullable": true + }, + "cable_end": { + "type": "string", + "readOnly": true + }, + "link_peers": { + "type": "array", + "items": {}, + "readOnly": true + }, + "link_peers_type": { + "type": "string", + "description": "Return the type of the peer link terminations, or None.", + "readOnly": true, + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTag" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} + }, "created": { "type": "string", "format": "date-time", @@ -191696,34 +199430,40 @@ "format": "date-time", "readOnly": true, "nullable": true + }, + "_occupied": { + "type": "boolean", + "readOnly": true, + "title": " occupied" } }, "required": [ + "_occupied", + "cable", + "cable_end", "created", + "device", "display", "id", "last_updated", + "link_peers", + "link_peers_type", "name", "type", "url" ] }, - "RearPortTemplateRequest": { + "RearPortRequest": { "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "description": "Adds support for custom fields and tags.", "properties": { - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceTypeRequest" - } - ], - "nullable": true + "device": { + "$ref": "#/components/schemas/DeviceRequest" }, - "module_type": { + "module": { "allOf": [ { - "$ref": "#/components/schemas/NestedModuleTypeRequest" + "$ref": "#/components/schemas/ModuleRequest" } ], "nullable": true @@ -191731,7 +199471,6 @@ "name": { "type": "string", "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", "maxLength": 64 }, "label": { @@ -191801,18 +199540,87 @@ "positions": { "type": "integer", "maximum": 1024, - "minimum": 1 + "minimum": 1, + "description": "Number of front ports which may be mapped" }, "description": { "type": "string", "maxLength": 200 + }, + "mark_connected": { + "type": "boolean", + "description": "Treat as if a cable is connected" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NestedTagRequest" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": {} } }, "required": [ + "device", "name", "type" ] }, + "RearPortTemplate": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "display", + "id", + "name", + "url" + ] + }, + "RearPortTemplateRequest": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", + "maxLength": 64 + }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "name" + ] + }, "Region": { "type": "object", "description": "Extends PrimaryModelSerializer to include MPTT support.", @@ -191875,7 +199683,8 @@ }, "site_count": { "type": "integer", - "readOnly": true + "readOnly": true, + "default": 0 }, "_depth": { "type": "integer", @@ -191964,51 +199773,24 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, "description": { "type": "string", "maxLength": 200 }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "prefix_count": { "type": "integer", + "format": "int64", "readOnly": true }, "vlan_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ - "created", "display", "id", - "last_updated", "name", "prefix_count", "slug", @@ -192031,24 +199813,9 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, "description": { "type": "string", "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -192081,7 +199848,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -192138,7 +199905,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -192173,6 +199940,15 @@ "type": "integer", "readOnly": true }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, "name": { "type": "string", "maxLength": 100 @@ -192197,8 +199973,10 @@ }, "required": [ "description", + "display", "id", - "name" + "name", + "url" ] }, "RoutingPolicyRequest": { @@ -192262,17 +200040,36 @@ "match_ip_address": { "type": "array", "items": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PrefixList" + } + ], "nullable": true } }, "routing_policy": { - "$ref": "#/components/schemas/NestedRoutingPolicy" + "$ref": "#/components/schemas/RoutingPolicy" }, "match_community": { "type": "array", "items": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/Community" + } + ], + "nullable": true + } + }, + "match_community_list": { + "type": "array", + "items": { + "allOf": [ + { + "$ref": "#/components/schemas/CommunityList" + } + ], "nullable": true } }, @@ -192340,7 +200137,7 @@ } }, "routing_policy": { - "$ref": "#/components/schemas/NestedRoutingPolicyRequest" + "$ref": "#/components/schemas/RoutingPolicyRequest" }, "match_community": { "type": "array", @@ -192349,6 +200146,13 @@ "nullable": true } }, + "match_community_list": { + "type": "array", + "items": { + "type": "integer", + "nullable": true + } + }, "match_custom": { "nullable": true }, @@ -192402,7 +200206,7 @@ "type": "string", "readOnly": true }, - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -192451,12 +200255,12 @@ } }, "required": [ - "content_types", "created", "display", "id", "last_updated", "name", + "object_types", "parameters", "slug", "url" @@ -192466,7 +200270,7 @@ "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -192505,12 +200309,71 @@ "parameters": {} }, "required": [ - "content_types", "name", + "object_types", "parameters", "slug" ] }, + "Script": { + "type": "object", + "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "module": { + "type": "integer", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "description": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "vars": { + "nullable": true, + "readOnly": true + }, + "result": { + "allOf": [ + { + "$ref": "#/components/schemas/Job" + } + ], + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "is_executable": { + "type": "boolean", + "readOnly": true + } + }, + "required": [ + "description", + "display", + "id", + "is_executable", + "module", + "name", + "result", + "url", + "vars" + ] + }, "Secret": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -192537,12 +200400,10 @@ "minimum": 0 }, "assigned_object": { - "type": "object", - "additionalProperties": {}, "readOnly": true }, "role": { - "$ref": "#/components/schemas/NestedSecretRole" + "$ref": "#/components/schemas/SecretRole" }, "name": { "type": "string", @@ -192612,7 +200473,7 @@ "minimum": 0 }, "role": { - "$ref": "#/components/schemas/NestedSecretRoleRequest" + "$ref": "#/components/schemas/SecretRoleRequest" }, "name": { "type": "string", @@ -192764,7 +200625,7 @@ "device": { "allOf": [ { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" } ], "nullable": true @@ -192772,7 +200633,7 @@ "virtual_machine": { "allOf": [ { - "$ref": "#/components/schemas/NestedVirtualMachine" + "$ref": "#/components/schemas/VirtualMachine" } ], "nullable": true @@ -192781,15 +200642,6 @@ "type": "string", "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "type": "object", "properties": { @@ -192813,10 +200665,19 @@ } } }, + "ports": { + "type": "array", + "items": { + "type": "integer", + "maximum": 65535, + "minimum": 1 + }, + "title": "Port numbers" + }, "ipaddresses": { "type": "array", "items": { - "type": "integer" + "$ref": "#/components/schemas/IPAddress" } }, "description": { @@ -192866,7 +200727,7 @@ "device": { "allOf": [ { - "$ref": "#/components/schemas/NestedDeviceRequest" + "$ref": "#/components/schemas/DeviceRequest" } ], "nullable": true @@ -192874,7 +200735,7 @@ "virtual_machine": { "allOf": [ { - "$ref": "#/components/schemas/NestedVirtualMachineRequest" + "$ref": "#/components/schemas/VirtualMachineRequest" } ], "nullable": true @@ -192884,15 +200745,6 @@ "minLength": 1, "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "enum": [ "tcp", @@ -192903,6 +200755,15 @@ "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", "x-spec-enum-id": "5521e084b1ad51de" }, + "ports": { + "type": "array", + "items": { + "type": "integer", + "maximum": 65535, + "minimum": 1 + }, + "title": "Port numbers" + }, "ipaddresses": { "type": "array", "items": { @@ -192953,15 +200814,6 @@ "type": "string", "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "type": "object", "properties": { @@ -192985,6 +200837,15 @@ } } }, + "ports": { + "type": "array", + "items": { + "type": "integer", + "maximum": 65535, + "minimum": 1 + }, + "title": "Port numbers" + }, "description": { "type": "string", "maxLength": 200 @@ -193034,15 +200895,6 @@ "minLength": 1, "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "enum": [ "tcp", @@ -193053,6 +200905,15 @@ "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", "x-spec-enum-id": "5521e084b1ad51de" }, + "ports": { + "type": "array", + "items": { + "type": "integer", + "maximum": 65535, + "minimum": 1 + }, + "title": "Port numbers" + }, "description": { "type": "string", "maxLength": 200 @@ -193098,7 +200959,7 @@ "readOnly": true }, "userkey": { - "$ref": "#/components/schemas/NestedUserKey" + "$ref": "#/components/schemas/UserKey" }, "session_key": { "type": "string", @@ -193123,15 +200984,15 @@ "SessionKeyCreateRequest": { "type": "object", "properties": { - "private_key": { - "type": "string", - "writeOnly": true, - "minLength": 1 - }, "preserve_key": { "type": "boolean", "writeOnly": true, "default": false + }, + "private_key": { + "type": "string", + "writeOnly": true, + "minLength": 1 } }, "required": [ @@ -193165,170 +201026,17 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Staging", - "Active", - "Decommissioning", - "Retired" - ] - } - } - }, - "region": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRegion" - } - ], - "nullable": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteGroup" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "time_zone": { - "type": "string", - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "physical_address": { - "type": "string", - "description": "Physical location of the building", - "maxLength": 200 - }, - "shipping_address": { - "type": "string", - "description": "If different from the physical address", - "maxLength": 200 - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "readOnly": true - }, - "device_count": { - "type": "integer", - "readOnly": true - }, - "prefix_count": { - "type": "integer", - "readOnly": true - }, - "rack_count": { - "type": "integer", - "readOnly": true - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true - }, - "vlan_count": { - "type": "integer", - "readOnly": true } }, "required": [ - "circuit_count", - "created", - "device_count", "display", "id", - "last_updated", "name", - "prefix_count", - "rack_count", "slug", - "url", - "virtualmachine_count", - "vlan_count" + "url" ] }, "SiteGroup": { @@ -193393,7 +201101,8 @@ }, "site_count": { "type": "integer", - "readOnly": true + "readOnly": true, + "default": 0 }, "_depth": { "type": "integer", @@ -193472,103 +201181,9 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "region": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRegionRequest" - } - ], - "nullable": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteGroupRequest" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "time_zone": { - "type": "string", - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "physical_address": { - "type": "string", - "description": "Physical location of the building", - "maxLength": 200 - }, - "shipping_address": { - "type": "string", - "description": "If different from the physical address", - "maxLength": 200 - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -193619,6 +201234,7 @@ }, "tagged_items": { "type": "integer", + "format": "int64", "readOnly": true }, "created": { @@ -193708,102 +201324,17 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantGroup" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "readOnly": true - }, - "device_count": { - "type": "integer", - "readOnly": true - }, - "ipaddress_count": { - "type": "integer", - "readOnly": true - }, - "prefix_count": { - "type": "integer", - "readOnly": true - }, - "rack_count": { - "type": "integer", - "readOnly": true - }, - "site_count": { - "type": "integer", - "readOnly": true - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true - }, - "vlan_count": { - "type": "integer", - "readOnly": true - }, - "vrf_count": { - "type": "integer", - "readOnly": true - }, - "cluster_count": { - "type": "integer", - "readOnly": true } }, "required": [ - "circuit_count", - "cluster_count", - "created", - "device_count", "display", "id", - "ipaddress_count", - "last_updated", "name", - "prefix_count", - "rack_count", - "site_count", "slug", - "url", - "virtualmachine_count", - "vlan_count", - "vrf_count" + "url" ] }, "TenantGroup": { @@ -193868,7 +201399,8 @@ }, "tenant_count": { "type": "integer", - "readOnly": true + "readOnly": true, + "default": 0 }, "_depth": { "type": "integer", @@ -193946,30 +201478,9 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantGroupRequest" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -193995,7 +201506,7 @@ "readOnly": true }, "user": { - "$ref": "#/components/schemas/NestedUser" + "$ref": "#/components/schemas/User" }, "created": { "type": "string", @@ -194054,7 +201565,7 @@ "user": { "allOf": [ { - "$ref": "#/components/schemas/NestedUser" + "$ref": "#/components/schemas/User" } ], "readOnly": true @@ -194135,7 +201646,7 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "user": { - "$ref": "#/components/schemas/NestedUserRequest" + "$ref": "#/components/schemas/UserRequest" }, "expires": { "type": "string", @@ -194186,123 +201697,15 @@ "type": "string", "maxLength": 100 }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "active", - "disabled" - ], - "type": "string", - "description": "* `planned` - Planned\n* `active` - Active\n* `disabled` - Disabled", - "x-spec-enum-id": "0d65f7912cba74aa" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Active", - "Disabled" - ] - } - } - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTunnelGroup" - } - ], - "nullable": true - }, - "encapsulation": { - "type": "object", - "properties": { - "value": { - "enum": [ - "ipsec-transport", - "ipsec-tunnel", - "ip-ip", - "gre" - ], - "type": "string", - "description": "* `ipsec-transport` - IPsec - Transport\n* `ipsec-tunnel` - IPsec - Tunnel\n* `ip-ip` - IP-in-IP\n* `gre` - GRE", - "x-spec-enum-id": "5fc36bb745852746" - }, - "label": { - "type": "string", - "enum": [ - "IPsec - Transport", - "IPsec - Tunnel", - "IP-in-IP", - "GRE" - ] - } - } - }, - "ipsec_profile": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPSecProfile" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, - "tunnel_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true } }, "required": [ - "created", "display", - "encapsulation", "id", - "last_updated", "name", - "status", "url" ] }, @@ -194360,6 +201763,7 @@ }, "tunnel_count": { "type": "integer", + "format": "int64", "readOnly": true } }, @@ -194418,80 +201822,13 @@ "minLength": 1, "maxLength": 100 }, - "status": { - "enum": [ - "planned", - "active", - "disabled" - ], - "type": "string", - "description": "* `planned` - Planned\n* `active` - Active\n* `disabled` - Disabled", - "x-spec-enum-id": "0d65f7912cba74aa" - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTunnelGroupRequest" - } - ], - "nullable": true - }, - "encapsulation": { - "enum": [ - "ipsec-transport", - "ipsec-tunnel", - "ip-ip", - "gre" - ], - "type": "string", - "description": "* `ipsec-transport` - IPsec - Transport\n* `ipsec-tunnel` - IPsec - Tunnel\n* `ip-ip` - IP-in-IP\n* `gre` - GRE", - "x-spec-enum-id": "5fc36bb745852746" - }, - "ipsec_profile": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPSecProfileRequest" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "tunnel_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ - "encapsulation", - "name", - "status" + "name" ] }, "TunnelTermination": { @@ -194512,7 +201849,7 @@ "readOnly": true }, "tunnel": { - "$ref": "#/components/schemas/NestedTunnel" + "$ref": "#/components/schemas/Tunnel" }, "role": { "type": "object", @@ -194554,7 +201891,7 @@ "outside_ip": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true @@ -194589,6 +201926,7 @@ "last_updated", "role", "termination", + "termination_id", "termination_type", "tunnel", "url" @@ -194599,7 +201937,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "tunnel": { - "$ref": "#/components/schemas/NestedTunnelRequest" + "$ref": "#/components/schemas/TunnelRequest" }, "role": { "enum": [ @@ -194624,7 +201962,7 @@ "outside_ip": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddressRequest" + "$ref": "#/components/schemas/IPAddressRequest" } ], "nullable": true @@ -194642,6 +201980,7 @@ }, "required": [ "role", + "termination_id", "termination_type", "tunnel" ] @@ -194668,45 +202007,6 @@ "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "pattern": "^[\\w.@+-]+$", "maxLength": 150 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } } }, "required": [ @@ -194718,12 +202018,8 @@ }, "UserKey": { "type": "object", + "description": "Adds support for custom fields and tags.", "properties": { - "pk": { - "type": "integer", - "readOnly": true, - "title": "Id" - }, "id": { "type": "integer", "readOnly": true @@ -194736,61 +202032,14 @@ "display": { "type": "string", "readOnly": true - }, - "public_key": { - "type": "string" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "is_active": { - "type": "boolean", - "readOnly": true - }, - "is_filled": { - "type": "boolean", - "readOnly": true } }, "required": [ - "created", "display", "id", - "is_active", - "is_filled", - "last_updated", - "pk", - "public_key", "url" ] }, - "UserKeyRequest": { - "type": "object", - "properties": { - "public_key": { - "type": "string", - "minLength": 1 - }, - "private_key": { - "type": "string", - "writeOnly": true, - "minLength": 1 - } - }, - "required": [ - "private_key", - "public_key" - ] - }, "UserRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -194801,55 +202050,9 @@ "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "pattern": "^[\\w.@+-]+$", "maxLength": 150 - }, - "password": { - "type": "string", - "writeOnly": true, - "minLength": 1, - "maxLength": 128 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } } }, "required": [ - "password", "username" ] }, @@ -194870,22 +202073,6 @@ "type": "string", "readOnly": true }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSite" - } - ], - "nullable": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVLANGroup" - } - ], - "nullable": true - }, "vid": { "type": "integer", "maximum": 4094, @@ -194897,96 +202084,15 @@ "type": "string", "maxLength": 64 }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Reserved", - "Deprecated" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRole" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "l2vpn_termination": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedL2VPNTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "prefix_count": { - "type": "integer", - "readOnly": true } }, "required": [ - "created", "display", "id", - "l2vpn_termination", - "last_updated", "name", - "prefix_count", "url", "vid" ] @@ -195071,6 +202177,7 @@ }, "vlan_count": { "type": "integer", + "format": "int64", "readOnly": true }, "utilization": { @@ -195152,22 +202259,6 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteRequest" - } - ], - "nullable": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVLANGroupRequest" - } - ], - "nullable": true - }, "vid": { "type": "integer", "maximum": 4094, @@ -195180,48 +202271,9 @@ "minLength": 1, "maxLength": 64 }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRoleRequest" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -195247,7 +202299,7 @@ "readOnly": true }, "virtual_machine": { - "$ref": "#/components/schemas/NestedVirtualMachine" + "$ref": "#/components/schemas/VirtualMachine" }, "name": { "type": "string", @@ -195313,7 +202365,7 @@ "untagged_vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLAN" + "$ref": "#/components/schemas/VLAN" } ], "nullable": true @@ -195321,13 +202373,13 @@ "tagged_vlans": { "type": "array", "items": { - "type": "integer" + "$ref": "#/components/schemas/VLAN" } }, "vrf": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRF" + "$ref": "#/components/schemas/VRF" } ], "nullable": true @@ -195335,7 +202387,7 @@ "l2vpn_termination": { "allOf": [ { - "$ref": "#/components/schemas/NestedL2VPNTermination" + "$ref": "#/components/schemas/L2VPNTermination" } ], "readOnly": true, @@ -195390,7 +202442,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "virtual_machine": { - "$ref": "#/components/schemas/NestedVirtualMachineRequest" + "$ref": "#/components/schemas/VirtualMachineRequest" }, "name": { "type": "string", @@ -195445,7 +202497,7 @@ "untagged_vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLANRequest" + "$ref": "#/components/schemas/VLANRequest" } ], "nullable": true @@ -195459,7 +202511,7 @@ "vrf": { "allOf": [ { - "$ref": "#/components/schemas/NestedVRFRequest" + "$ref": "#/components/schemas/VRFRequest" } ], "nullable": true @@ -195508,75 +202560,19 @@ "description": "Unique route distinguisher (as defined in RFC 4364)", "maxLength": 21 }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenant" - } - ], - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, "description": { "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "ipaddress_count": { - "type": "integer", - "readOnly": true - }, "prefix_count": { "type": "integer", + "format": "int64", "readOnly": true } }, "required": [ - "created", "display", "id", - "ipaddress_count", - "last_updated", "name", "prefix_count", "url" @@ -195598,47 +202594,9 @@ "description": "Unique route distinguisher (as defined in RFC 4364)", "maxLength": 21 }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantRequest" - } - ], - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -195666,10 +202624,6 @@ "type": "string", "maxLength": 64 }, - "domain": { - "type": "string", - "maxLength": 30 - }, "master": { "allOf": [ { @@ -195682,41 +202636,14 @@ "type": "string", "maxLength": 200 }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "member_count": { "type": "integer", "readOnly": true } }, "required": [ - "created", "display", "id", - "last_updated", "member_count", "name", "url" @@ -195731,10 +202658,6 @@ "minLength": 1, "maxLength": 64 }, - "domain": { - "type": "string", - "maxLength": 30 - }, "master": { "allOf": [ { @@ -195746,19 +202669,6 @@ "description": { "type": "string", "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} } }, "required": [ @@ -195787,19 +202697,18 @@ "maxLength": 64 }, "device": { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" }, "identifier": { "type": "integer", "maximum": 32767, "minimum": 0, - "nullable": true, - "description": "Numeric identifier unique to the parent device" + "nullable": true }, "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -195807,7 +202716,7 @@ "primary_ip": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "readOnly": true, @@ -195816,7 +202725,7 @@ "primary_ip4": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true @@ -195824,7 +202733,7 @@ "primary_ip6": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true @@ -195883,6 +202792,7 @@ }, "interface_count": { "type": "integer", + "format": "int64", "readOnly": true } }, @@ -195909,19 +202819,18 @@ "maxLength": 64 }, "device": { - "$ref": "#/components/schemas/NestedDeviceRequest" + "$ref": "#/components/schemas/DeviceRequest" }, "identifier": { "type": "integer", "maximum": 32767, "minimum": 0, - "nullable": true, - "description": "Numeric identifier unique to the parent device" + "nullable": true }, "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -195929,7 +202838,7 @@ "primary_ip4": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddressRequest" + "$ref": "#/components/schemas/IPAddressRequest" } ], "nullable": true @@ -195937,7 +202846,7 @@ "primary_ip6": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddressRequest" + "$ref": "#/components/schemas/IPAddressRequest" } ], "nullable": true @@ -195994,7 +202903,7 @@ "readOnly": true }, "virtual_machine": { - "$ref": "#/components/schemas/NestedVirtualMachine" + "$ref": "#/components/schemas/VirtualMachine" }, "name": { "type": "string", @@ -196049,7 +202958,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "virtual_machine": { - "$ref": "#/components/schemas/NestedVirtualMachineRequest" + "$ref": "#/components/schemas/VirtualMachineRequest" }, "name": { "type": "string", @@ -196083,6 +202992,57 @@ "virtual_machine" ] }, + "VirtualMachine": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "id": { + "type": "integer", + "readOnly": true + }, + "url": { + "type": "string", + "format": "uri", + "readOnly": true + }, + "display": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "maxLength": 64 + }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "display", + "id", + "name", + "url" + ] + }, + "VirtualMachineRequest": { + "type": "object", + "description": "Adds support for custom fields and tags.", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 64 + }, + "description": { + "type": "string", + "maxLength": 200 + } + }, + "required": [ + "name" + ] + }, "VirtualMachineWithConfigContext": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -196136,7 +203096,7 @@ "site": { "allOf": [ { - "$ref": "#/components/schemas/NestedSite" + "$ref": "#/components/schemas/Site" } ], "nullable": true @@ -196144,7 +203104,7 @@ "cluster": { "allOf": [ { - "$ref": "#/components/schemas/NestedCluster" + "$ref": "#/components/schemas/Cluster" } ], "nullable": true @@ -196152,7 +203112,7 @@ "device": { "allOf": [ { - "$ref": "#/components/schemas/NestedDevice" + "$ref": "#/components/schemas/Device" } ], "nullable": true @@ -196160,7 +203120,7 @@ "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedDeviceRole" + "$ref": "#/components/schemas/DeviceRole" } ], "nullable": true @@ -196168,7 +203128,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -196176,7 +203136,7 @@ "platform": { "allOf": [ { - "$ref": "#/components/schemas/NestedPlatform" + "$ref": "#/components/schemas/Platform" } ], "nullable": true @@ -196184,7 +203144,7 @@ "primary_ip": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "readOnly": true, @@ -196193,7 +203153,7 @@ "primary_ip4": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true @@ -196201,7 +203161,7 @@ "primary_ip6": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddress" + "$ref": "#/components/schemas/IPAddress" } ], "nullable": true @@ -196238,7 +203198,7 @@ "config_template": { "allOf": [ { - "$ref": "#/components/schemas/NestedConfigTemplate" + "$ref": "#/components/schemas/ConfigTemplate" } ], "nullable": true @@ -196320,7 +203280,7 @@ "site": { "allOf": [ { - "$ref": "#/components/schemas/NestedSiteRequest" + "$ref": "#/components/schemas/SiteRequest" } ], "nullable": true @@ -196328,7 +203288,7 @@ "cluster": { "allOf": [ { - "$ref": "#/components/schemas/NestedClusterRequest" + "$ref": "#/components/schemas/ClusterRequest" } ], "nullable": true @@ -196336,7 +203296,7 @@ "device": { "allOf": [ { - "$ref": "#/components/schemas/NestedDeviceRequest" + "$ref": "#/components/schemas/DeviceRequest" } ], "nullable": true @@ -196344,7 +203304,7 @@ "role": { "allOf": [ { - "$ref": "#/components/schemas/NestedDeviceRoleRequest" + "$ref": "#/components/schemas/DeviceRoleRequest" } ], "nullable": true @@ -196352,7 +203312,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -196360,7 +203320,7 @@ "platform": { "allOf": [ { - "$ref": "#/components/schemas/NestedPlatformRequest" + "$ref": "#/components/schemas/PlatformRequest" } ], "nullable": true @@ -196368,7 +203328,7 @@ "primary_ip4": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddressRequest" + "$ref": "#/components/schemas/IPAddressRequest" } ], "nullable": true @@ -196376,7 +203336,7 @@ "primary_ip6": { "allOf": [ { - "$ref": "#/components/schemas/NestedIPAddressRequest" + "$ref": "#/components/schemas/IPAddressRequest" } ], "nullable": true @@ -196413,7 +203373,7 @@ "config_template": { "allOf": [ { - "$ref": "#/components/schemas/NestedConfigTemplateRequest" + "$ref": "#/components/schemas/ConfigTemplateRequest" } ], "nullable": true @@ -196646,7 +203606,7 @@ "group": { "allOf": [ { - "$ref": "#/components/schemas/NestedWirelessLANGroup" + "$ref": "#/components/schemas/WirelessLANGroup" } ], "nullable": true @@ -196680,7 +203640,7 @@ "vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLAN" + "$ref": "#/components/schemas/VLAN" } ], "nullable": true @@ -196688,7 +203648,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -196809,43 +203769,14 @@ "maxLength": 100, "pattern": "^[-a-zA-Z0-9_]+$" }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedWirelessLANGroup" - } - ], - "nullable": true - }, "description": { "type": "string", "maxLength": 200 }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, "wirelesslan_count": { "type": "integer", - "readOnly": true + "readOnly": true, + "default": 0 }, "_depth": { "type": "integer", @@ -196855,10 +203786,8 @@ }, "required": [ "_depth", - "created", "display", "id", - "last_updated", "name", "slug", "url", @@ -196924,7 +203853,7 @@ "group": { "allOf": [ { - "$ref": "#/components/schemas/NestedWirelessLANGroupRequest" + "$ref": "#/components/schemas/WirelessLANGroupRequest" } ], "nullable": true @@ -196944,7 +203873,7 @@ "vlan": { "allOf": [ { - "$ref": "#/components/schemas/NestedVLANRequest" + "$ref": "#/components/schemas/VLANRequest" } ], "nullable": true @@ -196952,7 +203881,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -197021,10 +203950,10 @@ "readOnly": true }, "interface_a": { - "$ref": "#/components/schemas/NestedInterface" + "$ref": "#/components/schemas/Interface" }, "interface_b": { - "$ref": "#/components/schemas/NestedInterface" + "$ref": "#/components/schemas/Interface" }, "ssid": { "type": "string", @@ -197056,7 +203985,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenant" + "$ref": "#/components/schemas/Tenant" } ], "nullable": true @@ -197161,10 +204090,10 @@ "description": "Adds support for custom fields and tags.", "properties": { "interface_a": { - "$ref": "#/components/schemas/NestedInterfaceRequest" + "$ref": "#/components/schemas/InterfaceRequest" }, "interface_b": { - "$ref": "#/components/schemas/NestedInterfaceRequest" + "$ref": "#/components/schemas/InterfaceRequest" }, "ssid": { "type": "string", @@ -197183,7 +204112,7 @@ "tenant": { "allOf": [ { - "$ref": "#/components/schemas/NestedTenantRequest" + "$ref": "#/components/schemas/TenantRequest" } ], "nullable": true @@ -197239,105 +204168,6 @@ "interface_b" ] }, - "WritableASNRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "rir": { - "type": "integer" - }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "end", - "name", - "rir", - "slug", - "start" - ] - }, - "WritableASNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - }, - "rir": { - "type": "integer", - "description": "Regional Internet Registry responsible for this AS number space" - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "asn", - "rir" - ] - }, "WritableAggregateRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -197347,11 +204177,14 @@ "minLength": 1 }, "rir": { - "type": "integer", - "description": "Regional Internet Registry responsible for this IP space" + "$ref": "#/components/schemas/RIRRequest" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "date_added": { @@ -197408,31 +204241,47 @@ "x-spec-enum-id": "b77fc919138c12f6" }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "device": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], "nullable": true }, "local_address": { - "type": "integer" + "$ref": "#/components/schemas/IPAddressRequest" }, "remote_address": { - "type": "integer" + "$ref": "#/components/schemas/IPAddressRequest" }, "local_as": { - "type": "integer" + "$ref": "#/components/schemas/ASNRequest" }, "remote_as": { - "type": "integer" + "$ref": "#/components/schemas/ASNRequest" }, "peer_group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/BGPPeerGroupRequest" + } + ], "nullable": true }, "import_policies": { @@ -197450,11 +204299,19 @@ } }, "prefix_list_in": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PrefixListRequest" + } + ], "nullable": true }, "prefix_list_out": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PrefixListRequest" + } + ], "nullable": true }, "name": { @@ -197471,36 +204328,12 @@ } }, "required": [ - "device", "local_address", "local_as", "remote_address", "remote_as" ] }, - "WritableBookmarkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "type": "integer" - } - }, - "required": [ - "object_id", - "object_type", - "user" - ] - }, "WritableCableRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -197559,7 +204392,11 @@ "x-spec-enum-id": "fbc2f302c08be50d" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "label": { @@ -197625,14 +204462,18 @@ "maxLength": 100 }, "provider": { - "type": "integer" + "$ref": "#/components/schemas/ProviderRequest" }, "provider_account": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ProviderAccountRequest" + } + ], "nullable": true }, "type": { - "type": "integer" + "$ref": "#/components/schemas/CircuitTypeRequest" }, "status": { "enum": [ @@ -197648,7 +204489,11 @@ "x-spec-enum-id": "63c838134a022200" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "install_date": { @@ -197695,83 +204540,6 @@ "type" ] }, - "WritableCircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "circuit": { - "type": "integer" - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination" - }, - "site": { - "type": "integer", - "nullable": true - }, - "provider_network": { - "type": "integer", - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "circuit", - "term_side" - ] - }, "WritableClusterRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -197782,10 +204550,14 @@ "maxLength": 100 }, "type": { - "type": "integer" + "$ref": "#/components/schemas/ClusterTypeRequest" }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ClusterGroupRequest" + } + ], "nullable": true }, "status": { @@ -197801,11 +204573,19 @@ "x-spec-enum-id": "79d20a734d0eecbb" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "description": { @@ -197831,45 +204611,6 @@ "type" ] }, - "WritableCommunityListRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "community_list": { - "type": "integer" - }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - }, - "community": { - "type": "integer" - }, - "comments": { - "type": "string" - } - }, - "required": [ - "action", - "community", - "community_list" - ] - }, "WritableCommunityRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -197895,7 +204636,11 @@ "x-spec-enum-id": "6388dfb94ca1cc15" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "description": { @@ -197924,171 +204669,19 @@ "value" ] }, - "WritableConfigContextRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "is_active": { - "type": "boolean" - }, - "regions": { - "type": "array", - "items": { - "type": "integer" - } - }, - "site_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sites": { - "type": "array", - "items": { - "type": "integer" - } - }, - "locations": { - "type": "array", - "items": { - "type": "integer" - } - }, - "device_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "roles": { - "type": "array", - "items": { - "type": "integer" - } - }, - "platforms": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "clusters": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenant_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - } - }, - "data_source": { - "type": "integer", - "nullable": true, - "description": "Remote data source" - }, - "data": {} - }, - "required": [ - "data", - "name" - ] - }, - "WritableConfigTemplateRequest": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja2 environment." - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code." - }, - "data_source": { - "type": "integer", - "nullable": true, - "description": "Remote data source" - }, - "data_file": { - "type": "integer", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "name", - "template_code" - ] - }, "WritableConsolePortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -198172,11 +204765,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -198227,10 +204828,14 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -198314,11 +204919,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -198368,7 +204981,7 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "content_type": { + "object_type": { "type": "string" }, "object_id": { @@ -198378,10 +204991,15 @@ "format": "int64" }, "contact": { - "type": "integer" + "$ref": "#/components/schemas/ContactRequest" }, "role": { - "type": "integer" + "allOf": [ + { + "$ref": "#/components/schemas/ContactRoleRequest" + } + ], + "nullable": true }, "priority": { "enum": [ @@ -198408,9 +205026,8 @@ }, "required": [ "contact", - "content_type", "object_id", - "role" + "object_type" ] }, "WritableContactGroupRequest": { @@ -198449,66 +205066,10 @@ }, "required": [ "name", + "parent", "slug" ] }, - "WritableContactRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, "WritableCustomFieldChoiceSetRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -198556,7 +205117,7 @@ "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -198582,7 +205143,7 @@ "x-spec-enum-id": "22e3a64138d10046", "description": "The type of data this custom field holds\n\n* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects" }, - "object_type": { + "related_object_type": { "type": "string", "nullable": true }, @@ -198686,13 +205247,20 @@ "maxLength": 500 }, "choice_set": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" + } + ], "nullable": true + }, + "comments": { + "type": "string" } }, "required": [ - "content_types", - "name" + "name", + "object_types" ] }, "WritableDataSourceRequest": { @@ -198743,133 +205311,19 @@ "type" ] }, - "WritableDeviceBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "installed_device": { - "type": "integer", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritableDeviceBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "device_type", - "name" - ] - }, - "WritableDeviceRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, "WritableDeviceTypeRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "manufacturer": { - "type": "integer" + "$ref": "#/components/schemas/ManufacturerRequest" }, "default_platform": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PlatformRequest" + } + ], "nullable": true }, "model": { @@ -198892,7 +205346,7 @@ "type": "number", "format": "double", "maximum": 1000, - "minimum": 0, + "minimum": 0.0, "exclusiveMaximum": true, "default": 1.0, "title": "Position (U)" @@ -198996,18 +205450,25 @@ "maxLength": 64 }, "device_type": { - "type": "integer" + "$ref": "#/components/schemas/DeviceTypeRequest" }, "role": { - "type": "integer", - "description": "The function this device serves" + "$ref": "#/components/schemas/DeviceRoleRequest" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "platform": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PlatformRequest" + } + ], "nullable": true }, "serial": { @@ -199023,14 +205484,22 @@ "maxLength": 50 }, "site": { - "type": "integer" + "$ref": "#/components/schemas/SiteRequest" }, "location": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/LocationRequest" + } + ], "nullable": true }, "rack": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/RackRequest" + } + ], "nullable": true }, "position": { @@ -199103,26 +205572,43 @@ "x-spec-enum-id": "58e389e240a5e53d" }, "primary_ip4": { - "type": "integer", - "nullable": true, - "title": "Primary IPv4" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "primary_ip6": { - "type": "integer", - "nullable": true, - "title": "Primary IPv6" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "oob_ip": { - "type": "integer", - "nullable": true, - "title": "Out-of-band IP" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "cluster": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ClusterRequest" + } + ], "nullable": true }, "virtual_chassis": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VirtualChassisRequest" + } + ], "nullable": true }, "vc_position": { @@ -199146,7 +205632,11 @@ "type": "string" }, "config_template": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], "nullable": true }, "local_context_data": { @@ -199166,6 +205656,7 @@ }, "required": [ "device_type", + "face", "role", "site" ] @@ -199174,7 +205665,7 @@ "type": "object", "description": "Adds support for custom fields and tags.", "properties": { - "content_types": { + "object_types": { "type": "array", "items": { "type": "string" @@ -199253,87 +205744,8 @@ }, "required": [ "action_object_type", - "content_types", - "name" - ] - }, - "WritableExportTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "content_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code. The list of objects being exported is passed as a context variable named queryset." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "type": "integer", - "nullable": true, - "description": "Remote data source" - } - }, - "required": [ - "content_types", "name", - "template_code" - ] - }, - "WritableFHRPGroupAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { - "type": "integer" - }, - "interface_type": { - "type": "string" - }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 - } - }, - "required": [ - "group", - "interface_id", - "interface_type", - "priority" + "object_types" ] }, "WritableFrontPortRequest": { @@ -199341,10 +205753,14 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -199423,6 +205839,7 @@ "type": "integer", "maximum": 1024, "minimum": 1, + "default": 1, "description": "Mapped position on corresponding rear port" }, "description": { @@ -199456,11 +205873,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -199534,12 +205959,13 @@ "maxLength": 6 }, "rear_port": { - "type": "integer" + "$ref": "#/components/schemas/RearPortTemplateRequest" }, "rear_port_position": { "type": "integer", "maximum": 1024, - "minimum": 1 + "minimum": 1, + "default": 1 }, "description": { "type": "string", @@ -199611,8 +206037,7 @@ } }, "required": [ - "name", - "proposals" + "name" ] }, "WritableIKEProposalRequest": { @@ -199737,11 +206162,19 @@ "minLength": 1 }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -199830,11 +206263,19 @@ "minLength": 1 }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -199848,9 +206289,12 @@ "description": "Operational status of this range\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, "role": { - "type": "integer", - "nullable": true, - "description": "The primary function of this range" + "allOf": [ + { + "$ref": "#/components/schemas/RoleRequest" + } + ], + "nullable": true }, "description": { "type": "string", @@ -199948,8 +206392,7 @@ } }, "required": [ - "name", - "proposals" + "name" ] }, "WritableIPSecProfileRequest": { @@ -199975,10 +206418,10 @@ "x-spec-enum-id": "1136c2cdfee84436" }, "ike_policy": { - "type": "integer" + "$ref": "#/components/schemas/IKEPolicyRequest" }, "ipsec_policy": { - "type": "integer" + "$ref": "#/components/schemas/IPSecPolicyRequest" }, "comments": { "type": "string" @@ -200084,7 +206527,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "vdcs": { "type": "array", @@ -200093,7 +206536,11 @@ } }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -200116,6 +206563,7 @@ "100base-tx", "100base-t1", "1000base-t", + "1000base-tx", "2.5gbase-t", "5gbase-t", "10gbase-t", @@ -200152,6 +206600,8 @@ "800gbase-x-qsfpdd", "800gbase-x-osfp", "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", "10gbase-kr", "10gbase-kx4", "25gbase-kr", @@ -200167,11 +206617,14 @@ "ieee802.11ad", "ieee802.11ax", "ieee802.11ay", + "ieee802.11be", "ieee802.15.1", "other-wireless", "gsm", "cdma", "lte", + "4g", + "5g", "sonet-oc3", "sonet-oc12", "sonet-oc48", @@ -200205,12 +206658,15 @@ "e3", "xdsl", "docsis", + "bpon", + "epon", + "10g-epon", "gpon", "xg-pon", "xgs-pon", "ng-pon2", - "epon", - "10g-epon", + "25g-pon", + "50g-pon", "cisco-stackwise", "cisco-stackwise-plus", "cisco-flexstack", @@ -200228,8 +206684,8 @@ "other" ], "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" }, "enabled": { "type": "boolean" @@ -200576,14 +207032,17 @@ "title": "Transmit power (dBm)" }, "untagged_vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "tagged_vlans": { "type": "array", "items": { - "type": "integer", - "title": "Tagged VLANs" + "type": "integer" } }, "mark_connected": { @@ -200593,12 +207052,15 @@ "wireless_lans": { "type": "array", "items": { - "type": "integer", - "title": "Wireless LANs" + "type": "integer" } }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tags": { @@ -200615,8 +207077,7 @@ "required": [ "device", "name", - "type", - "vdcs" + "type" ] }, "WritableInterfaceTemplateRequest": { @@ -200624,11 +207085,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -200652,6 +207121,7 @@ "100base-tx", "100base-t1", "1000base-t", + "1000base-tx", "2.5gbase-t", "5gbase-t", "10gbase-t", @@ -200688,6 +207158,8 @@ "800gbase-x-qsfpdd", "800gbase-x-osfp", "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", "10gbase-kr", "10gbase-kx4", "25gbase-kr", @@ -200703,11 +207175,14 @@ "ieee802.11ad", "ieee802.11ax", "ieee802.11ay", + "ieee802.11be", "ieee802.15.1", "other-wireless", "gsm", "cdma", "lte", + "4g", + "5g", "sonet-oc3", "sonet-oc12", "sonet-oc48", @@ -200741,12 +207216,15 @@ "e3", "xdsl", "docsis", + "bpon", + "epon", + "10g-epon", "gpon", "xg-pon", "xgs-pon", "ng-pon2", - "epon", - "10g-epon", + "25g-pon", + "50g-pon", "cisco-stackwise", "cisco-stackwise-plus", "cisco-flexstack", @@ -200764,8 +207242,8 @@ "other" ], "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `gpon` - GPON (2.5 Gbps / 1.25 Gps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "939e9432238e40f7" + "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME FIBER)\n* `100base-lfx` - 100BASE-LFX (10/100ME FIBER)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME Single Pair)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n\n* `ieee802.11ac` - IEEE 802.11ac\n* `ieee802.11ad` - IEEE 802.11ad\n* `ieee802.11ax` - IEEE 802.11ax\n* `ieee802.11ay` - IEEE 802.11ay\n* `ieee802.11be` - IEEE 802.11be\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", + "x-spec-enum-id": "8d111a81a4af2fa3" }, "enabled": { "type": "boolean" @@ -200826,142 +207304,6 @@ "type" ] }, - "WritableInventoryItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "type": "integer" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "type": "integer", - "nullable": true - }, - "manufacturer": { - "type": "integer", - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritableInventoryItemTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "type": "integer" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "type": "integer", - "nullable": true - }, - "manufacturer": { - "type": "integer", - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - } - }, - "required": [ - "device_type", - "name" - ] - }, "WritableJournalEntryRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -201072,7 +207414,11 @@ "type": "string" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "tags": { @@ -201092,39 +207438,6 @@ "type" ] }, - "WritableL2VPNTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "l2vpn": { - "type": "integer" - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "assigned_object_id", - "assigned_object_type", - "l2vpn" - ] - }, "WritableLocationRequest": { "type": "object", "description": "Extends PrimaryModelSerializer to include MPTT support.", @@ -201141,7 +207454,7 @@ "pattern": "^[-a-zA-Z0-9_]+$" }, "site": { - "type": "integer" + "$ref": "#/components/schemas/SiteRequest" }, "parent": { "type": "integer", @@ -201160,9 +207473,18 @@ "x-spec-enum-id": "e363a8ddb138be50" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, + "facility": { + "type": "string", + "description": "Local facility ID or description", + "maxLength": 50 + }, "description": { "type": "string", "maxLength": 200 @@ -201180,101 +207502,23 @@ }, "required": [ "name", + "parent", "site", "slug" ] }, - "WritableModuleBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "installed_module": { - "type": "integer" - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "installed_module", - "name" - ] - }, - "WritableModuleBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "device_type", - "name" - ] - }, "WritableModuleRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module_bay": { "type": "integer" }, "module_type": { - "type": "integer" + "$ref": "#/components/schemas/ModuleTypeRequest" }, "status": { "enum": [ @@ -201329,7 +207573,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "manufacturer": { - "type": "integer" + "$ref": "#/components/schemas/ManufacturerRequest" }, "model": { "type": "string", @@ -201385,113 +207629,19 @@ "model" ] }, - "WritableObjectPermissionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 30 - }, - "description": "The list of actions granted by this permission" - }, - "constraints": { - "nullable": true, - "description": "Queryset filter matching the applicable objects of the selected type(s)" - } - }, - "required": [ - "actions", - "name", - "object_types" - ] - }, - "WritablePlatformRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "manufacturer": { - "type": "integer", - "nullable": true, - "description": "Optionally limit this platform to devices of a certain manufacturer" - }, - "config_template": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, "WritablePowerFeedRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "power_panel": { - "type": "integer" + "$ref": "#/components/schemas/PowerPanelRequest" }, "rack": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/RackRequest" + } + ], "nullable": true }, "name": { @@ -201562,7 +207712,11 @@ "maxLength": 200 }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "comments": { @@ -201589,10 +207743,14 @@ "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -201690,6 +207848,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -201703,11 +207864,15 @@ "" ], "type": "string", - "x-spec-enum-id": "5be1814581544db3", - "description": "Physical port type\n\n* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" + "x-spec-enum-id": "2ff919f516566857", + "description": "Physical port type\n\n* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" }, "power_port": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PowerPortRequest" + } + ], "nullable": true }, "feed_leg": { @@ -201750,11 +207915,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -201853,6 +208026,9 @@ "usb-a", "usb-micro-b", "usb-c", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "hdot-cx", "saf-d-grid", @@ -201866,11 +208042,15 @@ "" ], "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "5be1814581544db3" + "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "2ff919f516566857" }, "power_port": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PowerPortTemplateRequest" + } + ], "nullable": true }, "feed_leg": { @@ -201893,54 +208073,19 @@ "name" ] }, - "WritablePowerPanelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "type": "integer" - }, - "location": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "site" - ] - }, "WritablePowerPortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -202046,6 +208191,9 @@ "usb-micro-ab", "usb-3-b", "usb-3-micro-b", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "saf-d-grid", "neutrik-powercon-20", @@ -202058,8 +208206,8 @@ "" ], "type": "string", - "x-spec-enum-id": "0612e2fb273da8ee", - "description": "Physical port type\n\n* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" + "x-spec-enum-id": "6d680dea031864ae", + "description": "Physical port type\n\n* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" }, "maximum_draw": { "type": "integer", @@ -202104,11 +208252,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -202215,6 +208371,9 @@ "usb-micro-ab", "usb-3-b", "usb-3-micro-b", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", "dc-terminal", "saf-d-grid", "neutrik-powercon-20", @@ -202227,8 +208386,8 @@ "" ], "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "0612e2fb273da8ee" + "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", + "x-spec-enum-id": "6d680dea031864ae" }, "maximum_draw": { "type": "integer", @@ -202253,68 +208412,6 @@ "name" ] }, - "WritablePrefixListRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "prefix_list": { - "type": "integer" - }, - "index": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0 - }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - }, - "prefix_custom": { - "type": "string", - "nullable": true, - "minLength": 1 - }, - "ge": { - "type": "integer", - "maximum": 128, - "minimum": 0, - "nullable": true - }, - "le": { - "type": "integer", - "maximum": 128, - "minimum": 0, - "nullable": true - }, - "prefix": { - "type": "integer", - "nullable": true - }, - "comments": { - "type": "string" - } - }, - "required": [ - "action", - "index", - "prefix_list" - ] - }, "WritablePrefixRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -202324,19 +208421,35 @@ "minLength": 1 }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "status": { @@ -202351,9 +208464,12 @@ "description": "Operational status of this prefix\n\n* `container` - Container\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, "role": { - "type": "integer", - "nullable": true, - "description": "The primary function of this prefix" + "allOf": [ + { + "$ref": "#/components/schemas/RoleRequest" + } + ], + "nullable": true }, "is_pool": { "type": "boolean", @@ -202386,137 +208502,6 @@ "prefix" ] }, - "WritableProviderAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "type": "integer" - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "account": { - "type": "string", - "minLength": 1, - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "account", - "provider" - ] - }, - "WritableProviderNetworkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "service_id": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "provider" - ] - }, - "WritableProviderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "accounts": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "accounts", - "name", - "slug" - ] - }, "WritableRackRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -202532,14 +208517,22 @@ "maxLength": 50 }, "site": { - "type": "integer" + "$ref": "#/components/schemas/SiteRequest" }, "location": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/LocationRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -202555,9 +208548,12 @@ "x-spec-enum-id": "0c556d55dc1baa13" }, "role": { - "type": "integer", - "nullable": true, - "description": "Functional role" + "allOf": [ + { + "$ref": "#/components/schemas/RackRoleRequest" + } + ], + "nullable": true }, "serial": { "type": "string", @@ -202698,63 +208694,19 @@ "site" ] }, - "WritableRackReservationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "rack": { - "type": "integer" - }, - "units": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "user": { - "type": "integer" - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "minLength": 1, - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "description", - "rack", - "units", - "user" - ] - }, "WritableRearPortRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer" + "$ref": "#/components/schemas/DeviceRequest" }, "module": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleRequest" + } + ], "nullable": true }, "name": { @@ -202862,11 +208814,19 @@ "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", "properties": { "device_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceTypeRequest" + } + ], "nullable": true }, "module_type": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ModuleTypeRequest" + } + ], "nullable": true }, "name": { @@ -202990,174 +208950,28 @@ }, "required": [ "name", + "parent", "slug" ] }, - "WritableRouteTargetRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Route target value (formatted in accordance with RFC 4360)", - "maxLength": 21 - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableRoutingPolicyRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "index": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0 - }, - "action": { - "enum": [ - "permit", - "deny" - ], - "type": "string", - "description": "* `permit` - Permit\n* `deny` - Deny", - "x-spec-enum-id": "1dc943e0aaf6f0a7" - }, - "match_ip_address": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "routing_policy": { - "type": "integer" - }, - "match_community": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "match_custom": { - "nullable": true - }, - "set_actions": { - "nullable": true - }, - "match_ipv6_address": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 500 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "action", - "index", - "routing_policy" - ] - }, - "WritableSecretRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0 - }, - "role": { - "type": "integer" - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "plaintext": { - "type": "string", - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "assigned_object_id", - "assigned_object_type", - "plaintext", - "role" - ] - }, "WritableServiceRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "device": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], "nullable": true }, "virtual_machine": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VirtualMachineRequest" + } + ], "nullable": true }, "name": { @@ -203165,15 +208979,6 @@ "minLength": 1, "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "enum": [ "tcp", @@ -203184,14 +208989,20 @@ "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", "x-spec-enum-id": "5521e084b1ad51de" }, - "ipaddresses": { + "ports": { "type": "array", "items": { "type": "integer", - "title": "IP addresses" + "maximum": 65535, + "minimum": 1 }, - "title": "IP addresses", - "description": "The specific IP addresses (if any) to which this service is bound" + "title": "Port numbers" + }, + "ipaddresses": { + "type": "array", + "items": { + "type": "integer" + } }, "description": { "type": "string", @@ -203226,15 +209037,6 @@ "minLength": 1, "maxLength": 100 }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, "protocol": { "enum": [ "tcp", @@ -203245,6 +209047,15 @@ "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", "x-spec-enum-id": "5521e084b1ad51de" }, + "ports": { + "type": "array", + "items": { + "type": "integer", + "maximum": 65535, + "minimum": 1 + }, + "title": "Port numbers" + }, "description": { "type": "string", "maxLength": 200 @@ -203305,6 +209116,7 @@ }, "required": [ "name", + "parent", "slug" ] }, @@ -203337,15 +209149,27 @@ "x-spec-enum-id": "e363a8ddb138be50" }, "region": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/RegionRequest" + } + ], "nullable": true }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteGroupRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "facility": { @@ -203355,7 +209179,8 @@ }, "time_zone": { "type": "string", - "nullable": true + "nullable": true, + "minLength": 1 }, "description": { "type": "string", @@ -203455,83 +209280,6 @@ "slug" ] }, - "WritableTenantRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "group": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableTokenRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "user": { - "type": "integer" - }, - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "last_used": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "key": { - "type": "string", - "maxLength": 40, - "minLength": 40 - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "user" - ] - }, "WritableTunnelRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -203552,7 +209300,11 @@ "x-spec-enum-id": "0d65f7912cba74aa" }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TunnelGroupRequest" + } + ], "nullable": true }, "encapsulation": { @@ -203567,11 +209319,19 @@ "x-spec-enum-id": "5fc36bb745852746" }, "ipsec_profile": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/IPSecProfileRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "tunnel_id": { @@ -203609,7 +209369,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "tunnel": { - "type": "integer" + "$ref": "#/components/schemas/TunnelRequest" }, "role": { "enum": [ @@ -203632,7 +209392,11 @@ "nullable": true }, "outside_ip": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], "nullable": true }, "tags": { @@ -203647,86 +209411,30 @@ } }, "required": [ + "termination_id", "termination_type", "tunnel" ] }, - "WritableUserRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "username": { - "type": "string", - "minLength": 1, - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - }, - "password": { - "type": "string", - "writeOnly": true, - "minLength": 1, - "maxLength": 128 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "The groups this user belongs to. A user will get all permissions granted to each of their groups." - } - }, - "required": [ - "password", - "username" - ] - }, "WritableVLANRequest": { "type": "object", "description": "Adds support for custom fields and tags.", "properties": { "site": { - "type": "integer", - "nullable": true, - "description": "The specific site to which this VLAN is assigned (if any)" + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], + "nullable": true }, "group": { - "type": "integer", - "nullable": true, - "description": "VLAN group (optional)" + "allOf": [ + { + "$ref": "#/components/schemas/VLANGroupRequest" + } + ], + "nullable": true }, "vid": { "type": "integer", @@ -203741,7 +209449,11 @@ "maxLength": 64 }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "status": { @@ -203755,9 +209467,12 @@ "description": "Operational status of this VLAN\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" }, "role": { - "type": "integer", - "nullable": true, - "description": "The primary function of this VLAN" + "allOf": [ + { + "$ref": "#/components/schemas/RoleRequest" + } + ], + "nullable": true }, "description": { "type": "string", @@ -203787,7 +209502,7 @@ "description": "Adds support for custom fields and tags.", "properties": { "virtual_machine": { - "type": "integer" + "$ref": "#/components/schemas/VirtualMachineRequest" }, "name": { "type": "string", @@ -203834,18 +209549,25 @@ "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)" }, "untagged_vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "tagged_vlans": { "type": "array", "items": { - "type": "integer", - "title": "Tagged VLANs" + "type": "integer" } }, "vrf": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VRFRequest" + } + ], "nullable": true }, "tags": { @@ -203864,65 +209586,6 @@ "virtual_machine" ] }, - "WritableVRFRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "tenant": { - "type": "integer", - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, "WritableVirtualChassisRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -203972,29 +209635,37 @@ "maxLength": 64 }, "device": { - "type": "integer", - "nullable": true + "$ref": "#/components/schemas/DeviceRequest" }, "identifier": { "type": "integer", "maximum": 32767, "minimum": 0, - "nullable": true, - "description": "Numeric identifier unique to the parent device" + "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "primary_ip4": { - "type": "integer", - "nullable": true, - "title": "Primary IPv4" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "primary_ip6": { - "type": "integer", - "nullable": true, - "title": "Primary IPv6" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "status": { "enum": [ @@ -204025,49 +209696,11 @@ } }, "required": [ + "device", "name", "status" ] }, - "WritableVirtualDiskRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "type": "integer" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "size": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "title": "Size (GB)" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "size", - "virtual_machine" - ] - }, "WritableVirtualMachineWithConfigContextRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -204091,38 +209724,68 @@ "x-spec-enum-id": "2217e87d0c3efdda" }, "site": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/SiteRequest" + } + ], "nullable": true }, "cluster": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ClusterRequest" + } + ], "nullable": true }, "device": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRequest" + } + ], "nullable": true }, "role": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/DeviceRoleRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "platform": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/PlatformRequest" + } + ], "nullable": true }, "primary_ip4": { - "type": "integer", - "nullable": true, - "title": "Primary IPv4" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "primary_ip6": { - "type": "integer", - "nullable": true, - "title": "Primary IPv6" + "allOf": [ + { + "$ref": "#/components/schemas/IPAddressRequest" + } + ], + "nullable": true }, "vcpus": { "type": "number", @@ -204154,7 +209817,11 @@ "type": "string" }, "config_template": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/ConfigTemplateRequest" + } + ], "nullable": true }, "local_context_data": { @@ -204212,6 +209879,7 @@ }, "required": [ "name", + "parent", "slug" ] }, @@ -204229,7 +209897,11 @@ "maxLength": 200 }, "group": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/WirelessLANGroupRequest" + } + ], "nullable": true }, "status": { @@ -204244,11 +209916,19 @@ "x-spec-enum-id": "412ebdca597f609e" }, "vlan": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/VLANRequest" + } + ], "nullable": true }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "auth_type": { @@ -204304,10 +209984,10 @@ "description": "Adds support for custom fields and tags.", "properties": { "interface_a": { - "type": "integer" + "$ref": "#/components/schemas/InterfaceRequest" }, "interface_b": { - "type": "integer" + "$ref": "#/components/schemas/InterfaceRequest" }, "ssid": { "type": "string", @@ -204324,7 +210004,11 @@ "x-spec-enum-id": "fbc2f302c08be50d" }, "tenant": { - "type": "integer", + "allOf": [ + { + "$ref": "#/components/schemas/TenantRequest" + } + ], "nullable": true }, "auth_type": { diff --git a/internal/provider/client.go b/internal/provider/client.go new file mode 100644 index 0000000..ba31240 --- /dev/null +++ b/internal/provider/client.go @@ -0,0 +1,90 @@ +package provider + +import ( + "context" + "fmt" + + "github.com/ffddorf/terraform-provider-netbox-bgp/client" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/datasource/schema" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" +) + +type Client struct { + *client.Client + + customFields map[string]*schema.ObjectAttribute +} + +func unsupportedCustomField(diags *diag.Diagnostics, cf client.CustomField) { + diags.AddWarning("custom field not supported", fmt.Sprintf(`the type of the custom field "%s" is currently not supported by the provider. It will be ignored and cannot be set through Terraform.`, cf.Name)) +} + +func (c *Client) LoadCustomFields(ctx context.Context, diags *diag.Diagnostics) error { + httpResp, err := c.Client.ExtrasCustomFieldsList(ctx, nil) + if err != nil { + return err + } + r, err := client.ParseExtrasCustomFieldsListResponse(httpResp) + if err != nil { + return err + } + if r.JSON200 == nil { + return fmt.Errorf("invalid API response: %d", r.StatusCode) + } + + fieldsByObjectType := make(map[string][]client.CustomField) + for _, cf := range r.JSON200.Results { + for _, ot := range cf.ObjectTypes { + fieldsByObjectType[ot] = append(fieldsByObjectType[ot], cf) + } + } + + for ot, cfs := range fieldsByObjectType { + def := &schema.ObjectAttribute{ + Optional: true, + } + for _, cf := range cfs { + var attrType attr.Type + switch *cf.Type.Value { + case client.CustomFieldTypeValueBoolean: + attrType = &basetypes.BoolType{} + case client.CustomFieldTypeValueDate: + unsupportedCustomField(diags, cf) + case client.CustomFieldTypeValueDatetime: + unsupportedCustomField(diags, cf) + case client.CustomFieldTypeValueDecimal: + attrType = &basetypes.NumberType{} + case client.CustomFieldTypeValueInteger: + attrType = &basetypes.Int64Type{} + case client.CustomFieldTypeValueJson: + attrType = &basetypes.StringType{} + case client.CustomFieldTypeValueLongtext: + attrType = &basetypes.StringType{} + case client.CustomFieldTypeValueMultiobject: + unsupportedCustomField(diags, cf) + case client.CustomFieldTypeValueMultiselect: + unsupportedCustomField(diags, cf) + case client.CustomFieldTypeValueObject: + unsupportedCustomField(diags, cf) + case client.CustomFieldTypeValueSelect: + unsupportedCustomField(diags, cf) + case client.CustomFieldTypeValueText: + attrType = &basetypes.StringType{} + case client.CustomFieldTypeValueUrl: + attrType = &basetypes.StringType{} + } + if attrType != nil { + def.AttributeTypes[cf.Name] = attrType + } + } + c.customFields[ot] = def + } + + return nil +} + +func (c *Client) CustomFieldsFor(objectType string) *schema.ObjectAttribute { + return c.customFields[objectType] +} diff --git a/tools/integration/Dockerfile b/tools/integration/Dockerfile index 46c7364..6a41621 100644 --- a/tools/integration/Dockerfile +++ b/tools/integration/Dockerfile @@ -2,7 +2,7 @@ ARG NETBOX_VERSION FROM netboxcommunity/netbox:v${NETBOX_VERSION} ARG NETBOX_BGP_VERSION -RUN /opt/netbox/venv/bin/pip install --no-warn-script-location netbox-bgp==${NETBOX_BGP_VERSION} +RUN /opt/netbox/venv/bin/pip install --no-warn-script-location netbox-bgp==${NETBOX_BGP_VERSION} netbox-secrets==2.0.3 COPY plugins.py /etc/netbox/config/plugins.py RUN SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input diff --git a/tools/integration/plugins.py b/tools/integration/plugins.py index ded5398..ec17dfa 100644 --- a/tools/integration/plugins.py +++ b/tools/integration/plugins.py @@ -1,5 +1,7 @@ -PLUGINS = ["netbox_bgp"] +PLUGINS = ["netbox_secrets", "netbox_bgp"] PLUGINS_CONFIG = { - 'netbox_bgp': {}, + 'netbox_bgp': { + 'top_level_menu': True, + }, }