jkawamoto/roadie

View on GitHub
cloud/azure/resource/models/http_message.go

Summary

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

// HTTPMessage Http message
// swagger:model HttpMessage
type HTTPMessage struct {

    // HTTP message content.
    Content interface{} `json:"content,omitempty"`
}

// Validate validates this Http message
func (m *HTTPMessage) Validate(formats strfmt.Registry) error {
    var res []error

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