Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelBulkAddFriendsRequest ¶
type ModelBulkAddFriendsRequest struct {
// friend ids
// Required: true
FriendIds []string `json:"friendIds"`
}
ModelBulkAddFriendsRequest model bulk add friends request
swagger:model model.BulkAddFriendsRequest
func (*ModelBulkAddFriendsRequest) MarshalBinary ¶
func (m *ModelBulkAddFriendsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelBulkAddFriendsRequest) UnmarshalBinary ¶
func (m *ModelBulkAddFriendsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelGetFriendsResponse ¶
type ModelGetFriendsResponse struct {
// friend i ds
// Required: true
FriendIDs []string `json:"friendIDs"`
// paging
// Required: true
Paging *ModelPagination `json:"paging"`
}
ModelGetFriendsResponse model get friends response
swagger:model model.GetFriendsResponse
func (*ModelGetFriendsResponse) MarshalBinary ¶
func (m *ModelGetFriendsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelGetFriendsResponse) UnmarshalBinary ¶
func (m *ModelGetFriendsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelPagination ¶
type ModelPagination struct {
// first
// Required: true
First *string `json:"first"`
// last
// Required: true
Last *string `json:"last"`
// next
// Required: true
Next *string `json:"next"`
// previous
// Required: true
Previous *string `json:"previous"`
}
ModelPagination model pagination
swagger:model model.Pagination
func (*ModelPagination) MarshalBinary ¶
func (m *ModelPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelPagination) UnmarshalBinary ¶
func (m *ModelPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestapiErrorResponseBody ¶
type RestapiErrorResponseBody struct {
// error code
// Required: true
ErrorCode *int32 `json:"ErrorCode"`
// error message
// Required: true
ErrorMessage *string `json:"ErrorMessage"`
}
RestapiErrorResponseBody restapi error response body
swagger:model restapi.ErrorResponseBody
func (*RestapiErrorResponseBody) MarshalBinary ¶
func (m *RestapiErrorResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestapiErrorResponseBody) UnmarshalBinary ¶
func (m *RestapiErrorResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestapiErrorResponseV1 ¶
type RestapiErrorResponseV1 struct {
// error code
// Required: true
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
}
RestapiErrorResponseV1 restapi error response v1
swagger:model restapi.ErrorResponseV1
func (*RestapiErrorResponseV1) MarshalBinary ¶
func (m *RestapiErrorResponseV1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestapiErrorResponseV1) UnmarshalBinary ¶
func (m *RestapiErrorResponseV1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation