models

package
v0.0.0-...-b714850 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtobufAddress

type ProtobufAddress struct {

	// building
	Building string `json:"building,omitempty"`

	// city
	City string `json:"city,omitempty"`

	// county
	County string `json:"county,omitempty"`

	// postal code
	PostalCode string `json:"postal_code,omitempty"`

	// street name
	StreetName string `json:"street_name,omitempty"`

	// town
	Town string `json:"town,omitempty"`
}

ProtobufAddress protobuf address swagger:model protobufAddress

func (*ProtobufAddress) MarshalBinary

func (m *ProtobufAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtobufAddress) UnmarshalBinary

func (m *ProtobufAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAddress) Validate

func (m *ProtobufAddress) Validate(formats strfmt.Registry) error

Validate validates this protobuf address

type V1Broker

type V1Broker struct {

	// address
	Address *ProtobufAddress `json:"address,omitempty"`

	// broker id
	BrokerID string `json:"broker_id,omitempty"`

	// created
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// email address
	EmailAddress string `json:"email_address,omitempty"`

	// landline
	Landline string `json:"landline,omitempty"`

	// website
	Website string `json:"website,omitempty"`
}

V1Broker v1 broker swagger:model v1Broker

func (*V1Broker) MarshalBinary

func (m *V1Broker) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Broker) UnmarshalBinary

func (m *V1Broker) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Broker) Validate

func (m *V1Broker) Validate(formats strfmt.Registry) error

Validate validates this v1 broker

type V1CreateBrokerRequest

type V1CreateBrokerRequest struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// address
	Address *ProtobufAddress `json:"address,omitempty"`

	// broker id
	BrokerID string `json:"broker_id,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// email address
	EmailAddress string `json:"email_address,omitempty"`

	// landline
	Landline string `json:"landline,omitempty"`

	// organisation id
	OrganisationID string `json:"organisation_id,omitempty"`
}

V1CreateBrokerRequest v1 create broker request swagger:model v1CreateBrokerRequest

func (*V1CreateBrokerRequest) MarshalBinary

func (m *V1CreateBrokerRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateBrokerRequest) UnmarshalBinary

func (m *V1CreateBrokerRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateBrokerRequest) Validate

func (m *V1CreateBrokerRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create broker request

type V1CreateBrokerResponse

type V1CreateBrokerResponse interface{}

V1CreateBrokerResponse v1 create broker response swagger:model v1CreateBrokerResponse

type V1GetBrokerResponse

type V1GetBrokerResponse struct {

	// result
	Result *V1Broker `json:"result,omitempty"`
}

V1GetBrokerResponse v1 get broker response swagger:model v1GetBrokerResponse

func (*V1GetBrokerResponse) MarshalBinary

func (m *V1GetBrokerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetBrokerResponse) UnmarshalBinary

func (m *V1GetBrokerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetBrokerResponse) Validate

func (m *V1GetBrokerResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get broker response

type V1QueryBrokersResponse

type V1QueryBrokersResponse struct {

	// results
	Results []*V1Broker `json:"results"`
}

V1QueryBrokersResponse v1 query brokers response swagger:model v1QueryBrokersResponse

func (*V1QueryBrokersResponse) MarshalBinary

func (m *V1QueryBrokersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1QueryBrokersResponse) UnmarshalBinary

func (m *V1QueryBrokersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1QueryBrokersResponse) Validate

func (m *V1QueryBrokersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 query brokers response

Jump to

Keyboard shortcuts

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