func (m *NetworkCreate) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateIPAM(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
/* polymorph NetworkCreate CheckDuplicate false
/* polymorph NetworkCreate Driver false
/* polymorph NetworkCreate EnableIPv6 false
/* polymorph NetworkCreate IPAM false
/* polymorph NetworkCreate Internal false
/* polymorph NetworkCreate Labels false
/* polymorph NetworkCreate Options false
Validate validates this network create
package types
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
)
type NetworkCreate struct {
	CheckDuplicate bool `json:"CheckDuplicate,omitempty"`
	Driver string `json:"Driver,omitempty"`
	EnableIPV6 bool `json:"EnableIPv6,omitempty"`
	IPAM *IPAM `json:"IPAM,omitempty"`
	Internal bool `json:"Internal,omitempty"`
	Labels map[string]string `json:"Labels,omitempty"`
	Options map[string]string `json:"Options,omitempty"`
}