jkawamoto/roadie

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

Summary

Maintainability
A
55 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"
)

// BootDiagnosticsInstanceView The instance view of a virtual machine boot diagnostics.
// swagger:model BootDiagnosticsInstanceView
type BootDiagnosticsInstanceView struct {

    // The console screenshot blob URI.
    ConsoleScreenshotBlobURI string `json:"consoleScreenshotBlobUri,omitempty"`

    // The Linux serial console log blob Uri.
    SerialConsoleLogBlobURI string `json:"serialConsoleLogBlobUri,omitempty"`
}

// Validate validates this boot diagnostics instance view
func (m *BootDiagnosticsInstanceView) Validate(formats strfmt.Registry) error {
    var res []error

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