/
message_registry_file100_location.go
45 lines (34 loc) · 1.34 KB
/
message_registry_file100_location.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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"
)
// MessageRegistryFile100Location message registry file 1 0 0 location
// swagger:model MessageRegistryFile.1.0.0_Location
type MessageRegistryFile100Location struct {
// If the schema is hosted on the service in an archive file, this is the name of the file within the archive.
// Read Only: true
ArchiveFile string `json:"ArchiveFile,omitempty"`
// If the schema is hosted on the service in an archive file, this is the link to the archive file.
// Read Only: true
ArchiveURI string `json:"ArchiveUri,omitempty"`
// The language code for the file the schema is in.
// Read Only: true
Language string `json:"Language,omitempty"`
// Link to publicly available (canonical) URI for schema.
// Read Only: true
PublicationURI string `json:"PublicationUri,omitempty"`
// Link to locally available URI for schema.
// Read Only: true
URI string `json:"Uri,omitempty"`
}
// Validate validates this message registry file 1 0 0 location
func (m *MessageRegistryFile100Location) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}