cloud/azure/compute/models/api_entity_reference.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"
)
// APIEntityReference The API entity reference.
// swagger:model ApiEntityReference
type APIEntityReference struct {
// The ARM resource id in the form of /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
ID string `json:"id,omitempty"`
}
// Validate validates this Api entity reference
func (m *APIEntityReference) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}