service

package
v0.0.0-...-88829d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Name      string       `json:"Name"  xml:"Name"`
	ID        string       `json:"Id"  xml:"Id"`
	Type      string       `json:"Type"  xml:"Type"`
	TimeStamp string       `json:"TimeStamp" xml:"TimeStamp"`
	Link      Link         `json:"Link" xml:"Link"`
	Resource  ItemResource `json:"Resource" xml:"Resource"`
}

Item -

type ItemResource

type ItemResource struct {
	Service Service `json:"Service" xml:"Service"`
}

ItemResource -

type Link struct {
	Rel string `json:"-rel" xml:"rel,attr"`
	URI string `json:"-uri" xml:"uri,attr"`
}

Link -

type List

type List struct {
	L7        string `json:"-l7" xml:"l7,attr"`
	Name      string `json:"Name"  xml:"Name"`
	Type      string `json:"Type"  xml:"Type"`
	TimeStamp string `json:"TimeStamp"  xml:"TimeStamp"`
	Link      []Link `json:"Link"  xml:"Link"`
	Item      []Item `json:"Item"  xml:"Item"`
}

List -

func (*List) UnmarshalJSON

func (l *List) UnmarshalJSON(data []byte) error

UnmarshalJSON -

type ListServices

type ListServices struct {
	List List `json:"List" xml:"List"`
}

ListServices -

type MapStringInterface

type MapStringInterface map[string]interface{}

func (MapStringInterface) MarshalXML

func (m MapStringInterface) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Properties

type Properties struct {
	Property []Property `json:"Property" xml:"Property"`
}

Properties -

type Property

type Property struct {
	Key          string  `json:"-key" xml:"key,attr"`
	BooleanValue *string `json:"BooleanValue,omitempty" xml:"BooleanValue,omitempty"`
	LongValue    *string `json:"LongValue,omitempty" xml:"LongValue,omitempty"`
	StringValue  *string `json:"StringValue,omitempty" xml:"StringValue,omitempty"`
}

Property -

type ResourceSetElement

type ResourceSetElement struct {
	Tag      string                `json:"-tag" xml:"tag,attr"`
	Resource []ResourceSetResource `json:"Resource" xml:"Resource"`
	RootURL  *string               `json:"-rootUrl,omitempty" xml:"rootUrl,attr,omitempty"`
}

ResourceSetElement -

func (*ResourceSetElement) UnmarshalJSON

func (r *ResourceSetElement) UnmarshalJSON(data []byte) error

type ResourceSetResource

type ResourceSetResource struct {
	Content   string  `json:"#content" xml:"#content"`
	Version   *string `json:"-version,omitempty"  xml:"version,attr,omitempty"`
	Type      string  `json:"-type"  xml:"type,attr"`
	SourceURL *string `json:"-sourceUrl,omitempty" xml:"sourceUrl,attr,omitempty"`
}

ResourceSetResource -

type Resources

type Resources struct {
	ResourceSet []ResourceSetElement `json:"ResourceSet"  xml:"ResourceSet"`
}

Resources -

func (*Resources) UnmarshalJSON

func (r *Resources) UnmarshalJSON(data []byte) error

type Service

type Service struct {
	ServiceDetail ServiceDetail `json:"ServiceDetail" xml:"ServiceDetail"`
	Resources     Resources     `json:"Resources" xml:"Resource"`
	ID            string        `json:"-id" xml:"id,attr"`
	Version       string        `json:"-version" xml:"version,attr"`
}

Service -

type ServiceDetail

type ServiceDetail struct {
	FolderID        string          `json:"-folderId" xml:"folderId,attr"`
	ID              string          `json:"-id" xml:"id,attr"`
	Version         string          `json:"-version" xml:"version,attr"`
	Name            string          `json:"Name" xml:"Name"`
	Enabled         string          `json:"Enabled"  xml:"Enabled"`
	ServiceMappings ServiceMappings `json:"ServiceMappings"  xml:"ServiceMapping"`
	Properties      Properties      `json:"Properties" xml:"Properties"`
}

ServiceDetail -

type ServiceMappings

type ServiceMappings struct {
	HTTPMapping MapStringInterface `json:"HttpMapping" xml:"HttpMapping"`
	SoapMapping MapStringInterface `json:"SoapMapping,omitempty" xml:"SoapMapping"`
}

ServiceMappings -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL