func GetMessageRegistryFile(
	c common.Client,
	uri string,
) (*MessageRegistryFile, error) {
	resp, err := c.Get(uri)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()
	var t MessageRegistryFile
	err = json.NewDecoder(resp.Body).Decode(&t)
	if err != nil {
		return nil, err
	}
	return &t, nil
}
GetMessageRegistryFile will get a MessageRegistryFile
instance from the Redfish service.
package redfish
import (
	"encoding/json"
	"github.com/stmcginnis/gofish/common"
)
type MessageRegistryFileLocation struct {
	Language string `json:"Language"`
	URI      string `json:"Uri"`
}
type MessageRegistryFile struct {
	common.Entity
	ODataContext string `json:"@odata.context"`
	ODataType string `json:"@odata.type"`
	Description string
	Languages []string
	Location []MessageRegistryFileLocation
	Registry string
}