jkawamoto/roadie

View on GitHub
cloud/azure/compute/models/virtual_hard_disk.go

Summary

Maintainability
A
45 mins
Test Coverage
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"
)

// VirtualHardDisk Describes the uri of a disk.
// swagger:model VirtualHardDisk
type VirtualHardDisk struct {

    // The virtual hard disk's URI. Must be a valid URI to a virtual hard disk.
    URI string `json:"uri,omitempty"`
}

// Validate validates this virtual hard disk
func (m *VirtualHardDisk) Validate(formats strfmt.Registry) error {
    var res []error

    if len(res) > 0 {
        return errors.CompositeValidationError(res...)
    }
    return nil
}