Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequest ¶
type BadRequest struct { // message Message string `json:"message,omitempty"` }
BadRequest bad request
swagger:model BadRequest
func (BadRequest) Error ¶
func (o BadRequest) Error() string
func (*BadRequest) MarshalBinary ¶
func (m *BadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BadRequest) UnmarshalBinary ¶
func (m *BadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDistrictsInput ¶
type GetDistrictsInput struct { Where *WhereQueryString StartingAfter *string EndingBefore *string PageSize *int64 }
GetDistrictsInput holds the input parameters for a getDistricts operation.
func (GetDistrictsInput) Path ¶
func (i GetDistrictsInput) Path() (string, error)
Path returns the URI path for the input.
func (GetDistrictsInput) Validate ¶
func (i GetDistrictsInput) Validate() error
Validate returns an error if any of the GetDistrictsInput parameters don't satisfy the requirements from the swagger yml file.
type InternalError ¶
type InternalError struct { // message Message string `json:"message,omitempty"` }
InternalError internal error
swagger:model InternalError
func (InternalError) Error ¶
func (o InternalError) Error() string
func (*InternalError) MarshalBinary ¶
func (m *InternalError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InternalError) UnmarshalBinary ¶
func (m *InternalError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NilFields ¶
type NilFields struct { // id ID string `json:"id,omitempty"` // optional Optional *string `json:"optional,omitempty"` }
NilFields nil fields
swagger:model NilFields
func (*NilFields) MarshalBinary ¶
MarshalBinary interface implementation
func (*NilFields) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UnknownResponse ¶
type UnknownResponse struct { // body Body string `json:"body,omitempty"` // status code StatusCode int64 `json:"statusCode,omitempty"` }
UnknownResponse unknown response
swagger:model UnknownResponse
func (UnknownResponse) Error ¶
func (u UnknownResponse) Error() string
func (*UnknownResponse) MarshalBinary ¶
func (m *UnknownResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnknownResponse) UnmarshalBinary ¶
func (m *UnknownResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WhereQueryString ¶
type WhereQueryString string
WhereQueryString where query string
swagger:model WhereQueryString