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
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 ¶
MarshalBinary interface implementation
func (*V1Broker) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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