Documentation ¶
Index ¶
- type ProtobufAddress
- type ProtobufEmpty
- type ProtobufPaginationRequest
- type ProtobufPaginationResponse
- type V1AddIntroducerOwnerRequest
- type V1AddIntroducerOwnerResponse
- type V1CreateIntroducerRequest
- type V1CreateIntroducerResponse
- type V1GetIntroducerResponse
- type V1GetIntroducersResponse
- type V1Introducer
- type V1UpdateIntroducerAddressRequest
- type V1UpdateIntroducerAddressResponse
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 ProtobufEmpty ¶
type ProtobufEmpty interface{}
ProtobufEmpty A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
The JSON representation for `Empty` is empty JSON object `{}`. swagger:model protobufEmpty
type ProtobufPaginationRequest ¶
type ProtobufPaginationRequest struct { // limit Limit int64 `json:"limit,omitempty"` // page Page int64 `json:"page,omitempty"` }
ProtobufPaginationRequest protobuf pagination request swagger:model protobufPaginationRequest
func (*ProtobufPaginationRequest) MarshalBinary ¶
func (m *ProtobufPaginationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufPaginationRequest) UnmarshalBinary ¶
func (m *ProtobufPaginationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufPaginationResponse ¶
type ProtobufPaginationResponse struct { // current page CurrentPage int64 `json:"currentPage,omitempty"` // limit Limit int64 `json:"limit,omitempty"` // total pages TotalPages int64 `json:"totalPages,omitempty"` }
ProtobufPaginationResponse protobuf pagination response swagger:model protobufPaginationResponse
func (*ProtobufPaginationResponse) MarshalBinary ¶
func (m *ProtobufPaginationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufPaginationResponse) UnmarshalBinary ¶
func (m *ProtobufPaginationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1AddIntroducerOwnerRequest ¶
type V1AddIntroducerOwnerRequest struct { // account id AccountID string `json:"account_id,omitempty"` // introducer id IntroducerID string `json:"introducer_id,omitempty"` }
V1AddIntroducerOwnerRequest v1 add introducer owner request swagger:model v1AddIntroducerOwnerRequest
func (*V1AddIntroducerOwnerRequest) MarshalBinary ¶
func (m *V1AddIntroducerOwnerRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1AddIntroducerOwnerRequest) UnmarshalBinary ¶
func (m *V1AddIntroducerOwnerRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1AddIntroducerOwnerResponse ¶
type V1AddIntroducerOwnerResponse interface{}
V1AddIntroducerOwnerResponse v1 add introducer owner response swagger:model v1AddIntroducerOwnerResponse
type V1CreateIntroducerRequest ¶
type V1CreateIntroducerRequest struct { // introducer id IntroducerID string `json:"introducer_id,omitempty"` // name Name string `json:"name,omitempty"` // organisation id OrganisationID string `json:"organisation_id,omitempty"` }
V1CreateIntroducerRequest v1 create introducer request swagger:model v1CreateIntroducerRequest
func (*V1CreateIntroducerRequest) MarshalBinary ¶
func (m *V1CreateIntroducerRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateIntroducerRequest) UnmarshalBinary ¶
func (m *V1CreateIntroducerRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateIntroducerResponse ¶
type V1CreateIntroducerResponse interface{}
V1CreateIntroducerResponse v1 create introducer response swagger:model v1CreateIntroducerResponse
type V1GetIntroducerResponse ¶
type V1GetIntroducerResponse struct { // introducer Introducer *V1Introducer `json:"introducer,omitempty"` }
V1GetIntroducerResponse v1 get introducer response swagger:model v1GetIntroducerResponse
func (*V1GetIntroducerResponse) MarshalBinary ¶
func (m *V1GetIntroducerResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetIntroducerResponse) UnmarshalBinary ¶
func (m *V1GetIntroducerResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetIntroducersResponse ¶
type V1GetIntroducersResponse struct { // items Items []*V1Introducer `json:"items"` // pagination Pagination *ProtobufPaginationResponse `json:"pagination,omitempty"` }
V1GetIntroducersResponse v1 get introducers response swagger:model v1GetIntroducersResponse
func (*V1GetIntroducersResponse) MarshalBinary ¶
func (m *V1GetIntroducersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetIntroducersResponse) UnmarshalBinary ¶
func (m *V1GetIntroducersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Introducer ¶
type V1Introducer struct { // address Address *ProtobufAddress `json:"address,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // The introducer ID is expected to be a UUID. IntroducerID string `json:"introducer_id,omitempty"` // name Name string `json:"name,omitempty"` // organisation id OrganisationID string `json:"organisation_id,omitempty"` // owners Owners []string `json:"owners"` }
V1Introducer Describes an introducer that provides leads to an organisation. Each introducer can only belong to one organisation but have many owners, owners should be accounts with the introducer role for the given organisation. swagger:model v1Introducer
func (*V1Introducer) MarshalBinary ¶
func (m *V1Introducer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Introducer) UnmarshalBinary ¶
func (m *V1Introducer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateIntroducerAddressRequest ¶
type V1UpdateIntroducerAddressRequest struct { // introducer id IntroducerID string `json:"introducer_id,omitempty"` // new address NewAddress *ProtobufAddress `json:"new_address,omitempty"` }
V1UpdateIntroducerAddressRequest v1 update introducer address request swagger:model v1UpdateIntroducerAddressRequest
func (*V1UpdateIntroducerAddressRequest) MarshalBinary ¶
func (m *V1UpdateIntroducerAddressRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateIntroducerAddressRequest) UnmarshalBinary ¶
func (m *V1UpdateIntroducerAddressRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateIntroducerAddressResponse ¶
type V1UpdateIntroducerAddressResponse interface{}
V1UpdateIntroducerAddressResponse v1 update introducer address response swagger:model v1UpdateIntroducerAddressResponse
Source Files ¶
- protobuf_address.go
- protobuf_empty.go
- protobuf_pagination_request.go
- protobuf_pagination_response.go
- v1_add_introducer_owner_request.go
- v1_add_introducer_owner_response.go
- v1_create_introducer_request.go
- v1_create_introducer_response.go
- v1_get_introducer_response.go
- v1_get_introducers_response.go
- v1_introducer.go
- v1_update_introducer_address_request.go
- v1_update_introducer_address_response.go