Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateCase ¶
func (c *Client) CreateCase(ctx context.Context, body *CreateCaseRequestBody) (CreateCaseResponse, error)
type CreateCaseRequestBody ¶
type CreateCaseRequestBody struct { Type string `json:"type"` Source string `json:"source"` Donor DonorDetails `json:"donor"` }
func (CreateCaseRequestBody) Valid ¶
func (b CreateCaseRequestBody) Valid() bool
type CreateCaseResponse ¶
type CreateCaseResponse struct { UID string `json:"uid"` BadRequestErrors []CreateCaseResponseBadRequestError `json:"errors"` }
func (*CreateCaseResponse) Error ¶
func (c *CreateCaseResponse) Error() error
type DonorDetails ¶
Click to show internal directories.
Click to hide internal directories.