cloud/azure/compute/models/network_interface_reference_properties.go
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
)
// NetworkInterfaceReferenceProperties Describes a network interface reference properties.
// swagger:model NetworkInterfaceReferenceProperties
type NetworkInterfaceReferenceProperties struct {
// Specifies the primary network interface in case the virtual machine has more than 1 network interface.
Primary bool `json:"primary,omitempty"`
}
// Validate validates this network interface reference properties
func (m *NetworkInterfaceReferenceProperties) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}