Establish GFKSerializerField and replace get_* methods in circuits.py

This commit is contained in:
Brian Tiemann
2025-10-28 14:23:19 -04:00
parent bf83299a93
commit 182a927d34
3 changed files with 199 additions and 35 deletions

View File

@@ -75760,6 +75760,157 @@
"operationId": "dcim_power_outlet_templates_list",
"description": "Get a list of power outlet template objects.",
"parameters": [
{
"in": "query",
"name": "color",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__empty",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "color__ic",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__ie",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__iew",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__iregex",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__isw",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__n",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__nic",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__nie",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__niew",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__nisw",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "color__regex",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": true,
"style": "form"
},
{
"in": "query",
"name": "created",
@@ -211805,8 +211956,8 @@
"nullable": true
},
"termination": {
"nullable": true,
"readOnly": true
"readOnly": true,
"nullable": true
},
"port_speed": {
"type": "integer",
@@ -212009,8 +212160,8 @@
"format": "int64"
},
"member": {
"nullable": true,
"readOnly": true
"readOnly": true,
"nullable": true
},
"priority": {
"type": "object",
@@ -212394,8 +212545,8 @@
"nullable": true
},
"termination": {
"nullable": true,
"readOnly": true
"readOnly": true,
"nullable": true
},
"port_speed": {
"type": "integer",
@@ -242458,6 +242609,11 @@
"x-spec-enum-id": "8f9617d2648ab261",
"nullable": true
},
"color": {
"type": "string",
"pattern": "^[0-9a-f]{6}$",
"maxLength": 6
},
"power_port": {
"oneOf": [
{
@@ -247155,6 +247311,11 @@
},
"nullable": true
},
"color": {
"type": "string",
"pattern": "^[0-9a-f]{6}$",
"maxLength": 6
},
"power_port": {
"allOf": [
{
@@ -247371,6 +247532,11 @@
"x-spec-enum-id": "8f9617d2648ab261",
"nullable": true
},
"color": {
"type": "string",
"pattern": "^[0-9a-f]{6}$",
"maxLength": 6
},
"power_port": {
"oneOf": [
{
@@ -264451,6 +264617,11 @@
"x-spec-enum-id": "8f9617d2648ab261",
"nullable": true
},
"color": {
"type": "string",
"pattern": "^[0-9a-f]{6}$",
"maxLength": 6
},
"power_port": {
"oneOf": [
{