From db98e894c815ec3a5166a0a3dc6c6103be5abc26 Mon Sep 17 00:00:00 2001 From: smutel Date: Wed, 14 Sep 2022 11:57:05 +0000 Subject: [PATCH] ci: Autogeneration of go-netbox library --- netbox/models/writable_device_with_config_context.go | 4 ++-- .../writable_virtual_machine_with_config_context.go | 4 ++-- netbox/swagger-v3.2.9.json | 12 ++++++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/netbox/models/writable_device_with_config_context.go b/netbox/models/writable_device_with_config_context.go index 72b6ed71..c5dec072 100644 --- a/netbox/models/writable_device_with_config_context.go +++ b/netbox/models/writable_device_with_config_context.go @@ -116,10 +116,10 @@ type WritableDeviceWithConfigContext struct { PrimaryIP string `json:"primary_ip,omitempty"` // Primary IPv4 - PrimaryIp4 *int64 `json:"primary_ip4,omitempty"` + PrimaryIp4 *int64 `json:"primary_ip4"` // Primary IPv6 - PrimaryIp6 *int64 `json:"primary_ip6,omitempty"` + PrimaryIp6 *int64 `json:"primary_ip6"` // Rack // Required: true diff --git a/netbox/models/writable_virtual_machine_with_config_context.go b/netbox/models/writable_virtual_machine_with_config_context.go index 5ea2b88f..10fd10dc 100644 --- a/netbox/models/writable_virtual_machine_with_config_context.go +++ b/netbox/models/writable_virtual_machine_with_config_context.go @@ -95,10 +95,10 @@ type WritableVirtualMachineWithConfigContext struct { PrimaryIP string `json:"primary_ip,omitempty"` // Primary IPv4 - PrimaryIp4 *int64 `json:"primary_ip4,omitempty"` + PrimaryIp4 *int64 `json:"primary_ip4"` // Primary IPv6 - PrimaryIp6 *int64 `json:"primary_ip6,omitempty"` + PrimaryIp6 *int64 `json:"primary_ip6"` // Role Role *int64 `json:"role,omitempty"` diff --git a/netbox/swagger-v3.2.9.json b/netbox/swagger-v3.2.9.json index b43cb0a5..b5fddb71 100644 --- a/netbox/swagger-v3.2.9.json +++ b/netbox/swagger-v3.2.9.json @@ -15378,12 +15378,14 @@ "primary_ip4" : { "title" : "Primary IPv4", "type" : "integer", - "x-nullable" : true + "x-nullable" : true, + "x-omitempty" : false }, "primary_ip6" : { "title" : "Primary IPv6", "type" : "integer", - "x-nullable" : true + "x-nullable" : true, + "x-omitempty" : false }, "rack" : { "title" : "Rack", @@ -20566,12 +20568,14 @@ "primary_ip4" : { "title" : "Primary IPv4", "type" : "integer", - "x-nullable" : true + "x-nullable" : true, + "x-omitempty" : false }, "primary_ip6" : { "title" : "Primary IPv6", "type" : "integer", - "x-nullable" : true + "x-nullable" : true, + "x-omitempty" : false }, "role" : { "title" : "Role",