cloud/azure/resource/models/target_resource.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"
)
// TargetResource Target resource.
// swagger:model TargetResource
type TargetResource struct {
// The ID of the resource.
ID string `json:"id,omitempty"`
// The name of the resource.
ResourceName string `json:"resourceName,omitempty"`
// The type of the resource.
ResourceType string `json:"resourceType,omitempty"`
}
// Validate validates this target resource
func (m *TargetResource) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}