File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -88,17 +88,20 @@ type Subnet struct {
8888 EditDate string `json:"editDate,omitempty"`
8989
9090 // Gateway IP and ID of Gateway IP
91- Gateway map [string ]interface {} `json:"gateway,omitempty"`
91+ Gateway map [string ]interface {} `json:"gateway,omitempty"`
9292
9393 // Gateway IP ID
94- GatewayID string `json:"gatewayId,omitempty"`
94+ GatewayID string `json:"gatewayId,omitempty"`
9595
9696 // A map[string]interface{} of custom fields to set on the resource. Note
9797 // that this functionality requires PHPIPAM 1.3 or higher with the "Nest
9898 // custom fields" flag set on the specific API integration. If this is not
9999 // enabled, this map will be nil on GETs and POSTs and PATCHes with this
100100 // field set will fail. Use the explicit custom field functions instead.
101101 CustomFields map [string ]interface {} `json:"custom_fields,omitempty"`
102+
103+ // Controls enabling resolve DNS function.
104+ ResolveDNS phpipam.BoolIntString `json:"resolveDNS,omitempty"`
102105}
103106
104107// Controller is the base client for the Subnets controller.
You can’t perform that action at this time.
0 commit comments