Documentation
¶
Overview ¶
Package tiltifyApi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Package tiltifyApi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Package tiltifyApi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Index ¶
- func NewGetCampaignsIdChallengesRequest(server string, id int, params *GetCampaignsIdChallengesParams) (*http.Request, error)
- func NewGetCampaignsIdDonationsRequest(server string, id int, params *GetCampaignsIdDonationsParams) (*http.Request, error)
- func NewGetCampaignsIdPollsRequest(server string, id int, params *GetCampaignsIdPollsParams) (*http.Request, error)
- func NewGetCampaignsIdRequest(server string, id int) (*http.Request, error)
- func NewGetCampaignsIdRewardsRequest(server string, id int, params *GetCampaignsIdRewardsParams) (*http.Request, error)
- func NewGetCampaignsIdScheduleRequest(server string, id int, params *GetCampaignsIdScheduleParams) (*http.Request, error)
- func NewGetCampaignsIdSupportingCampaignsRequest(server string, id int, params *GetCampaignsIdSupportingCampaignsParams) (*http.Request, error)
- func NewGetCausesIdCampaignsRequest(server string, id int, params *GetCausesIdCampaignsParams) (*http.Request, error)
- func NewGetCausesIdFundraisingEventsRequest(server string, id int, params *GetCausesIdFundraisingEventsParams) (*http.Request, error)
- func NewGetCausesIdLeaderboardsRequest(server string, id int) (*http.Request, error)
- func NewGetCausesIdPermissionsRequest(server string, id int) (*http.Request, error)
- func NewGetCausesIdRequest(server string, id int) (*http.Request, error)
- func NewGetCausesIdVisibilityOptionsRequest(server string, id int, params *GetCausesIdVisibilityOptionsParams) (*http.Request, error)
- func NewGetCausesSlugRequest(server string, slug string) (*http.Request, error)
- func NewGetFundraisingEventsIdCampaignsRequest(server string, id int, params *GetFundraisingEventsIdCampaignsParams) (*http.Request, error)
- func NewGetFundraisingEventsIdIncentivesRequest(server string, id int, params *GetFundraisingEventsIdIncentivesParams) (*http.Request, error)
- func NewGetFundraisingEventsIdLeaderboardsRequest(server string, id int, params *GetFundraisingEventsIdLeaderboardsParams) (*http.Request, error)
- func NewGetFundraisingEventsIdRegistrationFieldsRequest(server string, id int, params *GetFundraisingEventsIdRegistrationFieldsParams) (*http.Request, error)
- func NewGetFundraisingEventsIdRegistrationsRequest(server string, id int, params *GetFundraisingEventsIdRegistrationsParams) (*http.Request, error)
- func NewGetFundraisingEventsIdRequest(server string, id int) (*http.Request, error)
- func NewGetFundraisingEventsIdScheduleRequest(server string, id int, params *GetFundraisingEventsIdScheduleParams) (*http.Request, error)
- func NewGetFundraisingEventsIdVisibilityOptionsRequest(server string, id int, params *GetFundraisingEventsIdVisibilityOptionsParams) (*http.Request, error)
- func NewGetFundraisingEventsRequest(server string, params *GetFundraisingEventsParams) (*http.Request, error)
- func NewGetTeamsIdCampaignsCidRequest(server string, id int, cid int) (*http.Request, error)
- func NewGetTeamsIdCampaignsRequest(server string, id int, params *GetTeamsIdCampaignsParams) (*http.Request, error)
- func NewGetTeamsIdRequest(server string, id int) (*http.Request, error)
- func NewGetTeamsRequest(server string, params *GetTeamsParams) (*http.Request, error)
- func NewGetUserRequest(server string) (*http.Request, error)
- func NewGetUsersIdCampaignsCidRequest(server string, id int, cid int) (*http.Request, error)
- func NewGetUsersIdCampaignsRequest(server string, id int, params *GetUsersIdCampaignsParams) (*http.Request, error)
- func NewGetUsersIdOwnedTeamsRequest(server string, id int, params *GetUsersIdOwnedTeamsParams) (*http.Request, error)
- func NewGetUsersIdRequest(server string, id int) (*http.Request, error)
- func NewGetUsersIdTeamsRequest(server string, id int, params *GetUsersIdTeamsParams) (*http.Request, error)
- func NewGetUsersSlugRequest(server string, slug string) (*http.Request, error)
- func NewPatchCausesIdVisibilityOptionsRequest(server string, id int) (*http.Request, error)
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type BadRequest
- type CampaignsId
- type CampaignsIdChallenges
- type CampaignsIdDonations
- type CampaignsIdPolls
- type CampaignsIdRewards
- type CampaignsIdSchedule
- type CampaignsIdSupportingCampaigns
- type CausesId
- type CausesIdCampaigns
- type CausesIdFundraisingEvents
- type CausesIdLeaderboards
- type CausesIdPermissions
- type CausesIdVisibilityOptions
- type Client
- func (c *Client) GetCampaignsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCampaignsIdChallenges(ctx context.Context, id int, params *GetCampaignsIdChallengesParams, ...) (*http.Response, error)
- func (c *Client) GetCampaignsIdDonations(ctx context.Context, id int, params *GetCampaignsIdDonationsParams, ...) (*http.Response, error)
- func (c *Client) GetCampaignsIdPolls(ctx context.Context, id int, params *GetCampaignsIdPollsParams, ...) (*http.Response, error)
- func (c *Client) GetCampaignsIdRewards(ctx context.Context, id int, params *GetCampaignsIdRewardsParams, ...) (*http.Response, error)
- func (c *Client) GetCampaignsIdSchedule(ctx context.Context, id int, params *GetCampaignsIdScheduleParams, ...) (*http.Response, error)
- func (c *Client) GetCampaignsIdSupportingCampaigns(ctx context.Context, id int, params *GetCampaignsIdSupportingCampaignsParams, ...) (*http.Response, error)
- func (c *Client) GetCausesId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCausesIdCampaigns(ctx context.Context, id int, params *GetCausesIdCampaignsParams, ...) (*http.Response, error)
- func (c *Client) GetCausesIdFundraisingEvents(ctx context.Context, id int, params *GetCausesIdFundraisingEventsParams, ...) (*http.Response, error)
- func (c *Client) GetCausesIdLeaderboards(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCausesIdPermissions(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCausesIdVisibilityOptions(ctx context.Context, id int, params *GetCausesIdVisibilityOptionsParams, ...) (*http.Response, error)
- func (c *Client) GetCausesSlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFundraisingEvents(ctx context.Context, params *GetFundraisingEventsParams, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdCampaigns(ctx context.Context, id int, params *GetFundraisingEventsIdCampaignsParams, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdIncentives(ctx context.Context, id int, params *GetFundraisingEventsIdIncentivesParams, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdLeaderboards(ctx context.Context, id int, params *GetFundraisingEventsIdLeaderboardsParams, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdRegistrationFields(ctx context.Context, id int, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdRegistrations(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationsParams, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdSchedule(ctx context.Context, id int, params *GetFundraisingEventsIdScheduleParams, ...) (*http.Response, error)
- func (c *Client) GetFundraisingEventsIdVisibilityOptions(ctx context.Context, id int, ...) (*http.Response, error)
- func (c *Client) GetTeams(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeamsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeamsIdCampaigns(ctx context.Context, id int, params *GetTeamsIdCampaignsParams, ...) (*http.Response, error)
- func (c *Client) GetTeamsIdCampaignsCid(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUsersId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUsersIdCampaigns(ctx context.Context, id int, params *GetUsersIdCampaignsParams, ...) (*http.Response, error)
- func (c *Client) GetUsersIdCampaignsCid(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUsersIdOwnedTeams(ctx context.Context, id int, params *GetUsersIdOwnedTeamsParams, ...) (*http.Response, error)
- func (c *Client) GetUsersIdTeams(ctx context.Context, id int, params *GetUsersIdTeamsParams, ...) (*http.Response, error)
- func (c *Client) GetUsersSlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchCausesIdVisibilityOptions(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GetCampaignsIdChallengesWithResponse(ctx context.Context, id int, params *GetCampaignsIdChallengesParams, ...) (*GetCampaignsIdChallengesResponse, error)
- func (c *ClientWithResponses) GetCampaignsIdDonationsWithResponse(ctx context.Context, id int, params *GetCampaignsIdDonationsParams, ...) (*GetCampaignsIdDonationsResponse, error)
- func (c *ClientWithResponses) GetCampaignsIdPollsWithResponse(ctx context.Context, id int, params *GetCampaignsIdPollsParams, ...) (*GetCampaignsIdPollsResponse, error)
- func (c *ClientWithResponses) GetCampaignsIdRewardsWithResponse(ctx context.Context, id int, params *GetCampaignsIdRewardsParams, ...) (*GetCampaignsIdRewardsResponse, error)
- func (c *ClientWithResponses) GetCampaignsIdScheduleWithResponse(ctx context.Context, id int, params *GetCampaignsIdScheduleParams, ...) (*GetCampaignsIdScheduleResponse, error)
- func (c *ClientWithResponses) GetCampaignsIdSupportingCampaignsWithResponse(ctx context.Context, id int, params *GetCampaignsIdSupportingCampaignsParams, ...) (*GetCampaignsIdSupportingCampaignsResponse, error)
- func (c *ClientWithResponses) GetCampaignsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCampaignsIdResponse, error)
- func (c *ClientWithResponses) GetCausesIdCampaignsWithResponse(ctx context.Context, id int, params *GetCausesIdCampaignsParams, ...) (*GetCausesIdCampaignsResponse, error)
- func (c *ClientWithResponses) GetCausesIdFundraisingEventsWithResponse(ctx context.Context, id int, params *GetCausesIdFundraisingEventsParams, ...) (*GetCausesIdFundraisingEventsResponse, error)
- func (c *ClientWithResponses) GetCausesIdLeaderboardsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdLeaderboardsResponse, error)
- func (c *ClientWithResponses) GetCausesIdPermissionsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdPermissionsResponse, error)
- func (c *ClientWithResponses) GetCausesIdVisibilityOptionsWithResponse(ctx context.Context, id int, params *GetCausesIdVisibilityOptionsParams, ...) (*GetCausesIdVisibilityOptionsResponse, error)
- func (c *ClientWithResponses) GetCausesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdResponse, error)
- func (c *ClientWithResponses) GetCausesSlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetCausesSlugResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdCampaignsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdCampaignsParams, ...) (*GetFundraisingEventsIdCampaignsResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdIncentivesWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdIncentivesParams, ...) (*GetFundraisingEventsIdIncentivesResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdLeaderboardsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdLeaderboardsParams, ...) (*GetFundraisingEventsIdLeaderboardsResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdRegistrationFieldsWithResponse(ctx context.Context, id int, ...) (*GetFundraisingEventsIdRegistrationFieldsResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdRegistrationsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationsParams, ...) (*GetFundraisingEventsIdRegistrationsResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdScheduleWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdScheduleParams, ...) (*GetFundraisingEventsIdScheduleResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdVisibilityOptionsWithResponse(ctx context.Context, id int, ...) (*GetFundraisingEventsIdVisibilityOptionsResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdResponse, error)
- func (c *ClientWithResponses) GetFundraisingEventsWithResponse(ctx context.Context, params *GetFundraisingEventsParams, ...) (*GetFundraisingEventsResponse, error)
- func (c *ClientWithResponses) GetTeamsIdCampaignsCidWithResponse(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*GetTeamsIdCampaignsCidResponse, error)
- func (c *ClientWithResponses) GetTeamsIdCampaignsWithResponse(ctx context.Context, id int, params *GetTeamsIdCampaignsParams, ...) (*GetTeamsIdCampaignsResponse, error)
- func (c *ClientWithResponses) GetTeamsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetTeamsIdResponse, error)
- func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
- func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
- func (c *ClientWithResponses) GetUsersIdCampaignsCidWithResponse(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*GetUsersIdCampaignsCidResponse, error)
- func (c *ClientWithResponses) GetUsersIdCampaignsWithResponse(ctx context.Context, id int, params *GetUsersIdCampaignsParams, ...) (*GetUsersIdCampaignsResponse, error)
- func (c *ClientWithResponses) GetUsersIdOwnedTeamsWithResponse(ctx context.Context, id int, params *GetUsersIdOwnedTeamsParams, ...) (*GetUsersIdOwnedTeamsResponse, error)
- func (c *ClientWithResponses) GetUsersIdTeamsWithResponse(ctx context.Context, id int, params *GetUsersIdTeamsParams, ...) (*GetUsersIdTeamsResponse, error)
- func (c *ClientWithResponses) GetUsersIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetUsersIdResponse, error)
- func (c *ClientWithResponses) GetUsersSlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetUsersSlugResponse, error)
- func (c *ClientWithResponses) PatchCausesIdVisibilityOptionsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PatchCausesIdVisibilityOptionsResponse, error)
- type ClientWithResponsesInterface
- type EchoRouter
- type Error
- type Forbidden
- type FundraisingEvents
- type FundraisingEventsId
- type FundraisingEventsIdCampaigns
- type FundraisingEventsIdIncentives
- type FundraisingEventsIdLeaderboards
- type FundraisingEventsIdRegistrationFields
- type FundraisingEventsIdRegistrations
- type FundraisingEventsIdSchedule
- type FundraisingEventsIdVisibilityOptions
- type GetCampaignsIdChallengesParams
- type GetCampaignsIdChallengesResponse
- type GetCampaignsIdDonationsParams
- type GetCampaignsIdDonationsResponse
- type GetCampaignsIdPollsParams
- type GetCampaignsIdPollsResponse
- type GetCampaignsIdResponse
- type GetCampaignsIdRewardsParams
- type GetCampaignsIdRewardsResponse
- type GetCampaignsIdScheduleParams
- type GetCampaignsIdScheduleResponse
- type GetCampaignsIdSupportingCampaignsParams
- type GetCampaignsIdSupportingCampaignsResponse
- type GetCausesIdCampaignsParams
- type GetCausesIdCampaignsResponse
- type GetCausesIdFundraisingEventsParams
- type GetCausesIdFundraisingEventsResponse
- type GetCausesIdLeaderboardsResponse
- type GetCausesIdPermissionsResponse
- type GetCausesIdResponse
- type GetCausesIdVisibilityOptionsParams
- type GetCausesIdVisibilityOptionsResponse
- type GetCausesSlugResponse
- type GetFundraisingEventsIdCampaignsParams
- type GetFundraisingEventsIdCampaignsResponse
- type GetFundraisingEventsIdIncentivesParams
- type GetFundraisingEventsIdIncentivesResponse
- type GetFundraisingEventsIdLeaderboardsParams
- type GetFundraisingEventsIdLeaderboardsResponse
- type GetFundraisingEventsIdRegistrationFieldsParams
- type GetFundraisingEventsIdRegistrationFieldsResponse
- type GetFundraisingEventsIdRegistrationsParams
- type GetFundraisingEventsIdRegistrationsResponse
- type GetFundraisingEventsIdResponse
- type GetFundraisingEventsIdScheduleParams
- type GetFundraisingEventsIdScheduleResponse
- type GetFundraisingEventsIdVisibilityOptionsParams
- type GetFundraisingEventsIdVisibilityOptionsResponse
- type GetFundraisingEventsParams
- type GetFundraisingEventsResponse
- type GetTeamsIdCampaignsCidResponse
- type GetTeamsIdCampaignsParams
- type GetTeamsIdCampaignsResponse
- type GetTeamsIdResponse
- type GetTeamsParams
- type GetTeamsResponse
- type GetUserResponse
- type GetUsersIdCampaignsCidResponse
- type GetUsersIdCampaignsParams
- type GetUsersIdCampaignsResponse
- type GetUsersIdOwnedTeamsParams
- type GetUsersIdOwnedTeamsResponse
- type GetUsersIdResponse
- type GetUsersIdTeamsParams
- type GetUsersIdTeamsResponse
- type GetUsersSlugResponse
- type HttpRequestDoer
- type Image
- type LinkParams
- type Livestream
- type Meta
- type NotAuthorized
- type NotFound
- type Pagination
- type PatchCausesIdVisibilityOptionsResponse
- type RequestEditorFn
- type ServerError
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) GetCampaignsId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampaignsIdChallenges(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampaignsIdDonations(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampaignsIdPolls(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampaignsIdRewards(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampaignsIdSchedule(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampaignsIdSupportingCampaigns(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesIdCampaigns(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesIdFundraisingEvents(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesIdLeaderboards(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesIdPermissions(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesIdVisibilityOptions(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCausesSlug(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEvents(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdCampaigns(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdIncentives(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdLeaderboards(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdRegistrationFields(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdRegistrations(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdSchedule(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFundraisingEventsIdVisibilityOptions(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetTeams(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetTeamsId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetTeamsIdCampaigns(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetTeamsIdCampaignsCid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUser(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUsersId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUsersIdCampaigns(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUsersIdCampaignsCid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUsersIdOwnedTeams(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUsersIdTeams(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetUsersSlug(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PatchCausesIdVisibilityOptions(ctx echo.Context) error
- type Social
- type Teams
- type TeamsId
- type TeamsIdCampaigns
- type TeamsIdCampaignsId
- type Unprocessable
- type User
- type UsersId
- type UsersIdCampaigns
- type UsersIdCampaignsId
- type UsersIdOwnedTeams
- type UsersIdTeams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetCampaignsIdChallengesRequest ¶
func NewGetCampaignsIdChallengesRequest(server string, id int, params *GetCampaignsIdChallengesParams) (*http.Request, error)
NewGetCampaignsIdChallengesRequest generates requests for GetCampaignsIdChallenges
func NewGetCampaignsIdDonationsRequest ¶
func NewGetCampaignsIdDonationsRequest(server string, id int, params *GetCampaignsIdDonationsParams) (*http.Request, error)
NewGetCampaignsIdDonationsRequest generates requests for GetCampaignsIdDonations
func NewGetCampaignsIdPollsRequest ¶
func NewGetCampaignsIdPollsRequest(server string, id int, params *GetCampaignsIdPollsParams) (*http.Request, error)
NewGetCampaignsIdPollsRequest generates requests for GetCampaignsIdPolls
func NewGetCampaignsIdRequest ¶
NewGetCampaignsIdRequest generates requests for GetCampaignsId
func NewGetCampaignsIdRewardsRequest ¶
func NewGetCampaignsIdRewardsRequest(server string, id int, params *GetCampaignsIdRewardsParams) (*http.Request, error)
NewGetCampaignsIdRewardsRequest generates requests for GetCampaignsIdRewards
func NewGetCampaignsIdScheduleRequest ¶
func NewGetCampaignsIdScheduleRequest(server string, id int, params *GetCampaignsIdScheduleParams) (*http.Request, error)
NewGetCampaignsIdScheduleRequest generates requests for GetCampaignsIdSchedule
func NewGetCampaignsIdSupportingCampaignsRequest ¶
func NewGetCampaignsIdSupportingCampaignsRequest(server string, id int, params *GetCampaignsIdSupportingCampaignsParams) (*http.Request, error)
NewGetCampaignsIdSupportingCampaignsRequest generates requests for GetCampaignsIdSupportingCampaigns
func NewGetCausesIdCampaignsRequest ¶
func NewGetCausesIdCampaignsRequest(server string, id int, params *GetCausesIdCampaignsParams) (*http.Request, error)
NewGetCausesIdCampaignsRequest generates requests for GetCausesIdCampaigns
func NewGetCausesIdFundraisingEventsRequest ¶
func NewGetCausesIdFundraisingEventsRequest(server string, id int, params *GetCausesIdFundraisingEventsParams) (*http.Request, error)
NewGetCausesIdFundraisingEventsRequest generates requests for GetCausesIdFundraisingEvents
func NewGetCausesIdLeaderboardsRequest ¶
NewGetCausesIdLeaderboardsRequest generates requests for GetCausesIdLeaderboards
func NewGetCausesIdPermissionsRequest ¶
NewGetCausesIdPermissionsRequest generates requests for GetCausesIdPermissions
func NewGetCausesIdRequest ¶
NewGetCausesIdRequest generates requests for GetCausesId
func NewGetCausesIdVisibilityOptionsRequest ¶
func NewGetCausesIdVisibilityOptionsRequest(server string, id int, params *GetCausesIdVisibilityOptionsParams) (*http.Request, error)
NewGetCausesIdVisibilityOptionsRequest generates requests for GetCausesIdVisibilityOptions
func NewGetCausesSlugRequest ¶ added in v0.0.3
NewGetCausesSlugRequest generates requests for GetCausesSlug
func NewGetFundraisingEventsIdCampaignsRequest ¶
func NewGetFundraisingEventsIdCampaignsRequest(server string, id int, params *GetFundraisingEventsIdCampaignsParams) (*http.Request, error)
NewGetFundraisingEventsIdCampaignsRequest generates requests for GetFundraisingEventsIdCampaigns
func NewGetFundraisingEventsIdIncentivesRequest ¶
func NewGetFundraisingEventsIdIncentivesRequest(server string, id int, params *GetFundraisingEventsIdIncentivesParams) (*http.Request, error)
NewGetFundraisingEventsIdIncentivesRequest generates requests for GetFundraisingEventsIdIncentives
func NewGetFundraisingEventsIdLeaderboardsRequest ¶
func NewGetFundraisingEventsIdLeaderboardsRequest(server string, id int, params *GetFundraisingEventsIdLeaderboardsParams) (*http.Request, error)
NewGetFundraisingEventsIdLeaderboardsRequest generates requests for GetFundraisingEventsIdLeaderboards
func NewGetFundraisingEventsIdRegistrationFieldsRequest ¶
func NewGetFundraisingEventsIdRegistrationFieldsRequest(server string, id int, params *GetFundraisingEventsIdRegistrationFieldsParams) (*http.Request, error)
NewGetFundraisingEventsIdRegistrationFieldsRequest generates requests for GetFundraisingEventsIdRegistrationFields
func NewGetFundraisingEventsIdRegistrationsRequest ¶
func NewGetFundraisingEventsIdRegistrationsRequest(server string, id int, params *GetFundraisingEventsIdRegistrationsParams) (*http.Request, error)
NewGetFundraisingEventsIdRegistrationsRequest generates requests for GetFundraisingEventsIdRegistrations
func NewGetFundraisingEventsIdRequest ¶
NewGetFundraisingEventsIdRequest generates requests for GetFundraisingEventsId
func NewGetFundraisingEventsIdScheduleRequest ¶
func NewGetFundraisingEventsIdScheduleRequest(server string, id int, params *GetFundraisingEventsIdScheduleParams) (*http.Request, error)
NewGetFundraisingEventsIdScheduleRequest generates requests for GetFundraisingEventsIdSchedule
func NewGetFundraisingEventsIdVisibilityOptionsRequest ¶
func NewGetFundraisingEventsIdVisibilityOptionsRequest(server string, id int, params *GetFundraisingEventsIdVisibilityOptionsParams) (*http.Request, error)
NewGetFundraisingEventsIdVisibilityOptionsRequest generates requests for GetFundraisingEventsIdVisibilityOptions
func NewGetFundraisingEventsRequest ¶
func NewGetFundraisingEventsRequest(server string, params *GetFundraisingEventsParams) (*http.Request, error)
NewGetFundraisingEventsRequest generates requests for GetFundraisingEvents
func NewGetTeamsIdCampaignsCidRequest ¶
NewGetTeamsIdCampaignsCidRequest generates requests for GetTeamsIdCampaignsCid
func NewGetTeamsIdCampaignsRequest ¶
func NewGetTeamsIdCampaignsRequest(server string, id int, params *GetTeamsIdCampaignsParams) (*http.Request, error)
NewGetTeamsIdCampaignsRequest generates requests for GetTeamsIdCampaigns
func NewGetTeamsIdRequest ¶
NewGetTeamsIdRequest generates requests for GetTeamsId
func NewGetTeamsRequest ¶
func NewGetTeamsRequest(server string, params *GetTeamsParams) (*http.Request, error)
NewGetTeamsRequest generates requests for GetTeams
func NewGetUserRequest ¶
NewGetUserRequest generates requests for GetUser
func NewGetUsersIdCampaignsCidRequest ¶
NewGetUsersIdCampaignsCidRequest generates requests for GetUsersIdCampaignsCid
func NewGetUsersIdCampaignsRequest ¶
func NewGetUsersIdCampaignsRequest(server string, id int, params *GetUsersIdCampaignsParams) (*http.Request, error)
NewGetUsersIdCampaignsRequest generates requests for GetUsersIdCampaigns
func NewGetUsersIdOwnedTeamsRequest ¶
func NewGetUsersIdOwnedTeamsRequest(server string, id int, params *GetUsersIdOwnedTeamsParams) (*http.Request, error)
NewGetUsersIdOwnedTeamsRequest generates requests for GetUsersIdOwnedTeams
func NewGetUsersIdRequest ¶
NewGetUsersIdRequest generates requests for GetUsersId
func NewGetUsersIdTeamsRequest ¶
func NewGetUsersIdTeamsRequest(server string, id int, params *GetUsersIdTeamsParams) (*http.Request, error)
NewGetUsersIdTeamsRequest generates requests for GetUsersIdTeams
func NewGetUsersSlugRequest ¶ added in v0.0.3
NewGetUsersSlugRequest generates requests for GetUsersSlug
func NewPatchCausesIdVisibilityOptionsRequest ¶
NewPatchCausesIdVisibilityOptionsRequest generates requests for PatchCausesIdVisibilityOptions
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
Types ¶
type BadRequest ¶
type BadRequest Error
error response body. Only included in Post and Patch requests.
type CampaignsId ¶ added in v0.0.4
type CampaignsId struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Description *string `json:"description,omitempty"`
EndsAt *int `json:"endsAt,omitempty"`
FundraiserGoalAmount *float32 `json:"fundraiserGoalAmount,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Id *int `json:"id,omitempty"`
Livestream *Livestream `json:"livestream,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoalAmount *float32 `json:"originalGoalAmount,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
Status *string `json:"status,omitempty"`
Supportable *bool `json:"supportable,omitempty"`
SupportingAmountRaised *float32 `json:"supportingAmountRaised,omitempty"`
Team *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"team,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
User *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"user,omitempty"`
}
CampaignsId defines model for CampaignsId.
type CampaignsIdChallenges ¶ added in v0.0.4
type CampaignsIdChallenges struct {
ActivatesOn *int `json:"activatesOn,omitempty"`
Active *bool `json:"active,omitempty"`
Amount *float32 `json:"amount,omitempty"`
CampaignId *int `json:"campaignId,omitempty"`
CreatedAt *int `json:"createdAt,omitempty"`
EndsAt *int `json:"endsAt,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
CampaignsIdChallenges defines model for CampaignsIdChallenges.
type CampaignsIdDonations ¶ added in v0.0.4
type CampaignsIdDonations struct {
Amount *float32 `json:"amount,omitempty"`
Comment *string `json:"comment,omitempty"`
CompletedAt *int `json:"completedAt,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
RewardId *int `json:"rewardId,omitempty"`
}
CampaignsIdDonations defines model for CampaignsIdDonations.
type CampaignsIdPolls ¶ added in v0.0.4
type CampaignsIdPolls struct {
Active *bool `json:"active,omitempty"`
CampaignId *int `json:"campaignId,omitempty"`
CreatedAt *int `json:"createdAt,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Options *[]struct {
CreatedAt *int `json:"createdAt,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
PollId *int `json:"pollId,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
} `json:"options,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
CampaignsIdPolls defines model for CampaignsIdPolls.
type CampaignsIdRewards ¶ added in v0.0.4
type CampaignsIdRewards []struct {
Active *bool `json:"active,omitempty"`
Amount *float32 `json:"amount,omitempty"`
CreatedAt *int `json:"createdAt,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
FairMarketValue *int `json:"fairMarketValue,omitempty"`
Id *int `json:"id,omitempty"`
Image *Image `json:"image,omitempty"`
Kind *string `json:"kind,omitempty"`
Name *string `json:"name,omitempty"`
Quantity *map[string]interface{} `json:"quantity,omitempty"`
Remaining *map[string]interface{} `json:"remaining,omitempty"`
ShippingAddressRequired *bool `json:"shippingAddressRequired,omitempty"`
ShippingNote *map[string]interface{} `json:"shippingNote,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
CampaignsIdRewards defines model for CampaignsIdRewards.
type CampaignsIdSchedule ¶ added in v0.0.4
type CampaignsIdSchedule []struct {
Description *string `json:"description,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
}
CampaignsIdSchedule defines model for CampaignsIdSchedule.
type CampaignsIdSupportingCampaigns ¶ added in v0.0.4
type CampaignsIdSupportingCampaigns []struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Goal *int `json:"goal,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoal *int `json:"originalGoal,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
TeamId *map[string]interface{} `json:"teamId,omitempty"`
Thumbnail *Image `json:"thumbnail,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
UserId *int `json:"userId,omitempty"`
}
CampaignsIdSupportingCampaigns defines model for CampaignsIdSupportingCampaigns.
type CausesId ¶ added in v0.0.4
type CausesId struct {
About *string `json:"about,omitempty"`
Address *struct {
AddressLine1 *string `json:"addressLine1,omitempty"`
AddressLine2 *string `json:"addressLine2,omitempty"`
City *string `json:"city,omitempty"`
Country *string `json:"country,omitempty"`
PostalCode *string `json:"postalCode,omitempty"`
Region *string `json:"region,omitempty"`
} `json:"address,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
Banner *Image `json:"banner,omitempty"`
ContactEmail *string `json:"contactEmail,omitempty"`
Currency *string `json:"currency,omitempty"`
Id *int `json:"id,omitempty"`
Image *Image `json:"image,omitempty"`
LegalName *string `json:"legalName,omitempty"`
Logo *Image `json:"logo,omitempty"`
MailchimpConnected *bool `json:"mailchimpConnected,omitempty"`
Name *string `json:"name,omitempty"`
PaypalCurrencyCode *string `json:"paypalCurrencyCode,omitempty"`
PaypalEmail *string `json:"paypalEmail,omitempty"`
Settings *struct {
Colors *struct {
Background *string `json:"background,omitempty"`
Highlight *string `json:"highlight,omitempty"`
} `json:"colors,omitempty"`
FindOutMoreLink *string `json:"findOutMoreLink,omitempty"`
FooterCopyright *string `json:"footerCopyright,omitempty"`
HeaderIntro *string `json:"headerIntro,omitempty"`
HeaderTitle *string `json:"headerTitle,omitempty"`
} `json:"settings,omitempty"`
Slug *string `json:"slug,omitempty"`
Social *struct {
Facebook *string `json:"facebook,omitempty"`
Instagram *string `json:"instagram,omitempty"`
Twitter *string `json:"twitter,omitempty"`
Youtube *string `json:"youtube,omitempty"`
} `json:"social,omitempty"`
Status *string `json:"status,omitempty"`
StripeConnected *bool `json:"stripeConnected,omitempty"`
Video *string `json:"video,omitempty"`
}
CausesId defines model for CausesId.
type CausesIdCampaigns ¶ added in v0.0.4
type CausesIdCampaigns []struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Goal *int `json:"goal,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoal *int `json:"originalGoal,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
TeamId *map[string]interface{} `json:"teamId,omitempty"`
Thumbnail *Image `json:"thumbnail,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
UserId *int `json:"userId,omitempty"`
}
CausesIdCampaigns defines model for CausesIdCampaigns.
type CausesIdFundraisingEvents ¶ added in v0.0.4
type CausesIdFundraisingEvents []struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
Banner *Image `json:"banner,omitempty"`
BannerIntro *string `json:"bannerIntro,omitempty"`
BannerTitle *string `json:"bannerTitle,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
Goal *int `json:"goal,omitempty"`
Id *int `json:"id,omitempty"`
Image *Image `json:"image,omitempty"`
Logo *Image `json:"logo,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
Url *string `json:"url,omitempty"`
Video *Image `json:"video,omitempty"`
}
CausesIdFundraisingEvents defines model for CausesIdFundraisingEvents.
type CausesIdLeaderboards ¶ added in v0.0.4
type CausesIdLeaderboards struct {
Individual *[]struct {
AmountRaised *float32 `json:"amount_raised,omitempty"`
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
UserId *int `json:"userId,omitempty"`
} `json:"individual,omitempty"`
Team *[]struct {
AmountRaised *float32 `json:"amount_raised,omitempty"`
Name *string `json:"name,omitempty"`
TeamId *int `json:"teamId,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"team,omitempty"`
}
CausesIdLeaderboards defines model for CausesIdLeaderboards.
type CausesIdPermissions ¶ added in v0.0.4
type CausesIdPermissions struct {
Activated *bool `json:"activated,omitempty"`
AdminApiEnabled *bool `json:"adminApiEnabled,omitempty"`
AdminBrandingColors *bool `json:"adminBrandingColors,omitempty"`
AdminBrandingDetails *bool `json:"adminBrandingDetails,omitempty"`
AdminBrandingEnabled *bool `json:"adminBrandingEnabled,omitempty"`
AdminBrandingImages *bool `json:"adminBrandingImages,omitempty"`
AdminEnabled *bool `json:"adminEnabled,omitempty"`
AdminFinanceEnabled *bool `json:"adminFinanceEnabled,omitempty"`
AdminGeneralEnabled *bool `json:"adminGeneralEnabled,omitempty"`
AdminIntegrationsEnabled *bool `json:"adminIntegrationsEnabled,omitempty"`
AdminVisibilityEnabled *bool `json:"adminVisibilityEnabled,omitempty"`
CauseLeaderboard *bool `json:"causeLeaderboard,omitempty"`
DashboardChart *bool `json:"dashboardChart,omitempty"`
DashboardEnabled *bool `json:"dashboardEnabled,omitempty"`
FundraisingEventsEnabled *bool `json:"fundraisingEventsEnabled,omitempty"`
FundraisingEventsGeneralColors *bool `json:"fundraisingEventsGeneralColors,omitempty"`
FundraisingEventsGeneralDetails *bool `json:"fundraisingEventsGeneralDetails,omitempty"`
FundraisingEventsGeneralEnabled *bool `json:"fundraisingEventsGeneralEnabled,omitempty"`
FundraisingEventsGeneralImages *bool `json:"fundraisingEventsGeneralImages,omitempty"`
FundraisingEventsIncentives *bool `json:"fundraisingEventsIncentives,omitempty"`
FundraisingEventsLeaderboard *bool `json:"fundraisingEventsLeaderboard,omitempty"`
FundraisingEventsRegistrationEnabled *bool `json:"fundraisingEventsRegistrationEnabled,omitempty"`
FundraisingEventsReporting *bool `json:"fundraisingEventsReporting,omitempty"`
FundraisingEventsReportingCampaigns *bool `json:"fundraisingEventsReportingCampaigns,omitempty"`
FundraisingEventsReportingDonations *bool `json:"fundraisingEventsReportingDonations,omitempty"`
FundraisingEventsReportingFundraisers *bool `json:"fundraisingEventsReportingFundraisers,omitempty"`
FundraisingEventsSchedule *bool `json:"fundraisingEventsSchedule,omitempty"`
FundraisingEventsVisibilityDetails *bool `json:"fundraisingEventsVisibilityDetails,omitempty"`
FundraisingEventsVisibilityEnabled *bool `json:"fundraisingEventsVisibilityEnabled,omitempty"`
FundraisingEventsVisibilityLeaderboards *bool `json:"fundraisingEventsVisibilityLeaderboards,omitempty"`
ReportingCampaigns *bool `json:"reportingCampaigns,omitempty"`
ReportingChart *bool `json:"reportingChart,omitempty"`
ReportingDonations *bool `json:"reportingDonations,omitempty"`
ReportingEnabled *bool `json:"reportingEnabled,omitempty"`
ReportingFundraisers *bool `json:"reportingFundraisers,omitempty"`
}
CausesIdPermissions defines model for CausesIdPermissions.
type CausesIdVisibilityOptions ¶ added in v0.0.4
type CausesIdVisibilityOptions struct {
Donate *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"donate,omitempty"`
IndividualLeaderboard *struct {
Type *string `json:"type,omitempty"`
Visible *bool `json:"visible,omitempty"`
} `json:"individual_leaderboard,omitempty"`
TeamLeaderboard *struct {
Type *string `json:"type,omitempty"`
Visible *bool `json:"visible,omitempty"`
} `json:"team_leaderboard,omitempty"`
}
CausesIdVisibilityOptions defines model for CausesIdVisibilityOptions.
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) GetCampaignsId ¶
func (*Client) GetCampaignsIdChallenges ¶
func (c *Client) GetCampaignsIdChallenges(ctx context.Context, id int, params *GetCampaignsIdChallengesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCampaignsIdDonations ¶
func (c *Client) GetCampaignsIdDonations(ctx context.Context, id int, params *GetCampaignsIdDonationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCampaignsIdPolls ¶
func (c *Client) GetCampaignsIdPolls(ctx context.Context, id int, params *GetCampaignsIdPollsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCampaignsIdRewards ¶
func (c *Client) GetCampaignsIdRewards(ctx context.Context, id int, params *GetCampaignsIdRewardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCampaignsIdSchedule ¶
func (c *Client) GetCampaignsIdSchedule(ctx context.Context, id int, params *GetCampaignsIdScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCampaignsIdSupportingCampaigns ¶
func (c *Client) GetCampaignsIdSupportingCampaigns(ctx context.Context, id int, params *GetCampaignsIdSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCausesId ¶
func (*Client) GetCausesIdCampaigns ¶
func (c *Client) GetCausesIdCampaigns(ctx context.Context, id int, params *GetCausesIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCausesIdFundraisingEvents ¶
func (c *Client) GetCausesIdFundraisingEvents(ctx context.Context, id int, params *GetCausesIdFundraisingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCausesIdLeaderboards ¶
func (*Client) GetCausesIdPermissions ¶
func (*Client) GetCausesIdVisibilityOptions ¶
func (c *Client) GetCausesIdVisibilityOptions(ctx context.Context, id int, params *GetCausesIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCausesSlug ¶ added in v0.0.3
func (*Client) GetFundraisingEvents ¶
func (c *Client) GetFundraisingEvents(ctx context.Context, params *GetFundraisingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsId ¶
func (*Client) GetFundraisingEventsIdCampaigns ¶
func (c *Client) GetFundraisingEventsIdCampaigns(ctx context.Context, id int, params *GetFundraisingEventsIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsIdIncentives ¶
func (c *Client) GetFundraisingEventsIdIncentives(ctx context.Context, id int, params *GetFundraisingEventsIdIncentivesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsIdLeaderboards ¶
func (c *Client) GetFundraisingEventsIdLeaderboards(ctx context.Context, id int, params *GetFundraisingEventsIdLeaderboardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsIdRegistrationFields ¶
func (c *Client) GetFundraisingEventsIdRegistrationFields(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsIdRegistrations ¶
func (c *Client) GetFundraisingEventsIdRegistrations(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsIdSchedule ¶
func (c *Client) GetFundraisingEventsIdSchedule(ctx context.Context, id int, params *GetFundraisingEventsIdScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFundraisingEventsIdVisibilityOptions ¶
func (c *Client) GetFundraisingEventsIdVisibilityOptions(ctx context.Context, id int, params *GetFundraisingEventsIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTeams ¶
func (c *Client) GetTeams(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTeamsId ¶
func (*Client) GetTeamsIdCampaigns ¶
func (c *Client) GetTeamsIdCampaigns(ctx context.Context, id int, params *GetTeamsIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTeamsIdCampaignsCid ¶
func (*Client) GetUsersId ¶
func (*Client) GetUsersIdCampaigns ¶
func (c *Client) GetUsersIdCampaigns(ctx context.Context, id int, params *GetUsersIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUsersIdCampaignsCid ¶
func (*Client) GetUsersIdOwnedTeams ¶
func (c *Client) GetUsersIdOwnedTeams(ctx context.Context, id int, params *GetUsersIdOwnedTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUsersIdTeams ¶
func (c *Client) GetUsersIdTeams(ctx context.Context, id int, params *GetUsersIdTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUsersSlug ¶ added in v0.0.3
func (*Client) PatchCausesIdVisibilityOptions ¶
type ClientInterface ¶
type ClientInterface interface {
// GetCampaignsId request
GetCampaignsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsIdChallenges request
GetCampaignsIdChallenges(ctx context.Context, id int, params *GetCampaignsIdChallengesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsIdDonations request
GetCampaignsIdDonations(ctx context.Context, id int, params *GetCampaignsIdDonationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsIdPolls request
GetCampaignsIdPolls(ctx context.Context, id int, params *GetCampaignsIdPollsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsIdRewards request
GetCampaignsIdRewards(ctx context.Context, id int, params *GetCampaignsIdRewardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsIdSchedule request
GetCampaignsIdSchedule(ctx context.Context, id int, params *GetCampaignsIdScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsIdSupportingCampaigns request
GetCampaignsIdSupportingCampaigns(ctx context.Context, id int, params *GetCampaignsIdSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesId request
GetCausesId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesIdCampaigns request
GetCausesIdCampaigns(ctx context.Context, id int, params *GetCausesIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesIdFundraisingEvents request
GetCausesIdFundraisingEvents(ctx context.Context, id int, params *GetCausesIdFundraisingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesIdLeaderboards request
GetCausesIdLeaderboards(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesIdPermissions request
GetCausesIdPermissions(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesIdVisibilityOptions request
GetCausesIdVisibilityOptions(ctx context.Context, id int, params *GetCausesIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchCausesIdVisibilityOptions request
PatchCausesIdVisibilityOptions(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCausesSlug request
GetCausesSlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEvents request
GetFundraisingEvents(ctx context.Context, params *GetFundraisingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsId request
GetFundraisingEventsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdCampaigns request
GetFundraisingEventsIdCampaigns(ctx context.Context, id int, params *GetFundraisingEventsIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdIncentives request
GetFundraisingEventsIdIncentives(ctx context.Context, id int, params *GetFundraisingEventsIdIncentivesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdLeaderboards request
GetFundraisingEventsIdLeaderboards(ctx context.Context, id int, params *GetFundraisingEventsIdLeaderboardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdRegistrationFields request
GetFundraisingEventsIdRegistrationFields(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdRegistrations request
GetFundraisingEventsIdRegistrations(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdSchedule request
GetFundraisingEventsIdSchedule(ctx context.Context, id int, params *GetFundraisingEventsIdScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFundraisingEventsIdVisibilityOptions request
GetFundraisingEventsIdVisibilityOptions(ctx context.Context, id int, params *GetFundraisingEventsIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeams request
GetTeams(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamsId request
GetTeamsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamsIdCampaigns request
GetTeamsIdCampaigns(ctx context.Context, id int, params *GetTeamsIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamsIdCampaignsCid request
GetTeamsIdCampaignsCid(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUser request
GetUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersId request
GetUsersId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersIdCampaigns request
GetUsersIdCampaigns(ctx context.Context, id int, params *GetUsersIdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersIdCampaignsCid request
GetUsersIdCampaignsCid(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersIdOwnedTeams request
GetUsersIdOwnedTeams(ctx context.Context, id int, params *GetUsersIdOwnedTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersIdTeams request
GetUsersIdTeams(ctx context.Context, id int, params *GetUsersIdTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersSlug request
GetUsersSlug(ctx context.Context, slug 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 GetClientWithKey ¶ added in v0.0.5
func GetClientWithKey(key string) (*ClientWithResponses, error)
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) GetCampaignsIdChallengesWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdChallengesWithResponse(ctx context.Context, id int, params *GetCampaignsIdChallengesParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdChallengesResponse, error)
GetCampaignsIdChallengesWithResponse request returning *GetCampaignsIdChallengesResponse
func (*ClientWithResponses) GetCampaignsIdDonationsWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdDonationsWithResponse(ctx context.Context, id int, params *GetCampaignsIdDonationsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdDonationsResponse, error)
GetCampaignsIdDonationsWithResponse request returning *GetCampaignsIdDonationsResponse
func (*ClientWithResponses) GetCampaignsIdPollsWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdPollsWithResponse(ctx context.Context, id int, params *GetCampaignsIdPollsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdPollsResponse, error)
GetCampaignsIdPollsWithResponse request returning *GetCampaignsIdPollsResponse
func (*ClientWithResponses) GetCampaignsIdRewardsWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdRewardsWithResponse(ctx context.Context, id int, params *GetCampaignsIdRewardsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdRewardsResponse, error)
GetCampaignsIdRewardsWithResponse request returning *GetCampaignsIdRewardsResponse
func (*ClientWithResponses) GetCampaignsIdScheduleWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdScheduleWithResponse(ctx context.Context, id int, params *GetCampaignsIdScheduleParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdScheduleResponse, error)
GetCampaignsIdScheduleWithResponse request returning *GetCampaignsIdScheduleResponse
func (*ClientWithResponses) GetCampaignsIdSupportingCampaignsWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdSupportingCampaignsWithResponse(ctx context.Context, id int, params *GetCampaignsIdSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdSupportingCampaignsResponse, error)
GetCampaignsIdSupportingCampaignsWithResponse request returning *GetCampaignsIdSupportingCampaignsResponse
func (*ClientWithResponses) GetCampaignsIdWithResponse ¶
func (c *ClientWithResponses) GetCampaignsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCampaignsIdResponse, error)
GetCampaignsIdWithResponse request returning *GetCampaignsIdResponse
func (*ClientWithResponses) GetCausesIdCampaignsWithResponse ¶
func (c *ClientWithResponses) GetCausesIdCampaignsWithResponse(ctx context.Context, id int, params *GetCausesIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetCausesIdCampaignsResponse, error)
GetCausesIdCampaignsWithResponse request returning *GetCausesIdCampaignsResponse
func (*ClientWithResponses) GetCausesIdFundraisingEventsWithResponse ¶
func (c *ClientWithResponses) GetCausesIdFundraisingEventsWithResponse(ctx context.Context, id int, params *GetCausesIdFundraisingEventsParams, reqEditors ...RequestEditorFn) (*GetCausesIdFundraisingEventsResponse, error)
GetCausesIdFundraisingEventsWithResponse request returning *GetCausesIdFundraisingEventsResponse
func (*ClientWithResponses) GetCausesIdLeaderboardsWithResponse ¶
func (c *ClientWithResponses) GetCausesIdLeaderboardsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdLeaderboardsResponse, error)
GetCausesIdLeaderboardsWithResponse request returning *GetCausesIdLeaderboardsResponse
func (*ClientWithResponses) GetCausesIdPermissionsWithResponse ¶
func (c *ClientWithResponses) GetCausesIdPermissionsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdPermissionsResponse, error)
GetCausesIdPermissionsWithResponse request returning *GetCausesIdPermissionsResponse
func (*ClientWithResponses) GetCausesIdVisibilityOptionsWithResponse ¶
func (c *ClientWithResponses) GetCausesIdVisibilityOptionsWithResponse(ctx context.Context, id int, params *GetCausesIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*GetCausesIdVisibilityOptionsResponse, error)
GetCausesIdVisibilityOptionsWithResponse request returning *GetCausesIdVisibilityOptionsResponse
func (*ClientWithResponses) GetCausesIdWithResponse ¶
func (c *ClientWithResponses) GetCausesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdResponse, error)
GetCausesIdWithResponse request returning *GetCausesIdResponse
func (*ClientWithResponses) GetCausesSlugWithResponse ¶ added in v0.0.3
func (c *ClientWithResponses) GetCausesSlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetCausesSlugResponse, error)
GetCausesSlugWithResponse request returning *GetCausesSlugResponse
func (*ClientWithResponses) GetFundraisingEventsIdCampaignsWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdCampaignsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdCampaignsResponse, error)
GetFundraisingEventsIdCampaignsWithResponse request returning *GetFundraisingEventsIdCampaignsResponse
func (*ClientWithResponses) GetFundraisingEventsIdIncentivesWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdIncentivesWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdIncentivesParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdIncentivesResponse, error)
GetFundraisingEventsIdIncentivesWithResponse request returning *GetFundraisingEventsIdIncentivesResponse
func (*ClientWithResponses) GetFundraisingEventsIdLeaderboardsWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdLeaderboardsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdLeaderboardsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdLeaderboardsResponse, error)
GetFundraisingEventsIdLeaderboardsWithResponse request returning *GetFundraisingEventsIdLeaderboardsResponse
func (*ClientWithResponses) GetFundraisingEventsIdRegistrationFieldsWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdRegistrationFieldsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationFieldsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdRegistrationFieldsResponse, error)
GetFundraisingEventsIdRegistrationFieldsWithResponse request returning *GetFundraisingEventsIdRegistrationFieldsResponse
func (*ClientWithResponses) GetFundraisingEventsIdRegistrationsWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdRegistrationsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdRegistrationsResponse, error)
GetFundraisingEventsIdRegistrationsWithResponse request returning *GetFundraisingEventsIdRegistrationsResponse
func (*ClientWithResponses) GetFundraisingEventsIdScheduleWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdScheduleWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdScheduleParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdScheduleResponse, error)
GetFundraisingEventsIdScheduleWithResponse request returning *GetFundraisingEventsIdScheduleResponse
func (*ClientWithResponses) GetFundraisingEventsIdVisibilityOptionsWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdVisibilityOptionsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdVisibilityOptionsResponse, error)
GetFundraisingEventsIdVisibilityOptionsWithResponse request returning *GetFundraisingEventsIdVisibilityOptionsResponse
func (*ClientWithResponses) GetFundraisingEventsIdWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdResponse, error)
GetFundraisingEventsIdWithResponse request returning *GetFundraisingEventsIdResponse
func (*ClientWithResponses) GetFundraisingEventsWithResponse ¶
func (c *ClientWithResponses) GetFundraisingEventsWithResponse(ctx context.Context, params *GetFundraisingEventsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsResponse, error)
GetFundraisingEventsWithResponse request returning *GetFundraisingEventsResponse
func (*ClientWithResponses) GetTeamsIdCampaignsCidWithResponse ¶
func (c *ClientWithResponses) GetTeamsIdCampaignsCidWithResponse(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*GetTeamsIdCampaignsCidResponse, error)
GetTeamsIdCampaignsCidWithResponse request returning *GetTeamsIdCampaignsCidResponse
func (*ClientWithResponses) GetTeamsIdCampaignsWithResponse ¶
func (c *ClientWithResponses) GetTeamsIdCampaignsWithResponse(ctx context.Context, id int, params *GetTeamsIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetTeamsIdCampaignsResponse, error)
GetTeamsIdCampaignsWithResponse request returning *GetTeamsIdCampaignsResponse
func (*ClientWithResponses) GetTeamsIdWithResponse ¶
func (c *ClientWithResponses) GetTeamsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetTeamsIdResponse, error)
GetTeamsIdWithResponse request returning *GetTeamsIdResponse
func (*ClientWithResponses) GetTeamsWithResponse ¶
func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
GetTeamsWithResponse request returning *GetTeamsResponse
func (*ClientWithResponses) GetUserWithResponse ¶
func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
GetUserWithResponse request returning *GetUserResponse
func (*ClientWithResponses) GetUsersIdCampaignsCidWithResponse ¶
func (c *ClientWithResponses) GetUsersIdCampaignsCidWithResponse(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*GetUsersIdCampaignsCidResponse, error)
GetUsersIdCampaignsCidWithResponse request returning *GetUsersIdCampaignsCidResponse
func (*ClientWithResponses) GetUsersIdCampaignsWithResponse ¶
func (c *ClientWithResponses) GetUsersIdCampaignsWithResponse(ctx context.Context, id int, params *GetUsersIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetUsersIdCampaignsResponse, error)
GetUsersIdCampaignsWithResponse request returning *GetUsersIdCampaignsResponse
func (*ClientWithResponses) GetUsersIdOwnedTeamsWithResponse ¶
func (c *ClientWithResponses) GetUsersIdOwnedTeamsWithResponse(ctx context.Context, id int, params *GetUsersIdOwnedTeamsParams, reqEditors ...RequestEditorFn) (*GetUsersIdOwnedTeamsResponse, error)
GetUsersIdOwnedTeamsWithResponse request returning *GetUsersIdOwnedTeamsResponse
func (*ClientWithResponses) GetUsersIdTeamsWithResponse ¶
func (c *ClientWithResponses) GetUsersIdTeamsWithResponse(ctx context.Context, id int, params *GetUsersIdTeamsParams, reqEditors ...RequestEditorFn) (*GetUsersIdTeamsResponse, error)
GetUsersIdTeamsWithResponse request returning *GetUsersIdTeamsResponse
func (*ClientWithResponses) GetUsersIdWithResponse ¶
func (c *ClientWithResponses) GetUsersIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetUsersIdResponse, error)
GetUsersIdWithResponse request returning *GetUsersIdResponse
func (*ClientWithResponses) GetUsersSlugWithResponse ¶ added in v0.0.3
func (c *ClientWithResponses) GetUsersSlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetUsersSlugResponse, error)
GetUsersSlugWithResponse request returning *GetUsersSlugResponse
func (*ClientWithResponses) PatchCausesIdVisibilityOptionsWithResponse ¶
func (c *ClientWithResponses) PatchCausesIdVisibilityOptionsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PatchCausesIdVisibilityOptionsResponse, error)
PatchCausesIdVisibilityOptionsWithResponse request returning *PatchCausesIdVisibilityOptionsResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetCampaignsId request
GetCampaignsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCampaignsIdResponse, error)
// GetCampaignsIdChallenges request
GetCampaignsIdChallengesWithResponse(ctx context.Context, id int, params *GetCampaignsIdChallengesParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdChallengesResponse, error)
// GetCampaignsIdDonations request
GetCampaignsIdDonationsWithResponse(ctx context.Context, id int, params *GetCampaignsIdDonationsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdDonationsResponse, error)
// GetCampaignsIdPolls request
GetCampaignsIdPollsWithResponse(ctx context.Context, id int, params *GetCampaignsIdPollsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdPollsResponse, error)
// GetCampaignsIdRewards request
GetCampaignsIdRewardsWithResponse(ctx context.Context, id int, params *GetCampaignsIdRewardsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdRewardsResponse, error)
// GetCampaignsIdSchedule request
GetCampaignsIdScheduleWithResponse(ctx context.Context, id int, params *GetCampaignsIdScheduleParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdScheduleResponse, error)
// GetCampaignsIdSupportingCampaigns request
GetCampaignsIdSupportingCampaignsWithResponse(ctx context.Context, id int, params *GetCampaignsIdSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*GetCampaignsIdSupportingCampaignsResponse, error)
// GetCausesId request
GetCausesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdResponse, error)
// GetCausesIdCampaigns request
GetCausesIdCampaignsWithResponse(ctx context.Context, id int, params *GetCausesIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetCausesIdCampaignsResponse, error)
// GetCausesIdFundraisingEvents request
GetCausesIdFundraisingEventsWithResponse(ctx context.Context, id int, params *GetCausesIdFundraisingEventsParams, reqEditors ...RequestEditorFn) (*GetCausesIdFundraisingEventsResponse, error)
// GetCausesIdLeaderboards request
GetCausesIdLeaderboardsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdLeaderboardsResponse, error)
// GetCausesIdPermissions request
GetCausesIdPermissionsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCausesIdPermissionsResponse, error)
// GetCausesIdVisibilityOptions request
GetCausesIdVisibilityOptionsWithResponse(ctx context.Context, id int, params *GetCausesIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*GetCausesIdVisibilityOptionsResponse, error)
// PatchCausesIdVisibilityOptions request
PatchCausesIdVisibilityOptionsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PatchCausesIdVisibilityOptionsResponse, error)
// GetCausesSlug request
GetCausesSlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetCausesSlugResponse, error)
// GetFundraisingEvents request
GetFundraisingEventsWithResponse(ctx context.Context, params *GetFundraisingEventsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsResponse, error)
// GetFundraisingEventsId request
GetFundraisingEventsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdResponse, error)
// GetFundraisingEventsIdCampaigns request
GetFundraisingEventsIdCampaignsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdCampaignsResponse, error)
// GetFundraisingEventsIdIncentives request
GetFundraisingEventsIdIncentivesWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdIncentivesParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdIncentivesResponse, error)
// GetFundraisingEventsIdLeaderboards request
GetFundraisingEventsIdLeaderboardsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdLeaderboardsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdLeaderboardsResponse, error)
// GetFundraisingEventsIdRegistrationFields request
GetFundraisingEventsIdRegistrationFieldsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationFieldsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdRegistrationFieldsResponse, error)
// GetFundraisingEventsIdRegistrations request
GetFundraisingEventsIdRegistrationsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdRegistrationsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdRegistrationsResponse, error)
// GetFundraisingEventsIdSchedule request
GetFundraisingEventsIdScheduleWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdScheduleParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdScheduleResponse, error)
// GetFundraisingEventsIdVisibilityOptions request
GetFundraisingEventsIdVisibilityOptionsWithResponse(ctx context.Context, id int, params *GetFundraisingEventsIdVisibilityOptionsParams, reqEditors ...RequestEditorFn) (*GetFundraisingEventsIdVisibilityOptionsResponse, error)
// GetTeams request
GetTeamsWithResponse(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
// GetTeamsId request
GetTeamsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetTeamsIdResponse, error)
// GetTeamsIdCampaigns request
GetTeamsIdCampaignsWithResponse(ctx context.Context, id int, params *GetTeamsIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetTeamsIdCampaignsResponse, error)
// GetTeamsIdCampaignsCid request
GetTeamsIdCampaignsCidWithResponse(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*GetTeamsIdCampaignsCidResponse, error)
// GetUser request
GetUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
// GetUsersId request
GetUsersIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetUsersIdResponse, error)
// GetUsersIdCampaigns request
GetUsersIdCampaignsWithResponse(ctx context.Context, id int, params *GetUsersIdCampaignsParams, reqEditors ...RequestEditorFn) (*GetUsersIdCampaignsResponse, error)
// GetUsersIdCampaignsCid request
GetUsersIdCampaignsCidWithResponse(ctx context.Context, id int, cid int, reqEditors ...RequestEditorFn) (*GetUsersIdCampaignsCidResponse, error)
// GetUsersIdOwnedTeams request
GetUsersIdOwnedTeamsWithResponse(ctx context.Context, id int, params *GetUsersIdOwnedTeamsParams, reqEditors ...RequestEditorFn) (*GetUsersIdOwnedTeamsResponse, error)
// GetUsersIdTeams request
GetUsersIdTeamsWithResponse(ctx context.Context, id int, params *GetUsersIdTeamsParams, reqEditors ...RequestEditorFn) (*GetUsersIdTeamsResponse, error)
// GetUsersSlug request
GetUsersSlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetUsersSlugResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type EchoRouter ¶
type EchoRouter interface {
CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type Error ¶
type Error struct {
// An object describing the error that occurred
Error *struct {
Detial *string `json:"detial,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"error,omitempty"`
// An object pointing to fields that are incorrect in a submitted model
Errors *map[string]interface{} `json:"errors,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
error response body. Only included in Post and Patch requests.
type Forbidden ¶
type Forbidden Error
error response body. Only included in Post and Patch requests.
type FundraisingEvents ¶ added in v0.0.4
type FundraisingEvents []struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
Banner *Image `json:"banner,omitempty"`
BannerIntro *string `json:"bannerIntro,omitempty"`
BannerTitle *string `json:"bannerTitle,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
Goal *int `json:"goal,omitempty"`
Id *int `json:"id,omitempty"`
Image *Image `json:"image,omitempty"`
Logo *Image `json:"logo,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
Url *string `json:"url,omitempty"`
Video *Image `json:"video,omitempty"`
}
FundraisingEvents defines model for FundraisingEvents.
type FundraisingEventsId ¶ added in v0.0.4
type FundraisingEventsId struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
Banner *Image `json:"banner,omitempty"`
BannerIntro *string `json:"bannerIntro,omitempty"`
BannerTitle *string `json:"bannerTitle,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
Goal *int `json:"goal,omitempty"`
Id *int `json:"id,omitempty"`
Image *Image `json:"image,omitempty"`
Logo *Image `json:"logo,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
Url *string `json:"url,omitempty"`
Video *Image `json:"video,omitempty"`
}
FundraisingEventsId defines model for FundraisingEventsId.
type FundraisingEventsIdCampaigns ¶ added in v0.0.4
type FundraisingEventsIdCampaigns []struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Goal *int `json:"goal,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoal *int `json:"originalGoal,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
TeamId *map[string]interface{} `json:"teamId,omitempty"`
Thumbnail *Image `json:"thumbnail,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
UserId *int `json:"userId,omitempty"`
}
FundraisingEventsIdCampaigns defines model for FundraisingEventsIdCampaigns.
type FundraisingEventsIdIncentives ¶ added in v0.0.4
type FundraisingEventsIdIncentives []struct {
CreatedAt *int `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
Id *int `json:"id,omitempty"`
Image *Image `json:"image,omitempty"`
Title *string `json:"title,omitempty"`
}
FundraisingEventsIdIncentives defines model for FundraisingEventsIdIncentives.
type FundraisingEventsIdLeaderboards ¶ added in v0.0.4
type FundraisingEventsIdLeaderboards struct {
Individual *[]struct {
AmountRaised *float32 `json:"amount_raised,omitempty"`
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
UserId *int `json:"userId,omitempty"`
} `json:"individual,omitempty"`
Team *[]struct {
AmountRaised *float32 `json:"amount_raised,omitempty"`
Name *string `json:"name,omitempty"`
TeamId *int `json:"teamId,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"team,omitempty"`
}
FundraisingEventsIdLeaderboards defines model for FundraisingEventsIdLeaderboards.
type FundraisingEventsIdRegistrationFields ¶ added in v0.0.4
type FundraisingEventsIdRegistrationFields struct {
Address *struct {
Enabled *bool `json:"enabled,omitempty"`
} `json:"address,omitempty"`
ServiceHours *struct {
Enabled *bool `json:"enabled,omitempty"`
} `json:"service_hours,omitempty"`
ShirtSize *struct {
Enabled *bool `json:"enabled,omitempty"`
} `json:"shirt_size,omitempty"`
}
FundraisingEventsIdRegistrationFields defines model for FundraisingEventsIdRegistrationFields.
type FundraisingEventsIdRegistrations ¶ added in v0.0.4
type FundraisingEventsIdRegistrations []struct {
Address *struct {
AddressLine1 *string `json:"addressLine1,omitempty"`
AddressLine2 *string `json:"addressLine2,omitempty"`
City *string `json:"city,omitempty"`
PostalCode *string `json:"postalCode,omitempty"`
State *string `json:"state,omitempty"`
} `json:"address,omitempty"`
Email *string `json:"email,omitempty"`
Id *int `json:"id,omitempty"`
RegisteredAt *string `json:"registeredAt,omitempty"`
ServiceHours *bool `json:"serviceHours,omitempty"`
ShirtSize *string `json:"shirtSize,omitempty"`
Subscribed *bool `json:"subscribed,omitempty"`
UserId *int `json:"userId,omitempty"`
}
FundraisingEventsIdRegistrations defines model for FundraisingEventsIdRegistrations.
type FundraisingEventsIdSchedule ¶ added in v0.0.4
type FundraisingEventsIdSchedule []struct {
Description *string `json:"description,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
}
FundraisingEventsIdSchedule defines model for FundraisingEventsIdSchedule.
type FundraisingEventsIdVisibilityOptions ¶ added in v0.0.4
type FundraisingEventsIdVisibilityOptions struct {
Donate *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"donate,omitempty"`
DonorLeaderboard *struct {
Type *string `json:"type,omitempty"`
Visible *bool `json:"visible,omitempty"`
} `json:"donorLeaderboard,omitempty"`
EndsAt *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"endsAt,omitempty"`
FundraiserGoalAmount *struct {
Type *string `json:"type,omitempty"`
Visible *bool `json:"visible,omitempty"`
} `json:"fundraiserGoalAmount,omitempty"`
IndividualLeaderboard *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"individualLeaderboard,omitempty"`
PreventDonationsBeforeStart *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"preventDonationsBeforeStart,omitempty"`
Registration *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"registration,omitempty"`
StartsAt *struct {
Visible *bool `json:"visible,omitempty"`
} `json:"startsAt,omitempty"`
TeamLeaderboard *struct {
Type *string `json:"type,omitempty"`
Visible *bool `json:"visible,omitempty"`
} `json:"teamLeaderboard,omitempty"`
}
FundraisingEventsIdVisibilityOptions defines model for FundraisingEventsIdVisibilityOptions.
type GetCampaignsIdChallengesParams ¶
type GetCampaignsIdChallengesParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCampaignsIdChallengesParams defines parameters for GetCampaignsIdChallenges.
type GetCampaignsIdChallengesResponse ¶
type GetCampaignsIdChallengesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CampaignsIdChallenges `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdChallengesResponse ¶
func ParseGetCampaignsIdChallengesResponse(rsp *http.Response) (*GetCampaignsIdChallengesResponse, error)
ParseGetCampaignsIdChallengesResponse parses an HTTP response from a GetCampaignsIdChallengesWithResponse call
func (GetCampaignsIdChallengesResponse) Status ¶
func (r GetCampaignsIdChallengesResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdChallengesResponse) StatusCode ¶
func (r GetCampaignsIdChallengesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsIdDonationsParams ¶
type GetCampaignsIdDonationsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCampaignsIdDonationsParams defines parameters for GetCampaignsIdDonations.
type GetCampaignsIdDonationsResponse ¶
type GetCampaignsIdDonationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CampaignsIdDonations `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdDonationsResponse ¶
func ParseGetCampaignsIdDonationsResponse(rsp *http.Response) (*GetCampaignsIdDonationsResponse, error)
ParseGetCampaignsIdDonationsResponse parses an HTTP response from a GetCampaignsIdDonationsWithResponse call
func (GetCampaignsIdDonationsResponse) Status ¶
func (r GetCampaignsIdDonationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdDonationsResponse) StatusCode ¶
func (r GetCampaignsIdDonationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsIdPollsParams ¶
type GetCampaignsIdPollsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCampaignsIdPollsParams defines parameters for GetCampaignsIdPolls.
type GetCampaignsIdPollsResponse ¶
type GetCampaignsIdPollsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CampaignsIdPolls `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdPollsResponse ¶
func ParseGetCampaignsIdPollsResponse(rsp *http.Response) (*GetCampaignsIdPollsResponse, error)
ParseGetCampaignsIdPollsResponse parses an HTTP response from a GetCampaignsIdPollsWithResponse call
func (GetCampaignsIdPollsResponse) Status ¶
func (r GetCampaignsIdPollsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdPollsResponse) StatusCode ¶
func (r GetCampaignsIdPollsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsIdResponse ¶
type GetCampaignsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CampaignsId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdResponse ¶
func ParseGetCampaignsIdResponse(rsp *http.Response) (*GetCampaignsIdResponse, error)
ParseGetCampaignsIdResponse parses an HTTP response from a GetCampaignsIdWithResponse call
func (GetCampaignsIdResponse) Status ¶
func (r GetCampaignsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdResponse) StatusCode ¶
func (r GetCampaignsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsIdRewardsParams ¶
type GetCampaignsIdRewardsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCampaignsIdRewardsParams defines parameters for GetCampaignsIdRewards.
type GetCampaignsIdRewardsResponse ¶
type GetCampaignsIdRewardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *interface{} `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdRewardsResponse ¶
func ParseGetCampaignsIdRewardsResponse(rsp *http.Response) (*GetCampaignsIdRewardsResponse, error)
ParseGetCampaignsIdRewardsResponse parses an HTTP response from a GetCampaignsIdRewardsWithResponse call
func (GetCampaignsIdRewardsResponse) Status ¶
func (r GetCampaignsIdRewardsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdRewardsResponse) StatusCode ¶
func (r GetCampaignsIdRewardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsIdScheduleParams ¶
type GetCampaignsIdScheduleParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCampaignsIdScheduleParams defines parameters for GetCampaignsIdSchedule.
type GetCampaignsIdScheduleResponse ¶
type GetCampaignsIdScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CampaignsIdSchedule `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdScheduleResponse ¶
func ParseGetCampaignsIdScheduleResponse(rsp *http.Response) (*GetCampaignsIdScheduleResponse, error)
ParseGetCampaignsIdScheduleResponse parses an HTTP response from a GetCampaignsIdScheduleWithResponse call
func (GetCampaignsIdScheduleResponse) Status ¶
func (r GetCampaignsIdScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdScheduleResponse) StatusCode ¶
func (r GetCampaignsIdScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsIdSupportingCampaignsParams ¶
type GetCampaignsIdSupportingCampaignsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCampaignsIdSupportingCampaignsParams defines parameters for GetCampaignsIdSupportingCampaigns.
type GetCampaignsIdSupportingCampaignsResponse ¶
type GetCampaignsIdSupportingCampaignsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CampaignsIdSupportingCampaigns `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCampaignsIdSupportingCampaignsResponse ¶
func ParseGetCampaignsIdSupportingCampaignsResponse(rsp *http.Response) (*GetCampaignsIdSupportingCampaignsResponse, error)
ParseGetCampaignsIdSupportingCampaignsResponse parses an HTTP response from a GetCampaignsIdSupportingCampaignsWithResponse call
func (GetCampaignsIdSupportingCampaignsResponse) Status ¶
func (r GetCampaignsIdSupportingCampaignsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsIdSupportingCampaignsResponse) StatusCode ¶
func (r GetCampaignsIdSupportingCampaignsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesIdCampaignsParams ¶
type GetCausesIdCampaignsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCausesIdCampaignsParams defines parameters for GetCausesIdCampaigns.
type GetCausesIdCampaignsResponse ¶
type GetCausesIdCampaignsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CausesIdCampaigns `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesIdCampaignsResponse ¶
func ParseGetCausesIdCampaignsResponse(rsp *http.Response) (*GetCausesIdCampaignsResponse, error)
ParseGetCausesIdCampaignsResponse parses an HTTP response from a GetCausesIdCampaignsWithResponse call
func (GetCausesIdCampaignsResponse) Status ¶
func (r GetCausesIdCampaignsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesIdCampaignsResponse) StatusCode ¶
func (r GetCausesIdCampaignsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesIdFundraisingEventsParams ¶
type GetCausesIdFundraisingEventsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCausesIdFundraisingEventsParams defines parameters for GetCausesIdFundraisingEvents.
type GetCausesIdFundraisingEventsResponse ¶
type GetCausesIdFundraisingEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CausesIdFundraisingEvents `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesIdFundraisingEventsResponse ¶
func ParseGetCausesIdFundraisingEventsResponse(rsp *http.Response) (*GetCausesIdFundraisingEventsResponse, error)
ParseGetCausesIdFundraisingEventsResponse parses an HTTP response from a GetCausesIdFundraisingEventsWithResponse call
func (GetCausesIdFundraisingEventsResponse) Status ¶
func (r GetCausesIdFundraisingEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesIdFundraisingEventsResponse) StatusCode ¶
func (r GetCausesIdFundraisingEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesIdLeaderboardsResponse ¶
type GetCausesIdLeaderboardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CausesIdLeaderboards `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesIdLeaderboardsResponse ¶
func ParseGetCausesIdLeaderboardsResponse(rsp *http.Response) (*GetCausesIdLeaderboardsResponse, error)
ParseGetCausesIdLeaderboardsResponse parses an HTTP response from a GetCausesIdLeaderboardsWithResponse call
func (GetCausesIdLeaderboardsResponse) Status ¶
func (r GetCausesIdLeaderboardsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesIdLeaderboardsResponse) StatusCode ¶
func (r GetCausesIdLeaderboardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesIdPermissionsResponse ¶
type GetCausesIdPermissionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CausesIdPermissions `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesIdPermissionsResponse ¶
func ParseGetCausesIdPermissionsResponse(rsp *http.Response) (*GetCausesIdPermissionsResponse, error)
ParseGetCausesIdPermissionsResponse parses an HTTP response from a GetCausesIdPermissionsWithResponse call
func (GetCausesIdPermissionsResponse) Status ¶
func (r GetCausesIdPermissionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesIdPermissionsResponse) StatusCode ¶
func (r GetCausesIdPermissionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesIdResponse ¶
type GetCausesIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CausesId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesIdResponse ¶
func ParseGetCausesIdResponse(rsp *http.Response) (*GetCausesIdResponse, error)
ParseGetCausesIdResponse parses an HTTP response from a GetCausesIdWithResponse call
func (GetCausesIdResponse) Status ¶
func (r GetCausesIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesIdResponse) StatusCode ¶
func (r GetCausesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesIdVisibilityOptionsParams ¶
type GetCausesIdVisibilityOptionsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetCausesIdVisibilityOptionsParams defines parameters for GetCausesIdVisibilityOptions.
type GetCausesIdVisibilityOptionsResponse ¶
type GetCausesIdVisibilityOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CausesIdVisibilityOptions `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesIdVisibilityOptionsResponse ¶
func ParseGetCausesIdVisibilityOptionsResponse(rsp *http.Response) (*GetCausesIdVisibilityOptionsResponse, error)
ParseGetCausesIdVisibilityOptionsResponse parses an HTTP response from a GetCausesIdVisibilityOptionsWithResponse call
func (GetCausesIdVisibilityOptionsResponse) Status ¶
func (r GetCausesIdVisibilityOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesIdVisibilityOptionsResponse) StatusCode ¶
func (r GetCausesIdVisibilityOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCausesSlugResponse ¶ added in v0.0.3
type GetCausesSlugResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CausesId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetCausesSlugResponse ¶ added in v0.0.3
func ParseGetCausesSlugResponse(rsp *http.Response) (*GetCausesSlugResponse, error)
ParseGetCausesSlugResponse parses an HTTP response from a GetCausesSlugWithResponse call
func (GetCausesSlugResponse) Status ¶ added in v0.0.3
func (r GetCausesSlugResponse) Status() string
Status returns HTTPResponse.Status
func (GetCausesSlugResponse) StatusCode ¶ added in v0.0.3
func (r GetCausesSlugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdCampaignsParams ¶
type GetFundraisingEventsIdCampaignsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdCampaignsParams defines parameters for GetFundraisingEventsIdCampaigns.
type GetFundraisingEventsIdCampaignsResponse ¶
type GetFundraisingEventsIdCampaignsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]FundraisingEventsIdCampaigns `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdCampaignsResponse ¶
func ParseGetFundraisingEventsIdCampaignsResponse(rsp *http.Response) (*GetFundraisingEventsIdCampaignsResponse, error)
ParseGetFundraisingEventsIdCampaignsResponse parses an HTTP response from a GetFundraisingEventsIdCampaignsWithResponse call
func (GetFundraisingEventsIdCampaignsResponse) Status ¶
func (r GetFundraisingEventsIdCampaignsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdCampaignsResponse) StatusCode ¶
func (r GetFundraisingEventsIdCampaignsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdIncentivesParams ¶
type GetFundraisingEventsIdIncentivesParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdIncentivesParams defines parameters for GetFundraisingEventsIdIncentives.
type GetFundraisingEventsIdIncentivesResponse ¶
type GetFundraisingEventsIdIncentivesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]FundraisingEventsIdIncentives `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdIncentivesResponse ¶
func ParseGetFundraisingEventsIdIncentivesResponse(rsp *http.Response) (*GetFundraisingEventsIdIncentivesResponse, error)
ParseGetFundraisingEventsIdIncentivesResponse parses an HTTP response from a GetFundraisingEventsIdIncentivesWithResponse call
func (GetFundraisingEventsIdIncentivesResponse) Status ¶
func (r GetFundraisingEventsIdIncentivesResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdIncentivesResponse) StatusCode ¶
func (r GetFundraisingEventsIdIncentivesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdLeaderboardsParams ¶
type GetFundraisingEventsIdLeaderboardsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdLeaderboardsParams defines parameters for GetFundraisingEventsIdLeaderboards.
type GetFundraisingEventsIdLeaderboardsResponse ¶
type GetFundraisingEventsIdLeaderboardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FundraisingEventsIdLeaderboards `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdLeaderboardsResponse ¶
func ParseGetFundraisingEventsIdLeaderboardsResponse(rsp *http.Response) (*GetFundraisingEventsIdLeaderboardsResponse, error)
ParseGetFundraisingEventsIdLeaderboardsResponse parses an HTTP response from a GetFundraisingEventsIdLeaderboardsWithResponse call
func (GetFundraisingEventsIdLeaderboardsResponse) Status ¶
func (r GetFundraisingEventsIdLeaderboardsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdLeaderboardsResponse) StatusCode ¶
func (r GetFundraisingEventsIdLeaderboardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdRegistrationFieldsParams ¶
type GetFundraisingEventsIdRegistrationFieldsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdRegistrationFieldsParams defines parameters for GetFundraisingEventsIdRegistrationFields.
type GetFundraisingEventsIdRegistrationFieldsResponse ¶
type GetFundraisingEventsIdRegistrationFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FundraisingEventsIdRegistrationFields `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdRegistrationFieldsResponse ¶
func ParseGetFundraisingEventsIdRegistrationFieldsResponse(rsp *http.Response) (*GetFundraisingEventsIdRegistrationFieldsResponse, error)
ParseGetFundraisingEventsIdRegistrationFieldsResponse parses an HTTP response from a GetFundraisingEventsIdRegistrationFieldsWithResponse call
func (GetFundraisingEventsIdRegistrationFieldsResponse) Status ¶
func (r GetFundraisingEventsIdRegistrationFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdRegistrationFieldsResponse) StatusCode ¶
func (r GetFundraisingEventsIdRegistrationFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdRegistrationsParams ¶
type GetFundraisingEventsIdRegistrationsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdRegistrationsParams defines parameters for GetFundraisingEventsIdRegistrations.
type GetFundraisingEventsIdRegistrationsResponse ¶
type GetFundraisingEventsIdRegistrationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]FundraisingEventsIdRegistrations `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdRegistrationsResponse ¶
func ParseGetFundraisingEventsIdRegistrationsResponse(rsp *http.Response) (*GetFundraisingEventsIdRegistrationsResponse, error)
ParseGetFundraisingEventsIdRegistrationsResponse parses an HTTP response from a GetFundraisingEventsIdRegistrationsWithResponse call
func (GetFundraisingEventsIdRegistrationsResponse) Status ¶
func (r GetFundraisingEventsIdRegistrationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdRegistrationsResponse) StatusCode ¶
func (r GetFundraisingEventsIdRegistrationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdResponse ¶
type GetFundraisingEventsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FundraisingEventsId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdResponse ¶
func ParseGetFundraisingEventsIdResponse(rsp *http.Response) (*GetFundraisingEventsIdResponse, error)
ParseGetFundraisingEventsIdResponse parses an HTTP response from a GetFundraisingEventsIdWithResponse call
func (GetFundraisingEventsIdResponse) Status ¶
func (r GetFundraisingEventsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdResponse) StatusCode ¶
func (r GetFundraisingEventsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdScheduleParams ¶
type GetFundraisingEventsIdScheduleParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdScheduleParams defines parameters for GetFundraisingEventsIdSchedule.
type GetFundraisingEventsIdScheduleResponse ¶
type GetFundraisingEventsIdScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]FundraisingEventsIdSchedule `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdScheduleResponse ¶
func ParseGetFundraisingEventsIdScheduleResponse(rsp *http.Response) (*GetFundraisingEventsIdScheduleResponse, error)
ParseGetFundraisingEventsIdScheduleResponse parses an HTTP response from a GetFundraisingEventsIdScheduleWithResponse call
func (GetFundraisingEventsIdScheduleResponse) Status ¶
func (r GetFundraisingEventsIdScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdScheduleResponse) StatusCode ¶
func (r GetFundraisingEventsIdScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsIdVisibilityOptionsParams ¶
type GetFundraisingEventsIdVisibilityOptionsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsIdVisibilityOptionsParams defines parameters for GetFundraisingEventsIdVisibilityOptions.
type GetFundraisingEventsIdVisibilityOptionsResponse ¶
type GetFundraisingEventsIdVisibilityOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FundraisingEventsIdVisibilityOptions `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsIdVisibilityOptionsResponse ¶
func ParseGetFundraisingEventsIdVisibilityOptionsResponse(rsp *http.Response) (*GetFundraisingEventsIdVisibilityOptionsResponse, error)
ParseGetFundraisingEventsIdVisibilityOptionsResponse parses an HTTP response from a GetFundraisingEventsIdVisibilityOptionsWithResponse call
func (GetFundraisingEventsIdVisibilityOptionsResponse) Status ¶
func (r GetFundraisingEventsIdVisibilityOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsIdVisibilityOptionsResponse) StatusCode ¶
func (r GetFundraisingEventsIdVisibilityOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFundraisingEventsParams ¶
type GetFundraisingEventsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetFundraisingEventsParams defines parameters for GetFundraisingEvents.
type GetFundraisingEventsResponse ¶
type GetFundraisingEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]FundraisingEvents `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetFundraisingEventsResponse ¶
func ParseGetFundraisingEventsResponse(rsp *http.Response) (*GetFundraisingEventsResponse, error)
ParseGetFundraisingEventsResponse parses an HTTP response from a GetFundraisingEventsWithResponse call
func (GetFundraisingEventsResponse) Status ¶
func (r GetFundraisingEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFundraisingEventsResponse) StatusCode ¶
func (r GetFundraisingEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsIdCampaignsCidResponse ¶
type GetTeamsIdCampaignsCidResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *TeamsIdCampaignsId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetTeamsIdCampaignsCidResponse ¶
func ParseGetTeamsIdCampaignsCidResponse(rsp *http.Response) (*GetTeamsIdCampaignsCidResponse, error)
ParseGetTeamsIdCampaignsCidResponse parses an HTTP response from a GetTeamsIdCampaignsCidWithResponse call
func (GetTeamsIdCampaignsCidResponse) Status ¶
func (r GetTeamsIdCampaignsCidResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsIdCampaignsCidResponse) StatusCode ¶
func (r GetTeamsIdCampaignsCidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsIdCampaignsParams ¶
type GetTeamsIdCampaignsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetTeamsIdCampaignsParams defines parameters for GetTeamsIdCampaigns.
type GetTeamsIdCampaignsResponse ¶
type GetTeamsIdCampaignsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]TeamsIdCampaigns `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetTeamsIdCampaignsResponse ¶
func ParseGetTeamsIdCampaignsResponse(rsp *http.Response) (*GetTeamsIdCampaignsResponse, error)
ParseGetTeamsIdCampaignsResponse parses an HTTP response from a GetTeamsIdCampaignsWithResponse call
func (GetTeamsIdCampaignsResponse) Status ¶
func (r GetTeamsIdCampaignsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsIdCampaignsResponse) StatusCode ¶
func (r GetTeamsIdCampaignsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsIdResponse ¶
type GetTeamsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *TeamsId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetTeamsIdResponse ¶
func ParseGetTeamsIdResponse(rsp *http.Response) (*GetTeamsIdResponse, error)
ParseGetTeamsIdResponse parses an HTTP response from a GetTeamsIdWithResponse call
func (GetTeamsIdResponse) Status ¶
func (r GetTeamsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsIdResponse) StatusCode ¶
func (r GetTeamsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsParams ¶
type GetTeamsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetTeamsParams defines parameters for GetTeams.
type GetTeamsResponse ¶
type GetTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Teams `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetTeamsResponse ¶
func ParseGetTeamsResponse(rsp *http.Response) (*GetTeamsResponse, error)
ParseGetTeamsResponse parses an HTTP response from a GetTeamsWithResponse call
func (GetTeamsResponse) Status ¶
func (r GetTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsResponse) StatusCode ¶
func (r GetTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResponse ¶
type GetUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *User `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetUserResponse ¶
func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call
func (GetUserResponse) Status ¶
func (r GetUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserResponse) StatusCode ¶
func (r GetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersIdCampaignsCidResponse ¶
type GetUsersIdCampaignsCidResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *UsersIdCampaignsId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetUsersIdCampaignsCidResponse ¶
func ParseGetUsersIdCampaignsCidResponse(rsp *http.Response) (*GetUsersIdCampaignsCidResponse, error)
ParseGetUsersIdCampaignsCidResponse parses an HTTP response from a GetUsersIdCampaignsCidWithResponse call
func (GetUsersIdCampaignsCidResponse) Status ¶
func (r GetUsersIdCampaignsCidResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersIdCampaignsCidResponse) StatusCode ¶
func (r GetUsersIdCampaignsCidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersIdCampaignsParams ¶
type GetUsersIdCampaignsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetUsersIdCampaignsParams defines parameters for GetUsersIdCampaigns.
type GetUsersIdCampaignsResponse ¶
type GetUsersIdCampaignsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]UsersIdCampaigns `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetUsersIdCampaignsResponse ¶
func ParseGetUsersIdCampaignsResponse(rsp *http.Response) (*GetUsersIdCampaignsResponse, error)
ParseGetUsersIdCampaignsResponse parses an HTTP response from a GetUsersIdCampaignsWithResponse call
func (GetUsersIdCampaignsResponse) Status ¶
func (r GetUsersIdCampaignsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersIdCampaignsResponse) StatusCode ¶
func (r GetUsersIdCampaignsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersIdOwnedTeamsParams ¶
type GetUsersIdOwnedTeamsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetUsersIdOwnedTeamsParams defines parameters for GetUsersIdOwnedTeams.
type GetUsersIdOwnedTeamsResponse ¶
type GetUsersIdOwnedTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]UsersIdOwnedTeams `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetUsersIdOwnedTeamsResponse ¶
func ParseGetUsersIdOwnedTeamsResponse(rsp *http.Response) (*GetUsersIdOwnedTeamsResponse, error)
ParseGetUsersIdOwnedTeamsResponse parses an HTTP response from a GetUsersIdOwnedTeamsWithResponse call
func (GetUsersIdOwnedTeamsResponse) Status ¶
func (r GetUsersIdOwnedTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersIdOwnedTeamsResponse) StatusCode ¶
func (r GetUsersIdOwnedTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersIdResponse ¶
type GetUsersIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *UsersId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
}
func ParseGetUsersIdResponse ¶
func ParseGetUsersIdResponse(rsp *http.Response) (*GetUsersIdResponse, error)
ParseGetUsersIdResponse parses an HTTP response from a GetUsersIdWithResponse call
func (GetUsersIdResponse) Status ¶
func (r GetUsersIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersIdResponse) StatusCode ¶
func (r GetUsersIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersIdTeamsParams ¶
type GetUsersIdTeamsParams struct {
// This is the amount of results to return for the page. This number must be between 1 and 100. Used in Pagination.
Count *int `json:"count,omitempty"`
// Used in Pagination.
Before *int `json:"before,omitempty"`
// Used in Pagination.
After *int `json:"after,omitempty"`
}
GetUsersIdTeamsParams defines parameters for GetUsersIdTeams.
type GetUsersIdTeamsResponse ¶
type GetUsersIdTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]UsersIdTeams `json:"data,omitempty"`
// We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
Links *Pagination `json:"links,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetUsersIdTeamsResponse ¶
func ParseGetUsersIdTeamsResponse(rsp *http.Response) (*GetUsersIdTeamsResponse, error)
ParseGetUsersIdTeamsResponse parses an HTTP response from a GetUsersIdTeamsWithResponse call
func (GetUsersIdTeamsResponse) Status ¶
func (r GetUsersIdTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersIdTeamsResponse) StatusCode ¶
func (r GetUsersIdTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersSlugResponse ¶ added in v0.0.3
type GetUsersSlugResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *UsersId `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParseGetUsersSlugResponse ¶ added in v0.0.3
func ParseGetUsersSlugResponse(rsp *http.Response) (*GetUsersSlugResponse, error)
ParseGetUsersSlugResponse parses an HTTP response from a GetUsersSlugWithResponse call
func (GetUsersSlugResponse) Status ¶ added in v0.0.3
func (r GetUsersSlugResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersSlugResponse) StatusCode ¶ added in v0.0.3
func (r GetUsersSlugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Image ¶
type Image struct {
Alt *string `json:"alt,omitempty"`
Height *int `json:"height,omitempty"`
Src *string `json:"src,omitempty"`
Width *int `json:"width,omitempty"`
}
Image defines model for Image.
type LinkParams ¶ added in v0.0.3
func ParseLinks ¶ added in v0.0.3
func ParseLinks(linkString string) (params LinkParams)
type Livestream ¶
type Livestream struct {
Channel *string `json:"channel,omitempty"`
Type *string `json:"type,omitempty"`
}
Livestream defines model for Livestream.
type Meta ¶
type Meta struct {
Status *int `json:"status,omitempty"`
}
This is the HTTP status code that is also sent with the request
type NotAuthorized ¶
type NotAuthorized Error
error response body. Only included in Post and Patch requests.
type Pagination ¶
type Pagination struct {
First *string `json:"first,omitempty"`
Last *string `json:"last,omitempty"`
Next string `json:"next"`
Prev string `json:"prev"`
Self string `json:"self"`
}
We use cursor based pagination for our donations and this information is embeded in the response under the links key. You will find a prev and next link that point to the next pages of the paginated response. You may submit an optional count field of up to 100.
type PatchCausesIdVisibilityOptionsResponse ¶
type PatchCausesIdVisibilityOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *CausesIdVisibilityOptions `json:"data,omitempty"`
// This is the HTTP status code that is also sent with the request
Meta *Meta `json:"meta,omitempty"`
}
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON422 *Error
JSON5XX *Error
}
func ParsePatchCausesIdVisibilityOptionsResponse ¶
func ParsePatchCausesIdVisibilityOptionsResponse(rsp *http.Response) (*PatchCausesIdVisibilityOptionsResponse, error)
ParsePatchCausesIdVisibilityOptionsResponse parses an HTTP response from a PatchCausesIdVisibilityOptionsWithResponse call
func (PatchCausesIdVisibilityOptionsResponse) Status ¶
func (r PatchCausesIdVisibilityOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (PatchCausesIdVisibilityOptionsResponse) StatusCode ¶
func (r PatchCausesIdVisibilityOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerError ¶
type ServerError Error
error response body. Only included in Post and Patch requests.
type ServerInterface ¶
type ServerInterface interface {
// (GET /campaigns/{id})
GetCampaignsId(ctx echo.Context, id int) error
// (GET /campaigns/{id}/challenges)
GetCampaignsIdChallenges(ctx echo.Context, id int, params GetCampaignsIdChallengesParams) error
// (GET /campaigns/{id}/donations)
GetCampaignsIdDonations(ctx echo.Context, id int, params GetCampaignsIdDonationsParams) error
// (GET /campaigns/{id}/polls)
GetCampaignsIdPolls(ctx echo.Context, id int, params GetCampaignsIdPollsParams) error
// (GET /campaigns/{id}/rewards)
GetCampaignsIdRewards(ctx echo.Context, id int, params GetCampaignsIdRewardsParams) error
// (GET /campaigns/{id}/schedule)
GetCampaignsIdSchedule(ctx echo.Context, id int, params GetCampaignsIdScheduleParams) error
// (GET /campaigns/{id}/supporting-campaigns)
GetCampaignsIdSupportingCampaigns(ctx echo.Context, id int, params GetCampaignsIdSupportingCampaignsParams) error
// (GET /causes/{id})
GetCausesId(ctx echo.Context, id int) error
// (GET /causes/{id}/campaigns)
GetCausesIdCampaigns(ctx echo.Context, id int, params GetCausesIdCampaignsParams) error
// (GET /causes/{id}/fundraising-events)
GetCausesIdFundraisingEvents(ctx echo.Context, id int, params GetCausesIdFundraisingEventsParams) error
// (GET /causes/{id}/leaderboards)
GetCausesIdLeaderboards(ctx echo.Context, id int) error
// (GET /causes/{id}/permissions)
GetCausesIdPermissions(ctx echo.Context, id int) error
// (GET /causes/{id}/visibility-options)
GetCausesIdVisibilityOptions(ctx echo.Context, id int, params GetCausesIdVisibilityOptionsParams) error
// (PATCH /causes/{id}/visibility-options)
PatchCausesIdVisibilityOptions(ctx echo.Context, id int) error
// (GET /causes/{slug})
GetCausesSlug(ctx echo.Context, slug string) error
// (GET /fundraising-events)
GetFundraisingEvents(ctx echo.Context, params GetFundraisingEventsParams) error
// (GET /fundraising-events/{id})
GetFundraisingEventsId(ctx echo.Context, id int) error
// (GET /fundraising-events/{id}/campaigns)
GetFundraisingEventsIdCampaigns(ctx echo.Context, id int, params GetFundraisingEventsIdCampaignsParams) error
// (GET /fundraising-events/{id}/incentives)
GetFundraisingEventsIdIncentives(ctx echo.Context, id int, params GetFundraisingEventsIdIncentivesParams) error
// (GET /fundraising-events/{id}/leaderboards)
GetFundraisingEventsIdLeaderboards(ctx echo.Context, id int, params GetFundraisingEventsIdLeaderboardsParams) error
// (GET /fundraising-events/{id}/registration-fields)
GetFundraisingEventsIdRegistrationFields(ctx echo.Context, id int, params GetFundraisingEventsIdRegistrationFieldsParams) error
// (GET /fundraising-events/{id}/registrations)
GetFundraisingEventsIdRegistrations(ctx echo.Context, id int, params GetFundraisingEventsIdRegistrationsParams) error
// (GET /fundraising-events/{id}/schedule)
GetFundraisingEventsIdSchedule(ctx echo.Context, id int, params GetFundraisingEventsIdScheduleParams) error
// (GET /fundraising-events/{id}/visibility-options)
GetFundraisingEventsIdVisibilityOptions(ctx echo.Context, id int, params GetFundraisingEventsIdVisibilityOptionsParams) error
// (GET /teams)
GetTeams(ctx echo.Context, params GetTeamsParams) error
// (GET /teams/{id})
GetTeamsId(ctx echo.Context, id int) error
// (GET /teams/{id}/campaigns)
GetTeamsIdCampaigns(ctx echo.Context, id int, params GetTeamsIdCampaignsParams) error
// (GET /teams/{id}/campaigns/{cid})
GetTeamsIdCampaignsCid(ctx echo.Context, id int, cid int) error
// (GET /user)
GetUser(ctx echo.Context) error
// (GET /users/{id})
GetUsersId(ctx echo.Context, id int) error
// (GET /users/{id}/campaigns)
GetUsersIdCampaigns(ctx echo.Context, id int, params GetUsersIdCampaignsParams) error
// (GET /users/{id}/campaigns/{cid})
GetUsersIdCampaignsCid(ctx echo.Context, id int, cid int) error
// (GET /users/{id}/owned-teams)
GetUsersIdOwnedTeams(ctx echo.Context, id int, params GetUsersIdOwnedTeamsParams) error
// (GET /users/{id}/teams)
GetUsersIdTeams(ctx echo.Context, id int, params GetUsersIdTeamsParams) error
// (GET /users/{slug})
GetUsersSlug(ctx echo.Context, slug string) error
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) GetCampaignsId ¶
func (w *ServerInterfaceWrapper) GetCampaignsId(ctx echo.Context) error
GetCampaignsId converts echo context to params.
func (*ServerInterfaceWrapper) GetCampaignsIdChallenges ¶
func (w *ServerInterfaceWrapper) GetCampaignsIdChallenges(ctx echo.Context) error
GetCampaignsIdChallenges converts echo context to params.
func (*ServerInterfaceWrapper) GetCampaignsIdDonations ¶
func (w *ServerInterfaceWrapper) GetCampaignsIdDonations(ctx echo.Context) error
GetCampaignsIdDonations converts echo context to params.
func (*ServerInterfaceWrapper) GetCampaignsIdPolls ¶
func (w *ServerInterfaceWrapper) GetCampaignsIdPolls(ctx echo.Context) error
GetCampaignsIdPolls converts echo context to params.
func (*ServerInterfaceWrapper) GetCampaignsIdRewards ¶
func (w *ServerInterfaceWrapper) GetCampaignsIdRewards(ctx echo.Context) error
GetCampaignsIdRewards converts echo context to params.
func (*ServerInterfaceWrapper) GetCampaignsIdSchedule ¶
func (w *ServerInterfaceWrapper) GetCampaignsIdSchedule(ctx echo.Context) error
GetCampaignsIdSchedule converts echo context to params.
func (*ServerInterfaceWrapper) GetCampaignsIdSupportingCampaigns ¶
func (w *ServerInterfaceWrapper) GetCampaignsIdSupportingCampaigns(ctx echo.Context) error
GetCampaignsIdSupportingCampaigns converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesId ¶
func (w *ServerInterfaceWrapper) GetCausesId(ctx echo.Context) error
GetCausesId converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesIdCampaigns ¶
func (w *ServerInterfaceWrapper) GetCausesIdCampaigns(ctx echo.Context) error
GetCausesIdCampaigns converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesIdFundraisingEvents ¶
func (w *ServerInterfaceWrapper) GetCausesIdFundraisingEvents(ctx echo.Context) error
GetCausesIdFundraisingEvents converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesIdLeaderboards ¶
func (w *ServerInterfaceWrapper) GetCausesIdLeaderboards(ctx echo.Context) error
GetCausesIdLeaderboards converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesIdPermissions ¶
func (w *ServerInterfaceWrapper) GetCausesIdPermissions(ctx echo.Context) error
GetCausesIdPermissions converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesIdVisibilityOptions ¶
func (w *ServerInterfaceWrapper) GetCausesIdVisibilityOptions(ctx echo.Context) error
GetCausesIdVisibilityOptions converts echo context to params.
func (*ServerInterfaceWrapper) GetCausesSlug ¶ added in v0.0.3
func (w *ServerInterfaceWrapper) GetCausesSlug(ctx echo.Context) error
GetCausesSlug converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEvents ¶
func (w *ServerInterfaceWrapper) GetFundraisingEvents(ctx echo.Context) error
GetFundraisingEvents converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsId ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsId(ctx echo.Context) error
GetFundraisingEventsId converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdCampaigns ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdCampaigns(ctx echo.Context) error
GetFundraisingEventsIdCampaigns converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdIncentives ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdIncentives(ctx echo.Context) error
GetFundraisingEventsIdIncentives converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdLeaderboards ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdLeaderboards(ctx echo.Context) error
GetFundraisingEventsIdLeaderboards converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdRegistrationFields ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdRegistrationFields(ctx echo.Context) error
GetFundraisingEventsIdRegistrationFields converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdRegistrations ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdRegistrations(ctx echo.Context) error
GetFundraisingEventsIdRegistrations converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdSchedule ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdSchedule(ctx echo.Context) error
GetFundraisingEventsIdSchedule converts echo context to params.
func (*ServerInterfaceWrapper) GetFundraisingEventsIdVisibilityOptions ¶
func (w *ServerInterfaceWrapper) GetFundraisingEventsIdVisibilityOptions(ctx echo.Context) error
GetFundraisingEventsIdVisibilityOptions converts echo context to params.
func (*ServerInterfaceWrapper) GetTeams ¶
func (w *ServerInterfaceWrapper) GetTeams(ctx echo.Context) error
GetTeams converts echo context to params.
func (*ServerInterfaceWrapper) GetTeamsId ¶
func (w *ServerInterfaceWrapper) GetTeamsId(ctx echo.Context) error
GetTeamsId converts echo context to params.
func (*ServerInterfaceWrapper) GetTeamsIdCampaigns ¶
func (w *ServerInterfaceWrapper) GetTeamsIdCampaigns(ctx echo.Context) error
GetTeamsIdCampaigns converts echo context to params.
func (*ServerInterfaceWrapper) GetTeamsIdCampaignsCid ¶
func (w *ServerInterfaceWrapper) GetTeamsIdCampaignsCid(ctx echo.Context) error
GetTeamsIdCampaignsCid converts echo context to params.
func (*ServerInterfaceWrapper) GetUser ¶
func (w *ServerInterfaceWrapper) GetUser(ctx echo.Context) error
GetUser converts echo context to params.
func (*ServerInterfaceWrapper) GetUsersId ¶
func (w *ServerInterfaceWrapper) GetUsersId(ctx echo.Context) error
GetUsersId converts echo context to params.
func (*ServerInterfaceWrapper) GetUsersIdCampaigns ¶
func (w *ServerInterfaceWrapper) GetUsersIdCampaigns(ctx echo.Context) error
GetUsersIdCampaigns converts echo context to params.
func (*ServerInterfaceWrapper) GetUsersIdCampaignsCid ¶
func (w *ServerInterfaceWrapper) GetUsersIdCampaignsCid(ctx echo.Context) error
GetUsersIdCampaignsCid converts echo context to params.
func (*ServerInterfaceWrapper) GetUsersIdOwnedTeams ¶
func (w *ServerInterfaceWrapper) GetUsersIdOwnedTeams(ctx echo.Context) error
GetUsersIdOwnedTeams converts echo context to params.
func (*ServerInterfaceWrapper) GetUsersIdTeams ¶
func (w *ServerInterfaceWrapper) GetUsersIdTeams(ctx echo.Context) error
GetUsersIdTeams converts echo context to params.
func (*ServerInterfaceWrapper) GetUsersSlug ¶ added in v0.0.3
func (w *ServerInterfaceWrapper) GetUsersSlug(ctx echo.Context) error
GetUsersSlug converts echo context to params.
func (*ServerInterfaceWrapper) PatchCausesIdVisibilityOptions ¶
func (w *ServerInterfaceWrapper) PatchCausesIdVisibilityOptions(ctx echo.Context) error
PatchCausesIdVisibilityOptions converts echo context to params.
type Social ¶
type Social struct {
Discord *string `json:"discord,omitempty"`
Facebook *string `json:"facebook,omitempty"`
Instagram *string `json:"instagram,omitempty"`
Mixer *string `json:"mixer,omitempty"`
Twitch *string `json:"twitch,omitempty"`
Twitter *string `json:"twitter,omitempty"`
Website *string `json:"website,omitempty"`
Youtube *string `json:"youtube,omitempty"`
}
Social defines model for Social.
type Teams ¶ added in v0.0.4
type Teams []struct {
Avatar *Image `json:"avatar,omitempty"`
Bio *string `json:"bio,omitempty"`
Disbanded *bool `json:"disbanded,omitempty"`
Id *int `json:"id,omitempty"`
InviteOnly *bool `json:"inviteOnly,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
Social *Social `json:"social,omitempty"`
Url *string `json:"url,omitempty"`
}
Teams defines model for Teams.
type TeamsId ¶ added in v0.0.4
type TeamsId struct {
Avatar *Image `json:"avatar,omitempty"`
Bio *string `json:"bio,omitempty"`
Disbanded *bool `json:"disbanded,omitempty"`
Id *int `json:"id,omitempty"`
InviteOnly *bool `json:"inviteOnly,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
Social *Social `json:"social,omitempty"`
Url *string `json:"url,omitempty"`
}
TeamsId defines model for TeamsId.
type TeamsIdCampaigns ¶ added in v0.0.4
type TeamsIdCampaigns []struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Currency *string `json:"currency,omitempty"`
Description *string `json:"description,omitempty"`
EndsOn *string `json:"endsOn,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Goal *int `json:"goal,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoal *int `json:"originalGoal,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsOn *string `json:"startsOn,omitempty"`
TeamId *int `json:"teamId,omitempty"`
Thumbnail *Image `json:"thumbnail,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
UserId *int `json:"userId,omitempty"`
}
TeamsIdCampaigns defines model for TeamsIdCampaigns.
type TeamsIdCampaignsId ¶ added in v0.0.4
type TeamsIdCampaignsId struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Description *string `json:"description,omitempty"`
EndsAt *int `json:"endsAt,omitempty"`
FundraiserGoalAmount *float32 `json:"fundraiserGoalAmount,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Id *int `json:"id,omitempty"`
Livestream *Livestream `json:"livestream,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoalAmount *float32 `json:"originalGoalAmount,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
Status *string `json:"status,omitempty"`
Supportable *bool `json:"supportable,omitempty"`
SupportingAmountRaised *float32 `json:"supportingAmountRaised,omitempty"`
Team *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"team,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
User *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"user,omitempty"`
}
TeamsIdCampaignsId defines model for TeamsIdCampaignsId.
type Unprocessable ¶
type Unprocessable Error
error response body. Only included in Post and Patch requests.
type User ¶ added in v0.0.4
type User struct {
About *string `json:"about,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
Confirmed *bool `json:"confirmed,omitempty"`
Email *string `json:"email,omitempty"`
FirstName *string `json:"firstName,omitempty"`
Id *int `json:"id,omitempty"`
LastName *string `json:"lastName,omitempty"`
Newsletter *map[string]interface{} `json:"newsletter,omitempty"`
Slug *string `json:"slug,omitempty"`
Social *Social `json:"social,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
}
User defines model for User.
type UsersId ¶ added in v0.0.4
type UsersId struct {
About *string `json:"about,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Social *Social `json:"social,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
}
UsersId defines model for UsersId.
type UsersIdCampaigns ¶ added in v0.0.4
type UsersIdCampaigns struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
CauseCurrency *string `json:"causeCurrency,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Description *string `json:"description,omitempty"`
EndsAt *int `json:"endsAt,omitempty"`
FundraiserGoalAmount *float32 `json:"fundraiserGoalAmount,omitempty"`
Id *int `json:"id,omitempty"`
Livestream *Livestream `json:"livestream,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
OriginalFundraiserGoal *float32 `json:"originalFundraiserGoal,omitempty"`
RegionId *map[string]interface{} `json:"regionId,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
Status *string `json:"status,omitempty"`
Supportable *bool `json:"supportable,omitempty"`
SupportingAmountRaised *float32 `json:"supportingAmountRaised,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Type *string `json:"type,omitempty"`
User *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"user,omitempty"`
}
UsersIdCampaigns defines model for UsersIdCampaigns.
type UsersIdCampaignsId ¶ added in v0.0.4
type UsersIdCampaignsId struct {
AmountRaised *float32 `json:"amountRaised,omitempty"`
Avatar *Image `json:"avatar,omitempty"`
CauseId *int `json:"causeId,omitempty"`
Description *string `json:"description,omitempty"`
EndsAt *int `json:"endsAt,omitempty"`
FundraiserGoalAmount *float32 `json:"fundraiserGoalAmount,omitempty"`
FundraisingEventId *int `json:"fundraisingEventId,omitempty"`
Id *int `json:"id,omitempty"`
Livestream *Livestream `json:"livestream,omitempty"`
Name *string `json:"name,omitempty"`
OriginalGoalAmount *float32 `json:"originalGoalAmount,omitempty"`
Slug *string `json:"slug,omitempty"`
StartsAt *int `json:"startsAt,omitempty"`
Status *string `json:"status,omitempty"`
Supportable *bool `json:"supportable,omitempty"`
SupportingAmountRaised *float32 `json:"supportingAmountRaised,omitempty"`
Team *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"team,omitempty"`
TotalAmountRaised *float32 `json:"totalAmountRaised,omitempty"`
Url *string `json:"url,omitempty"`
User *struct {
Avatar *Image `json:"avatar,omitempty"`
Id *int `json:"id,omitempty"`
Slug *string `json:"slug,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"user,omitempty"`
}
UsersIdCampaignsId defines model for UsersIdCampaignsId.
type UsersIdOwnedTeams ¶ added in v0.0.4
type UsersIdOwnedTeams []struct {
Avatar *Image `json:"avatar,omitempty"`
Bio *string `json:"bio,omitempty"`
Disbanded *bool `json:"disbanded,omitempty"`
Id *int `json:"id,omitempty"`
InviteOnly *bool `json:"inviteOnly,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
Social *Social `json:"social,omitempty"`
Url *string `json:"url,omitempty"`
}
UsersIdOwnedTeams defines model for UsersIdOwnedTeams.