Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func NewBoardsCreateRequest(server string, body BoardsCreateJSONRequestBody) (*http.Request, error)
- func NewBoardsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBoardsCreateRequestWithFormdataBody(server string, body BoardsCreateFormdataRequestBody) (*http.Request, error)
- func NewBoardsDestroyRequest(server string, id string) (*http.Request, error)
- func NewBoardsListRequest(server string, params *BoardsListParams) (*http.Request, error)
- func NewBoardsPartialUpdateRequest(server string, id string, body BoardsPartialUpdateJSONRequestBody) (*http.Request, error)
- func NewBoardsPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewBoardsPartialUpdateRequestWithFormdataBody(server string, id string, body BoardsPartialUpdateFormdataRequestBody) (*http.Request, error)
- func NewBoardsRetrieveRequest(server string, id string) (*http.Request, error)
- func NewBoardsUpdateRequest(server string, id string, body BoardsUpdateJSONRequestBody) (*http.Request, error)
- func NewBoardsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewBoardsUpdateRequestWithFormdataBody(server string, id string, body BoardsUpdateFormdataRequestBody) (*http.Request, error)
- func NewBucketsCreateRequest(server string, body BucketsCreateJSONRequestBody) (*http.Request, error)
- func NewBucketsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBucketsCreateRequestWithFormdataBody(server string, body BucketsCreateFormdataRequestBody) (*http.Request, error)
- func NewBucketsDestroyRequest(server string, id string) (*http.Request, error)
- func NewBucketsListRequest(server string, params *BucketsListParams) (*http.Request, error)
- func NewBucketsPartialUpdateRequest(server string, id string, body BucketsPartialUpdateJSONRequestBody) (*http.Request, error)
- func NewBucketsPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewBucketsPartialUpdateRequestWithFormdataBody(server string, id string, body BucketsPartialUpdateFormdataRequestBody) (*http.Request, error)
- func NewBucketsRetrieveRequest(server string, id string) (*http.Request, error)
- func NewBucketsUpdateRequest(server string, id string, body BucketsUpdateJSONRequestBody) (*http.Request, error)
- func NewBucketsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewBucketsUpdateRequestWithFormdataBody(server string, id string, body BucketsUpdateFormdataRequestBody) (*http.Request, error)
- func NewGoalsAttachmentsCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewGoalsCreateRequest(server string, body GoalsCreateJSONRequestBody) (*http.Request, error)
- func NewGoalsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGoalsCreateRequestWithFormdataBody(server string, body GoalsCreateFormdataRequestBody) (*http.Request, error)
- func NewGoalsDestroyRequest(server string, id string) (*http.Request, error)
- func NewGoalsListRequest(server string, params *GoalsListParams) (*http.Request, error)
- func NewGoalsPartialUpdateRequest(server string, id string, body GoalsPartialUpdateJSONRequestBody) (*http.Request, error)
- func NewGoalsPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewGoalsPartialUpdateRequestWithFormdataBody(server string, id string, body GoalsPartialUpdateFormdataRequestBody) (*http.Request, error)
- func NewGoalsRetrieveRequest(server string, id string) (*http.Request, error)
- func NewGoalsUpdateRequest(server string, id string, body GoalsUpdateJSONRequestBody) (*http.Request, error)
- func NewGoalsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewGoalsUpdateRequestWithFormdataBody(server string, id string, body GoalsUpdateFormdataRequestBody) (*http.Request, error)
- func NewMembershipsListRequest(server string, params *MembershipsListParams) (*http.Request, error)
- func NewMembershipsRetrieveRequest(server string, id string) (*http.Request, error)
- func NewSpacesCreateRequest(server string, body SpacesCreateJSONRequestBody) (*http.Request, error)
- func NewSpacesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSpacesCreateRequestWithFormdataBody(server string, body SpacesCreateFormdataRequestBody) (*http.Request, error)
- func NewSpacesDestroyRequest(server string, id string) (*http.Request, error)
- func NewSpacesListRequest(server string, params *SpacesListParams) (*http.Request, error)
- func NewSpacesPartialUpdateRequest(server string, id string, body SpacesPartialUpdateJSONRequestBody) (*http.Request, error)
- func NewSpacesPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewSpacesPartialUpdateRequestWithFormdataBody(server string, id string, body SpacesPartialUpdateFormdataRequestBody) (*http.Request, error)
- func NewSpacesRetrieveRequest(server string, id string) (*http.Request, error)
- func NewSpacesUpdateRequest(server string, id string, body SpacesUpdateJSONRequestBody) (*http.Request, error)
- func NewSpacesUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewSpacesUpdateRequestWithFormdataBody(server string, id string, body SpacesUpdateFormdataRequestBody) (*http.Request, error)
- func NewUsersListRequest(server string, params *UsersListParams) (*http.Request, error)
- func NewUsersMeRetrieveRequest(server string) (*http.Request, error)
- func NewUsersRetrieveRequest(server string, id string) (*http.Request, error)
- type Board
- type BoardLayout
- type BoardsCreateFormdataRequestBody
- type BoardsCreateJSONRequestBody
- type BoardsCreateMultipartRequestBody
- type BoardsCreateResponse
- type BoardsDestroyResponse
- type BoardsListParams
- type BoardsListParamsSort
- type BoardsListResponse
- type BoardsPartialUpdateFormdataRequestBody
- type BoardsPartialUpdateJSONRequestBody
- type BoardsPartialUpdateMultipartRequestBody
- type BoardsPartialUpdateResponse
- type BoardsRetrieveResponse
- type BoardsUpdateFormdataRequestBody
- type BoardsUpdateJSONRequestBody
- type BoardsUpdateMultipartRequestBody
- type BoardsUpdateResponse
- type Bucket
- type BucketsCreateFormdataRequestBody
- type BucketsCreateJSONRequestBody
- type BucketsCreateMultipartRequestBody
- type BucketsCreateResponse
- type BucketsDestroyResponse
- type BucketsListParams
- type BucketsListParamsSort
- type BucketsListResponse
- type BucketsPartialUpdateFormdataRequestBody
- type BucketsPartialUpdateJSONRequestBody
- type BucketsPartialUpdateMultipartRequestBody
- type BucketsPartialUpdateResponse
- type BucketsRetrieveResponse
- type BucketsUpdateFormdataRequestBody
- type BucketsUpdateJSONRequestBody
- type BucketsUpdateMultipartRequestBody
- type BucketsUpdateResponse
- type Client
- func (c *Client) BoardsCreate(ctx context.Context, body BoardsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BoardsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BoardsCreateWithFormdataBody(ctx context.Context, body BoardsCreateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) BoardsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BoardsList(ctx context.Context, params *BoardsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BoardsPartialUpdate(ctx context.Context, id string, body BoardsPartialUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BoardsPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BoardsPartialUpdateWithFormdataBody(ctx context.Context, id string, body BoardsPartialUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) BoardsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BoardsUpdate(ctx context.Context, id string, body BoardsUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BoardsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BoardsUpdateWithFormdataBody(ctx context.Context, id string, body BoardsUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) BucketsCreate(ctx context.Context, body BucketsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BucketsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BucketsCreateWithFormdataBody(ctx context.Context, body BucketsCreateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) BucketsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BucketsList(ctx context.Context, params *BucketsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BucketsPartialUpdate(ctx context.Context, id string, body BucketsPartialUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BucketsPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BucketsPartialUpdateWithFormdataBody(ctx context.Context, id string, body BucketsPartialUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) BucketsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BucketsUpdate(ctx context.Context, id string, body BucketsUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BucketsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BucketsUpdateWithFormdataBody(ctx context.Context, id string, body BucketsUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) GoalsAttachmentsCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GoalsCreate(ctx context.Context, body GoalsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GoalsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GoalsCreateWithFormdataBody(ctx context.Context, body GoalsCreateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) GoalsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GoalsList(ctx context.Context, params *GoalsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GoalsPartialUpdate(ctx context.Context, id string, body GoalsPartialUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GoalsPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GoalsPartialUpdateWithFormdataBody(ctx context.Context, id string, body GoalsPartialUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) GoalsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GoalsUpdate(ctx context.Context, id string, body GoalsUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GoalsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GoalsUpdateWithFormdataBody(ctx context.Context, id string, body GoalsUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) MembershipsList(ctx context.Context, params *MembershipsListParams, ...) (*http.Response, error)
- func (c *Client) MembershipsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SpacesCreate(ctx context.Context, body SpacesCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SpacesCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SpacesCreateWithFormdataBody(ctx context.Context, body SpacesCreateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SpacesDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SpacesList(ctx context.Context, params *SpacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SpacesPartialUpdate(ctx context.Context, id string, body SpacesPartialUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SpacesPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SpacesPartialUpdateWithFormdataBody(ctx context.Context, id string, body SpacesPartialUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SpacesRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SpacesUpdate(ctx context.Context, id string, body SpacesUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SpacesUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SpacesUpdateWithFormdataBody(ctx context.Context, id string, body SpacesUpdateFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) UsersList(ctx context.Context, params *UsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsersMeRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsersRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) BoardsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BoardsCreateResponse, error)
- func (c *ClientWithResponses) BoardsCreateWithFormdataBodyWithResponse(ctx context.Context, body BoardsCreateFormdataRequestBody, ...) (*BoardsCreateResponse, error)
- func (c *ClientWithResponses) BoardsCreateWithResponse(ctx context.Context, body BoardsCreateJSONRequestBody, ...) (*BoardsCreateResponse, error)
- func (c *ClientWithResponses) BoardsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BoardsDestroyResponse, error)
- func (c *ClientWithResponses) BoardsListWithResponse(ctx context.Context, params *BoardsListParams, reqEditors ...RequestEditorFn) (*BoardsListResponse, error)
- func (c *ClientWithResponses) BoardsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*BoardsPartialUpdateResponse, error)
- func (c *ClientWithResponses) BoardsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BoardsPartialUpdateFormdataRequestBody, ...) (*BoardsPartialUpdateResponse, error)
- func (c *ClientWithResponses) BoardsPartialUpdateWithResponse(ctx context.Context, id string, body BoardsPartialUpdateJSONRequestBody, ...) (*BoardsPartialUpdateResponse, error)
- func (c *ClientWithResponses) BoardsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BoardsRetrieveResponse, error)
- func (c *ClientWithResponses) BoardsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*BoardsUpdateResponse, error)
- func (c *ClientWithResponses) BoardsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BoardsUpdateFormdataRequestBody, ...) (*BoardsUpdateResponse, error)
- func (c *ClientWithResponses) BoardsUpdateWithResponse(ctx context.Context, id string, body BoardsUpdateJSONRequestBody, ...) (*BoardsUpdateResponse, error)
- func (c *ClientWithResponses) BucketsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BucketsCreateResponse, error)
- func (c *ClientWithResponses) BucketsCreateWithFormdataBodyWithResponse(ctx context.Context, body BucketsCreateFormdataRequestBody, ...) (*BucketsCreateResponse, error)
- func (c *ClientWithResponses) BucketsCreateWithResponse(ctx context.Context, body BucketsCreateJSONRequestBody, ...) (*BucketsCreateResponse, error)
- func (c *ClientWithResponses) BucketsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BucketsDestroyResponse, error)
- func (c *ClientWithResponses) BucketsListWithResponse(ctx context.Context, params *BucketsListParams, reqEditors ...RequestEditorFn) (*BucketsListResponse, error)
- func (c *ClientWithResponses) BucketsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*BucketsPartialUpdateResponse, error)
- func (c *ClientWithResponses) BucketsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BucketsPartialUpdateFormdataRequestBody, ...) (*BucketsPartialUpdateResponse, error)
- func (c *ClientWithResponses) BucketsPartialUpdateWithResponse(ctx context.Context, id string, body BucketsPartialUpdateJSONRequestBody, ...) (*BucketsPartialUpdateResponse, error)
- func (c *ClientWithResponses) BucketsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BucketsRetrieveResponse, error)
- func (c *ClientWithResponses) BucketsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*BucketsUpdateResponse, error)
- func (c *ClientWithResponses) BucketsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BucketsUpdateFormdataRequestBody, ...) (*BucketsUpdateResponse, error)
- func (c *ClientWithResponses) BucketsUpdateWithResponse(ctx context.Context, id string, body BucketsUpdateJSONRequestBody, ...) (*BucketsUpdateResponse, error)
- func (c *ClientWithResponses) GoalsAttachmentsCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*GoalsAttachmentsCreateResponse, error)
- func (c *ClientWithResponses) GoalsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GoalsCreateResponse, error)
- func (c *ClientWithResponses) GoalsCreateWithFormdataBodyWithResponse(ctx context.Context, body GoalsCreateFormdataRequestBody, ...) (*GoalsCreateResponse, error)
- func (c *ClientWithResponses) GoalsCreateWithResponse(ctx context.Context, body GoalsCreateJSONRequestBody, ...) (*GoalsCreateResponse, error)
- func (c *ClientWithResponses) GoalsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GoalsDestroyResponse, error)
- func (c *ClientWithResponses) GoalsListWithResponse(ctx context.Context, params *GoalsListParams, reqEditors ...RequestEditorFn) (*GoalsListResponse, error)
- func (c *ClientWithResponses) GoalsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*GoalsPartialUpdateResponse, error)
- func (c *ClientWithResponses) GoalsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body GoalsPartialUpdateFormdataRequestBody, ...) (*GoalsPartialUpdateResponse, error)
- func (c *ClientWithResponses) GoalsPartialUpdateWithResponse(ctx context.Context, id string, body GoalsPartialUpdateJSONRequestBody, ...) (*GoalsPartialUpdateResponse, error)
- func (c *ClientWithResponses) GoalsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GoalsRetrieveResponse, error)
- func (c *ClientWithResponses) GoalsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*GoalsUpdateResponse, error)
- func (c *ClientWithResponses) GoalsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body GoalsUpdateFormdataRequestBody, ...) (*GoalsUpdateResponse, error)
- func (c *ClientWithResponses) GoalsUpdateWithResponse(ctx context.Context, id string, body GoalsUpdateJSONRequestBody, ...) (*GoalsUpdateResponse, error)
- func (c *ClientWithResponses) MembershipsListWithResponse(ctx context.Context, params *MembershipsListParams, ...) (*MembershipsListResponse, error)
- func (c *ClientWithResponses) MembershipsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MembershipsRetrieveResponse, error)
- func (c *ClientWithResponses) SpacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SpacesCreateResponse, error)
- func (c *ClientWithResponses) SpacesCreateWithFormdataBodyWithResponse(ctx context.Context, body SpacesCreateFormdataRequestBody, ...) (*SpacesCreateResponse, error)
- func (c *ClientWithResponses) SpacesCreateWithResponse(ctx context.Context, body SpacesCreateJSONRequestBody, ...) (*SpacesCreateResponse, error)
- func (c *ClientWithResponses) SpacesDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SpacesDestroyResponse, error)
- func (c *ClientWithResponses) SpacesListWithResponse(ctx context.Context, params *SpacesListParams, reqEditors ...RequestEditorFn) (*SpacesListResponse, error)
- func (c *ClientWithResponses) SpacesPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*SpacesPartialUpdateResponse, error)
- func (c *ClientWithResponses) SpacesPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body SpacesPartialUpdateFormdataRequestBody, ...) (*SpacesPartialUpdateResponse, error)
- func (c *ClientWithResponses) SpacesPartialUpdateWithResponse(ctx context.Context, id string, body SpacesPartialUpdateJSONRequestBody, ...) (*SpacesPartialUpdateResponse, error)
- func (c *ClientWithResponses) SpacesRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SpacesRetrieveResponse, error)
- func (c *ClientWithResponses) SpacesUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*SpacesUpdateResponse, error)
- func (c *ClientWithResponses) SpacesUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body SpacesUpdateFormdataRequestBody, ...) (*SpacesUpdateResponse, error)
- func (c *ClientWithResponses) SpacesUpdateWithResponse(ctx context.Context, id string, body SpacesUpdateJSONRequestBody, ...) (*SpacesUpdateResponse, error)
- func (c *ClientWithResponses) UsersListWithResponse(ctx context.Context, params *UsersListParams, reqEditors ...RequestEditorFn) (*UsersListResponse, error)
- func (c *ClientWithResponses) UsersMeRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersMeRetrieveResponse, error)
- func (c *ClientWithResponses) UsersRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersRetrieveResponse, error)
- type ClientWithResponsesInterface
- type Goal
- type GoalColor
- type GoalHorizon
- type GoalsAttachmentsCreateMultipartBody
- type GoalsAttachmentsCreateMultipartRequestBody
- type GoalsAttachmentsCreateResponse
- type GoalsCreateFormdataRequestBody
- type GoalsCreateJSONRequestBody
- type GoalsCreateMultipartRequestBody
- type GoalsCreateResponse
- type GoalsDestroyResponse
- type GoalsListParams
- type GoalsListParamsColor
- type GoalsListParamsHorizon
- type GoalsListParamsSort
- type GoalsListResponse
- type GoalsPartialUpdateFormdataRequestBody
- type GoalsPartialUpdateJSONRequestBody
- type GoalsPartialUpdateMultipartRequestBody
- type GoalsPartialUpdateResponse
- type GoalsRetrieveResponse
- type GoalsUpdateFormdataRequestBody
- type GoalsUpdateJSONRequestBody
- type GoalsUpdateMultipartRequestBody
- type GoalsUpdateResponse
- type HttpRequestDoer
- type MagicLink
- type MagicLinkRole
- type Membership
- type MembershipRole
- type MembershipsListParams
- type MembershipsListResponse
- type MembershipsRetrieveResponse
- type PaginatedBoardList
- type PaginatedBucketList
- type PaginatedGoalList
- type PaginatedMembershipList
- type PaginatedSpaceList
- type PaginatedUserList
- type PatchedBoard
- type PatchedBoardLayout
- type PatchedBucket
- type PatchedGoal
- type PatchedGoalColor
- type PatchedGoalHorizon
- type PatchedSpace
- type RequestEditorFn
- type Space
- type SpacesCreateFormdataRequestBody
- type SpacesCreateJSONRequestBody
- type SpacesCreateMultipartRequestBody
- type SpacesCreateResponse
- type SpacesDestroyResponse
- type SpacesListParams
- type SpacesListResponse
- type SpacesPartialUpdateFormdataRequestBody
- type SpacesPartialUpdateJSONRequestBody
- type SpacesPartialUpdateMultipartRequestBody
- type SpacesPartialUpdateResponse
- type SpacesRetrieveResponse
- type SpacesUpdateFormdataRequestBody
- type SpacesUpdateJSONRequestBody
- type SpacesUpdateMultipartRequestBody
- type SpacesUpdateResponse
- type User
- type UsersListParams
- type UsersListResponse
- type UsersMeRetrieveResponse
- type UsersRetrieveResponse
Constants ¶
const ( API_KeyScopes = "API_Key.Scopes" OAuth2Scopes = "OAuth2.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewBoardsCreateRequest ¶
func NewBoardsCreateRequest(server string, body BoardsCreateJSONRequestBody) (*http.Request, error)
NewBoardsCreateRequest calls the generic BoardsCreate builder with application/json body
func NewBoardsCreateRequestWithBody ¶
func NewBoardsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBoardsCreateRequestWithBody generates requests for BoardsCreate with any type of body
func NewBoardsCreateRequestWithFormdataBody ¶
func NewBoardsCreateRequestWithFormdataBody(server string, body BoardsCreateFormdataRequestBody) (*http.Request, error)
NewBoardsCreateRequestWithFormdataBody calls the generic BoardsCreate builder with application/x-www-form-urlencoded body
func NewBoardsDestroyRequest ¶
NewBoardsDestroyRequest generates requests for BoardsDestroy
func NewBoardsListRequest ¶
func NewBoardsListRequest(server string, params *BoardsListParams) (*http.Request, error)
NewBoardsListRequest generates requests for BoardsList
func NewBoardsPartialUpdateRequest ¶
func NewBoardsPartialUpdateRequest(server string, id string, body BoardsPartialUpdateJSONRequestBody) (*http.Request, error)
NewBoardsPartialUpdateRequest calls the generic BoardsPartialUpdate builder with application/json body
func NewBoardsPartialUpdateRequestWithBody ¶
func NewBoardsPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewBoardsPartialUpdateRequestWithBody generates requests for BoardsPartialUpdate with any type of body
func NewBoardsPartialUpdateRequestWithFormdataBody ¶
func NewBoardsPartialUpdateRequestWithFormdataBody(server string, id string, body BoardsPartialUpdateFormdataRequestBody) (*http.Request, error)
NewBoardsPartialUpdateRequestWithFormdataBody calls the generic BoardsPartialUpdate builder with application/x-www-form-urlencoded body
func NewBoardsRetrieveRequest ¶
NewBoardsRetrieveRequest generates requests for BoardsRetrieve
func NewBoardsUpdateRequest ¶
func NewBoardsUpdateRequest(server string, id string, body BoardsUpdateJSONRequestBody) (*http.Request, error)
NewBoardsUpdateRequest calls the generic BoardsUpdate builder with application/json body
func NewBoardsUpdateRequestWithBody ¶
func NewBoardsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewBoardsUpdateRequestWithBody generates requests for BoardsUpdate with any type of body
func NewBoardsUpdateRequestWithFormdataBody ¶
func NewBoardsUpdateRequestWithFormdataBody(server string, id string, body BoardsUpdateFormdataRequestBody) (*http.Request, error)
NewBoardsUpdateRequestWithFormdataBody calls the generic BoardsUpdate builder with application/x-www-form-urlencoded body
func NewBucketsCreateRequest ¶
func NewBucketsCreateRequest(server string, body BucketsCreateJSONRequestBody) (*http.Request, error)
NewBucketsCreateRequest calls the generic BucketsCreate builder with application/json body
func NewBucketsCreateRequestWithBody ¶
func NewBucketsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBucketsCreateRequestWithBody generates requests for BucketsCreate with any type of body
func NewBucketsCreateRequestWithFormdataBody ¶
func NewBucketsCreateRequestWithFormdataBody(server string, body BucketsCreateFormdataRequestBody) (*http.Request, error)
NewBucketsCreateRequestWithFormdataBody calls the generic BucketsCreate builder with application/x-www-form-urlencoded body
func NewBucketsDestroyRequest ¶
NewBucketsDestroyRequest generates requests for BucketsDestroy
func NewBucketsListRequest ¶
func NewBucketsListRequest(server string, params *BucketsListParams) (*http.Request, error)
NewBucketsListRequest generates requests for BucketsList
func NewBucketsPartialUpdateRequest ¶
func NewBucketsPartialUpdateRequest(server string, id string, body BucketsPartialUpdateJSONRequestBody) (*http.Request, error)
NewBucketsPartialUpdateRequest calls the generic BucketsPartialUpdate builder with application/json body
func NewBucketsPartialUpdateRequestWithBody ¶
func NewBucketsPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewBucketsPartialUpdateRequestWithBody generates requests for BucketsPartialUpdate with any type of body
func NewBucketsPartialUpdateRequestWithFormdataBody ¶
func NewBucketsPartialUpdateRequestWithFormdataBody(server string, id string, body BucketsPartialUpdateFormdataRequestBody) (*http.Request, error)
NewBucketsPartialUpdateRequestWithFormdataBody calls the generic BucketsPartialUpdate builder with application/x-www-form-urlencoded body
func NewBucketsRetrieveRequest ¶
NewBucketsRetrieveRequest generates requests for BucketsRetrieve
func NewBucketsUpdateRequest ¶
func NewBucketsUpdateRequest(server string, id string, body BucketsUpdateJSONRequestBody) (*http.Request, error)
NewBucketsUpdateRequest calls the generic BucketsUpdate builder with application/json body
func NewBucketsUpdateRequestWithBody ¶
func NewBucketsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewBucketsUpdateRequestWithBody generates requests for BucketsUpdate with any type of body
func NewBucketsUpdateRequestWithFormdataBody ¶
func NewBucketsUpdateRequestWithFormdataBody(server string, id string, body BucketsUpdateFormdataRequestBody) (*http.Request, error)
NewBucketsUpdateRequestWithFormdataBody calls the generic BucketsUpdate builder with application/x-www-form-urlencoded body
func NewGoalsAttachmentsCreateRequestWithBody ¶ added in v0.1.3
func NewGoalsAttachmentsCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewGoalsAttachmentsCreateRequestWithBody generates requests for GoalsAttachmentsCreate with any type of body
func NewGoalsCreateRequest ¶
func NewGoalsCreateRequest(server string, body GoalsCreateJSONRequestBody) (*http.Request, error)
NewGoalsCreateRequest calls the generic GoalsCreate builder with application/json body
func NewGoalsCreateRequestWithBody ¶
func NewGoalsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGoalsCreateRequestWithBody generates requests for GoalsCreate with any type of body
func NewGoalsCreateRequestWithFormdataBody ¶
func NewGoalsCreateRequestWithFormdataBody(server string, body GoalsCreateFormdataRequestBody) (*http.Request, error)
NewGoalsCreateRequestWithFormdataBody calls the generic GoalsCreate builder with application/x-www-form-urlencoded body
func NewGoalsDestroyRequest ¶
NewGoalsDestroyRequest generates requests for GoalsDestroy
func NewGoalsListRequest ¶
func NewGoalsListRequest(server string, params *GoalsListParams) (*http.Request, error)
NewGoalsListRequest generates requests for GoalsList
func NewGoalsPartialUpdateRequest ¶
func NewGoalsPartialUpdateRequest(server string, id string, body GoalsPartialUpdateJSONRequestBody) (*http.Request, error)
NewGoalsPartialUpdateRequest calls the generic GoalsPartialUpdate builder with application/json body
func NewGoalsPartialUpdateRequestWithBody ¶
func NewGoalsPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewGoalsPartialUpdateRequestWithBody generates requests for GoalsPartialUpdate with any type of body
func NewGoalsPartialUpdateRequestWithFormdataBody ¶
func NewGoalsPartialUpdateRequestWithFormdataBody(server string, id string, body GoalsPartialUpdateFormdataRequestBody) (*http.Request, error)
NewGoalsPartialUpdateRequestWithFormdataBody calls the generic GoalsPartialUpdate builder with application/x-www-form-urlencoded body
func NewGoalsRetrieveRequest ¶
NewGoalsRetrieveRequest generates requests for GoalsRetrieve
func NewGoalsUpdateRequest ¶
func NewGoalsUpdateRequest(server string, id string, body GoalsUpdateJSONRequestBody) (*http.Request, error)
NewGoalsUpdateRequest calls the generic GoalsUpdate builder with application/json body
func NewGoalsUpdateRequestWithBody ¶
func NewGoalsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewGoalsUpdateRequestWithBody generates requests for GoalsUpdate with any type of body
func NewGoalsUpdateRequestWithFormdataBody ¶
func NewGoalsUpdateRequestWithFormdataBody(server string, id string, body GoalsUpdateFormdataRequestBody) (*http.Request, error)
NewGoalsUpdateRequestWithFormdataBody calls the generic GoalsUpdate builder with application/x-www-form-urlencoded body
func NewMembershipsListRequest ¶
func NewMembershipsListRequest(server string, params *MembershipsListParams) (*http.Request, error)
NewMembershipsListRequest generates requests for MembershipsList
func NewMembershipsRetrieveRequest ¶
NewMembershipsRetrieveRequest generates requests for MembershipsRetrieve
func NewSpacesCreateRequest ¶
func NewSpacesCreateRequest(server string, body SpacesCreateJSONRequestBody) (*http.Request, error)
NewSpacesCreateRequest calls the generic SpacesCreate builder with application/json body
func NewSpacesCreateRequestWithBody ¶
func NewSpacesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSpacesCreateRequestWithBody generates requests for SpacesCreate with any type of body
func NewSpacesCreateRequestWithFormdataBody ¶
func NewSpacesCreateRequestWithFormdataBody(server string, body SpacesCreateFormdataRequestBody) (*http.Request, error)
NewSpacesCreateRequestWithFormdataBody calls the generic SpacesCreate builder with application/x-www-form-urlencoded body
func NewSpacesDestroyRequest ¶
NewSpacesDestroyRequest generates requests for SpacesDestroy
func NewSpacesListRequest ¶
func NewSpacesListRequest(server string, params *SpacesListParams) (*http.Request, error)
NewSpacesListRequest generates requests for SpacesList
func NewSpacesPartialUpdateRequest ¶
func NewSpacesPartialUpdateRequest(server string, id string, body SpacesPartialUpdateJSONRequestBody) (*http.Request, error)
NewSpacesPartialUpdateRequest calls the generic SpacesPartialUpdate builder with application/json body
func NewSpacesPartialUpdateRequestWithBody ¶
func NewSpacesPartialUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewSpacesPartialUpdateRequestWithBody generates requests for SpacesPartialUpdate with any type of body
func NewSpacesPartialUpdateRequestWithFormdataBody ¶
func NewSpacesPartialUpdateRequestWithFormdataBody(server string, id string, body SpacesPartialUpdateFormdataRequestBody) (*http.Request, error)
NewSpacesPartialUpdateRequestWithFormdataBody calls the generic SpacesPartialUpdate builder with application/x-www-form-urlencoded body
func NewSpacesRetrieveRequest ¶
NewSpacesRetrieveRequest generates requests for SpacesRetrieve
func NewSpacesUpdateRequest ¶
func NewSpacesUpdateRequest(server string, id string, body SpacesUpdateJSONRequestBody) (*http.Request, error)
NewSpacesUpdateRequest calls the generic SpacesUpdate builder with application/json body
func NewSpacesUpdateRequestWithBody ¶
func NewSpacesUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewSpacesUpdateRequestWithBody generates requests for SpacesUpdate with any type of body
func NewSpacesUpdateRequestWithFormdataBody ¶
func NewSpacesUpdateRequestWithFormdataBody(server string, id string, body SpacesUpdateFormdataRequestBody) (*http.Request, error)
NewSpacesUpdateRequestWithFormdataBody calls the generic SpacesUpdate builder with application/x-www-form-urlencoded body
func NewUsersListRequest ¶
func NewUsersListRequest(server string, params *UsersListParams) (*http.Request, error)
NewUsersListRequest generates requests for UsersList
func NewUsersMeRetrieveRequest ¶
NewUsersMeRetrieveRequest generates requests for UsersMeRetrieve
Types ¶
type Board ¶
type Board struct {
Archived *bool `json:"archived,omitempty"`
Background *string `json:"background"`
CreatedDatetime *time.Time `json:"createdDatetime,omitempty"`
// Description Markdown-formatted text.
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
// Layout * `horizontal` - horizontal
// * `vertical` - vertical
Layout *BoardLayout `json:"layout"`
Name *string `json:"name,omitempty"`
SequenceNo *int `json:"sequenceNo,omitempty"`
SpaceId string `json:"spaceId"`
Url *string `json:"url,omitempty"`
}
Board defines model for Board.
type BoardLayout ¶
type BoardLayout string
BoardLayout * `horizontal` - horizontal * `vertical` - vertical
const ( BoardLayoutHorizontal BoardLayout = "horizontal" BoardLayoutLessThannil BoardLayout = "<nil>" BoardLayoutVertical BoardLayout = "vertical" )
Defines values for BoardLayout.
type BoardsCreateFormdataRequestBody ¶
type BoardsCreateFormdataRequestBody = Board
BoardsCreateFormdataRequestBody defines body for BoardsCreate for application/x-www-form-urlencoded ContentType.
type BoardsCreateJSONRequestBody ¶
type BoardsCreateJSONRequestBody = Board
BoardsCreateJSONRequestBody defines body for BoardsCreate for application/json ContentType.
type BoardsCreateMultipartRequestBody ¶
type BoardsCreateMultipartRequestBody = Board
BoardsCreateMultipartRequestBody defines body for BoardsCreate for multipart/form-data ContentType.
type BoardsCreateResponse ¶
func ParseBoardsCreateResponse ¶
func ParseBoardsCreateResponse(rsp *http.Response) (*BoardsCreateResponse, error)
ParseBoardsCreateResponse parses an HTTP response from a BoardsCreateWithResponse call
func (BoardsCreateResponse) Status ¶
func (r BoardsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (BoardsCreateResponse) StatusCode ¶
func (r BoardsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BoardsDestroyResponse ¶
func ParseBoardsDestroyResponse ¶
func ParseBoardsDestroyResponse(rsp *http.Response) (*BoardsDestroyResponse, error)
ParseBoardsDestroyResponse parses an HTTP response from a BoardsDestroyWithResponse call
func (BoardsDestroyResponse) Status ¶
func (r BoardsDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (BoardsDestroyResponse) StatusCode ¶
func (r BoardsDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BoardsListParams ¶
type BoardsListParams struct {
// Archived Filter by archived. Accepts `true` or `false`.
Archived *bool `form:"archived,omitempty" json:"archived,omitempty"`
// Limit Number of results to return per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset The initial index from which to return the results.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Search Case-insensitive token search over: name.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Sort Sort order. Prefix with `-` for descending (e.g. `-createdDatetime`).
Sort *BoardsListParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// SpaceId Filter by space code.
SpaceId *string `form:"spaceId,omitempty" json:"spaceId,omitempty"`
}
BoardsListParams defines parameters for BoardsList.
type BoardsListParamsSort ¶
type BoardsListParamsSort string
BoardsListParamsSort defines parameters for BoardsList.
const ( BoardsListParamsSortArchived BoardsListParamsSort = "archived" BoardsListParamsSortMinusArchived BoardsListParamsSort = "-archived" BoardsListParamsSortMinusName BoardsListParamsSort = "-name" BoardsListParamsSortMinusSequenceNo BoardsListParamsSort = "-sequenceNo" BoardsListParamsSortName BoardsListParamsSort = "name" BoardsListParamsSortSequenceNo BoardsListParamsSort = "sequenceNo" )
Defines values for BoardsListParamsSort.
type BoardsListResponse ¶
type BoardsListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedBoardList
}
func ParseBoardsListResponse ¶
func ParseBoardsListResponse(rsp *http.Response) (*BoardsListResponse, error)
ParseBoardsListResponse parses an HTTP response from a BoardsListWithResponse call
func (BoardsListResponse) Status ¶
func (r BoardsListResponse) Status() string
Status returns HTTPResponse.Status
func (BoardsListResponse) StatusCode ¶
func (r BoardsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BoardsPartialUpdateFormdataRequestBody ¶
type BoardsPartialUpdateFormdataRequestBody = PatchedBoard
BoardsPartialUpdateFormdataRequestBody defines body for BoardsPartialUpdate for application/x-www-form-urlencoded ContentType.
type BoardsPartialUpdateJSONRequestBody ¶
type BoardsPartialUpdateJSONRequestBody = PatchedBoard
BoardsPartialUpdateJSONRequestBody defines body for BoardsPartialUpdate for application/json ContentType.
type BoardsPartialUpdateMultipartRequestBody ¶
type BoardsPartialUpdateMultipartRequestBody = PatchedBoard
BoardsPartialUpdateMultipartRequestBody defines body for BoardsPartialUpdate for multipart/form-data ContentType.
type BoardsPartialUpdateResponse ¶
func ParseBoardsPartialUpdateResponse ¶
func ParseBoardsPartialUpdateResponse(rsp *http.Response) (*BoardsPartialUpdateResponse, error)
ParseBoardsPartialUpdateResponse parses an HTTP response from a BoardsPartialUpdateWithResponse call
func (BoardsPartialUpdateResponse) Status ¶
func (r BoardsPartialUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (BoardsPartialUpdateResponse) StatusCode ¶
func (r BoardsPartialUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BoardsRetrieveResponse ¶
func ParseBoardsRetrieveResponse ¶
func ParseBoardsRetrieveResponse(rsp *http.Response) (*BoardsRetrieveResponse, error)
ParseBoardsRetrieveResponse parses an HTTP response from a BoardsRetrieveWithResponse call
func (BoardsRetrieveResponse) Status ¶
func (r BoardsRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (BoardsRetrieveResponse) StatusCode ¶
func (r BoardsRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BoardsUpdateFormdataRequestBody ¶
type BoardsUpdateFormdataRequestBody = Board
BoardsUpdateFormdataRequestBody defines body for BoardsUpdate for application/x-www-form-urlencoded ContentType.
type BoardsUpdateJSONRequestBody ¶
type BoardsUpdateJSONRequestBody = Board
BoardsUpdateJSONRequestBody defines body for BoardsUpdate for application/json ContentType.
type BoardsUpdateMultipartRequestBody ¶
type BoardsUpdateMultipartRequestBody = Board
BoardsUpdateMultipartRequestBody defines body for BoardsUpdate for multipart/form-data ContentType.
type BoardsUpdateResponse ¶
func ParseBoardsUpdateResponse ¶
func ParseBoardsUpdateResponse(rsp *http.Response) (*BoardsUpdateResponse, error)
ParseBoardsUpdateResponse parses an HTTP response from a BoardsUpdateWithResponse call
func (BoardsUpdateResponse) Status ¶
func (r BoardsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (BoardsUpdateResponse) StatusCode ¶
func (r BoardsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Bucket ¶
type Bucket struct {
BoardId string `json:"boardId"`
CreatedDatetime *time.Time `json:"createdDatetime,omitempty"`
Emoji *string `json:"emoji,omitempty"`
Expanded *bool `json:"expanded,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
SequenceNo *int `json:"sequenceNo,omitempty"`
ShowEmoji *bool `json:"showEmoji,omitempty"`
Url *string `json:"url,omitempty"`
}
Bucket defines model for Bucket.
type BucketsCreateFormdataRequestBody ¶
type BucketsCreateFormdataRequestBody = Bucket
BucketsCreateFormdataRequestBody defines body for BucketsCreate for application/x-www-form-urlencoded ContentType.
type BucketsCreateJSONRequestBody ¶
type BucketsCreateJSONRequestBody = Bucket
BucketsCreateJSONRequestBody defines body for BucketsCreate for application/json ContentType.
type BucketsCreateMultipartRequestBody ¶
type BucketsCreateMultipartRequestBody = Bucket
BucketsCreateMultipartRequestBody defines body for BucketsCreate for multipart/form-data ContentType.
type BucketsCreateResponse ¶
func ParseBucketsCreateResponse ¶
func ParseBucketsCreateResponse(rsp *http.Response) (*BucketsCreateResponse, error)
ParseBucketsCreateResponse parses an HTTP response from a BucketsCreateWithResponse call
func (BucketsCreateResponse) Status ¶
func (r BucketsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (BucketsCreateResponse) StatusCode ¶
func (r BucketsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BucketsDestroyResponse ¶
func ParseBucketsDestroyResponse ¶
func ParseBucketsDestroyResponse(rsp *http.Response) (*BucketsDestroyResponse, error)
ParseBucketsDestroyResponse parses an HTTP response from a BucketsDestroyWithResponse call
func (BucketsDestroyResponse) Status ¶
func (r BucketsDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (BucketsDestroyResponse) StatusCode ¶
func (r BucketsDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BucketsListParams ¶
type BucketsListParams struct {
// BoardId Filter by board code.
BoardId *string `form:"boardId,omitempty" json:"boardId,omitempty"`
// Limit Number of results to return per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset The initial index from which to return the results.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Search Case-insensitive token search over: name.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Sort Sort order. Prefix with `-` for descending (e.g. `-createdDatetime`).
Sort *BucketsListParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}
BucketsListParams defines parameters for BucketsList.
type BucketsListParamsSort ¶
type BucketsListParamsSort string
BucketsListParamsSort defines parameters for BucketsList.
const ( BucketsListParamsSortCreatedDatetime BucketsListParamsSort = "createdDatetime" BucketsListParamsSortMinusCreatedDatetime BucketsListParamsSort = "-createdDatetime" BucketsListParamsSortMinusName BucketsListParamsSort = "-name" BucketsListParamsSortMinusSequenceNo BucketsListParamsSort = "-sequenceNo" BucketsListParamsSortName BucketsListParamsSort = "name" BucketsListParamsSortSequenceNo BucketsListParamsSort = "sequenceNo" )
Defines values for BucketsListParamsSort.
type BucketsListResponse ¶
type BucketsListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedBucketList
}
func ParseBucketsListResponse ¶
func ParseBucketsListResponse(rsp *http.Response) (*BucketsListResponse, error)
ParseBucketsListResponse parses an HTTP response from a BucketsListWithResponse call
func (BucketsListResponse) Status ¶
func (r BucketsListResponse) Status() string
Status returns HTTPResponse.Status
func (BucketsListResponse) StatusCode ¶
func (r BucketsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BucketsPartialUpdateFormdataRequestBody ¶
type BucketsPartialUpdateFormdataRequestBody = PatchedBucket
BucketsPartialUpdateFormdataRequestBody defines body for BucketsPartialUpdate for application/x-www-form-urlencoded ContentType.
type BucketsPartialUpdateJSONRequestBody ¶
type BucketsPartialUpdateJSONRequestBody = PatchedBucket
BucketsPartialUpdateJSONRequestBody defines body for BucketsPartialUpdate for application/json ContentType.
type BucketsPartialUpdateMultipartRequestBody ¶
type BucketsPartialUpdateMultipartRequestBody = PatchedBucket
BucketsPartialUpdateMultipartRequestBody defines body for BucketsPartialUpdate for multipart/form-data ContentType.
type BucketsPartialUpdateResponse ¶
type BucketsPartialUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Bucket
}
func ParseBucketsPartialUpdateResponse ¶
func ParseBucketsPartialUpdateResponse(rsp *http.Response) (*BucketsPartialUpdateResponse, error)
ParseBucketsPartialUpdateResponse parses an HTTP response from a BucketsPartialUpdateWithResponse call
func (BucketsPartialUpdateResponse) Status ¶
func (r BucketsPartialUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (BucketsPartialUpdateResponse) StatusCode ¶
func (r BucketsPartialUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BucketsRetrieveResponse ¶
func ParseBucketsRetrieveResponse ¶
func ParseBucketsRetrieveResponse(rsp *http.Response) (*BucketsRetrieveResponse, error)
ParseBucketsRetrieveResponse parses an HTTP response from a BucketsRetrieveWithResponse call
func (BucketsRetrieveResponse) Status ¶
func (r BucketsRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (BucketsRetrieveResponse) StatusCode ¶
func (r BucketsRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BucketsUpdateFormdataRequestBody ¶
type BucketsUpdateFormdataRequestBody = Bucket
BucketsUpdateFormdataRequestBody defines body for BucketsUpdate for application/x-www-form-urlencoded ContentType.
type BucketsUpdateJSONRequestBody ¶
type BucketsUpdateJSONRequestBody = Bucket
BucketsUpdateJSONRequestBody defines body for BucketsUpdate for application/json ContentType.
type BucketsUpdateMultipartRequestBody ¶
type BucketsUpdateMultipartRequestBody = Bucket
BucketsUpdateMultipartRequestBody defines body for BucketsUpdate for multipart/form-data ContentType.
type BucketsUpdateResponse ¶
func ParseBucketsUpdateResponse ¶
func ParseBucketsUpdateResponse(rsp *http.Response) (*BucketsUpdateResponse, error)
ParseBucketsUpdateResponse parses an HTTP response from a BucketsUpdateWithResponse call
func (BucketsUpdateResponse) Status ¶
func (r BucketsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (BucketsUpdateResponse) StatusCode ¶
func (r BucketsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) BoardsCreate ¶
func (c *Client) BoardsCreate(ctx context.Context, body BoardsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoardsCreateWithBody ¶
func (*Client) BoardsCreateWithFormdataBody ¶
func (c *Client) BoardsCreateWithFormdataBody(ctx context.Context, body BoardsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoardsDestroy ¶
func (*Client) BoardsList ¶
func (c *Client) BoardsList(ctx context.Context, params *BoardsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoardsPartialUpdate ¶
func (c *Client) BoardsPartialUpdate(ctx context.Context, id string, body BoardsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoardsPartialUpdateWithBody ¶
func (*Client) BoardsPartialUpdateWithFormdataBody ¶
func (c *Client) BoardsPartialUpdateWithFormdataBody(ctx context.Context, id string, body BoardsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoardsRetrieve ¶
func (*Client) BoardsUpdate ¶
func (c *Client) BoardsUpdate(ctx context.Context, id string, body BoardsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoardsUpdateWithBody ¶
func (*Client) BoardsUpdateWithFormdataBody ¶
func (c *Client) BoardsUpdateWithFormdataBody(ctx context.Context, id string, body BoardsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsCreate ¶
func (c *Client) BucketsCreate(ctx context.Context, body BucketsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsCreateWithBody ¶
func (*Client) BucketsCreateWithFormdataBody ¶
func (c *Client) BucketsCreateWithFormdataBody(ctx context.Context, body BucketsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsDestroy ¶
func (*Client) BucketsList ¶
func (c *Client) BucketsList(ctx context.Context, params *BucketsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsPartialUpdate ¶
func (c *Client) BucketsPartialUpdate(ctx context.Context, id string, body BucketsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsPartialUpdateWithBody ¶
func (*Client) BucketsPartialUpdateWithFormdataBody ¶
func (c *Client) BucketsPartialUpdateWithFormdataBody(ctx context.Context, id string, body BucketsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsRetrieve ¶
func (*Client) BucketsUpdate ¶
func (c *Client) BucketsUpdate(ctx context.Context, id string, body BucketsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BucketsUpdateWithBody ¶
func (*Client) BucketsUpdateWithFormdataBody ¶
func (c *Client) BucketsUpdateWithFormdataBody(ctx context.Context, id string, body BucketsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsAttachmentsCreateWithBody ¶ added in v0.1.3
func (*Client) GoalsCreate ¶
func (c *Client) GoalsCreate(ctx context.Context, body GoalsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsCreateWithBody ¶
func (*Client) GoalsCreateWithFormdataBody ¶
func (c *Client) GoalsCreateWithFormdataBody(ctx context.Context, body GoalsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsDestroy ¶
func (*Client) GoalsList ¶
func (c *Client) GoalsList(ctx context.Context, params *GoalsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsPartialUpdate ¶
func (c *Client) GoalsPartialUpdate(ctx context.Context, id string, body GoalsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsPartialUpdateWithBody ¶
func (*Client) GoalsPartialUpdateWithFormdataBody ¶
func (c *Client) GoalsPartialUpdateWithFormdataBody(ctx context.Context, id string, body GoalsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsRetrieve ¶
func (*Client) GoalsUpdate ¶
func (c *Client) GoalsUpdate(ctx context.Context, id string, body GoalsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GoalsUpdateWithBody ¶
func (*Client) GoalsUpdateWithFormdataBody ¶
func (c *Client) GoalsUpdateWithFormdataBody(ctx context.Context, id string, body GoalsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MembershipsList ¶
func (c *Client) MembershipsList(ctx context.Context, params *MembershipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MembershipsRetrieve ¶
func (*Client) SpacesCreate ¶
func (c *Client) SpacesCreate(ctx context.Context, body SpacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SpacesCreateWithBody ¶
func (*Client) SpacesCreateWithFormdataBody ¶
func (c *Client) SpacesCreateWithFormdataBody(ctx context.Context, body SpacesCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SpacesDestroy ¶
func (*Client) SpacesList ¶
func (c *Client) SpacesList(ctx context.Context, params *SpacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SpacesPartialUpdate ¶
func (c *Client) SpacesPartialUpdate(ctx context.Context, id string, body SpacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SpacesPartialUpdateWithBody ¶
func (*Client) SpacesPartialUpdateWithFormdataBody ¶
func (c *Client) SpacesPartialUpdateWithFormdataBody(ctx context.Context, id string, body SpacesPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SpacesRetrieve ¶
func (*Client) SpacesUpdate ¶
func (c *Client) SpacesUpdate(ctx context.Context, id string, body SpacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SpacesUpdateWithBody ¶
func (*Client) SpacesUpdateWithFormdataBody ¶
func (c *Client) SpacesUpdateWithFormdataBody(ctx context.Context, id string, body SpacesUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UsersList ¶
func (c *Client) UsersList(ctx context.Context, params *UsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UsersMeRetrieve ¶
func (*Client) UsersRetrieve ¶
type ClientInterface ¶
type ClientInterface interface {
// BoardsList request
BoardsList(ctx context.Context, params *BoardsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BoardsCreateWithBody request with any body
BoardsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BoardsCreate(ctx context.Context, body BoardsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BoardsCreateWithFormdataBody(ctx context.Context, body BoardsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BoardsDestroy request
BoardsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BoardsRetrieve request
BoardsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BoardsPartialUpdateWithBody request with any body
BoardsPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BoardsPartialUpdate(ctx context.Context, id string, body BoardsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BoardsPartialUpdateWithFormdataBody(ctx context.Context, id string, body BoardsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BoardsUpdateWithBody request with any body
BoardsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BoardsUpdate(ctx context.Context, id string, body BoardsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BoardsUpdateWithFormdataBody(ctx context.Context, id string, body BoardsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BucketsList request
BucketsList(ctx context.Context, params *BucketsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BucketsCreateWithBody request with any body
BucketsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BucketsCreate(ctx context.Context, body BucketsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BucketsCreateWithFormdataBody(ctx context.Context, body BucketsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BucketsDestroy request
BucketsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BucketsRetrieve request
BucketsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BucketsPartialUpdateWithBody request with any body
BucketsPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BucketsPartialUpdate(ctx context.Context, id string, body BucketsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BucketsPartialUpdateWithFormdataBody(ctx context.Context, id string, body BucketsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BucketsUpdateWithBody request with any body
BucketsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BucketsUpdate(ctx context.Context, id string, body BucketsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BucketsUpdateWithFormdataBody(ctx context.Context, id string, body BucketsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsList request
GoalsList(ctx context.Context, params *GoalsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsCreateWithBody request with any body
GoalsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GoalsCreate(ctx context.Context, body GoalsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GoalsCreateWithFormdataBody(ctx context.Context, body GoalsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsDestroy request
GoalsDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsRetrieve request
GoalsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsPartialUpdateWithBody request with any body
GoalsPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GoalsPartialUpdate(ctx context.Context, id string, body GoalsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GoalsPartialUpdateWithFormdataBody(ctx context.Context, id string, body GoalsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsUpdateWithBody request with any body
GoalsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GoalsUpdate(ctx context.Context, id string, body GoalsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GoalsUpdateWithFormdataBody(ctx context.Context, id string, body GoalsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoalsAttachmentsCreateWithBody request with any body
GoalsAttachmentsCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MembershipsList request
MembershipsList(ctx context.Context, params *MembershipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MembershipsRetrieve request
MembershipsRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpacesList request
SpacesList(ctx context.Context, params *SpacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpacesCreateWithBody request with any body
SpacesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SpacesCreate(ctx context.Context, body SpacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SpacesCreateWithFormdataBody(ctx context.Context, body SpacesCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpacesDestroy request
SpacesDestroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpacesRetrieve request
SpacesRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpacesPartialUpdateWithBody request with any body
SpacesPartialUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SpacesPartialUpdate(ctx context.Context, id string, body SpacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SpacesPartialUpdateWithFormdataBody(ctx context.Context, id string, body SpacesPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpacesUpdateWithBody request with any body
SpacesUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SpacesUpdate(ctx context.Context, id string, body SpacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SpacesUpdateWithFormdataBody(ctx context.Context, id string, body SpacesUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsersList request
UsersList(ctx context.Context, params *UsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsersMeRetrieve request
UsersMeRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsersRetrieve request
UsersRetrieve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) BoardsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) BoardsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoardsCreateResponse, error)
BoardsCreateWithBodyWithResponse request with arbitrary body returning *BoardsCreateResponse
func (*ClientWithResponses) BoardsCreateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) BoardsCreateWithFormdataBodyWithResponse(ctx context.Context, body BoardsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BoardsCreateResponse, error)
func (*ClientWithResponses) BoardsCreateWithResponse ¶
func (c *ClientWithResponses) BoardsCreateWithResponse(ctx context.Context, body BoardsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*BoardsCreateResponse, error)
func (*ClientWithResponses) BoardsDestroyWithResponse ¶
func (c *ClientWithResponses) BoardsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BoardsDestroyResponse, error)
BoardsDestroyWithResponse request returning *BoardsDestroyResponse
func (*ClientWithResponses) BoardsListWithResponse ¶
func (c *ClientWithResponses) BoardsListWithResponse(ctx context.Context, params *BoardsListParams, reqEditors ...RequestEditorFn) (*BoardsListResponse, error)
BoardsListWithResponse request returning *BoardsListResponse
func (*ClientWithResponses) BoardsPartialUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) BoardsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoardsPartialUpdateResponse, error)
BoardsPartialUpdateWithBodyWithResponse request with arbitrary body returning *BoardsPartialUpdateResponse
func (*ClientWithResponses) BoardsPartialUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) BoardsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BoardsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BoardsPartialUpdateResponse, error)
func (*ClientWithResponses) BoardsPartialUpdateWithResponse ¶
func (c *ClientWithResponses) BoardsPartialUpdateWithResponse(ctx context.Context, id string, body BoardsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BoardsPartialUpdateResponse, error)
func (*ClientWithResponses) BoardsRetrieveWithResponse ¶
func (c *ClientWithResponses) BoardsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BoardsRetrieveResponse, error)
BoardsRetrieveWithResponse request returning *BoardsRetrieveResponse
func (*ClientWithResponses) BoardsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) BoardsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoardsUpdateResponse, error)
BoardsUpdateWithBodyWithResponse request with arbitrary body returning *BoardsUpdateResponse
func (*ClientWithResponses) BoardsUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) BoardsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BoardsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BoardsUpdateResponse, error)
func (*ClientWithResponses) BoardsUpdateWithResponse ¶
func (c *ClientWithResponses) BoardsUpdateWithResponse(ctx context.Context, id string, body BoardsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BoardsUpdateResponse, error)
func (*ClientWithResponses) BucketsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) BucketsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BucketsCreateResponse, error)
BucketsCreateWithBodyWithResponse request with arbitrary body returning *BucketsCreateResponse
func (*ClientWithResponses) BucketsCreateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) BucketsCreateWithFormdataBodyWithResponse(ctx context.Context, body BucketsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BucketsCreateResponse, error)
func (*ClientWithResponses) BucketsCreateWithResponse ¶
func (c *ClientWithResponses) BucketsCreateWithResponse(ctx context.Context, body BucketsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*BucketsCreateResponse, error)
func (*ClientWithResponses) BucketsDestroyWithResponse ¶
func (c *ClientWithResponses) BucketsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BucketsDestroyResponse, error)
BucketsDestroyWithResponse request returning *BucketsDestroyResponse
func (*ClientWithResponses) BucketsListWithResponse ¶
func (c *ClientWithResponses) BucketsListWithResponse(ctx context.Context, params *BucketsListParams, reqEditors ...RequestEditorFn) (*BucketsListResponse, error)
BucketsListWithResponse request returning *BucketsListResponse
func (*ClientWithResponses) BucketsPartialUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) BucketsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BucketsPartialUpdateResponse, error)
BucketsPartialUpdateWithBodyWithResponse request with arbitrary body returning *BucketsPartialUpdateResponse
func (*ClientWithResponses) BucketsPartialUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) BucketsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BucketsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BucketsPartialUpdateResponse, error)
func (*ClientWithResponses) BucketsPartialUpdateWithResponse ¶
func (c *ClientWithResponses) BucketsPartialUpdateWithResponse(ctx context.Context, id string, body BucketsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BucketsPartialUpdateResponse, error)
func (*ClientWithResponses) BucketsRetrieveWithResponse ¶
func (c *ClientWithResponses) BucketsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BucketsRetrieveResponse, error)
BucketsRetrieveWithResponse request returning *BucketsRetrieveResponse
func (*ClientWithResponses) BucketsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) BucketsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BucketsUpdateResponse, error)
BucketsUpdateWithBodyWithResponse request with arbitrary body returning *BucketsUpdateResponse
func (*ClientWithResponses) BucketsUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) BucketsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BucketsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BucketsUpdateResponse, error)
func (*ClientWithResponses) BucketsUpdateWithResponse ¶
func (c *ClientWithResponses) BucketsUpdateWithResponse(ctx context.Context, id string, body BucketsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BucketsUpdateResponse, error)
func (*ClientWithResponses) GoalsAttachmentsCreateWithBodyWithResponse ¶ added in v0.1.3
func (c *ClientWithResponses) GoalsAttachmentsCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsAttachmentsCreateResponse, error)
GoalsAttachmentsCreateWithBodyWithResponse request with arbitrary body returning *GoalsAttachmentsCreateResponse
func (*ClientWithResponses) GoalsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) GoalsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsCreateResponse, error)
GoalsCreateWithBodyWithResponse request with arbitrary body returning *GoalsCreateResponse
func (*ClientWithResponses) GoalsCreateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) GoalsCreateWithFormdataBodyWithResponse(ctx context.Context, body GoalsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*GoalsCreateResponse, error)
func (*ClientWithResponses) GoalsCreateWithResponse ¶
func (c *ClientWithResponses) GoalsCreateWithResponse(ctx context.Context, body GoalsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*GoalsCreateResponse, error)
func (*ClientWithResponses) GoalsDestroyWithResponse ¶
func (c *ClientWithResponses) GoalsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GoalsDestroyResponse, error)
GoalsDestroyWithResponse request returning *GoalsDestroyResponse
func (*ClientWithResponses) GoalsListWithResponse ¶
func (c *ClientWithResponses) GoalsListWithResponse(ctx context.Context, params *GoalsListParams, reqEditors ...RequestEditorFn) (*GoalsListResponse, error)
GoalsListWithResponse request returning *GoalsListResponse
func (*ClientWithResponses) GoalsPartialUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) GoalsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsPartialUpdateResponse, error)
GoalsPartialUpdateWithBodyWithResponse request with arbitrary body returning *GoalsPartialUpdateResponse
func (*ClientWithResponses) GoalsPartialUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) GoalsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body GoalsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*GoalsPartialUpdateResponse, error)
func (*ClientWithResponses) GoalsPartialUpdateWithResponse ¶
func (c *ClientWithResponses) GoalsPartialUpdateWithResponse(ctx context.Context, id string, body GoalsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GoalsPartialUpdateResponse, error)
func (*ClientWithResponses) GoalsRetrieveWithResponse ¶
func (c *ClientWithResponses) GoalsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GoalsRetrieveResponse, error)
GoalsRetrieveWithResponse request returning *GoalsRetrieveResponse
func (*ClientWithResponses) GoalsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) GoalsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsUpdateResponse, error)
GoalsUpdateWithBodyWithResponse request with arbitrary body returning *GoalsUpdateResponse
func (*ClientWithResponses) GoalsUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) GoalsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body GoalsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*GoalsUpdateResponse, error)
func (*ClientWithResponses) GoalsUpdateWithResponse ¶
func (c *ClientWithResponses) GoalsUpdateWithResponse(ctx context.Context, id string, body GoalsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GoalsUpdateResponse, error)
func (*ClientWithResponses) MembershipsListWithResponse ¶
func (c *ClientWithResponses) MembershipsListWithResponse(ctx context.Context, params *MembershipsListParams, reqEditors ...RequestEditorFn) (*MembershipsListResponse, error)
MembershipsListWithResponse request returning *MembershipsListResponse
func (*ClientWithResponses) MembershipsRetrieveWithResponse ¶
func (c *ClientWithResponses) MembershipsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MembershipsRetrieveResponse, error)
MembershipsRetrieveWithResponse request returning *MembershipsRetrieveResponse
func (*ClientWithResponses) SpacesCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) SpacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpacesCreateResponse, error)
SpacesCreateWithBodyWithResponse request with arbitrary body returning *SpacesCreateResponse
func (*ClientWithResponses) SpacesCreateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) SpacesCreateWithFormdataBodyWithResponse(ctx context.Context, body SpacesCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*SpacesCreateResponse, error)
func (*ClientWithResponses) SpacesCreateWithResponse ¶
func (c *ClientWithResponses) SpacesCreateWithResponse(ctx context.Context, body SpacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SpacesCreateResponse, error)
func (*ClientWithResponses) SpacesDestroyWithResponse ¶
func (c *ClientWithResponses) SpacesDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SpacesDestroyResponse, error)
SpacesDestroyWithResponse request returning *SpacesDestroyResponse
func (*ClientWithResponses) SpacesListWithResponse ¶
func (c *ClientWithResponses) SpacesListWithResponse(ctx context.Context, params *SpacesListParams, reqEditors ...RequestEditorFn) (*SpacesListResponse, error)
SpacesListWithResponse request returning *SpacesListResponse
func (*ClientWithResponses) SpacesPartialUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) SpacesPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpacesPartialUpdateResponse, error)
SpacesPartialUpdateWithBodyWithResponse request with arbitrary body returning *SpacesPartialUpdateResponse
func (*ClientWithResponses) SpacesPartialUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) SpacesPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body SpacesPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*SpacesPartialUpdateResponse, error)
func (*ClientWithResponses) SpacesPartialUpdateWithResponse ¶
func (c *ClientWithResponses) SpacesPartialUpdateWithResponse(ctx context.Context, id string, body SpacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SpacesPartialUpdateResponse, error)
func (*ClientWithResponses) SpacesRetrieveWithResponse ¶
func (c *ClientWithResponses) SpacesRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SpacesRetrieveResponse, error)
SpacesRetrieveWithResponse request returning *SpacesRetrieveResponse
func (*ClientWithResponses) SpacesUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) SpacesUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpacesUpdateResponse, error)
SpacesUpdateWithBodyWithResponse request with arbitrary body returning *SpacesUpdateResponse
func (*ClientWithResponses) SpacesUpdateWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) SpacesUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body SpacesUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*SpacesUpdateResponse, error)
func (*ClientWithResponses) SpacesUpdateWithResponse ¶
func (c *ClientWithResponses) SpacesUpdateWithResponse(ctx context.Context, id string, body SpacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SpacesUpdateResponse, error)
func (*ClientWithResponses) UsersListWithResponse ¶
func (c *ClientWithResponses) UsersListWithResponse(ctx context.Context, params *UsersListParams, reqEditors ...RequestEditorFn) (*UsersListResponse, error)
UsersListWithResponse request returning *UsersListResponse
func (*ClientWithResponses) UsersMeRetrieveWithResponse ¶
func (c *ClientWithResponses) UsersMeRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersMeRetrieveResponse, error)
UsersMeRetrieveWithResponse request returning *UsersMeRetrieveResponse
func (*ClientWithResponses) UsersRetrieveWithResponse ¶
func (c *ClientWithResponses) UsersRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersRetrieveResponse, error)
UsersRetrieveWithResponse request returning *UsersRetrieveResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// BoardsListWithResponse request
BoardsListWithResponse(ctx context.Context, params *BoardsListParams, reqEditors ...RequestEditorFn) (*BoardsListResponse, error)
// BoardsCreateWithBodyWithResponse request with any body
BoardsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoardsCreateResponse, error)
BoardsCreateWithResponse(ctx context.Context, body BoardsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*BoardsCreateResponse, error)
BoardsCreateWithFormdataBodyWithResponse(ctx context.Context, body BoardsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BoardsCreateResponse, error)
// BoardsDestroyWithResponse request
BoardsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BoardsDestroyResponse, error)
// BoardsRetrieveWithResponse request
BoardsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BoardsRetrieveResponse, error)
// BoardsPartialUpdateWithBodyWithResponse request with any body
BoardsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoardsPartialUpdateResponse, error)
BoardsPartialUpdateWithResponse(ctx context.Context, id string, body BoardsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BoardsPartialUpdateResponse, error)
BoardsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BoardsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BoardsPartialUpdateResponse, error)
// BoardsUpdateWithBodyWithResponse request with any body
BoardsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoardsUpdateResponse, error)
BoardsUpdateWithResponse(ctx context.Context, id string, body BoardsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BoardsUpdateResponse, error)
BoardsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BoardsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BoardsUpdateResponse, error)
// BucketsListWithResponse request
BucketsListWithResponse(ctx context.Context, params *BucketsListParams, reqEditors ...RequestEditorFn) (*BucketsListResponse, error)
// BucketsCreateWithBodyWithResponse request with any body
BucketsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BucketsCreateResponse, error)
BucketsCreateWithResponse(ctx context.Context, body BucketsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*BucketsCreateResponse, error)
BucketsCreateWithFormdataBodyWithResponse(ctx context.Context, body BucketsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BucketsCreateResponse, error)
// BucketsDestroyWithResponse request
BucketsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BucketsDestroyResponse, error)
// BucketsRetrieveWithResponse request
BucketsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*BucketsRetrieveResponse, error)
// BucketsPartialUpdateWithBodyWithResponse request with any body
BucketsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BucketsPartialUpdateResponse, error)
BucketsPartialUpdateWithResponse(ctx context.Context, id string, body BucketsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BucketsPartialUpdateResponse, error)
BucketsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BucketsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BucketsPartialUpdateResponse, error)
// BucketsUpdateWithBodyWithResponse request with any body
BucketsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BucketsUpdateResponse, error)
BucketsUpdateWithResponse(ctx context.Context, id string, body BucketsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*BucketsUpdateResponse, error)
BucketsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body BucketsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*BucketsUpdateResponse, error)
// GoalsListWithResponse request
GoalsListWithResponse(ctx context.Context, params *GoalsListParams, reqEditors ...RequestEditorFn) (*GoalsListResponse, error)
// GoalsCreateWithBodyWithResponse request with any body
GoalsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsCreateResponse, error)
GoalsCreateWithResponse(ctx context.Context, body GoalsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*GoalsCreateResponse, error)
GoalsCreateWithFormdataBodyWithResponse(ctx context.Context, body GoalsCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*GoalsCreateResponse, error)
// GoalsDestroyWithResponse request
GoalsDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GoalsDestroyResponse, error)
// GoalsRetrieveWithResponse request
GoalsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GoalsRetrieveResponse, error)
// GoalsPartialUpdateWithBodyWithResponse request with any body
GoalsPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsPartialUpdateResponse, error)
GoalsPartialUpdateWithResponse(ctx context.Context, id string, body GoalsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GoalsPartialUpdateResponse, error)
GoalsPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body GoalsPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*GoalsPartialUpdateResponse, error)
// GoalsUpdateWithBodyWithResponse request with any body
GoalsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsUpdateResponse, error)
GoalsUpdateWithResponse(ctx context.Context, id string, body GoalsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GoalsUpdateResponse, error)
GoalsUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body GoalsUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*GoalsUpdateResponse, error)
// GoalsAttachmentsCreateWithBodyWithResponse request with any body
GoalsAttachmentsCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GoalsAttachmentsCreateResponse, error)
// MembershipsListWithResponse request
MembershipsListWithResponse(ctx context.Context, params *MembershipsListParams, reqEditors ...RequestEditorFn) (*MembershipsListResponse, error)
// MembershipsRetrieveWithResponse request
MembershipsRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MembershipsRetrieveResponse, error)
// SpacesListWithResponse request
SpacesListWithResponse(ctx context.Context, params *SpacesListParams, reqEditors ...RequestEditorFn) (*SpacesListResponse, error)
// SpacesCreateWithBodyWithResponse request with any body
SpacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpacesCreateResponse, error)
SpacesCreateWithResponse(ctx context.Context, body SpacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SpacesCreateResponse, error)
SpacesCreateWithFormdataBodyWithResponse(ctx context.Context, body SpacesCreateFormdataRequestBody, reqEditors ...RequestEditorFn) (*SpacesCreateResponse, error)
// SpacesDestroyWithResponse request
SpacesDestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SpacesDestroyResponse, error)
// SpacesRetrieveWithResponse request
SpacesRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SpacesRetrieveResponse, error)
// SpacesPartialUpdateWithBodyWithResponse request with any body
SpacesPartialUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpacesPartialUpdateResponse, error)
SpacesPartialUpdateWithResponse(ctx context.Context, id string, body SpacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SpacesPartialUpdateResponse, error)
SpacesPartialUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body SpacesPartialUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*SpacesPartialUpdateResponse, error)
// SpacesUpdateWithBodyWithResponse request with any body
SpacesUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpacesUpdateResponse, error)
SpacesUpdateWithResponse(ctx context.Context, id string, body SpacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SpacesUpdateResponse, error)
SpacesUpdateWithFormdataBodyWithResponse(ctx context.Context, id string, body SpacesUpdateFormdataRequestBody, reqEditors ...RequestEditorFn) (*SpacesUpdateResponse, error)
// UsersListWithResponse request
UsersListWithResponse(ctx context.Context, params *UsersListParams, reqEditors ...RequestEditorFn) (*UsersListResponse, error)
// UsersMeRetrieveWithResponse request
UsersMeRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersMeRetrieveResponse, error)
// UsersRetrieveWithResponse request
UsersRetrieveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersRetrieveResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Goal ¶
type Goal struct {
AssigneeId *string `json:"assigneeId"`
BucketId *string `json:"bucketId"`
Checked *bool `json:"checked,omitempty"`
// Color * `#ecce32` - #ecce32
// * `#df496d` - #df496d
// * `#92ce14` - #92ce14
// * `#278dea` - #278dea
// * `#955be0` - #955be0
// * `#f2713a` - #f2713a
Color *GoalColor `json:"color"`
CreatedDatetime *time.Time `json:"createdDatetime,omitempty"`
// Date ISO 8601 date (YYYY-MM-DD).
Date *openapi_types.Date `json:"date"`
// Description Markdown-formatted text.
Description *string `json:"description,omitempty"`
// EndTime Time in 24-hour HH:MM format.
EndTime *string `json:"endTime"`
// Horizon * `day` - day
// * `week` - week
// * `month` - month
// * `quarter` - quarter
// * `year` - year
// * `decade` - decade
// * `life` - life
Horizon *GoalHorizon `json:"horizon"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ParentId *string `json:"parentId"`
SpaceId string `json:"spaceId"`
// StartTime Time in 24-hour HH:MM format.
StartTime *string `json:"startTime"`
Url *string `json:"url,omitempty"`
}
Goal defines model for Goal.
type GoalColor ¶
type GoalColor string
GoalColor * `#ecce32` - #ecce32 * `#df496d` - #df496d * `#92ce14` - #92ce14 * `#278dea` - #278dea * `#955be0` - #955be0 * `#f2713a` - #f2713a
const ( GoalColorHash278dea GoalColor = "#278dea" GoalColorHash92ce14 GoalColor = "#92ce14" GoalColorHash955be0 GoalColor = "#955be0" GoalColorHashDf496d GoalColor = "#df496d" GoalColorHashEcce32 GoalColor = "#ecce32" GoalColorHashF2713a GoalColor = "#f2713a" GoalColorLessThannil GoalColor = "<nil>" )
Defines values for GoalColor.
type GoalHorizon ¶
type GoalHorizon string
GoalHorizon * `day` - day * `week` - week * `month` - month * `quarter` - quarter * `year` - year * `decade` - decade * `life` - life
const ( GoalHorizonDay GoalHorizon = "day" GoalHorizonDecade GoalHorizon = "decade" GoalHorizonLessThannil GoalHorizon = "<nil>" GoalHorizonLife GoalHorizon = "life" GoalHorizonMonth GoalHorizon = "month" GoalHorizonQuarter GoalHorizon = "quarter" GoalHorizonWeek GoalHorizon = "week" GoalHorizonYear GoalHorizon = "year" )
Defines values for GoalHorizon.
type GoalsAttachmentsCreateMultipartBody ¶ added in v0.1.3
type GoalsAttachmentsCreateMultipartBody struct {
File openapi_types.File `json:"file"`
}
GoalsAttachmentsCreateMultipartBody defines parameters for GoalsAttachmentsCreate.
type GoalsAttachmentsCreateMultipartRequestBody ¶ added in v0.1.3
type GoalsAttachmentsCreateMultipartRequestBody GoalsAttachmentsCreateMultipartBody
GoalsAttachmentsCreateMultipartRequestBody defines body for GoalsAttachmentsCreate for multipart/form-data ContentType.
type GoalsAttachmentsCreateResponse ¶ added in v0.1.3
func ParseGoalsAttachmentsCreateResponse ¶ added in v0.1.3
func ParseGoalsAttachmentsCreateResponse(rsp *http.Response) (*GoalsAttachmentsCreateResponse, error)
ParseGoalsAttachmentsCreateResponse parses an HTTP response from a GoalsAttachmentsCreateWithResponse call
func (GoalsAttachmentsCreateResponse) Status ¶ added in v0.1.3
func (r GoalsAttachmentsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsAttachmentsCreateResponse) StatusCode ¶ added in v0.1.3
func (r GoalsAttachmentsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoalsCreateFormdataRequestBody ¶
type GoalsCreateFormdataRequestBody = Goal
GoalsCreateFormdataRequestBody defines body for GoalsCreate for application/x-www-form-urlencoded ContentType.
type GoalsCreateJSONRequestBody ¶
type GoalsCreateJSONRequestBody = Goal
GoalsCreateJSONRequestBody defines body for GoalsCreate for application/json ContentType.
type GoalsCreateMultipartRequestBody ¶
type GoalsCreateMultipartRequestBody = Goal
GoalsCreateMultipartRequestBody defines body for GoalsCreate for multipart/form-data ContentType.
type GoalsCreateResponse ¶
func ParseGoalsCreateResponse ¶
func ParseGoalsCreateResponse(rsp *http.Response) (*GoalsCreateResponse, error)
ParseGoalsCreateResponse parses an HTTP response from a GoalsCreateWithResponse call
func (GoalsCreateResponse) Status ¶
func (r GoalsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsCreateResponse) StatusCode ¶
func (r GoalsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoalsDestroyResponse ¶
func ParseGoalsDestroyResponse ¶
func ParseGoalsDestroyResponse(rsp *http.Response) (*GoalsDestroyResponse, error)
ParseGoalsDestroyResponse parses an HTTP response from a GoalsDestroyWithResponse call
func (GoalsDestroyResponse) Status ¶
func (r GoalsDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsDestroyResponse) StatusCode ¶
func (r GoalsDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoalsListParams ¶
type GoalsListParams struct {
// AssigneeId Filter by assignee code. Pass `null` to match items where this field is unset.
AssigneeId *string `form:"assigneeId,omitempty" json:"assigneeId,omitempty"`
// BucketId Filter by bucket code. Pass `null` to match items where this field is unset.
BucketId *string `form:"bucketId,omitempty" json:"bucketId,omitempty"`
// Checked Accepts `true` or `false`.
Checked *bool `form:"checked,omitempty" json:"checked,omitempty"`
// Color Filter by color.
Color *GoalsListParamsColor `form:"color,omitempty" json:"color,omitempty"`
// DateFrom Inclusive lower bound (>=) on due_date. ISO 8601 date (YYYY-MM-DD).
DateFrom *openapi_types.Date `form:"date_from,omitempty" json:"date_from,omitempty"`
// DateTo Inclusive upper bound (<=) on due_date. ISO 8601 date (YYYY-MM-DD).
DateTo *openapi_types.Date `form:"date_to,omitempty" json:"date_to,omitempty"`
// Horizon Repeat the parameter for OR semantics (e.g. `?horizon=day&horizon=year`).
Horizon *[]GoalsListParamsHorizon `form:"horizon,omitempty" json:"horizon,omitempty"`
// Limit Number of results to return per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset The initial index from which to return the results.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// ParentId Filter by parent code. Pass `null` to match items where this field is unset.
ParentId *string `form:"parentId,omitempty" json:"parentId,omitempty"`
// Search Search query.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Sort Sort order. Prefix with `-` for descending (e.g. `-createdDatetime`).
Sort *GoalsListParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// SpaceId Filter by space code.
SpaceId *string `form:"spaceId,omitempty" json:"spaceId,omitempty"`
// UpdatedSince Inclusive lower bound (>=) on modified_datetime. ISO 8601 datetime.
UpdatedSince *time.Time `form:"updated_since,omitempty" json:"updated_since,omitempty"`
}
GoalsListParams defines parameters for GoalsList.
type GoalsListParamsColor ¶
type GoalsListParamsColor string
GoalsListParamsColor defines parameters for GoalsList.
const ( Hash278dea GoalsListParamsColor = "#278dea" Hash92ce14 GoalsListParamsColor = "#92ce14" Hash955be0 GoalsListParamsColor = "#955be0" HashDf496d GoalsListParamsColor = "#df496d" HashEcce32 GoalsListParamsColor = "#ecce32" HashF2713a GoalsListParamsColor = "#f2713a" )
Defines values for GoalsListParamsColor.
type GoalsListParamsHorizon ¶
type GoalsListParamsHorizon string
GoalsListParamsHorizon defines parameters for GoalsList.
const ( Day GoalsListParamsHorizon = "day" Decade GoalsListParamsHorizon = "decade" Life GoalsListParamsHorizon = "life" Month GoalsListParamsHorizon = "month" Quarter GoalsListParamsHorizon = "quarter" Week GoalsListParamsHorizon = "week" Year GoalsListParamsHorizon = "year" )
Defines values for GoalsListParamsHorizon.
type GoalsListParamsSort ¶
type GoalsListParamsSort string
GoalsListParamsSort defines parameters for GoalsList.
const ( Assignee GoalsListParamsSort = "assignee" Checked GoalsListParamsSort = "checked" CreatedDatetime GoalsListParamsSort = "createdDatetime" Date GoalsListParamsSort = "date" Horizon GoalsListParamsSort = "horizon" MinusAssignee GoalsListParamsSort = "-assignee" MinusChecked GoalsListParamsSort = "-checked" MinusCreatedDatetime GoalsListParamsSort = "-createdDatetime" MinusDate GoalsListParamsSort = "-date" MinusHorizon GoalsListParamsSort = "-horizon" MinusModifiedDatetime GoalsListParamsSort = "-modifiedDatetime" MinusName GoalsListParamsSort = "-name" ModifiedDatetime GoalsListParamsSort = "modifiedDatetime" Name GoalsListParamsSort = "name" )
Defines values for GoalsListParamsSort.
type GoalsListResponse ¶
type GoalsListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedGoalList
}
func ParseGoalsListResponse ¶
func ParseGoalsListResponse(rsp *http.Response) (*GoalsListResponse, error)
ParseGoalsListResponse parses an HTTP response from a GoalsListWithResponse call
func (GoalsListResponse) Status ¶
func (r GoalsListResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsListResponse) StatusCode ¶
func (r GoalsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoalsPartialUpdateFormdataRequestBody ¶
type GoalsPartialUpdateFormdataRequestBody = PatchedGoal
GoalsPartialUpdateFormdataRequestBody defines body for GoalsPartialUpdate for application/x-www-form-urlencoded ContentType.
type GoalsPartialUpdateJSONRequestBody ¶
type GoalsPartialUpdateJSONRequestBody = PatchedGoal
GoalsPartialUpdateJSONRequestBody defines body for GoalsPartialUpdate for application/json ContentType.
type GoalsPartialUpdateMultipartRequestBody ¶
type GoalsPartialUpdateMultipartRequestBody = PatchedGoal
GoalsPartialUpdateMultipartRequestBody defines body for GoalsPartialUpdate for multipart/form-data ContentType.
type GoalsPartialUpdateResponse ¶
func ParseGoalsPartialUpdateResponse ¶
func ParseGoalsPartialUpdateResponse(rsp *http.Response) (*GoalsPartialUpdateResponse, error)
ParseGoalsPartialUpdateResponse parses an HTTP response from a GoalsPartialUpdateWithResponse call
func (GoalsPartialUpdateResponse) Status ¶
func (r GoalsPartialUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsPartialUpdateResponse) StatusCode ¶
func (r GoalsPartialUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoalsRetrieveResponse ¶
func ParseGoalsRetrieveResponse ¶
func ParseGoalsRetrieveResponse(rsp *http.Response) (*GoalsRetrieveResponse, error)
ParseGoalsRetrieveResponse parses an HTTP response from a GoalsRetrieveWithResponse call
func (GoalsRetrieveResponse) Status ¶
func (r GoalsRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsRetrieveResponse) StatusCode ¶
func (r GoalsRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoalsUpdateFormdataRequestBody ¶
type GoalsUpdateFormdataRequestBody = Goal
GoalsUpdateFormdataRequestBody defines body for GoalsUpdate for application/x-www-form-urlencoded ContentType.
type GoalsUpdateJSONRequestBody ¶
type GoalsUpdateJSONRequestBody = Goal
GoalsUpdateJSONRequestBody defines body for GoalsUpdate for application/json ContentType.
type GoalsUpdateMultipartRequestBody ¶
type GoalsUpdateMultipartRequestBody = Goal
GoalsUpdateMultipartRequestBody defines body for GoalsUpdate for multipart/form-data ContentType.
type GoalsUpdateResponse ¶
func ParseGoalsUpdateResponse ¶
func ParseGoalsUpdateResponse(rsp *http.Response) (*GoalsUpdateResponse, error)
ParseGoalsUpdateResponse parses an HTTP response from a GoalsUpdateWithResponse call
func (GoalsUpdateResponse) Status ¶
func (r GoalsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (GoalsUpdateResponse) StatusCode ¶
func (r GoalsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MagicLink ¶
type MagicLink struct {
Id *string `json:"id,omitempty"`
// Role * `OWNER` - Owner
// * `ADMIN` - Admin
// * `EDITOR` - Editor
// * `VIEWER` - Viewer
Role *MagicLinkRole `json:"role,omitempty"`
Url *string `json:"url,omitempty"`
}
MagicLink defines model for MagicLink.
type MagicLinkRole ¶
type MagicLinkRole string
MagicLinkRole * `OWNER` - Owner * `ADMIN` - Admin * `EDITOR` - Editor * `VIEWER` - Viewer
const ( MagicLinkRoleADMIN MagicLinkRole = "ADMIN" MagicLinkRoleEDITOR MagicLinkRole = "EDITOR" MagicLinkRoleOWNER MagicLinkRole = "OWNER" MagicLinkRoleVIEWER MagicLinkRole = "VIEWER" )
Defines values for MagicLinkRole.
type Membership ¶
type Membership struct {
Id *string `json:"id,omitempty"`
// Role * `OWNER` - Owner
// * `ADMIN` - Admin
// * `EDITOR` - Editor
// * `VIEWER` - Viewer
Role *MembershipRole `json:"role,omitempty"`
SpaceId *string `json:"spaceId,omitempty"`
UserId *string `json:"userId,omitempty"`
}
Membership defines model for Membership.
type MembershipRole ¶
type MembershipRole string
MembershipRole * `OWNER` - Owner * `ADMIN` - Admin * `EDITOR` - Editor * `VIEWER` - Viewer
const ( MembershipRoleADMIN MembershipRole = "ADMIN" MembershipRoleEDITOR MembershipRole = "EDITOR" MembershipRoleOWNER MembershipRole = "OWNER" MembershipRoleVIEWER MembershipRole = "VIEWER" )
Defines values for MembershipRole.
type MembershipsListParams ¶
type MembershipsListParams struct {
// Limit Number of results to return per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset The initial index from which to return the results.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// SpaceId Filter by space code.
SpaceId *string `form:"spaceId,omitempty" json:"spaceId,omitempty"`
// UserId Filter by user code.
UserId *string `form:"userId,omitempty" json:"userId,omitempty"`
}
MembershipsListParams defines parameters for MembershipsList.
type MembershipsListResponse ¶
type MembershipsListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedMembershipList
}
func ParseMembershipsListResponse ¶
func ParseMembershipsListResponse(rsp *http.Response) (*MembershipsListResponse, error)
ParseMembershipsListResponse parses an HTTP response from a MembershipsListWithResponse call
func (MembershipsListResponse) Status ¶
func (r MembershipsListResponse) Status() string
Status returns HTTPResponse.Status
func (MembershipsListResponse) StatusCode ¶
func (r MembershipsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MembershipsRetrieveResponse ¶
type MembershipsRetrieveResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Membership
}
func ParseMembershipsRetrieveResponse ¶
func ParseMembershipsRetrieveResponse(rsp *http.Response) (*MembershipsRetrieveResponse, error)
ParseMembershipsRetrieveResponse parses an HTTP response from a MembershipsRetrieveWithResponse call
func (MembershipsRetrieveResponse) Status ¶
func (r MembershipsRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (MembershipsRetrieveResponse) StatusCode ¶
func (r MembershipsRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PaginatedBoardList ¶
type PaginatedBoardList struct {
Count int `json:"count"`
Next *string `json:"next"`
Previous *string `json:"previous"`
Results []Board `json:"results"`
}
PaginatedBoardList defines model for PaginatedBoardList.
type PaginatedBucketList ¶
type PaginatedBucketList struct {
Count int `json:"count"`
Next *string `json:"next"`
Previous *string `json:"previous"`
Results []Bucket `json:"results"`
}
PaginatedBucketList defines model for PaginatedBucketList.
type PaginatedGoalList ¶
type PaginatedGoalList struct {
Count int `json:"count"`
Next *string `json:"next"`
Previous *string `json:"previous"`
Results []Goal `json:"results"`
}
PaginatedGoalList defines model for PaginatedGoalList.
type PaginatedMembershipList ¶
type PaginatedMembershipList struct {
Count int `json:"count"`
Next *string `json:"next"`
Previous *string `json:"previous"`
Results []Membership `json:"results"`
}
PaginatedMembershipList defines model for PaginatedMembershipList.
type PaginatedSpaceList ¶
type PaginatedSpaceList struct {
Count int `json:"count"`
Next *string `json:"next"`
Previous *string `json:"previous"`
Results []Space `json:"results"`
}
PaginatedSpaceList defines model for PaginatedSpaceList.
type PaginatedUserList ¶
type PaginatedUserList struct {
Count int `json:"count"`
Next *string `json:"next"`
Previous *string `json:"previous"`
Results []User `json:"results"`
}
PaginatedUserList defines model for PaginatedUserList.
type PatchedBoard ¶
type PatchedBoard struct {
Archived *bool `json:"archived,omitempty"`
Background *string `json:"background"`
CreatedDatetime *time.Time `json:"createdDatetime,omitempty"`
// Description Markdown-formatted text.
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
// Layout * `horizontal` - horizontal
// * `vertical` - vertical
Layout *PatchedBoardLayout `json:"layout"`
Name *string `json:"name,omitempty"`
SequenceNo *int `json:"sequenceNo,omitempty"`
SpaceId *string `json:"spaceId,omitempty"`
Url *string `json:"url,omitempty"`
}
PatchedBoard defines model for PatchedBoard.
type PatchedBoardLayout ¶
type PatchedBoardLayout string
PatchedBoardLayout * `horizontal` - horizontal * `vertical` - vertical
const ( PatchedBoardLayoutHorizontal PatchedBoardLayout = "horizontal" PatchedBoardLayoutLessThannil PatchedBoardLayout = "<nil>" PatchedBoardLayoutVertical PatchedBoardLayout = "vertical" )
Defines values for PatchedBoardLayout.
type PatchedBucket ¶
type PatchedBucket struct {
BoardId *string `json:"boardId,omitempty"`
CreatedDatetime *time.Time `json:"createdDatetime,omitempty"`
Emoji *string `json:"emoji,omitempty"`
Expanded *bool `json:"expanded,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
SequenceNo *int `json:"sequenceNo,omitempty"`
ShowEmoji *bool `json:"showEmoji,omitempty"`
Url *string `json:"url,omitempty"`
}
PatchedBucket defines model for PatchedBucket.
type PatchedGoal ¶
type PatchedGoal struct {
AssigneeId *string `json:"assigneeId"`
BucketId *string `json:"bucketId"`
Checked *bool `json:"checked,omitempty"`
// Color * `#ecce32` - #ecce32
// * `#df496d` - #df496d
// * `#92ce14` - #92ce14
// * `#278dea` - #278dea
// * `#955be0` - #955be0
// * `#f2713a` - #f2713a
Color *PatchedGoalColor `json:"color"`
CreatedDatetime *time.Time `json:"createdDatetime,omitempty"`
// Date ISO 8601 date (YYYY-MM-DD).
Date *openapi_types.Date `json:"date"`
// Description Markdown-formatted text.
Description *string `json:"description,omitempty"`
// EndTime Time in 24-hour HH:MM format.
EndTime *string `json:"endTime"`
// Horizon * `day` - day
// * `week` - week
// * `month` - month
// * `quarter` - quarter
// * `year` - year
// * `decade` - decade
// * `life` - life
Horizon *PatchedGoalHorizon `json:"horizon"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ParentId *string `json:"parentId"`
SpaceId *string `json:"spaceId,omitempty"`
// StartTime Time in 24-hour HH:MM format.
StartTime *string `json:"startTime"`
Url *string `json:"url,omitempty"`
}
PatchedGoal defines model for PatchedGoal.
type PatchedGoalColor ¶
type PatchedGoalColor string
PatchedGoalColor * `#ecce32` - #ecce32 * `#df496d` - #df496d * `#92ce14` - #92ce14 * `#278dea` - #278dea * `#955be0` - #955be0 * `#f2713a` - #f2713a
const ( PatchedGoalColorHash278dea PatchedGoalColor = "#278dea" PatchedGoalColorHash92ce14 PatchedGoalColor = "#92ce14" PatchedGoalColorHash955be0 PatchedGoalColor = "#955be0" PatchedGoalColorHashDf496d PatchedGoalColor = "#df496d" PatchedGoalColorHashEcce32 PatchedGoalColor = "#ecce32" PatchedGoalColorHashF2713a PatchedGoalColor = "#f2713a" PatchedGoalColorLessThannil PatchedGoalColor = "<nil>" )
Defines values for PatchedGoalColor.
type PatchedGoalHorizon ¶
type PatchedGoalHorizon string
PatchedGoalHorizon * `day` - day * `week` - week * `month` - month * `quarter` - quarter * `year` - year * `decade` - decade * `life` - life
const ( PatchedGoalHorizonDay PatchedGoalHorizon = "day" PatchedGoalHorizonDecade PatchedGoalHorizon = "decade" PatchedGoalHorizonLessThannil PatchedGoalHorizon = "<nil>" PatchedGoalHorizonLife PatchedGoalHorizon = "life" PatchedGoalHorizonMonth PatchedGoalHorizon = "month" PatchedGoalHorizonQuarter PatchedGoalHorizon = "quarter" PatchedGoalHorizonWeek PatchedGoalHorizon = "week" PatchedGoalHorizonYear PatchedGoalHorizon = "year" )
Defines values for PatchedGoalHorizon.
type PatchedSpace ¶
type PatchedSpace struct {
Id *string `json:"id,omitempty"`
MagicLinks *[]MagicLink `json:"magicLinks,omitempty"`
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
}
PatchedSpace defines model for PatchedSpace.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Space ¶
type Space struct {
Id *string `json:"id,omitempty"`
MagicLinks *[]MagicLink `json:"magicLinks,omitempty"`
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
}
Space defines model for Space.
type SpacesCreateFormdataRequestBody ¶
type SpacesCreateFormdataRequestBody = Space
SpacesCreateFormdataRequestBody defines body for SpacesCreate for application/x-www-form-urlencoded ContentType.
type SpacesCreateJSONRequestBody ¶
type SpacesCreateJSONRequestBody = Space
SpacesCreateJSONRequestBody defines body for SpacesCreate for application/json ContentType.
type SpacesCreateMultipartRequestBody ¶
type SpacesCreateMultipartRequestBody = Space
SpacesCreateMultipartRequestBody defines body for SpacesCreate for multipart/form-data ContentType.
type SpacesCreateResponse ¶
func ParseSpacesCreateResponse ¶
func ParseSpacesCreateResponse(rsp *http.Response) (*SpacesCreateResponse, error)
ParseSpacesCreateResponse parses an HTTP response from a SpacesCreateWithResponse call
func (SpacesCreateResponse) Status ¶
func (r SpacesCreateResponse) Status() string
Status returns HTTPResponse.Status
func (SpacesCreateResponse) StatusCode ¶
func (r SpacesCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SpacesDestroyResponse ¶
func ParseSpacesDestroyResponse ¶
func ParseSpacesDestroyResponse(rsp *http.Response) (*SpacesDestroyResponse, error)
ParseSpacesDestroyResponse parses an HTTP response from a SpacesDestroyWithResponse call
func (SpacesDestroyResponse) Status ¶
func (r SpacesDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (SpacesDestroyResponse) StatusCode ¶
func (r SpacesDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SpacesListParams ¶
type SpacesListParams struct {
// Limit Number of results to return per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset The initial index from which to return the results.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Search Case-insensitive token search over: name.
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
SpacesListParams defines parameters for SpacesList.
type SpacesListResponse ¶
type SpacesListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedSpaceList
}
func ParseSpacesListResponse ¶
func ParseSpacesListResponse(rsp *http.Response) (*SpacesListResponse, error)
ParseSpacesListResponse parses an HTTP response from a SpacesListWithResponse call
func (SpacesListResponse) Status ¶
func (r SpacesListResponse) Status() string
Status returns HTTPResponse.Status
func (SpacesListResponse) StatusCode ¶
func (r SpacesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SpacesPartialUpdateFormdataRequestBody ¶
type SpacesPartialUpdateFormdataRequestBody = PatchedSpace
SpacesPartialUpdateFormdataRequestBody defines body for SpacesPartialUpdate for application/x-www-form-urlencoded ContentType.
type SpacesPartialUpdateJSONRequestBody ¶
type SpacesPartialUpdateJSONRequestBody = PatchedSpace
SpacesPartialUpdateJSONRequestBody defines body for SpacesPartialUpdate for application/json ContentType.
type SpacesPartialUpdateMultipartRequestBody ¶
type SpacesPartialUpdateMultipartRequestBody = PatchedSpace
SpacesPartialUpdateMultipartRequestBody defines body for SpacesPartialUpdate for multipart/form-data ContentType.
type SpacesPartialUpdateResponse ¶
func ParseSpacesPartialUpdateResponse ¶
func ParseSpacesPartialUpdateResponse(rsp *http.Response) (*SpacesPartialUpdateResponse, error)
ParseSpacesPartialUpdateResponse parses an HTTP response from a SpacesPartialUpdateWithResponse call
func (SpacesPartialUpdateResponse) Status ¶
func (r SpacesPartialUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (SpacesPartialUpdateResponse) StatusCode ¶
func (r SpacesPartialUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SpacesRetrieveResponse ¶
func ParseSpacesRetrieveResponse ¶
func ParseSpacesRetrieveResponse(rsp *http.Response) (*SpacesRetrieveResponse, error)
ParseSpacesRetrieveResponse parses an HTTP response from a SpacesRetrieveWithResponse call
func (SpacesRetrieveResponse) Status ¶
func (r SpacesRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (SpacesRetrieveResponse) StatusCode ¶
func (r SpacesRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SpacesUpdateFormdataRequestBody ¶
type SpacesUpdateFormdataRequestBody = Space
SpacesUpdateFormdataRequestBody defines body for SpacesUpdate for application/x-www-form-urlencoded ContentType.
type SpacesUpdateJSONRequestBody ¶
type SpacesUpdateJSONRequestBody = Space
SpacesUpdateJSONRequestBody defines body for SpacesUpdate for application/json ContentType.
type SpacesUpdateMultipartRequestBody ¶
type SpacesUpdateMultipartRequestBody = Space
SpacesUpdateMultipartRequestBody defines body for SpacesUpdate for multipart/form-data ContentType.
type SpacesUpdateResponse ¶
func ParseSpacesUpdateResponse ¶
func ParseSpacesUpdateResponse(rsp *http.Response) (*SpacesUpdateResponse, error)
ParseSpacesUpdateResponse parses an HTTP response from a SpacesUpdateWithResponse call
func (SpacesUpdateResponse) Status ¶
func (r SpacesUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (SpacesUpdateResponse) StatusCode ¶
func (r SpacesUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
Email *string `json:"email,omitempty"`
FirstName *string `json:"firstName,omitempty"`
Id *string `json:"id,omitempty"`
Image *string `json:"image"`
LastName *string `json:"lastName,omitempty"`
Timezone *string `json:"timezone"`
Url *string `json:"url,omitempty"`
}
User defines model for User.
type UsersListParams ¶
type UsersListParams struct {
// Email Exact match on email.
Email *string `form:"email,omitempty" json:"email,omitempty"`
// Limit Number of results to return per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset The initial index from which to return the results.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Search Case-insensitive token search over: first_name, last_name, email.
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
UsersListParams defines parameters for UsersList.
type UsersListResponse ¶
type UsersListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedUserList
}
func ParseUsersListResponse ¶
func ParseUsersListResponse(rsp *http.Response) (*UsersListResponse, error)
ParseUsersListResponse parses an HTTP response from a UsersListWithResponse call
func (UsersListResponse) Status ¶
func (r UsersListResponse) Status() string
Status returns HTTPResponse.Status
func (UsersListResponse) StatusCode ¶
func (r UsersListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsersMeRetrieveResponse ¶
func ParseUsersMeRetrieveResponse ¶
func ParseUsersMeRetrieveResponse(rsp *http.Response) (*UsersMeRetrieveResponse, error)
ParseUsersMeRetrieveResponse parses an HTTP response from a UsersMeRetrieveWithResponse call
func (UsersMeRetrieveResponse) Status ¶
func (r UsersMeRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (UsersMeRetrieveResponse) StatusCode ¶
func (r UsersMeRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsersRetrieveResponse ¶
func ParseUsersRetrieveResponse ¶
func ParseUsersRetrieveResponse(rsp *http.Response) (*UsersRetrieveResponse, error)
ParseUsersRetrieveResponse parses an HTTP response from a UsersRetrieveWithResponse call
func (UsersRetrieveResponse) Status ¶
func (r UsersRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (UsersRetrieveResponse) StatusCode ¶
func (r UsersRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode