api

package
v5.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.

Index

Constants

View Source
const (
	AuthorizationScopes = "authorization.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewCampaignChallengesRequest added in v5.0.3

func NewCampaignChallengesRequest(server string, campaignId string, params *CampaignChallengesParams) (*http.Request, error)

NewCampaignChallengesRequest generates requests for CampaignChallenges

func NewCampaignDonationsRequest added in v5.0.3

func NewCampaignDonationsRequest(server string, campaignId string, params *CampaignDonationsParams) (*http.Request, error)

NewCampaignDonationsRequest generates requests for CampaignDonations

func NewCampaignLeaderboardControllerDonorRequest added in v5.0.3

func NewCampaignLeaderboardControllerDonorRequest(server string, campaignId string, params *CampaignLeaderboardControllerDonorParams) (*http.Request, error)

NewCampaignLeaderboardControllerDonorRequest generates requests for CampaignLeaderboardControllerDonor

func NewCampaignMilestonesRequest added in v5.0.3

func NewCampaignMilestonesRequest(server string, campaignId string, params *CampaignMilestonesParams) (*http.Request, error)

NewCampaignMilestonesRequest generates requests for CampaignMilestones

func NewCampaignPollsRequest added in v5.0.3

func NewCampaignPollsRequest(server string, campaignId string, params *CampaignPollsParams) (*http.Request, error)

NewCampaignPollsRequest generates requests for CampaignPolls

func NewCampaignRewardsRequest added in v5.0.3

func NewCampaignRewardsRequest(server string, campaignId string, params *CampaignRewardsParams) (*http.Request, error)

NewCampaignRewardsRequest generates requests for CampaignRewards

func NewCampaignSchedulesRequest added in v5.0.3

func NewCampaignSchedulesRequest(server string, campaignId string, params *CampaignSchedulesParams) (*http.Request, error)

NewCampaignSchedulesRequest generates requests for CampaignSchedules

func NewCauseCampaignsRequest added in v5.0.3

func NewCauseCampaignsRequest(server string, causeId string, params *CauseCampaignsParams) (*http.Request, error)

NewCauseCampaignsRequest generates requests for CauseCampaigns

func NewCauseFundraisingEventsRequest added in v5.0.3

func NewCauseFundraisingEventsRequest(server string, causeId string, params *CauseFundraisingEventsParams) (*http.Request, error)

NewCauseFundraisingEventsRequest generates requests for CauseFundraisingEvents

func NewCauseLeaderboardControllerConfiguredRequest added in v5.0.3

func NewCauseLeaderboardControllerConfiguredRequest(server string, causeId string) (*http.Request, error)

NewCauseLeaderboardControllerConfiguredRequest generates requests for CauseLeaderboardControllerConfigured

func NewCauseLeaderboardControllerDonorRequest added in v5.0.3

func NewCauseLeaderboardControllerDonorRequest(server string, causeId string, params *CauseLeaderboardControllerDonorParams) (*http.Request, error)

NewCauseLeaderboardControllerDonorRequest generates requests for CauseLeaderboardControllerDonor

func NewCauseLeaderboardControllerTeamRequest added in v5.0.3

func NewCauseLeaderboardControllerTeamRequest(server string, causeId string, params *CauseLeaderboardControllerTeamParams) (*http.Request, error)

NewCauseLeaderboardControllerTeamRequest generates requests for CauseLeaderboardControllerTeam

func NewCauseLeaderboardControllerUserRequest added in v5.0.3

func NewCauseLeaderboardControllerUserRequest(server string, causeId string, params *CauseLeaderboardControllerUserParams) (*http.Request, error)

NewCauseLeaderboardControllerUserRequest generates requests for CauseLeaderboardControllerUser

func NewFundraisingEventLeaderboardControllerConfiguredRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerConfiguredRequest(server string, fundraisingEventId string) (*http.Request, error)

NewFundraisingEventLeaderboardControllerConfiguredRequest generates requests for FundraisingEventLeaderboardControllerConfigured

func NewFundraisingEventLeaderboardControllerDonorRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerDonorRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerDonorParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerDonorRequest generates requests for FundraisingEventLeaderboardControllerDonor

func NewFundraisingEventLeaderboardControllerTeamFitnessDistanceRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerTeamFitnessDistanceRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessDistanceParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerTeamFitnessDistanceRequest generates requests for FundraisingEventLeaderboardControllerTeamFitnessDistance

func NewFundraisingEventLeaderboardControllerTeamFitnessTimeRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerTeamFitnessTimeRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessTimeParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerTeamFitnessTimeRequest generates requests for FundraisingEventLeaderboardControllerTeamFitnessTime

func NewFundraisingEventLeaderboardControllerTeamRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerTeamRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerTeamRequest generates requests for FundraisingEventLeaderboardControllerTeam

func NewFundraisingEventLeaderboardControllerUserFitnessDistanceRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerUserFitnessDistanceRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessDistanceParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerUserFitnessDistanceRequest generates requests for FundraisingEventLeaderboardControllerUserFitnessDistance

func NewFundraisingEventLeaderboardControllerUserFitnessTimeRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerUserFitnessTimeRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessTimeParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerUserFitnessTimeRequest generates requests for FundraisingEventLeaderboardControllerUserFitnessTime

func NewFundraisingEventLeaderboardControllerUserRequest added in v5.0.3

func NewFundraisingEventLeaderboardControllerUserRequest(server string, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserParams) (*http.Request, error)

NewFundraisingEventLeaderboardControllerUserRequest generates requests for FundraisingEventLeaderboardControllerUser

func NewFundraisingEventSupportingEventsRequest added in v5.0.3

func NewFundraisingEventSupportingEventsRequest(server string, fundraisingEventId string, params *FundraisingEventSupportingEventsParams) (*http.Request, error)

NewFundraisingEventSupportingEventsRequest generates requests for FundraisingEventSupportingEvents

func NewGetCampaignRequest added in v5.0.3

func NewGetCampaignRequest(server string, campaignId string) (*http.Request, error)

NewGetCampaignRequest generates requests for GetCampaign

func NewGetCauseRequest added in v5.0.3

func NewGetCauseRequest(server string, causeId string) (*http.Request, error)

NewGetCauseRequest generates requests for GetCause

func NewGetFundraisingEventRequest added in v5.0.3

func NewGetFundraisingEventRequest(server string, fundraisingEventId string) (*http.Request, error)

NewGetFundraisingEventRequest generates requests for GetFundraisingEvent

func NewGetTeamCampaignRequest added in v5.0.3

func NewGetTeamCampaignRequest(server string, teamCampaignId string) (*http.Request, error)

NewGetTeamCampaignRequest generates requests for GetTeamCampaign

func NewGetTeamRequest added in v5.0.3

func NewGetTeamRequest(server string, teamId string) (*http.Request, error)

NewGetTeamRequest generates requests for GetTeam

func NewGetUserRequest added in v5.0.3

func NewGetUserRequest(server string, userId string) (*http.Request, error)

NewGetUserRequest generates requests for GetUser

func NewTeamCampaignChallengesRequest added in v5.0.3

func NewTeamCampaignChallengesRequest(server string, teamCampaignId string, params *TeamCampaignChallengesParams) (*http.Request, error)

NewTeamCampaignChallengesRequest generates requests for TeamCampaignChallenges

func NewTeamCampaignDonationsRequest added in v5.0.3

func NewTeamCampaignDonationsRequest(server string, teamCampaignId string, params *TeamCampaignDonationsParams) (*http.Request, error)

NewTeamCampaignDonationsRequest generates requests for TeamCampaignDonations

func NewTeamCampaignLeaderboardControllerDonorRequest added in v5.0.3

func NewTeamCampaignLeaderboardControllerDonorRequest(server string, teamCampaignId string, params *TeamCampaignLeaderboardControllerDonorParams) (*http.Request, error)

NewTeamCampaignLeaderboardControllerDonorRequest generates requests for TeamCampaignLeaderboardControllerDonor

func NewTeamCampaignLeaderboardControllerUserRequest added in v5.0.3

func NewTeamCampaignLeaderboardControllerUserRequest(server string, teamCampaignId string, params *TeamCampaignLeaderboardControllerUserParams) (*http.Request, error)

NewTeamCampaignLeaderboardControllerUserRequest generates requests for TeamCampaignLeaderboardControllerUser

func NewTeamCampaignMilestonesRequest added in v5.0.3

func NewTeamCampaignMilestonesRequest(server string, teamCampaignId string, params *TeamCampaignMilestonesParams) (*http.Request, error)

NewTeamCampaignMilestonesRequest generates requests for TeamCampaignMilestones

func NewTeamCampaignPollsRequest added in v5.0.3

func NewTeamCampaignPollsRequest(server string, teamCampaignId string, params *TeamCampaignPollsParams) (*http.Request, error)

NewTeamCampaignPollsRequest generates requests for TeamCampaignPolls

func NewTeamCampaignRewardsRequest added in v5.0.3

func NewTeamCampaignRewardsRequest(server string, teamCampaignId string, params *TeamCampaignRewardsParams) (*http.Request, error)

NewTeamCampaignRewardsRequest generates requests for TeamCampaignRewards

func NewTeamCampaignSchedulesRequest added in v5.0.3

func NewTeamCampaignSchedulesRequest(server string, teamCampaignId string, params *TeamCampaignSchedulesParams) (*http.Request, error)

NewTeamCampaignSchedulesRequest generates requests for TeamCampaignSchedules

func NewTeamCampaignSupportingCampaignsRequest added in v5.0.3

func NewTeamCampaignSupportingCampaignsRequest(server string, teamCampaignId string, params *TeamCampaignSupportingCampaignsParams) (*http.Request, error)

NewTeamCampaignSupportingCampaignsRequest generates requests for TeamCampaignSupportingCampaigns

func NewTeamMembersRequest added in v5.0.3

func NewTeamMembersRequest(server string, teamId string, params *TeamMembersParams) (*http.Request, error)

NewTeamMembersRequest generates requests for TeamMembers

func NewTeamTeamCampaignsRequest added in v5.0.3

func NewTeamTeamCampaignsRequest(server string, teamId string, params *TeamTeamCampaignsParams) (*http.Request, error)

NewTeamTeamCampaignsRequest generates requests for TeamTeamCampaigns

func NewUserCampaignsRequest added in v5.0.3

func NewUserCampaignsRequest(server string, userId string, params *UserCampaignsParams) (*http.Request, error)

NewUserCampaignsRequest generates requests for UserCampaigns

func NewUserControllerCurrentUserRequest added in v5.0.3

func NewUserControllerCurrentUserRequest(server string) (*http.Request, error)

NewUserControllerCurrentUserRequest generates requests for UserControllerCurrentUser

func NewUserIntegrationEventsRequest added in v5.0.3

func NewUserIntegrationEventsRequest(server string, userId string, params *UserIntegrationEventsParams) (*http.Request, error)

NewUserIntegrationEventsRequest generates requests for UserIntegrationEvents

func NewUserTeamsRequest added in v5.0.3

func NewUserTeamsRequest(server string, userId string, params *UserTeamsParams) (*http.Request, error)

NewUserTeamsRequest generates requests for UserTeams

func NewV5ApiWebOauthAuthorizeRequest

func NewV5ApiWebOauthAuthorizeRequest(server string, params *V5ApiWebOauthAuthorizeParams, body V5ApiWebOauthAuthorizeJSONRequestBody) (*http.Request, error)

NewV5ApiWebOauthAuthorizeRequest calls the generic V5ApiWebOauthAuthorize builder with application/json body

func NewV5ApiWebOauthAuthorizeRequestWithBody

func NewV5ApiWebOauthAuthorizeRequestWithBody(server string, params *V5ApiWebOauthAuthorizeParams, contentType string, body io.Reader) (*http.Request, error)

NewV5ApiWebOauthAuthorizeRequestWithBody generates requests for V5ApiWebOauthAuthorize with any type of body

func NewV5ApiWebOauthTokenRequest

func NewV5ApiWebOauthTokenRequest(server string, params *V5ApiWebOauthTokenParams, body V5ApiWebOauthTokenJSONRequestBody) (*http.Request, error)

NewV5ApiWebOauthTokenRequest calls the generic V5ApiWebOauthToken builder with application/json body

func NewV5ApiWebOauthTokenRequestWithBody

func NewV5ApiWebOauthTokenRequestWithBody(server string, params *V5ApiWebOauthTokenParams, contentType string, body io.Reader) (*http.Request, error)

NewV5ApiWebOauthTokenRequestWithBody generates requests for V5ApiWebOauthToken with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

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 Campaign

type Campaign struct {
	// AmountRaised The amount raised directly by this campaign
	AmountRaised Money `json:"amount_raised"`

	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar *Image `json:"avatar"`

	// Description A short description about this campaign
	Description string `json:"description"`

	// Goal The current goal of the campaign
	Goal Money `json:"goal"`

	// HasSchedule Whether or not this campaign has schedule items
	HasSchedule bool `json:"has_schedule"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// InsertedAt When the campaign was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name The name of this campaign
	Name string `json:"name"`

	// OriginalGoal The original goal of the campaign
	OriginalGoal Money `json:"original_goal"`

	// PublishedAt When the campaign was last published
	PublishedAt time.Time `json:"published_at"`

	// RetiredAt When the campaign was retired
	RetiredAt *time.Time `json:"retired_at"`

	// Slug This is a url slug used for the given resource.
	Slug Slug `json:"slug"`

	// Status The status of this campaign
	Status CampaignStatus `json:"status"`

	// SupportingType The amount raised by this campaign and all supporting campaigns
	SupportingType CampaignSupportingType `json:"supporting_type"`

	// TotalAmountRaised The amount raised by this campaign and all supporting campaigns
	TotalAmountRaised Money `json:"total_amount_raised"`

	// UpdatedAt When the campaign details were last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Url This is the full url for the campaign.
	Url Url `json:"url"`

	// User The User that owns this campaign.
	User *User `json:"user"`

	// UserId The ID for a User that owns this campaign.
	UserId *PublicId `json:"user_id"`
}

Campaign defines model for Campaign.

type CampaignChallenges200JSONResponse added in v5.0.3

type CampaignChallenges200JSONResponse PaginatedResponse

func (CampaignChallenges200JSONResponse) VisitCampaignChallengesResponse added in v5.0.3

func (response CampaignChallenges200JSONResponse) VisitCampaignChallengesResponse(w http.ResponseWriter) error

type CampaignChallenges401JSONResponse added in v5.0.3

type CampaignChallenges401JSONResponse Unauthorized

func (CampaignChallenges401JSONResponse) VisitCampaignChallengesResponse added in v5.0.3

func (response CampaignChallenges401JSONResponse) VisitCampaignChallengesResponse(w http.ResponseWriter) error

type CampaignChallenges404JSONResponse added in v5.0.3

type CampaignChallenges404JSONResponse NotFound

func (CampaignChallenges404JSONResponse) VisitCampaignChallengesResponse added in v5.0.3

func (response CampaignChallenges404JSONResponse) VisitCampaignChallengesResponse(w http.ResponseWriter) error

type CampaignChallenges422JSONResponse added in v5.0.3

type CampaignChallenges422JSONResponse UnprocessableEntity

func (CampaignChallenges422JSONResponse) VisitCampaignChallengesResponse added in v5.0.3

func (response CampaignChallenges422JSONResponse) VisitCampaignChallengesResponse(w http.ResponseWriter) error

type CampaignChallengesParams added in v5.0.3

type CampaignChallengesParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignChallengesParams defines parameters for CampaignChallenges.

type CampaignChallengesRequestObject added in v5.0.3

type CampaignChallengesRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignChallengesParams
}

type CampaignChallengesResponse added in v5.0.3

type CampaignChallengesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignChallengesResponse added in v5.0.3

func ParseCampaignChallengesResponse(rsp *http.Response) (*CampaignChallengesResponse, error)

ParseCampaignChallengesResponse parses an HTTP response from a CampaignChallengesWithResponse call

func (CampaignChallengesResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CampaignChallengesResponse) StatusCode added in v5.0.3

func (r CampaignChallengesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CampaignChallengesResponseObject added in v5.0.3

type CampaignChallengesResponseObject interface {
	VisitCampaignChallengesResponse(w http.ResponseWriter) error
}

type CampaignDonations200JSONResponse added in v5.0.3

type CampaignDonations200JSONResponse PaginatedResponse

func (CampaignDonations200JSONResponse) VisitCampaignDonationsResponse added in v5.0.3

func (response CampaignDonations200JSONResponse) VisitCampaignDonationsResponse(w http.ResponseWriter) error

type CampaignDonations401JSONResponse added in v5.0.3

type CampaignDonations401JSONResponse Unauthorized

func (CampaignDonations401JSONResponse) VisitCampaignDonationsResponse added in v5.0.3

func (response CampaignDonations401JSONResponse) VisitCampaignDonationsResponse(w http.ResponseWriter) error

type CampaignDonations404JSONResponse added in v5.0.3

type CampaignDonations404JSONResponse NotFound

func (CampaignDonations404JSONResponse) VisitCampaignDonationsResponse added in v5.0.3

func (response CampaignDonations404JSONResponse) VisitCampaignDonationsResponse(w http.ResponseWriter) error

type CampaignDonations422JSONResponse added in v5.0.3

type CampaignDonations422JSONResponse UnprocessableEntity

func (CampaignDonations422JSONResponse) VisitCampaignDonationsResponse added in v5.0.3

func (response CampaignDonations422JSONResponse) VisitCampaignDonationsResponse(w http.ResponseWriter) error

type CampaignDonationsParams added in v5.0.3

type CampaignDonationsParams struct {
	// CompletedBefore Returns only donations that have been completed before the given moment in ISO8601 format
	CompletedBefore *string `form:"completed_before,omitempty" json:"completed_before,omitempty"`

	// CompletedAfter Returns only donations that have been completed after the given moment in ISO8601 format
	CompletedAfter *string `form:"completed_after,omitempty" json:"completed_after,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignDonationsParams defines parameters for CampaignDonations.

type CampaignDonationsRequestObject added in v5.0.3

type CampaignDonationsRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignDonationsParams
}

type CampaignDonationsResponse added in v5.0.3

type CampaignDonationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignDonationsResponse added in v5.0.3

func ParseCampaignDonationsResponse(rsp *http.Response) (*CampaignDonationsResponse, error)

ParseCampaignDonationsResponse parses an HTTP response from a CampaignDonationsWithResponse call

func (CampaignDonationsResponse) Status added in v5.0.3

func (r CampaignDonationsResponse) Status() string

Status returns HTTPResponse.Status

func (CampaignDonationsResponse) StatusCode added in v5.0.3

func (r CampaignDonationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CampaignDonationsResponseObject added in v5.0.3

type CampaignDonationsResponseObject interface {
	VisitCampaignDonationsResponse(w http.ResponseWriter) error
}

type CampaignLeaderboardControllerDonor200JSONResponse added in v5.0.3

type CampaignLeaderboardControllerDonor200JSONResponse PaginatedResponse

func (CampaignLeaderboardControllerDonor200JSONResponse) VisitCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response CampaignLeaderboardControllerDonor200JSONResponse) VisitCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CampaignLeaderboardControllerDonor401JSONResponse added in v5.0.3

type CampaignLeaderboardControllerDonor401JSONResponse Unauthorized

func (CampaignLeaderboardControllerDonor401JSONResponse) VisitCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response CampaignLeaderboardControllerDonor401JSONResponse) VisitCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CampaignLeaderboardControllerDonor403ApplictionjsonResponse added in v5.0.3

type CampaignLeaderboardControllerDonor403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (CampaignLeaderboardControllerDonor403ApplictionjsonResponse) VisitCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response CampaignLeaderboardControllerDonor403ApplictionjsonResponse) VisitCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CampaignLeaderboardControllerDonor404JSONResponse added in v5.0.3

type CampaignLeaderboardControllerDonor404JSONResponse NotFound

func (CampaignLeaderboardControllerDonor404JSONResponse) VisitCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response CampaignLeaderboardControllerDonor404JSONResponse) VisitCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CampaignLeaderboardControllerDonor422JSONResponse added in v5.0.3

type CampaignLeaderboardControllerDonor422JSONResponse UnprocessableEntity

func (CampaignLeaderboardControllerDonor422JSONResponse) VisitCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response CampaignLeaderboardControllerDonor422JSONResponse) VisitCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CampaignLeaderboardControllerDonorParams added in v5.0.3

type CampaignLeaderboardControllerDonorParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *CampaignLeaderboardControllerDonorParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignLeaderboardControllerDonorParams defines parameters for CampaignLeaderboardControllerDonor.

type CampaignLeaderboardControllerDonorParamsTimeType added in v5.0.3

type CampaignLeaderboardControllerDonorParamsTimeType string

CampaignLeaderboardControllerDonorParamsTimeType defines parameters for CampaignLeaderboardControllerDonor.

const (
	CampaignLeaderboardControllerDonorParamsTimeTypeAll     CampaignLeaderboardControllerDonorParamsTimeType = "all"
	CampaignLeaderboardControllerDonorParamsTimeTypeDaily   CampaignLeaderboardControllerDonorParamsTimeType = "daily"
	CampaignLeaderboardControllerDonorParamsTimeTypeMonthly CampaignLeaderboardControllerDonorParamsTimeType = "monthly"
	CampaignLeaderboardControllerDonorParamsTimeTypeWeekly  CampaignLeaderboardControllerDonorParamsTimeType = "weekly"
	CampaignLeaderboardControllerDonorParamsTimeTypeYearly  CampaignLeaderboardControllerDonorParamsTimeType = "yearly"
	CampaignLeaderboardControllerDonorParamsTimeTypeYtd     CampaignLeaderboardControllerDonorParamsTimeType = "ytd"
)

Defines values for CampaignLeaderboardControllerDonorParamsTimeType.

type CampaignLeaderboardControllerDonorRequestObject added in v5.0.3

type CampaignLeaderboardControllerDonorRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignLeaderboardControllerDonorParams
}

type CampaignLeaderboardControllerDonorResponse added in v5.0.3

type CampaignLeaderboardControllerDonorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignLeaderboardControllerDonorResponse added in v5.0.3

func ParseCampaignLeaderboardControllerDonorResponse(rsp *http.Response) (*CampaignLeaderboardControllerDonorResponse, error)

ParseCampaignLeaderboardControllerDonorResponse parses an HTTP response from a CampaignLeaderboardControllerDonorWithResponse call

func (CampaignLeaderboardControllerDonorResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CampaignLeaderboardControllerDonorResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type CampaignLeaderboardControllerDonorResponseObject added in v5.0.3

type CampaignLeaderboardControllerDonorResponseObject interface {
	VisitCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error
}

type CampaignMilestones200JSONResponse added in v5.0.3

type CampaignMilestones200JSONResponse PaginatedResponse

func (CampaignMilestones200JSONResponse) VisitCampaignMilestonesResponse added in v5.0.3

func (response CampaignMilestones200JSONResponse) VisitCampaignMilestonesResponse(w http.ResponseWriter) error

type CampaignMilestones401JSONResponse added in v5.0.3

type CampaignMilestones401JSONResponse Unauthorized

func (CampaignMilestones401JSONResponse) VisitCampaignMilestonesResponse added in v5.0.3

func (response CampaignMilestones401JSONResponse) VisitCampaignMilestonesResponse(w http.ResponseWriter) error

type CampaignMilestones404JSONResponse added in v5.0.3

type CampaignMilestones404JSONResponse NotFound

func (CampaignMilestones404JSONResponse) VisitCampaignMilestonesResponse added in v5.0.3

func (response CampaignMilestones404JSONResponse) VisitCampaignMilestonesResponse(w http.ResponseWriter) error

type CampaignMilestones422JSONResponse added in v5.0.3

type CampaignMilestones422JSONResponse UnprocessableEntity

func (CampaignMilestones422JSONResponse) VisitCampaignMilestonesResponse added in v5.0.3

func (response CampaignMilestones422JSONResponse) VisitCampaignMilestonesResponse(w http.ResponseWriter) error

type CampaignMilestonesParams added in v5.0.3

type CampaignMilestonesParams struct {
	// IncludeDisabled Returns disabled milestones. Defaults to false
	IncludeDisabled *bool `form:"include_disabled,omitempty" json:"include_disabled,omitempty"`

	// CreatedBefore Returns only milestones that have been updated before the given moment in ISO8601 format
	CreatedBefore *string `form:"created_before,omitempty" json:"created_before,omitempty"`

	// CreatedAfter Returns only milestones that have been updated after the given moment in ISO8601 format
	CreatedAfter *string `form:"created_after,omitempty" json:"created_after,omitempty"`

	// UpdatedBefore Returns only milestones that have been updated before the given moment in ISO8601 format
	UpdatedBefore *string `form:"updated_before,omitempty" json:"updated_before,omitempty"`

	// UpdatedAfter Returns only milestones that have been updated after the given moment in ISO8601 format
	UpdatedAfter *string `form:"updated_after,omitempty" json:"updated_after,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignMilestonesParams defines parameters for CampaignMilestones.

type CampaignMilestonesRequestObject added in v5.0.3

type CampaignMilestonesRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignMilestonesParams
}

type CampaignMilestonesResponse added in v5.0.3

type CampaignMilestonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignMilestonesResponse added in v5.0.3

func ParseCampaignMilestonesResponse(rsp *http.Response) (*CampaignMilestonesResponse, error)

ParseCampaignMilestonesResponse parses an HTTP response from a CampaignMilestonesWithResponse call

func (CampaignMilestonesResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CampaignMilestonesResponse) StatusCode added in v5.0.3

func (r CampaignMilestonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CampaignMilestonesResponseObject added in v5.0.3

type CampaignMilestonesResponseObject interface {
	VisitCampaignMilestonesResponse(w http.ResponseWriter) error
}

type CampaignPaginatedResponse

type CampaignPaginatedResponse = PaginatedResponse

CampaignPaginatedResponse Object returned for paginated API responses

type CampaignPolls200JSONResponse added in v5.0.3

type CampaignPolls200JSONResponse PaginatedResponse

func (CampaignPolls200JSONResponse) VisitCampaignPollsResponse added in v5.0.3

func (response CampaignPolls200JSONResponse) VisitCampaignPollsResponse(w http.ResponseWriter) error

type CampaignPolls401JSONResponse added in v5.0.3

type CampaignPolls401JSONResponse Unauthorized

func (CampaignPolls401JSONResponse) VisitCampaignPollsResponse added in v5.0.3

func (response CampaignPolls401JSONResponse) VisitCampaignPollsResponse(w http.ResponseWriter) error

type CampaignPolls404JSONResponse added in v5.0.3

type CampaignPolls404JSONResponse NotFound

func (CampaignPolls404JSONResponse) VisitCampaignPollsResponse added in v5.0.3

func (response CampaignPolls404JSONResponse) VisitCampaignPollsResponse(w http.ResponseWriter) error

type CampaignPolls422JSONResponse added in v5.0.3

type CampaignPolls422JSONResponse UnprocessableEntity

func (CampaignPolls422JSONResponse) VisitCampaignPollsResponse added in v5.0.3

func (response CampaignPolls422JSONResponse) VisitCampaignPollsResponse(w http.ResponseWriter) error

type CampaignPollsParams added in v5.0.3

type CampaignPollsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignPollsParams defines parameters for CampaignPolls.

type CampaignPollsRequestObject added in v5.0.3

type CampaignPollsRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignPollsParams
}

type CampaignPollsResponse added in v5.0.3

type CampaignPollsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignPollsResponse added in v5.0.3

func ParseCampaignPollsResponse(rsp *http.Response) (*CampaignPollsResponse, error)

ParseCampaignPollsResponse parses an HTTP response from a CampaignPollsWithResponse call

func (CampaignPollsResponse) Status added in v5.0.3

func (r CampaignPollsResponse) Status() string

Status returns HTTPResponse.Status

func (CampaignPollsResponse) StatusCode added in v5.0.3

func (r CampaignPollsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CampaignPollsResponseObject added in v5.0.3

type CampaignPollsResponseObject interface {
	VisitCampaignPollsResponse(w http.ResponseWriter) error
}

type CampaignResponse

type CampaignResponse struct {
	Data *Campaign `json:"data,omitempty"`
}

CampaignResponse defines model for CampaignResponse.

type CampaignRewards200JSONResponse added in v5.0.3

type CampaignRewards200JSONResponse PaginatedResponse

func (CampaignRewards200JSONResponse) VisitCampaignRewardsResponse added in v5.0.3

func (response CampaignRewards200JSONResponse) VisitCampaignRewardsResponse(w http.ResponseWriter) error

type CampaignRewards401JSONResponse added in v5.0.3

type CampaignRewards401JSONResponse Unauthorized

func (CampaignRewards401JSONResponse) VisitCampaignRewardsResponse added in v5.0.3

func (response CampaignRewards401JSONResponse) VisitCampaignRewardsResponse(w http.ResponseWriter) error

type CampaignRewards404JSONResponse added in v5.0.3

type CampaignRewards404JSONResponse NotFound

func (CampaignRewards404JSONResponse) VisitCampaignRewardsResponse added in v5.0.3

func (response CampaignRewards404JSONResponse) VisitCampaignRewardsResponse(w http.ResponseWriter) error

type CampaignRewards422JSONResponse added in v5.0.3

type CampaignRewards422JSONResponse UnprocessableEntity

func (CampaignRewards422JSONResponse) VisitCampaignRewardsResponse added in v5.0.3

func (response CampaignRewards422JSONResponse) VisitCampaignRewardsResponse(w http.ResponseWriter) error

type CampaignRewardsParams added in v5.0.3

type CampaignRewardsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignRewardsParams defines parameters for CampaignRewards.

type CampaignRewardsRequestObject added in v5.0.3

type CampaignRewardsRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignRewardsParams
}

type CampaignRewardsResponse added in v5.0.3

type CampaignRewardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignRewardsResponse added in v5.0.3

func ParseCampaignRewardsResponse(rsp *http.Response) (*CampaignRewardsResponse, error)

ParseCampaignRewardsResponse parses an HTTP response from a CampaignRewardsWithResponse call

func (CampaignRewardsResponse) Status added in v5.0.3

func (r CampaignRewardsResponse) Status() string

Status returns HTTPResponse.Status

func (CampaignRewardsResponse) StatusCode added in v5.0.3

func (r CampaignRewardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CampaignRewardsResponseObject added in v5.0.3

type CampaignRewardsResponseObject interface {
	VisitCampaignRewardsResponse(w http.ResponseWriter) error
}

type CampaignSchedules200JSONResponse added in v5.0.3

type CampaignSchedules200JSONResponse PaginatedResponse

func (CampaignSchedules200JSONResponse) VisitCampaignSchedulesResponse added in v5.0.3

func (response CampaignSchedules200JSONResponse) VisitCampaignSchedulesResponse(w http.ResponseWriter) error

type CampaignSchedules401JSONResponse added in v5.0.3

type CampaignSchedules401JSONResponse Unauthorized

func (CampaignSchedules401JSONResponse) VisitCampaignSchedulesResponse added in v5.0.3

func (response CampaignSchedules401JSONResponse) VisitCampaignSchedulesResponse(w http.ResponseWriter) error

type CampaignSchedules404JSONResponse added in v5.0.3

type CampaignSchedules404JSONResponse NotFound

func (CampaignSchedules404JSONResponse) VisitCampaignSchedulesResponse added in v5.0.3

func (response CampaignSchedules404JSONResponse) VisitCampaignSchedulesResponse(w http.ResponseWriter) error

type CampaignSchedules422JSONResponse added in v5.0.3

type CampaignSchedules422JSONResponse UnprocessableEntity

func (CampaignSchedules422JSONResponse) VisitCampaignSchedulesResponse added in v5.0.3

func (response CampaignSchedules422JSONResponse) VisitCampaignSchedulesResponse(w http.ResponseWriter) error

type CampaignSchedulesParams added in v5.0.3

type CampaignSchedulesParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CampaignSchedulesParams defines parameters for CampaignSchedules.

type CampaignSchedulesRequestObject added in v5.0.3

type CampaignSchedulesRequestObject struct {
	CampaignId string `json:"campaign_id"`
	Params     CampaignSchedulesParams
}

type CampaignSchedulesResponse added in v5.0.3

type CampaignSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCampaignSchedulesResponse added in v5.0.3

func ParseCampaignSchedulesResponse(rsp *http.Response) (*CampaignSchedulesResponse, error)

ParseCampaignSchedulesResponse parses an HTTP response from a CampaignSchedulesWithResponse call

func (CampaignSchedulesResponse) Status added in v5.0.3

func (r CampaignSchedulesResponse) Status() string

Status returns HTTPResponse.Status

func (CampaignSchedulesResponse) StatusCode added in v5.0.3

func (r CampaignSchedulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CampaignSchedulesResponseObject added in v5.0.3

type CampaignSchedulesResponseObject interface {
	VisitCampaignSchedulesResponse(w http.ResponseWriter) error
}

type CampaignStatus

type CampaignStatus string

CampaignStatus The status of this campaign

const (
	CampaignStatusPublished   CampaignStatus = "published"
	CampaignStatusRetired     CampaignStatus = "retired"
	CampaignStatusUnpublished CampaignStatus = "unpublished"
)

Defines values for CampaignStatus.

type CampaignSupportingType

type CampaignSupportingType string

CampaignSupportingType The amount raised by this campaign and all supporting campaigns

const (
	CampaignSupportingTypeInviteOnly CampaignSupportingType = "invite_only"
	CampaignSupportingTypeNone       CampaignSupportingType = "none"
	CampaignSupportingTypePrivate    CampaignSupportingType = "private"
	CampaignSupportingTypePublic     CampaignSupportingType = "public"
)

Defines values for CampaignSupportingType.

type Cause

type Cause struct {
	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar  *Image `json:"avatar"`
	Contact struct {
		// AddressLine1 The first line of the contact address
		AddressLine1 *string `json:"address_line1"`

		// AddressLine2 The second line of the contact address
		AddressLine2 *string `json:"address_line2"`

		// City The city of the contact address
		City *string `json:"city"`

		// Country The country of the contact address
		Country *string `json:"country"`

		// Email An email address used for fundraiser contact.
		Email *string `json:"email"`

		// PostalCode The postal code of the contact address
		PostalCode *string `json:"postal_code"`

		// Region The region of the contact address
		Region *string `json:"region"`
	} `json:"contact"`

	// CurrencyCode The currency code used by this cause.
	CurrencyCode CurrencyCode `json:"currency_code"`

	// Description A description about this cause
	Description string `json:"description"`

	// GovernmentId The government id of this cause.
	GovernmentId string `json:"government_id"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// InsertedAt When the cause was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name The cause name
	Name string `json:"name"`

	// ShortDescription A short description about this cause
	ShortDescription *string `json:"short_description"`

	// Slug This is a url slug used for the given resource.
	Slug Slug `json:"slug"`

	// Social An object with various social usernames and links
	Social *Social `json:"social"`

	// UpdatedAt When the cause details were last updated
	UpdatedAt time.Time `json:"updated_at"`
}

Cause defines model for Cause.

type CauseCampaigns200JSONResponse added in v5.0.3

type CauseCampaigns200JSONResponse PaginatedResponse

func (CauseCampaigns200JSONResponse) VisitCauseCampaignsResponse added in v5.0.3

func (response CauseCampaigns200JSONResponse) VisitCauseCampaignsResponse(w http.ResponseWriter) error

type CauseCampaigns401JSONResponse added in v5.0.3

type CauseCampaigns401JSONResponse Unauthorized

func (CauseCampaigns401JSONResponse) VisitCauseCampaignsResponse added in v5.0.3

func (response CauseCampaigns401JSONResponse) VisitCauseCampaignsResponse(w http.ResponseWriter) error

type CauseCampaigns404JSONResponse added in v5.0.3

type CauseCampaigns404JSONResponse NotFound

func (CauseCampaigns404JSONResponse) VisitCauseCampaignsResponse added in v5.0.3

func (response CauseCampaigns404JSONResponse) VisitCauseCampaignsResponse(w http.ResponseWriter) error

type CauseCampaigns422JSONResponse added in v5.0.3

type CauseCampaigns422JSONResponse UnprocessableEntity

func (CauseCampaigns422JSONResponse) VisitCauseCampaignsResponse added in v5.0.3

func (response CauseCampaigns422JSONResponse) VisitCauseCampaignsResponse(w http.ResponseWriter) error

type CauseCampaignsParams added in v5.0.3

type CauseCampaignsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CauseCampaignsParams defines parameters for CauseCampaigns.

type CauseCampaignsRequestObject added in v5.0.3

type CauseCampaignsRequestObject struct {
	CauseId string `json:"cause_id"`
	Params  CauseCampaignsParams
}

type CauseCampaignsResponse added in v5.0.3

type CauseCampaignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCauseCampaignsResponse added in v5.0.3

func ParseCauseCampaignsResponse(rsp *http.Response) (*CauseCampaignsResponse, error)

ParseCauseCampaignsResponse parses an HTTP response from a CauseCampaignsWithResponse call

func (CauseCampaignsResponse) Status added in v5.0.3

func (r CauseCampaignsResponse) Status() string

Status returns HTTPResponse.Status

func (CauseCampaignsResponse) StatusCode added in v5.0.3

func (r CauseCampaignsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CauseCampaignsResponseObject added in v5.0.3

type CauseCampaignsResponseObject interface {
	VisitCauseCampaignsResponse(w http.ResponseWriter) error
}

type CauseFundraisingEvents200JSONResponse added in v5.0.3

type CauseFundraisingEvents200JSONResponse PaginatedResponse

func (CauseFundraisingEvents200JSONResponse) VisitCauseFundraisingEventsResponse added in v5.0.3

func (response CauseFundraisingEvents200JSONResponse) VisitCauseFundraisingEventsResponse(w http.ResponseWriter) error

type CauseFundraisingEvents401JSONResponse added in v5.0.3

type CauseFundraisingEvents401JSONResponse Unauthorized

func (CauseFundraisingEvents401JSONResponse) VisitCauseFundraisingEventsResponse added in v5.0.3

func (response CauseFundraisingEvents401JSONResponse) VisitCauseFundraisingEventsResponse(w http.ResponseWriter) error

type CauseFundraisingEvents404JSONResponse added in v5.0.3

type CauseFundraisingEvents404JSONResponse NotFound

func (CauseFundraisingEvents404JSONResponse) VisitCauseFundraisingEventsResponse added in v5.0.3

func (response CauseFundraisingEvents404JSONResponse) VisitCauseFundraisingEventsResponse(w http.ResponseWriter) error

type CauseFundraisingEvents422JSONResponse added in v5.0.3

type CauseFundraisingEvents422JSONResponse UnprocessableEntity

func (CauseFundraisingEvents422JSONResponse) VisitCauseFundraisingEventsResponse added in v5.0.3

func (response CauseFundraisingEvents422JSONResponse) VisitCauseFundraisingEventsResponse(w http.ResponseWriter) error

type CauseFundraisingEventsParams added in v5.0.3

type CauseFundraisingEventsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CauseFundraisingEventsParams defines parameters for CauseFundraisingEvents.

type CauseFundraisingEventsRequestObject added in v5.0.3

type CauseFundraisingEventsRequestObject struct {
	CauseId string `json:"cause_id"`
	Params  CauseFundraisingEventsParams
}

type CauseFundraisingEventsResponse added in v5.0.3

type CauseFundraisingEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCauseFundraisingEventsResponse added in v5.0.3

func ParseCauseFundraisingEventsResponse(rsp *http.Response) (*CauseFundraisingEventsResponse, error)

ParseCauseFundraisingEventsResponse parses an HTTP response from a CauseFundraisingEventsWithResponse call

func (CauseFundraisingEventsResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CauseFundraisingEventsResponse) StatusCode added in v5.0.3

func (r CauseFundraisingEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CauseFundraisingEventsResponseObject added in v5.0.3

type CauseFundraisingEventsResponseObject interface {
	VisitCauseFundraisingEventsResponse(w http.ResponseWriter) error
}

type CauseLeaderboardControllerConfigured200JSONResponse added in v5.0.3

type CauseLeaderboardControllerConfigured200JSONResponse struct {
	// Data Configured Leaderboards Like V3
	Data *ConfiguredLeaderboard `json:"data,omitempty"`
}

func (CauseLeaderboardControllerConfigured200JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse added in v5.0.3

func (response CauseLeaderboardControllerConfigured200JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerConfigured401JSONResponse added in v5.0.3

type CauseLeaderboardControllerConfigured401JSONResponse Unauthorized

func (CauseLeaderboardControllerConfigured401JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse added in v5.0.3

func (response CauseLeaderboardControllerConfigured401JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerConfigured403ApplictionjsonResponse added in v5.0.3

type CauseLeaderboardControllerConfigured403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (CauseLeaderboardControllerConfigured403ApplictionjsonResponse) VisitCauseLeaderboardControllerConfiguredResponse added in v5.0.3

func (response CauseLeaderboardControllerConfigured403ApplictionjsonResponse) VisitCauseLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerConfigured404JSONResponse added in v5.0.3

type CauseLeaderboardControllerConfigured404JSONResponse NotFound

func (CauseLeaderboardControllerConfigured404JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse added in v5.0.3

func (response CauseLeaderboardControllerConfigured404JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerConfigured422JSONResponse added in v5.0.3

type CauseLeaderboardControllerConfigured422JSONResponse UnprocessableEntity

func (CauseLeaderboardControllerConfigured422JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse added in v5.0.3

func (response CauseLeaderboardControllerConfigured422JSONResponse) VisitCauseLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerConfiguredRequestObject added in v5.0.3

type CauseLeaderboardControllerConfiguredRequestObject struct {
	CauseId string `json:"cause_id"`
}

type CauseLeaderboardControllerConfiguredResponse added in v5.0.3

type CauseLeaderboardControllerConfiguredResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Data Configured Leaderboards Like V3
		Data *ConfiguredLeaderboard `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseCauseLeaderboardControllerConfiguredResponse added in v5.0.3

func ParseCauseLeaderboardControllerConfiguredResponse(rsp *http.Response) (*CauseLeaderboardControllerConfiguredResponse, error)

ParseCauseLeaderboardControllerConfiguredResponse parses an HTTP response from a CauseLeaderboardControllerConfiguredWithResponse call

func (CauseLeaderboardControllerConfiguredResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CauseLeaderboardControllerConfiguredResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type CauseLeaderboardControllerConfiguredResponseObject added in v5.0.3

type CauseLeaderboardControllerConfiguredResponseObject interface {
	VisitCauseLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error
}

type CauseLeaderboardControllerDonor200JSONResponse added in v5.0.3

type CauseLeaderboardControllerDonor200JSONResponse PaginatedResponse

func (CauseLeaderboardControllerDonor200JSONResponse) VisitCauseLeaderboardControllerDonorResponse added in v5.0.3

func (response CauseLeaderboardControllerDonor200JSONResponse) VisitCauseLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerDonor401JSONResponse added in v5.0.3

type CauseLeaderboardControllerDonor401JSONResponse Unauthorized

func (CauseLeaderboardControllerDonor401JSONResponse) VisitCauseLeaderboardControllerDonorResponse added in v5.0.3

func (response CauseLeaderboardControllerDonor401JSONResponse) VisitCauseLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerDonor403ApplictionjsonResponse added in v5.0.3

type CauseLeaderboardControllerDonor403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (CauseLeaderboardControllerDonor403ApplictionjsonResponse) VisitCauseLeaderboardControllerDonorResponse added in v5.0.3

func (response CauseLeaderboardControllerDonor403ApplictionjsonResponse) VisitCauseLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerDonor404JSONResponse added in v5.0.3

type CauseLeaderboardControllerDonor404JSONResponse NotFound

func (CauseLeaderboardControllerDonor404JSONResponse) VisitCauseLeaderboardControllerDonorResponse added in v5.0.3

func (response CauseLeaderboardControllerDonor404JSONResponse) VisitCauseLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerDonor422JSONResponse added in v5.0.3

type CauseLeaderboardControllerDonor422JSONResponse UnprocessableEntity

func (CauseLeaderboardControllerDonor422JSONResponse) VisitCauseLeaderboardControllerDonorResponse added in v5.0.3

func (response CauseLeaderboardControllerDonor422JSONResponse) VisitCauseLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerDonorParams added in v5.0.3

type CauseLeaderboardControllerDonorParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *CauseLeaderboardControllerDonorParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CauseLeaderboardControllerDonorParams defines parameters for CauseLeaderboardControllerDonor.

type CauseLeaderboardControllerDonorParamsTimeType added in v5.0.3

type CauseLeaderboardControllerDonorParamsTimeType string

CauseLeaderboardControllerDonorParamsTimeType defines parameters for CauseLeaderboardControllerDonor.

const (
	CauseLeaderboardControllerDonorParamsTimeTypeAll     CauseLeaderboardControllerDonorParamsTimeType = "all"
	CauseLeaderboardControllerDonorParamsTimeTypeDaily   CauseLeaderboardControllerDonorParamsTimeType = "daily"
	CauseLeaderboardControllerDonorParamsTimeTypeMonthly CauseLeaderboardControllerDonorParamsTimeType = "monthly"
	CauseLeaderboardControllerDonorParamsTimeTypeWeekly  CauseLeaderboardControllerDonorParamsTimeType = "weekly"
	CauseLeaderboardControllerDonorParamsTimeTypeYearly  CauseLeaderboardControllerDonorParamsTimeType = "yearly"
	CauseLeaderboardControllerDonorParamsTimeTypeYtd     CauseLeaderboardControllerDonorParamsTimeType = "ytd"
)

Defines values for CauseLeaderboardControllerDonorParamsTimeType.

type CauseLeaderboardControllerDonorRequestObject added in v5.0.3

type CauseLeaderboardControllerDonorRequestObject struct {
	CauseId string `json:"cause_id"`
	Params  CauseLeaderboardControllerDonorParams
}

type CauseLeaderboardControllerDonorResponse added in v5.0.3

type CauseLeaderboardControllerDonorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCauseLeaderboardControllerDonorResponse added in v5.0.3

func ParseCauseLeaderboardControllerDonorResponse(rsp *http.Response) (*CauseLeaderboardControllerDonorResponse, error)

ParseCauseLeaderboardControllerDonorResponse parses an HTTP response from a CauseLeaderboardControllerDonorWithResponse call

func (CauseLeaderboardControllerDonorResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CauseLeaderboardControllerDonorResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type CauseLeaderboardControllerDonorResponseObject added in v5.0.3

type CauseLeaderboardControllerDonorResponseObject interface {
	VisitCauseLeaderboardControllerDonorResponse(w http.ResponseWriter) error
}

type CauseLeaderboardControllerTeam200JSONResponse added in v5.0.3

type CauseLeaderboardControllerTeam200JSONResponse PaginatedResponse

func (CauseLeaderboardControllerTeam200JSONResponse) VisitCauseLeaderboardControllerTeamResponse added in v5.0.3

func (response CauseLeaderboardControllerTeam200JSONResponse) VisitCauseLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerTeam401JSONResponse added in v5.0.3

type CauseLeaderboardControllerTeam401JSONResponse Unauthorized

func (CauseLeaderboardControllerTeam401JSONResponse) VisitCauseLeaderboardControllerTeamResponse added in v5.0.3

func (response CauseLeaderboardControllerTeam401JSONResponse) VisitCauseLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerTeam403ApplictionjsonResponse added in v5.0.3

type CauseLeaderboardControllerTeam403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (CauseLeaderboardControllerTeam403ApplictionjsonResponse) VisitCauseLeaderboardControllerTeamResponse added in v5.0.3

func (response CauseLeaderboardControllerTeam403ApplictionjsonResponse) VisitCauseLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerTeam404JSONResponse added in v5.0.3

type CauseLeaderboardControllerTeam404JSONResponse NotFound

func (CauseLeaderboardControllerTeam404JSONResponse) VisitCauseLeaderboardControllerTeamResponse added in v5.0.3

func (response CauseLeaderboardControllerTeam404JSONResponse) VisitCauseLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerTeam422JSONResponse added in v5.0.3

type CauseLeaderboardControllerTeam422JSONResponse UnprocessableEntity

func (CauseLeaderboardControllerTeam422JSONResponse) VisitCauseLeaderboardControllerTeamResponse added in v5.0.3

func (response CauseLeaderboardControllerTeam422JSONResponse) VisitCauseLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerTeamParams added in v5.0.3

type CauseLeaderboardControllerTeamParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *CauseLeaderboardControllerTeamParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CauseLeaderboardControllerTeamParams defines parameters for CauseLeaderboardControllerTeam.

type CauseLeaderboardControllerTeamParamsTimeType added in v5.0.3

type CauseLeaderboardControllerTeamParamsTimeType string

CauseLeaderboardControllerTeamParamsTimeType defines parameters for CauseLeaderboardControllerTeam.

const (
	CauseLeaderboardControllerTeamParamsTimeTypeAll     CauseLeaderboardControllerTeamParamsTimeType = "all"
	CauseLeaderboardControllerTeamParamsTimeTypeDaily   CauseLeaderboardControllerTeamParamsTimeType = "daily"
	CauseLeaderboardControllerTeamParamsTimeTypeMonthly CauseLeaderboardControllerTeamParamsTimeType = "monthly"
	CauseLeaderboardControllerTeamParamsTimeTypeWeekly  CauseLeaderboardControllerTeamParamsTimeType = "weekly"
	CauseLeaderboardControllerTeamParamsTimeTypeYearly  CauseLeaderboardControllerTeamParamsTimeType = "yearly"
	CauseLeaderboardControllerTeamParamsTimeTypeYtd     CauseLeaderboardControllerTeamParamsTimeType = "ytd"
)

Defines values for CauseLeaderboardControllerTeamParamsTimeType.

type CauseLeaderboardControllerTeamRequestObject added in v5.0.3

type CauseLeaderboardControllerTeamRequestObject struct {
	CauseId string `json:"cause_id"`
	Params  CauseLeaderboardControllerTeamParams
}

type CauseLeaderboardControllerTeamResponse added in v5.0.3

type CauseLeaderboardControllerTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCauseLeaderboardControllerTeamResponse added in v5.0.3

func ParseCauseLeaderboardControllerTeamResponse(rsp *http.Response) (*CauseLeaderboardControllerTeamResponse, error)

ParseCauseLeaderboardControllerTeamResponse parses an HTTP response from a CauseLeaderboardControllerTeamWithResponse call

func (CauseLeaderboardControllerTeamResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CauseLeaderboardControllerTeamResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type CauseLeaderboardControllerTeamResponseObject added in v5.0.3

type CauseLeaderboardControllerTeamResponseObject interface {
	VisitCauseLeaderboardControllerTeamResponse(w http.ResponseWriter) error
}

type CauseLeaderboardControllerUser200JSONResponse added in v5.0.3

type CauseLeaderboardControllerUser200JSONResponse PaginatedResponse

func (CauseLeaderboardControllerUser200JSONResponse) VisitCauseLeaderboardControllerUserResponse added in v5.0.3

func (response CauseLeaderboardControllerUser200JSONResponse) VisitCauseLeaderboardControllerUserResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerUser401JSONResponse added in v5.0.3

type CauseLeaderboardControllerUser401JSONResponse Unauthorized

func (CauseLeaderboardControllerUser401JSONResponse) VisitCauseLeaderboardControllerUserResponse added in v5.0.3

func (response CauseLeaderboardControllerUser401JSONResponse) VisitCauseLeaderboardControllerUserResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerUser403ApplictionjsonResponse added in v5.0.3

type CauseLeaderboardControllerUser403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (CauseLeaderboardControllerUser403ApplictionjsonResponse) VisitCauseLeaderboardControllerUserResponse added in v5.0.3

func (response CauseLeaderboardControllerUser403ApplictionjsonResponse) VisitCauseLeaderboardControllerUserResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerUser404JSONResponse added in v5.0.3

type CauseLeaderboardControllerUser404JSONResponse NotFound

func (CauseLeaderboardControllerUser404JSONResponse) VisitCauseLeaderboardControllerUserResponse added in v5.0.3

func (response CauseLeaderboardControllerUser404JSONResponse) VisitCauseLeaderboardControllerUserResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerUser422JSONResponse added in v5.0.3

type CauseLeaderboardControllerUser422JSONResponse UnprocessableEntity

func (CauseLeaderboardControllerUser422JSONResponse) VisitCauseLeaderboardControllerUserResponse added in v5.0.3

func (response CauseLeaderboardControllerUser422JSONResponse) VisitCauseLeaderboardControllerUserResponse(w http.ResponseWriter) error

type CauseLeaderboardControllerUserParams added in v5.0.3

type CauseLeaderboardControllerUserParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *CauseLeaderboardControllerUserParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

CauseLeaderboardControllerUserParams defines parameters for CauseLeaderboardControllerUser.

type CauseLeaderboardControllerUserParamsTimeType added in v5.0.3

type CauseLeaderboardControllerUserParamsTimeType string

CauseLeaderboardControllerUserParamsTimeType defines parameters for CauseLeaderboardControllerUser.

const (
	CauseLeaderboardControllerUserParamsTimeTypeAll     CauseLeaderboardControllerUserParamsTimeType = "all"
	CauseLeaderboardControllerUserParamsTimeTypeDaily   CauseLeaderboardControllerUserParamsTimeType = "daily"
	CauseLeaderboardControllerUserParamsTimeTypeMonthly CauseLeaderboardControllerUserParamsTimeType = "monthly"
	CauseLeaderboardControllerUserParamsTimeTypeWeekly  CauseLeaderboardControllerUserParamsTimeType = "weekly"
	CauseLeaderboardControllerUserParamsTimeTypeYearly  CauseLeaderboardControllerUserParamsTimeType = "yearly"
	CauseLeaderboardControllerUserParamsTimeTypeYtd     CauseLeaderboardControllerUserParamsTimeType = "ytd"
)

Defines values for CauseLeaderboardControllerUserParamsTimeType.

type CauseLeaderboardControllerUserRequestObject added in v5.0.3

type CauseLeaderboardControllerUserRequestObject struct {
	CauseId string `json:"cause_id"`
	Params  CauseLeaderboardControllerUserParams
}

type CauseLeaderboardControllerUserResponse added in v5.0.3

type CauseLeaderboardControllerUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseCauseLeaderboardControllerUserResponse added in v5.0.3

func ParseCauseLeaderboardControllerUserResponse(rsp *http.Response) (*CauseLeaderboardControllerUserResponse, error)

ParseCauseLeaderboardControllerUserResponse parses an HTTP response from a CauseLeaderboardControllerUserWithResponse call

func (CauseLeaderboardControllerUserResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (CauseLeaderboardControllerUserResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type CauseLeaderboardControllerUserResponseObject added in v5.0.3

type CauseLeaderboardControllerUserResponseObject interface {
	VisitCauseLeaderboardControllerUserResponse(w http.ResponseWriter) error
}

type CauseResponse

type CauseResponse struct {
	Data *Cause `json:"data,omitempty"`
}

CauseResponse defines model for CauseResponse.

type CircuitWrapperClientWithResponsesCircuit

type CircuitWrapperClientWithResponsesCircuit struct {
	ClientWithResponsesInterface

	// ShouldSkipError determines whether an error should be skipped and have the circuit
	// track the call as successful. This takes precedence over IsBadRequest
	ShouldSkipError func(error) bool

	// IsBadRequest checks whether to count a user error against the circuit. It is recommended to set this
	IsBadRequest func(error) bool

	// CircuitCampaignChallengesWithResponse is the circuit for method CampaignChallengesWithResponse
	CircuitCampaignChallengesWithResponse *circuit.Circuit
	// CircuitCampaignDonationsWithResponse is the circuit for method CampaignDonationsWithResponse
	CircuitCampaignDonationsWithResponse *circuit.Circuit
	// CircuitCampaignLeaderboardControllerDonorWithResponse is the circuit for method CampaignLeaderboardControllerDonorWithResponse
	CircuitCampaignLeaderboardControllerDonorWithResponse *circuit.Circuit
	// CircuitCampaignMilestonesWithResponse is the circuit for method CampaignMilestonesWithResponse
	CircuitCampaignMilestonesWithResponse *circuit.Circuit
	// CircuitCampaignPollsWithResponse is the circuit for method CampaignPollsWithResponse
	CircuitCampaignPollsWithResponse *circuit.Circuit
	// CircuitCampaignRewardsWithResponse is the circuit for method CampaignRewardsWithResponse
	CircuitCampaignRewardsWithResponse *circuit.Circuit
	// CircuitCampaignSchedulesWithResponse is the circuit for method CampaignSchedulesWithResponse
	CircuitCampaignSchedulesWithResponse *circuit.Circuit
	// CircuitCauseCampaignsWithResponse is the circuit for method CauseCampaignsWithResponse
	CircuitCauseCampaignsWithResponse *circuit.Circuit
	// CircuitCauseFundraisingEventsWithResponse is the circuit for method CauseFundraisingEventsWithResponse
	CircuitCauseFundraisingEventsWithResponse *circuit.Circuit
	// CircuitCauseLeaderboardControllerConfiguredWithResponse is the circuit for method CauseLeaderboardControllerConfiguredWithResponse
	CircuitCauseLeaderboardControllerConfiguredWithResponse *circuit.Circuit
	// CircuitCauseLeaderboardControllerDonorWithResponse is the circuit for method CauseLeaderboardControllerDonorWithResponse
	CircuitCauseLeaderboardControllerDonorWithResponse *circuit.Circuit
	// CircuitCauseLeaderboardControllerTeamWithResponse is the circuit for method CauseLeaderboardControllerTeamWithResponse
	CircuitCauseLeaderboardControllerTeamWithResponse *circuit.Circuit
	// CircuitCauseLeaderboardControllerUserWithResponse is the circuit for method CauseLeaderboardControllerUserWithResponse
	CircuitCauseLeaderboardControllerUserWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerConfiguredWithResponse is the circuit for method FundraisingEventLeaderboardControllerConfiguredWithResponse
	CircuitFundraisingEventLeaderboardControllerConfiguredWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerDonorWithResponse is the circuit for method FundraisingEventLeaderboardControllerDonorWithResponse
	CircuitFundraisingEventLeaderboardControllerDonorWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse is the circuit for method FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse
	CircuitFundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse is the circuit for method FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse
	CircuitFundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerTeamWithResponse is the circuit for method FundraisingEventLeaderboardControllerTeamWithResponse
	CircuitFundraisingEventLeaderboardControllerTeamWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse is the circuit for method FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse
	CircuitFundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerUserFitnessTimeWithResponse is the circuit for method FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse
	CircuitFundraisingEventLeaderboardControllerUserFitnessTimeWithResponse *circuit.Circuit
	// CircuitFundraisingEventLeaderboardControllerUserWithResponse is the circuit for method FundraisingEventLeaderboardControllerUserWithResponse
	CircuitFundraisingEventLeaderboardControllerUserWithResponse *circuit.Circuit
	// CircuitFundraisingEventSupportingEventsWithResponse is the circuit for method FundraisingEventSupportingEventsWithResponse
	CircuitFundraisingEventSupportingEventsWithResponse *circuit.Circuit
	// CircuitGetCampaignWithResponse is the circuit for method GetCampaignWithResponse
	CircuitGetCampaignWithResponse *circuit.Circuit
	// CircuitGetCauseWithResponse is the circuit for method GetCauseWithResponse
	CircuitGetCauseWithResponse *circuit.Circuit
	// CircuitGetFundraisingEventWithResponse is the circuit for method GetFundraisingEventWithResponse
	CircuitGetFundraisingEventWithResponse *circuit.Circuit
	// CircuitGetTeamCampaignWithResponse is the circuit for method GetTeamCampaignWithResponse
	CircuitGetTeamCampaignWithResponse *circuit.Circuit
	// CircuitGetTeamWithResponse is the circuit for method GetTeamWithResponse
	CircuitGetTeamWithResponse *circuit.Circuit
	// CircuitGetUserWithResponse is the circuit for method GetUserWithResponse
	CircuitGetUserWithResponse *circuit.Circuit
	// CircuitTeamCampaignChallengesWithResponse is the circuit for method TeamCampaignChallengesWithResponse
	CircuitTeamCampaignChallengesWithResponse *circuit.Circuit
	// CircuitTeamCampaignDonationsWithResponse is the circuit for method TeamCampaignDonationsWithResponse
	CircuitTeamCampaignDonationsWithResponse *circuit.Circuit
	// CircuitTeamCampaignLeaderboardControllerDonorWithResponse is the circuit for method TeamCampaignLeaderboardControllerDonorWithResponse
	CircuitTeamCampaignLeaderboardControllerDonorWithResponse *circuit.Circuit
	// CircuitTeamCampaignLeaderboardControllerUserWithResponse is the circuit for method TeamCampaignLeaderboardControllerUserWithResponse
	CircuitTeamCampaignLeaderboardControllerUserWithResponse *circuit.Circuit
	// CircuitTeamCampaignMilestonesWithResponse is the circuit for method TeamCampaignMilestonesWithResponse
	CircuitTeamCampaignMilestonesWithResponse *circuit.Circuit
	// CircuitTeamCampaignPollsWithResponse is the circuit for method TeamCampaignPollsWithResponse
	CircuitTeamCampaignPollsWithResponse *circuit.Circuit
	// CircuitTeamCampaignRewardsWithResponse is the circuit for method TeamCampaignRewardsWithResponse
	CircuitTeamCampaignRewardsWithResponse *circuit.Circuit
	// CircuitTeamCampaignSchedulesWithResponse is the circuit for method TeamCampaignSchedulesWithResponse
	CircuitTeamCampaignSchedulesWithResponse *circuit.Circuit
	// CircuitTeamCampaignSupportingCampaignsWithResponse is the circuit for method TeamCampaignSupportingCampaignsWithResponse
	CircuitTeamCampaignSupportingCampaignsWithResponse *circuit.Circuit
	// CircuitTeamMembersWithResponse is the circuit for method TeamMembersWithResponse
	CircuitTeamMembersWithResponse *circuit.Circuit
	// CircuitTeamTeamCampaignsWithResponse is the circuit for method TeamTeamCampaignsWithResponse
	CircuitTeamTeamCampaignsWithResponse *circuit.Circuit
	// CircuitUserCampaignsWithResponse is the circuit for method UserCampaignsWithResponse
	CircuitUserCampaignsWithResponse *circuit.Circuit
	// CircuitUserControllerCurrentUserWithResponse is the circuit for method UserControllerCurrentUserWithResponse
	CircuitUserControllerCurrentUserWithResponse *circuit.Circuit
	// CircuitUserIntegrationEventsWithResponse is the circuit for method UserIntegrationEventsWithResponse
	CircuitUserIntegrationEventsWithResponse *circuit.Circuit
	// CircuitUserTeamsWithResponse is the circuit for method UserTeamsWithResponse
	CircuitUserTeamsWithResponse *circuit.Circuit
	// CircuitV5ApiWebOauthAuthorizeWithBodyWithResponse is the circuit for method V5ApiWebOauthAuthorizeWithBodyWithResponse
	CircuitV5ApiWebOauthAuthorizeWithBodyWithResponse *circuit.Circuit
	// CircuitV5ApiWebOauthAuthorizeWithResponse is the circuit for method V5ApiWebOauthAuthorizeWithResponse
	CircuitV5ApiWebOauthAuthorizeWithResponse *circuit.Circuit
	// CircuitV5ApiWebOauthTokenWithBodyWithResponse is the circuit for method V5ApiWebOauthTokenWithBodyWithResponse
	CircuitV5ApiWebOauthTokenWithBodyWithResponse *circuit.Circuit
	// CircuitV5ApiWebOauthTokenWithResponse is the circuit for method V5ApiWebOauthTokenWithResponse
	CircuitV5ApiWebOauthTokenWithResponse *circuit.Circuit
}

CircuitWrapperClientWithResponsesCircuit is a circuit wrapper for ClientWithResponsesInterface

func NewCircuitWrapperClientWithResponsesCircuit

func NewCircuitWrapperClientWithResponsesCircuit(
	manager *circuit.Manager,
	embedded ClientWithResponsesInterface,
	conf CircuitWrapperClientWithResponsesCircuitConfig,
) (*CircuitWrapperClientWithResponsesCircuit, error)

NewCircuitWrapperClientWithResponsesCircuit creates a new circuit wrapper and initializes circuits

func (*CircuitWrapperClientWithResponsesCircuit) CampaignChallengesWithResponse added in v5.0.3

CampaignChallengesWithResponse calls the embedded ClientWithResponsesInterface's method CampaignChallengesWithResponse with CircuitCampaignChallengesWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CampaignDonationsWithResponse added in v5.0.3

CampaignDonationsWithResponse calls the embedded ClientWithResponsesInterface's method CampaignDonationsWithResponse with CircuitCampaignDonationsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CampaignLeaderboardControllerDonorWithResponse added in v5.0.3

CampaignLeaderboardControllerDonorWithResponse calls the embedded ClientWithResponsesInterface's method CampaignLeaderboardControllerDonorWithResponse with CircuitCampaignLeaderboardControllerDonorWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CampaignMilestonesWithResponse added in v5.0.3

CampaignMilestonesWithResponse calls the embedded ClientWithResponsesInterface's method CampaignMilestonesWithResponse with CircuitCampaignMilestonesWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CampaignPollsWithResponse added in v5.0.3

CampaignPollsWithResponse calls the embedded ClientWithResponsesInterface's method CampaignPollsWithResponse with CircuitCampaignPollsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CampaignRewardsWithResponse added in v5.0.3

CampaignRewardsWithResponse calls the embedded ClientWithResponsesInterface's method CampaignRewardsWithResponse with CircuitCampaignRewardsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CampaignSchedulesWithResponse added in v5.0.3

CampaignSchedulesWithResponse calls the embedded ClientWithResponsesInterface's method CampaignSchedulesWithResponse with CircuitCampaignSchedulesWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CauseCampaignsWithResponse added in v5.0.3

CauseCampaignsWithResponse calls the embedded ClientWithResponsesInterface's method CauseCampaignsWithResponse with CircuitCauseCampaignsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CauseFundraisingEventsWithResponse added in v5.0.3

CauseFundraisingEventsWithResponse calls the embedded ClientWithResponsesInterface's method CauseFundraisingEventsWithResponse with CircuitCauseFundraisingEventsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CauseLeaderboardControllerConfiguredWithResponse added in v5.0.3

func (w *CircuitWrapperClientWithResponsesCircuit) CauseLeaderboardControllerConfiguredWithResponse(ctx context.Context, p1 string, p2 ...RequestEditorFn) (*CauseLeaderboardControllerConfiguredResponse, error)

CauseLeaderboardControllerConfiguredWithResponse calls the embedded ClientWithResponsesInterface's method CauseLeaderboardControllerConfiguredWithResponse with CircuitCauseLeaderboardControllerConfiguredWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CauseLeaderboardControllerDonorWithResponse added in v5.0.3

CauseLeaderboardControllerDonorWithResponse calls the embedded ClientWithResponsesInterface's method CauseLeaderboardControllerDonorWithResponse with CircuitCauseLeaderboardControllerDonorWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CauseLeaderboardControllerTeamWithResponse added in v5.0.3

CauseLeaderboardControllerTeamWithResponse calls the embedded ClientWithResponsesInterface's method CauseLeaderboardControllerTeamWithResponse with CircuitCauseLeaderboardControllerTeamWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) CauseLeaderboardControllerUserWithResponse added in v5.0.3

CauseLeaderboardControllerUserWithResponse calls the embedded ClientWithResponsesInterface's method CauseLeaderboardControllerUserWithResponse with CircuitCauseLeaderboardControllerUserWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerConfiguredWithResponse added in v5.0.3

func (w *CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerConfiguredWithResponse(ctx context.Context, p1 string, p2 ...RequestEditorFn) (*FundraisingEventLeaderboardControllerConfiguredResponse, error)

FundraisingEventLeaderboardControllerConfiguredWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerConfiguredWithResponse with CircuitFundraisingEventLeaderboardControllerConfiguredWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerDonorWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerDonorWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerDonorWithResponse with CircuitFundraisingEventLeaderboardControllerDonorWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse with CircuitFundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse with CircuitFundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerTeamWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerTeamWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerTeamWithResponse with CircuitFundraisingEventLeaderboardControllerTeamWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse with CircuitFundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse with CircuitFundraisingEventLeaderboardControllerUserFitnessTimeWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventLeaderboardControllerUserWithResponse added in v5.0.3

FundraisingEventLeaderboardControllerUserWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventLeaderboardControllerUserWithResponse with CircuitFundraisingEventLeaderboardControllerUserWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) FundraisingEventSupportingEventsWithResponse added in v5.0.3

FundraisingEventSupportingEventsWithResponse calls the embedded ClientWithResponsesInterface's method FundraisingEventSupportingEventsWithResponse with CircuitFundraisingEventSupportingEventsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) GetCampaignWithResponse added in v5.0.3

GetCampaignWithResponse calls the embedded ClientWithResponsesInterface's method GetCampaignWithResponse with CircuitGetCampaignWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) GetCauseWithResponse added in v5.0.3

GetCauseWithResponse calls the embedded ClientWithResponsesInterface's method GetCauseWithResponse with CircuitGetCauseWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) GetFundraisingEventWithResponse added in v5.0.3

GetFundraisingEventWithResponse calls the embedded ClientWithResponsesInterface's method GetFundraisingEventWithResponse with CircuitGetFundraisingEventWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) GetTeamCampaignWithResponse added in v5.0.3

GetTeamCampaignWithResponse calls the embedded ClientWithResponsesInterface's method GetTeamCampaignWithResponse with CircuitGetTeamCampaignWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) GetTeamWithResponse added in v5.0.3

GetTeamWithResponse calls the embedded ClientWithResponsesInterface's method GetTeamWithResponse with CircuitGetTeamWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) GetUserWithResponse added in v5.0.3

GetUserWithResponse calls the embedded ClientWithResponsesInterface's method GetUserWithResponse with CircuitGetUserWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignChallengesWithResponse added in v5.0.3

TeamCampaignChallengesWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignChallengesWithResponse with CircuitTeamCampaignChallengesWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignDonationsWithResponse added in v5.0.3

TeamCampaignDonationsWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignDonationsWithResponse with CircuitTeamCampaignDonationsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignLeaderboardControllerDonorWithResponse added in v5.0.3

TeamCampaignLeaderboardControllerDonorWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignLeaderboardControllerDonorWithResponse with CircuitTeamCampaignLeaderboardControllerDonorWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignLeaderboardControllerUserWithResponse added in v5.0.3

TeamCampaignLeaderboardControllerUserWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignLeaderboardControllerUserWithResponse with CircuitTeamCampaignLeaderboardControllerUserWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignMilestonesWithResponse added in v5.0.3

TeamCampaignMilestonesWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignMilestonesWithResponse with CircuitTeamCampaignMilestonesWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignPollsWithResponse added in v5.0.3

TeamCampaignPollsWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignPollsWithResponse with CircuitTeamCampaignPollsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignRewardsWithResponse added in v5.0.3

TeamCampaignRewardsWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignRewardsWithResponse with CircuitTeamCampaignRewardsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignSchedulesWithResponse added in v5.0.3

TeamCampaignSchedulesWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignSchedulesWithResponse with CircuitTeamCampaignSchedulesWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamCampaignSupportingCampaignsWithResponse added in v5.0.3

TeamCampaignSupportingCampaignsWithResponse calls the embedded ClientWithResponsesInterface's method TeamCampaignSupportingCampaignsWithResponse with CircuitTeamCampaignSupportingCampaignsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamMembersWithResponse added in v5.0.3

TeamMembersWithResponse calls the embedded ClientWithResponsesInterface's method TeamMembersWithResponse with CircuitTeamMembersWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) TeamTeamCampaignsWithResponse added in v5.0.3

TeamTeamCampaignsWithResponse calls the embedded ClientWithResponsesInterface's method TeamTeamCampaignsWithResponse with CircuitTeamTeamCampaignsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) UserCampaignsWithResponse added in v5.0.3

UserCampaignsWithResponse calls the embedded ClientWithResponsesInterface's method UserCampaignsWithResponse with CircuitUserCampaignsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) UserControllerCurrentUserWithResponse added in v5.0.3

UserControllerCurrentUserWithResponse calls the embedded ClientWithResponsesInterface's method UserControllerCurrentUserWithResponse with CircuitUserControllerCurrentUserWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) UserIntegrationEventsWithResponse added in v5.0.3

UserIntegrationEventsWithResponse calls the embedded ClientWithResponsesInterface's method UserIntegrationEventsWithResponse with CircuitUserIntegrationEventsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) UserTeamsWithResponse added in v5.0.3

UserTeamsWithResponse calls the embedded ClientWithResponsesInterface's method UserTeamsWithResponse with CircuitUserTeamsWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) V5ApiWebOauthAuthorizeWithBodyWithResponse

V5ApiWebOauthAuthorizeWithBodyWithResponse calls the embedded ClientWithResponsesInterface's method V5ApiWebOauthAuthorizeWithBodyWithResponse with CircuitV5ApiWebOauthAuthorizeWithBodyWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) V5ApiWebOauthAuthorizeWithResponse

func (w *CircuitWrapperClientWithResponsesCircuit) V5ApiWebOauthAuthorizeWithResponse(ctx context.Context, p1 *V5ApiWebOauthAuthorizeParams, p2 map[string]interface{}, p3 ...RequestEditorFn) (*V5ApiWebOauthAuthorizeResponse, error)

V5ApiWebOauthAuthorizeWithResponse calls the embedded ClientWithResponsesInterface's method V5ApiWebOauthAuthorizeWithResponse with CircuitV5ApiWebOauthAuthorizeWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) V5ApiWebOauthTokenWithBodyWithResponse

V5ApiWebOauthTokenWithBodyWithResponse calls the embedded ClientWithResponsesInterface's method V5ApiWebOauthTokenWithBodyWithResponse with CircuitV5ApiWebOauthTokenWithBodyWithResponse

func (*CircuitWrapperClientWithResponsesCircuit) V5ApiWebOauthTokenWithResponse

func (w *CircuitWrapperClientWithResponsesCircuit) V5ApiWebOauthTokenWithResponse(ctx context.Context, p1 *V5ApiWebOauthTokenParams, p2 map[string]interface{}, p3 ...RequestEditorFn) (*V5ApiWebOauthTokenResponse, error)

V5ApiWebOauthTokenWithResponse calls the embedded ClientWithResponsesInterface's method V5ApiWebOauthTokenWithResponse with CircuitV5ApiWebOauthTokenWithResponse

type CircuitWrapperClientWithResponsesCircuitConfig

type CircuitWrapperClientWithResponsesCircuitConfig struct {
	// ShouldSkipError determines whether an error should be skipped and have the circuit
	// track the call as successful. This takes precedence over IsBadRequest
	ShouldSkipError func(error) bool

	// IsBadRequest is an optional bad request checker. It is useful to not count user errors as faults
	IsBadRequest func(error) bool

	// Prefix is prepended to all circuit names
	Prefix string

	// Defaults are used for all created circuits. Per-circuit configs override this
	Defaults circuit.Config

	// CircuitCampaignChallengesWithResponse is the configuration used for the CampaignChallengesWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignChallengesWithResponse circuit.Config
	// CircuitCampaignDonationsWithResponse is the configuration used for the CampaignDonationsWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignDonationsWithResponse circuit.Config
	// CircuitCampaignLeaderboardControllerDonorWithResponse is the configuration used for the CampaignLeaderboardControllerDonorWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignLeaderboardControllerDonorWithResponse circuit.Config
	// CircuitCampaignMilestonesWithResponse is the configuration used for the CampaignMilestonesWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignMilestonesWithResponse circuit.Config
	// CircuitCampaignPollsWithResponse is the configuration used for the CampaignPollsWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignPollsWithResponse circuit.Config
	// CircuitCampaignRewardsWithResponse is the configuration used for the CampaignRewardsWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignRewardsWithResponse circuit.Config
	// CircuitCampaignSchedulesWithResponse is the configuration used for the CampaignSchedulesWithResponse circuit. This overrides values set by Defaults
	CircuitCampaignSchedulesWithResponse circuit.Config
	// CircuitCauseCampaignsWithResponse is the configuration used for the CauseCampaignsWithResponse circuit. This overrides values set by Defaults
	CircuitCauseCampaignsWithResponse circuit.Config
	// CircuitCauseFundraisingEventsWithResponse is the configuration used for the CauseFundraisingEventsWithResponse circuit. This overrides values set by Defaults
	CircuitCauseFundraisingEventsWithResponse circuit.Config
	// CircuitCauseLeaderboardControllerConfiguredWithResponse is the configuration used for the CauseLeaderboardControllerConfiguredWithResponse circuit. This overrides values set by Defaults
	CircuitCauseLeaderboardControllerConfiguredWithResponse circuit.Config
	// CircuitCauseLeaderboardControllerDonorWithResponse is the configuration used for the CauseLeaderboardControllerDonorWithResponse circuit. This overrides values set by Defaults
	CircuitCauseLeaderboardControllerDonorWithResponse circuit.Config
	// CircuitCauseLeaderboardControllerTeamWithResponse is the configuration used for the CauseLeaderboardControllerTeamWithResponse circuit. This overrides values set by Defaults
	CircuitCauseLeaderboardControllerTeamWithResponse circuit.Config
	// CircuitCauseLeaderboardControllerUserWithResponse is the configuration used for the CauseLeaderboardControllerUserWithResponse circuit. This overrides values set by Defaults
	CircuitCauseLeaderboardControllerUserWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerConfiguredWithResponse is the configuration used for the FundraisingEventLeaderboardControllerConfiguredWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerConfiguredWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerDonorWithResponse is the configuration used for the FundraisingEventLeaderboardControllerDonorWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerDonorWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse is the configuration used for the FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse is the configuration used for the FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerTeamWithResponse is the configuration used for the FundraisingEventLeaderboardControllerTeamWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerTeamWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse is the configuration used for the FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerUserFitnessTimeWithResponse is the configuration used for the FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerUserFitnessTimeWithResponse circuit.Config
	// CircuitFundraisingEventLeaderboardControllerUserWithResponse is the configuration used for the FundraisingEventLeaderboardControllerUserWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventLeaderboardControllerUserWithResponse circuit.Config
	// CircuitFundraisingEventSupportingEventsWithResponse is the configuration used for the FundraisingEventSupportingEventsWithResponse circuit. This overrides values set by Defaults
	CircuitFundraisingEventSupportingEventsWithResponse circuit.Config
	// CircuitGetCampaignWithResponse is the configuration used for the GetCampaignWithResponse circuit. This overrides values set by Defaults
	CircuitGetCampaignWithResponse circuit.Config
	// CircuitGetCauseWithResponse is the configuration used for the GetCauseWithResponse circuit. This overrides values set by Defaults
	CircuitGetCauseWithResponse circuit.Config
	// CircuitGetFundraisingEventWithResponse is the configuration used for the GetFundraisingEventWithResponse circuit. This overrides values set by Defaults
	CircuitGetFundraisingEventWithResponse circuit.Config
	// CircuitGetTeamCampaignWithResponse is the configuration used for the GetTeamCampaignWithResponse circuit. This overrides values set by Defaults
	CircuitGetTeamCampaignWithResponse circuit.Config
	// CircuitGetTeamWithResponse is the configuration used for the GetTeamWithResponse circuit. This overrides values set by Defaults
	CircuitGetTeamWithResponse circuit.Config
	// CircuitGetUserWithResponse is the configuration used for the GetUserWithResponse circuit. This overrides values set by Defaults
	CircuitGetUserWithResponse circuit.Config
	// CircuitTeamCampaignChallengesWithResponse is the configuration used for the TeamCampaignChallengesWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignChallengesWithResponse circuit.Config
	// CircuitTeamCampaignDonationsWithResponse is the configuration used for the TeamCampaignDonationsWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignDonationsWithResponse circuit.Config
	// CircuitTeamCampaignLeaderboardControllerDonorWithResponse is the configuration used for the TeamCampaignLeaderboardControllerDonorWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignLeaderboardControllerDonorWithResponse circuit.Config
	// CircuitTeamCampaignLeaderboardControllerUserWithResponse is the configuration used for the TeamCampaignLeaderboardControllerUserWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignLeaderboardControllerUserWithResponse circuit.Config
	// CircuitTeamCampaignMilestonesWithResponse is the configuration used for the TeamCampaignMilestonesWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignMilestonesWithResponse circuit.Config
	// CircuitTeamCampaignPollsWithResponse is the configuration used for the TeamCampaignPollsWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignPollsWithResponse circuit.Config
	// CircuitTeamCampaignRewardsWithResponse is the configuration used for the TeamCampaignRewardsWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignRewardsWithResponse circuit.Config
	// CircuitTeamCampaignSchedulesWithResponse is the configuration used for the TeamCampaignSchedulesWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignSchedulesWithResponse circuit.Config
	// CircuitTeamCampaignSupportingCampaignsWithResponse is the configuration used for the TeamCampaignSupportingCampaignsWithResponse circuit. This overrides values set by Defaults
	CircuitTeamCampaignSupportingCampaignsWithResponse circuit.Config
	// CircuitTeamMembersWithResponse is the configuration used for the TeamMembersWithResponse circuit. This overrides values set by Defaults
	CircuitTeamMembersWithResponse circuit.Config
	// CircuitTeamTeamCampaignsWithResponse is the configuration used for the TeamTeamCampaignsWithResponse circuit. This overrides values set by Defaults
	CircuitTeamTeamCampaignsWithResponse circuit.Config
	// CircuitUserCampaignsWithResponse is the configuration used for the UserCampaignsWithResponse circuit. This overrides values set by Defaults
	CircuitUserCampaignsWithResponse circuit.Config
	// CircuitUserControllerCurrentUserWithResponse is the configuration used for the UserControllerCurrentUserWithResponse circuit. This overrides values set by Defaults
	CircuitUserControllerCurrentUserWithResponse circuit.Config
	// CircuitUserIntegrationEventsWithResponse is the configuration used for the UserIntegrationEventsWithResponse circuit. This overrides values set by Defaults
	CircuitUserIntegrationEventsWithResponse circuit.Config
	// CircuitUserTeamsWithResponse is the configuration used for the UserTeamsWithResponse circuit. This overrides values set by Defaults
	CircuitUserTeamsWithResponse circuit.Config
	// CircuitV5ApiWebOauthAuthorizeWithBodyWithResponse is the configuration used for the V5ApiWebOauthAuthorizeWithBodyWithResponse circuit. This overrides values set by Defaults
	CircuitV5ApiWebOauthAuthorizeWithBodyWithResponse circuit.Config
	// CircuitV5ApiWebOauthAuthorizeWithResponse is the configuration used for the V5ApiWebOauthAuthorizeWithResponse circuit. This overrides values set by Defaults
	CircuitV5ApiWebOauthAuthorizeWithResponse circuit.Config
	// CircuitV5ApiWebOauthTokenWithBodyWithResponse is the configuration used for the V5ApiWebOauthTokenWithBodyWithResponse circuit. This overrides values set by Defaults
	CircuitV5ApiWebOauthTokenWithBodyWithResponse circuit.Config
	// CircuitV5ApiWebOauthTokenWithResponse is the configuration used for the V5ApiWebOauthTokenWithResponse circuit. This overrides values set by Defaults
	CircuitV5ApiWebOauthTokenWithResponse circuit.Config
}

CircuitWrapperClientWithResponsesCircuitConfig contains configuration for CircuitWrapperClientWithResponsesCircuit. All fields are optional

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) CampaignChallenges added in v5.0.3

func (c *Client) CampaignChallenges(ctx context.Context, campaignId string, params *CampaignChallengesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CampaignDonations added in v5.0.3

func (c *Client) CampaignDonations(ctx context.Context, campaignId string, params *CampaignDonationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CampaignLeaderboardControllerDonor added in v5.0.3

func (c *Client) CampaignLeaderboardControllerDonor(ctx context.Context, campaignId string, params *CampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CampaignMilestones added in v5.0.3

func (c *Client) CampaignMilestones(ctx context.Context, campaignId string, params *CampaignMilestonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CampaignPolls added in v5.0.3

func (c *Client) CampaignPolls(ctx context.Context, campaignId string, params *CampaignPollsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CampaignRewards added in v5.0.3

func (c *Client) CampaignRewards(ctx context.Context, campaignId string, params *CampaignRewardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CampaignSchedules added in v5.0.3

func (c *Client) CampaignSchedules(ctx context.Context, campaignId string, params *CampaignSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CauseCampaigns added in v5.0.3

func (c *Client) CauseCampaigns(ctx context.Context, causeId string, params *CauseCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CauseFundraisingEvents added in v5.0.3

func (c *Client) CauseFundraisingEvents(ctx context.Context, causeId string, params *CauseFundraisingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CauseLeaderboardControllerConfigured added in v5.0.3

func (c *Client) CauseLeaderboardControllerConfigured(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CauseLeaderboardControllerDonor added in v5.0.3

func (c *Client) CauseLeaderboardControllerDonor(ctx context.Context, causeId string, params *CauseLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CauseLeaderboardControllerTeam added in v5.0.3

func (c *Client) CauseLeaderboardControllerTeam(ctx context.Context, causeId string, params *CauseLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CauseLeaderboardControllerUser added in v5.0.3

func (c *Client) CauseLeaderboardControllerUser(ctx context.Context, causeId string, params *CauseLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerConfigured added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerConfigured(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerDonor added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerDonor(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerTeam added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerTeam(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerTeamFitnessDistance added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerTeamFitnessDistance(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessDistanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerTeamFitnessTime added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerTeamFitnessTime(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessTimeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerUser added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerUser(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerUserFitnessDistance added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerUserFitnessDistance(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessDistanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventLeaderboardControllerUserFitnessTime added in v5.0.3

func (c *Client) FundraisingEventLeaderboardControllerUserFitnessTime(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessTimeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FundraisingEventSupportingEvents added in v5.0.3

func (c *Client) FundraisingEventSupportingEvents(ctx context.Context, fundraisingEventId string, params *FundraisingEventSupportingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCampaign added in v5.0.3

func (c *Client) GetCampaign(ctx context.Context, campaignId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCause added in v5.0.3

func (c *Client) GetCause(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFundraisingEvent added in v5.0.3

func (c *Client) GetFundraisingEvent(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeam added in v5.0.3

func (c *Client) GetTeam(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamCampaign added in v5.0.3

func (c *Client) GetTeamCampaign(ctx context.Context, teamCampaignId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUser added in v5.0.3

func (c *Client) GetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignChallenges added in v5.0.3

func (c *Client) TeamCampaignChallenges(ctx context.Context, teamCampaignId string, params *TeamCampaignChallengesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignDonations added in v5.0.3

func (c *Client) TeamCampaignDonations(ctx context.Context, teamCampaignId string, params *TeamCampaignDonationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignLeaderboardControllerDonor added in v5.0.3

func (c *Client) TeamCampaignLeaderboardControllerDonor(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignLeaderboardControllerUser added in v5.0.3

func (c *Client) TeamCampaignLeaderboardControllerUser(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignMilestones added in v5.0.3

func (c *Client) TeamCampaignMilestones(ctx context.Context, teamCampaignId string, params *TeamCampaignMilestonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignPolls added in v5.0.3

func (c *Client) TeamCampaignPolls(ctx context.Context, teamCampaignId string, params *TeamCampaignPollsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignRewards added in v5.0.3

func (c *Client) TeamCampaignRewards(ctx context.Context, teamCampaignId string, params *TeamCampaignRewardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignSchedules added in v5.0.3

func (c *Client) TeamCampaignSchedules(ctx context.Context, teamCampaignId string, params *TeamCampaignSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamCampaignSupportingCampaigns added in v5.0.3

func (c *Client) TeamCampaignSupportingCampaigns(ctx context.Context, teamCampaignId string, params *TeamCampaignSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamMembers added in v5.0.3

func (c *Client) TeamMembers(ctx context.Context, teamId string, params *TeamMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamTeamCampaigns added in v5.0.3

func (c *Client) TeamTeamCampaigns(ctx context.Context, teamId string, params *TeamTeamCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserCampaigns added in v5.0.3

func (c *Client) UserCampaigns(ctx context.Context, userId string, params *UserCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserControllerCurrentUser added in v5.0.3

func (c *Client) UserControllerCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserIntegrationEvents added in v5.0.3

func (c *Client) UserIntegrationEvents(ctx context.Context, userId string, params *UserIntegrationEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserTeams added in v5.0.3

func (c *Client) UserTeams(ctx context.Context, userId string, params *UserTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V5ApiWebOauthAuthorize

func (c *Client) V5ApiWebOauthAuthorize(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, body V5ApiWebOauthAuthorizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V5ApiWebOauthAuthorizeWithBody

func (c *Client) V5ApiWebOauthAuthorizeWithBody(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V5ApiWebOauthToken

func (c *Client) V5ApiWebOauthToken(ctx context.Context, params *V5ApiWebOauthTokenParams, body V5ApiWebOauthTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V5ApiWebOauthTokenWithBody

func (c *Client) V5ApiWebOauthTokenWithBody(ctx context.Context, params *V5ApiWebOauthTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetCampaign request
	GetCampaign(ctx context.Context, campaignId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignDonations request
	CampaignDonations(ctx context.Context, campaignId string, params *CampaignDonationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignLeaderboardControllerDonor request
	CampaignLeaderboardControllerDonor(ctx context.Context, campaignId string, params *CampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignMilestones request
	CampaignMilestones(ctx context.Context, campaignId string, params *CampaignMilestonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignPolls request
	CampaignPolls(ctx context.Context, campaignId string, params *CampaignPollsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignRewards request
	CampaignRewards(ctx context.Context, campaignId string, params *CampaignRewardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignSchedules request
	CampaignSchedules(ctx context.Context, campaignId string, params *CampaignSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CampaignChallenges request
	CampaignChallenges(ctx context.Context, campaignId string, params *CampaignChallengesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCause request
	GetCause(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CauseCampaigns request
	CauseCampaigns(ctx context.Context, causeId string, params *CauseCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CauseLeaderboardControllerConfigured request
	CauseLeaderboardControllerConfigured(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CauseLeaderboardControllerDonor request
	CauseLeaderboardControllerDonor(ctx context.Context, causeId string, params *CauseLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CauseFundraisingEvents request
	CauseFundraisingEvents(ctx context.Context, causeId string, params *CauseFundraisingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CauseLeaderboardControllerTeam request
	CauseLeaderboardControllerTeam(ctx context.Context, causeId string, params *CauseLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CauseLeaderboardControllerUser request
	CauseLeaderboardControllerUser(ctx context.Context, causeId string, params *CauseLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserControllerCurrentUser request
	UserControllerCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFundraisingEvent request
	GetFundraisingEvent(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerConfigured request
	FundraisingEventLeaderboardControllerConfigured(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerDonor request
	FundraisingEventLeaderboardControllerDonor(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventSupportingEvents request
	FundraisingEventSupportingEvents(ctx context.Context, fundraisingEventId string, params *FundraisingEventSupportingEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerTeamFitnessDistance request
	FundraisingEventLeaderboardControllerTeamFitnessDistance(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessDistanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerTeamFitnessTime request
	FundraisingEventLeaderboardControllerTeamFitnessTime(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessTimeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerTeam request
	FundraisingEventLeaderboardControllerTeam(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerUserFitnessDistance request
	FundraisingEventLeaderboardControllerUserFitnessDistance(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessDistanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerUserFitnessTime request
	FundraisingEventLeaderboardControllerUserFitnessTime(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessTimeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FundraisingEventLeaderboardControllerUser request
	FundraisingEventLeaderboardControllerUser(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamCampaign request
	GetTeamCampaign(ctx context.Context, teamCampaignId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignDonations request
	TeamCampaignDonations(ctx context.Context, teamCampaignId string, params *TeamCampaignDonationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignLeaderboardControllerDonor request
	TeamCampaignLeaderboardControllerDonor(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignMilestones request
	TeamCampaignMilestones(ctx context.Context, teamCampaignId string, params *TeamCampaignMilestonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignPolls request
	TeamCampaignPolls(ctx context.Context, teamCampaignId string, params *TeamCampaignPollsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignRewards request
	TeamCampaignRewards(ctx context.Context, teamCampaignId string, params *TeamCampaignRewardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignSchedules request
	TeamCampaignSchedules(ctx context.Context, teamCampaignId string, params *TeamCampaignSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignSupportingCampaigns request
	TeamCampaignSupportingCampaigns(ctx context.Context, teamCampaignId string, params *TeamCampaignSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignChallenges request
	TeamCampaignChallenges(ctx context.Context, teamCampaignId string, params *TeamCampaignChallengesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamCampaignLeaderboardControllerUser request
	TeamCampaignLeaderboardControllerUser(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeam request
	GetTeam(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamMembers request
	TeamMembers(ctx context.Context, teamId string, params *TeamMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamTeamCampaigns request
	TeamTeamCampaigns(ctx context.Context, teamId string, params *TeamTeamCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUser request
	GetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserCampaigns request
	UserCampaigns(ctx context.Context, userId string, params *UserCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserIntegrationEvents request
	UserIntegrationEvents(ctx context.Context, userId string, params *UserIntegrationEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserTeams request
	UserTeams(ctx context.Context, userId string, params *UserTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V5ApiWebOauthAuthorize request with any body
	V5ApiWebOauthAuthorizeWithBody(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	V5ApiWebOauthAuthorize(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, body V5ApiWebOauthAuthorizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V5ApiWebOauthToken request with any body
	V5ApiWebOauthTokenWithBody(ctx context.Context, params *V5ApiWebOauthTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	V5ApiWebOauthToken(ctx context.Context, params *V5ApiWebOauthTokenParams, body V5ApiWebOauthTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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
	OkOnNon200 bool
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, OkOnNon200 bool, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CampaignChallengesWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignChallengesWithResponse(ctx context.Context, campaignId string, params *CampaignChallengesParams, reqEditors ...RequestEditorFn) (*CampaignChallengesResponse, error)

CampaignChallengesWithResponse request returning *CampaignChallengesResponse

func (*ClientWithResponses) CampaignDonationsWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignDonationsWithResponse(ctx context.Context, campaignId string, params *CampaignDonationsParams, reqEditors ...RequestEditorFn) (*CampaignDonationsResponse, error)

CampaignDonationsWithResponse request returning *CampaignDonationsResponse

func (*ClientWithResponses) CampaignLeaderboardControllerDonorWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignLeaderboardControllerDonorWithResponse(ctx context.Context, campaignId string, params *CampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*CampaignLeaderboardControllerDonorResponse, error)

CampaignLeaderboardControllerDonorWithResponse request returning *CampaignLeaderboardControllerDonorResponse

func (*ClientWithResponses) CampaignMilestonesWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignMilestonesWithResponse(ctx context.Context, campaignId string, params *CampaignMilestonesParams, reqEditors ...RequestEditorFn) (*CampaignMilestonesResponse, error)

CampaignMilestonesWithResponse request returning *CampaignMilestonesResponse

func (*ClientWithResponses) CampaignPollsWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignPollsWithResponse(ctx context.Context, campaignId string, params *CampaignPollsParams, reqEditors ...RequestEditorFn) (*CampaignPollsResponse, error)

CampaignPollsWithResponse request returning *CampaignPollsResponse

func (*ClientWithResponses) CampaignRewardsWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignRewardsWithResponse(ctx context.Context, campaignId string, params *CampaignRewardsParams, reqEditors ...RequestEditorFn) (*CampaignRewardsResponse, error)

CampaignRewardsWithResponse request returning *CampaignRewardsResponse

func (*ClientWithResponses) CampaignSchedulesWithResponse added in v5.0.3

func (c *ClientWithResponses) CampaignSchedulesWithResponse(ctx context.Context, campaignId string, params *CampaignSchedulesParams, reqEditors ...RequestEditorFn) (*CampaignSchedulesResponse, error)

CampaignSchedulesWithResponse request returning *CampaignSchedulesResponse

func (*ClientWithResponses) CauseCampaignsWithResponse added in v5.0.3

func (c *ClientWithResponses) CauseCampaignsWithResponse(ctx context.Context, causeId string, params *CauseCampaignsParams, reqEditors ...RequestEditorFn) (*CauseCampaignsResponse, error)

CauseCampaignsWithResponse request returning *CauseCampaignsResponse

func (*ClientWithResponses) CauseFundraisingEventsWithResponse added in v5.0.3

func (c *ClientWithResponses) CauseFundraisingEventsWithResponse(ctx context.Context, causeId string, params *CauseFundraisingEventsParams, reqEditors ...RequestEditorFn) (*CauseFundraisingEventsResponse, error)

CauseFundraisingEventsWithResponse request returning *CauseFundraisingEventsResponse

func (*ClientWithResponses) CauseLeaderboardControllerConfiguredWithResponse added in v5.0.3

func (c *ClientWithResponses) CauseLeaderboardControllerConfiguredWithResponse(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerConfiguredResponse, error)

CauseLeaderboardControllerConfiguredWithResponse request returning *CauseLeaderboardControllerConfiguredResponse

func (*ClientWithResponses) CauseLeaderboardControllerDonorWithResponse added in v5.0.3

func (c *ClientWithResponses) CauseLeaderboardControllerDonorWithResponse(ctx context.Context, causeId string, params *CauseLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerDonorResponse, error)

CauseLeaderboardControllerDonorWithResponse request returning *CauseLeaderboardControllerDonorResponse

func (*ClientWithResponses) CauseLeaderboardControllerTeamWithResponse added in v5.0.3

func (c *ClientWithResponses) CauseLeaderboardControllerTeamWithResponse(ctx context.Context, causeId string, params *CauseLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerTeamResponse, error)

CauseLeaderboardControllerTeamWithResponse request returning *CauseLeaderboardControllerTeamResponse

func (*ClientWithResponses) CauseLeaderboardControllerUserWithResponse added in v5.0.3

func (c *ClientWithResponses) CauseLeaderboardControllerUserWithResponse(ctx context.Context, causeId string, params *CauseLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerUserResponse, error)

CauseLeaderboardControllerUserWithResponse request returning *CauseLeaderboardControllerUserResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerConfiguredWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerConfiguredWithResponse(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerConfiguredResponse, error)

FundraisingEventLeaderboardControllerConfiguredWithResponse request returning *FundraisingEventLeaderboardControllerConfiguredResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerDonorWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerDonorWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerDonorResponse, error)

FundraisingEventLeaderboardControllerDonorWithResponse request returning *FundraisingEventLeaderboardControllerDonorResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessDistanceParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse, error)

FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse request returning *FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessTimeParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerTeamFitnessTimeResponse, error)

FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse request returning *FundraisingEventLeaderboardControllerTeamFitnessTimeResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerTeamWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerTeamWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerTeamResponse, error)

FundraisingEventLeaderboardControllerTeamWithResponse request returning *FundraisingEventLeaderboardControllerTeamResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessDistanceParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerUserFitnessDistanceResponse, error)

FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse request returning *FundraisingEventLeaderboardControllerUserFitnessDistanceResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessTimeParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerUserFitnessTimeResponse, error)

FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse request returning *FundraisingEventLeaderboardControllerUserFitnessTimeResponse

func (*ClientWithResponses) FundraisingEventLeaderboardControllerUserWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventLeaderboardControllerUserWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerUserResponse, error)

FundraisingEventLeaderboardControllerUserWithResponse request returning *FundraisingEventLeaderboardControllerUserResponse

func (*ClientWithResponses) FundraisingEventSupportingEventsWithResponse added in v5.0.3

func (c *ClientWithResponses) FundraisingEventSupportingEventsWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventSupportingEventsParams, reqEditors ...RequestEditorFn) (*FundraisingEventSupportingEventsResponse, error)

FundraisingEventSupportingEventsWithResponse request returning *FundraisingEventSupportingEventsResponse

func (*ClientWithResponses) GetCampaignWithResponse added in v5.0.3

func (c *ClientWithResponses) GetCampaignWithResponse(ctx context.Context, campaignId string, reqEditors ...RequestEditorFn) (*GetCampaignResponse, error)

GetCampaignWithResponse request returning *GetCampaignResponse

func (*ClientWithResponses) GetCauseWithResponse added in v5.0.3

func (c *ClientWithResponses) GetCauseWithResponse(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*GetCauseResponse, error)

GetCauseWithResponse request returning *GetCauseResponse

func (*ClientWithResponses) GetFundraisingEventWithResponse added in v5.0.3

func (c *ClientWithResponses) GetFundraisingEventWithResponse(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*GetFundraisingEventResponse, error)

GetFundraisingEventWithResponse request returning *GetFundraisingEventResponse

func (*ClientWithResponses) GetTeamCampaignWithResponse added in v5.0.3

func (c *ClientWithResponses) GetTeamCampaignWithResponse(ctx context.Context, teamCampaignId string, reqEditors ...RequestEditorFn) (*GetTeamCampaignResponse, error)

GetTeamCampaignWithResponse request returning *GetTeamCampaignResponse

func (*ClientWithResponses) GetTeamWithResponse added in v5.0.3

func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

GetTeamWithResponse request returning *GetTeamResponse

func (*ClientWithResponses) GetUserWithResponse added in v5.0.3

func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)

GetUserWithResponse request returning *GetUserResponse

func (*ClientWithResponses) TeamCampaignChallengesWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignChallengesWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignChallengesParams, reqEditors ...RequestEditorFn) (*TeamCampaignChallengesResponse, error)

TeamCampaignChallengesWithResponse request returning *TeamCampaignChallengesResponse

func (*ClientWithResponses) TeamCampaignDonationsWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignDonationsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignDonationsParams, reqEditors ...RequestEditorFn) (*TeamCampaignDonationsResponse, error)

TeamCampaignDonationsWithResponse request returning *TeamCampaignDonationsResponse

func (*ClientWithResponses) TeamCampaignLeaderboardControllerDonorWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignLeaderboardControllerDonorWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*TeamCampaignLeaderboardControllerDonorResponse, error)

TeamCampaignLeaderboardControllerDonorWithResponse request returning *TeamCampaignLeaderboardControllerDonorResponse

func (*ClientWithResponses) TeamCampaignLeaderboardControllerUserWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignLeaderboardControllerUserWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*TeamCampaignLeaderboardControllerUserResponse, error)

TeamCampaignLeaderboardControllerUserWithResponse request returning *TeamCampaignLeaderboardControllerUserResponse

func (*ClientWithResponses) TeamCampaignMilestonesWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignMilestonesWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignMilestonesParams, reqEditors ...RequestEditorFn) (*TeamCampaignMilestonesResponse, error)

TeamCampaignMilestonesWithResponse request returning *TeamCampaignMilestonesResponse

func (*ClientWithResponses) TeamCampaignPollsWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignPollsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignPollsParams, reqEditors ...RequestEditorFn) (*TeamCampaignPollsResponse, error)

TeamCampaignPollsWithResponse request returning *TeamCampaignPollsResponse

func (*ClientWithResponses) TeamCampaignRewardsWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignRewardsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignRewardsParams, reqEditors ...RequestEditorFn) (*TeamCampaignRewardsResponse, error)

TeamCampaignRewardsWithResponse request returning *TeamCampaignRewardsResponse

func (*ClientWithResponses) TeamCampaignSchedulesWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignSchedulesWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignSchedulesParams, reqEditors ...RequestEditorFn) (*TeamCampaignSchedulesResponse, error)

TeamCampaignSchedulesWithResponse request returning *TeamCampaignSchedulesResponse

func (*ClientWithResponses) TeamCampaignSupportingCampaignsWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamCampaignSupportingCampaignsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*TeamCampaignSupportingCampaignsResponse, error)

TeamCampaignSupportingCampaignsWithResponse request returning *TeamCampaignSupportingCampaignsResponse

func (*ClientWithResponses) TeamMembersWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamMembersWithResponse(ctx context.Context, teamId string, params *TeamMembersParams, reqEditors ...RequestEditorFn) (*TeamMembersResponse, error)

TeamMembersWithResponse request returning *TeamMembersResponse

func (*ClientWithResponses) TeamTeamCampaignsWithResponse added in v5.0.3

func (c *ClientWithResponses) TeamTeamCampaignsWithResponse(ctx context.Context, teamId string, params *TeamTeamCampaignsParams, reqEditors ...RequestEditorFn) (*TeamTeamCampaignsResponse, error)

TeamTeamCampaignsWithResponse request returning *TeamTeamCampaignsResponse

func (*ClientWithResponses) UserCampaignsWithResponse added in v5.0.3

func (c *ClientWithResponses) UserCampaignsWithResponse(ctx context.Context, userId string, params *UserCampaignsParams, reqEditors ...RequestEditorFn) (*UserCampaignsResponse, error)

UserCampaignsWithResponse request returning *UserCampaignsResponse

func (*ClientWithResponses) UserControllerCurrentUserWithResponse added in v5.0.3

func (c *ClientWithResponses) UserControllerCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserControllerCurrentUserResponse, error)

UserControllerCurrentUserWithResponse request returning *UserControllerCurrentUserResponse

func (*ClientWithResponses) UserIntegrationEventsWithResponse added in v5.0.3

func (c *ClientWithResponses) UserIntegrationEventsWithResponse(ctx context.Context, userId string, params *UserIntegrationEventsParams, reqEditors ...RequestEditorFn) (*UserIntegrationEventsResponse, error)

UserIntegrationEventsWithResponse request returning *UserIntegrationEventsResponse

func (*ClientWithResponses) UserTeamsWithResponse added in v5.0.3

func (c *ClientWithResponses) UserTeamsWithResponse(ctx context.Context, userId string, params *UserTeamsParams, reqEditors ...RequestEditorFn) (*UserTeamsResponse, error)

UserTeamsWithResponse request returning *UserTeamsResponse

func (*ClientWithResponses) V5ApiWebOauthAuthorizeWithBodyWithResponse

func (c *ClientWithResponses) V5ApiWebOauthAuthorizeWithBodyWithResponse(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V5ApiWebOauthAuthorizeResponse, error)

V5ApiWebOauthAuthorizeWithBodyWithResponse request with arbitrary body returning *V5ApiWebOauthAuthorizeResponse

func (*ClientWithResponses) V5ApiWebOauthAuthorizeWithResponse

func (*ClientWithResponses) V5ApiWebOauthTokenWithBodyWithResponse

func (c *ClientWithResponses) V5ApiWebOauthTokenWithBodyWithResponse(ctx context.Context, params *V5ApiWebOauthTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V5ApiWebOauthTokenResponse, error)

V5ApiWebOauthTokenWithBodyWithResponse request with arbitrary body returning *V5ApiWebOauthTokenResponse

func (*ClientWithResponses) V5ApiWebOauthTokenWithResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetCampaign request
	GetCampaignWithResponse(ctx context.Context, campaignId string, reqEditors ...RequestEditorFn) (*GetCampaignResponse, error)

	// CampaignDonations request
	CampaignDonationsWithResponse(ctx context.Context, campaignId string, params *CampaignDonationsParams, reqEditors ...RequestEditorFn) (*CampaignDonationsResponse, error)

	// CampaignLeaderboardControllerDonor request
	CampaignLeaderboardControllerDonorWithResponse(ctx context.Context, campaignId string, params *CampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*CampaignLeaderboardControllerDonorResponse, error)

	// CampaignMilestones request
	CampaignMilestonesWithResponse(ctx context.Context, campaignId string, params *CampaignMilestonesParams, reqEditors ...RequestEditorFn) (*CampaignMilestonesResponse, error)

	// CampaignPolls request
	CampaignPollsWithResponse(ctx context.Context, campaignId string, params *CampaignPollsParams, reqEditors ...RequestEditorFn) (*CampaignPollsResponse, error)

	// CampaignRewards request
	CampaignRewardsWithResponse(ctx context.Context, campaignId string, params *CampaignRewardsParams, reqEditors ...RequestEditorFn) (*CampaignRewardsResponse, error)

	// CampaignSchedules request
	CampaignSchedulesWithResponse(ctx context.Context, campaignId string, params *CampaignSchedulesParams, reqEditors ...RequestEditorFn) (*CampaignSchedulesResponse, error)

	// CampaignChallenges request
	CampaignChallengesWithResponse(ctx context.Context, campaignId string, params *CampaignChallengesParams, reqEditors ...RequestEditorFn) (*CampaignChallengesResponse, error)

	// GetCause request
	GetCauseWithResponse(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*GetCauseResponse, error)

	// CauseCampaigns request
	CauseCampaignsWithResponse(ctx context.Context, causeId string, params *CauseCampaignsParams, reqEditors ...RequestEditorFn) (*CauseCampaignsResponse, error)

	// CauseLeaderboardControllerConfigured request
	CauseLeaderboardControllerConfiguredWithResponse(ctx context.Context, causeId string, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerConfiguredResponse, error)

	// CauseLeaderboardControllerDonor request
	CauseLeaderboardControllerDonorWithResponse(ctx context.Context, causeId string, params *CauseLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerDonorResponse, error)

	// CauseFundraisingEvents request
	CauseFundraisingEventsWithResponse(ctx context.Context, causeId string, params *CauseFundraisingEventsParams, reqEditors ...RequestEditorFn) (*CauseFundraisingEventsResponse, error)

	// CauseLeaderboardControllerTeam request
	CauseLeaderboardControllerTeamWithResponse(ctx context.Context, causeId string, params *CauseLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerTeamResponse, error)

	// CauseLeaderboardControllerUser request
	CauseLeaderboardControllerUserWithResponse(ctx context.Context, causeId string, params *CauseLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*CauseLeaderboardControllerUserResponse, error)

	// UserControllerCurrentUser request
	UserControllerCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserControllerCurrentUserResponse, error)

	// GetFundraisingEvent request
	GetFundraisingEventWithResponse(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*GetFundraisingEventResponse, error)

	// FundraisingEventLeaderboardControllerConfigured request
	FundraisingEventLeaderboardControllerConfiguredWithResponse(ctx context.Context, fundraisingEventId string, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerConfiguredResponse, error)

	// FundraisingEventLeaderboardControllerDonor request
	FundraisingEventLeaderboardControllerDonorWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerDonorResponse, error)

	// FundraisingEventSupportingEvents request
	FundraisingEventSupportingEventsWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventSupportingEventsParams, reqEditors ...RequestEditorFn) (*FundraisingEventSupportingEventsResponse, error)

	// FundraisingEventLeaderboardControllerTeamFitnessDistance request
	FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessDistanceParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse, error)

	// FundraisingEventLeaderboardControllerTeamFitnessTime request
	FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamFitnessTimeParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerTeamFitnessTimeResponse, error)

	// FundraisingEventLeaderboardControllerTeam request
	FundraisingEventLeaderboardControllerTeamWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerTeamParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerTeamResponse, error)

	// FundraisingEventLeaderboardControllerUserFitnessDistance request
	FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessDistanceParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerUserFitnessDistanceResponse, error)

	// FundraisingEventLeaderboardControllerUserFitnessTime request
	FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserFitnessTimeParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerUserFitnessTimeResponse, error)

	// FundraisingEventLeaderboardControllerUser request
	FundraisingEventLeaderboardControllerUserWithResponse(ctx context.Context, fundraisingEventId string, params *FundraisingEventLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*FundraisingEventLeaderboardControllerUserResponse, error)

	// GetTeamCampaign request
	GetTeamCampaignWithResponse(ctx context.Context, teamCampaignId string, reqEditors ...RequestEditorFn) (*GetTeamCampaignResponse, error)

	// TeamCampaignDonations request
	TeamCampaignDonationsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignDonationsParams, reqEditors ...RequestEditorFn) (*TeamCampaignDonationsResponse, error)

	// TeamCampaignLeaderboardControllerDonor request
	TeamCampaignLeaderboardControllerDonorWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerDonorParams, reqEditors ...RequestEditorFn) (*TeamCampaignLeaderboardControllerDonorResponse, error)

	// TeamCampaignMilestones request
	TeamCampaignMilestonesWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignMilestonesParams, reqEditors ...RequestEditorFn) (*TeamCampaignMilestonesResponse, error)

	// TeamCampaignPolls request
	TeamCampaignPollsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignPollsParams, reqEditors ...RequestEditorFn) (*TeamCampaignPollsResponse, error)

	// TeamCampaignRewards request
	TeamCampaignRewardsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignRewardsParams, reqEditors ...RequestEditorFn) (*TeamCampaignRewardsResponse, error)

	// TeamCampaignSchedules request
	TeamCampaignSchedulesWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignSchedulesParams, reqEditors ...RequestEditorFn) (*TeamCampaignSchedulesResponse, error)

	// TeamCampaignSupportingCampaigns request
	TeamCampaignSupportingCampaignsWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignSupportingCampaignsParams, reqEditors ...RequestEditorFn) (*TeamCampaignSupportingCampaignsResponse, error)

	// TeamCampaignChallenges request
	TeamCampaignChallengesWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignChallengesParams, reqEditors ...RequestEditorFn) (*TeamCampaignChallengesResponse, error)

	// TeamCampaignLeaderboardControllerUser request
	TeamCampaignLeaderboardControllerUserWithResponse(ctx context.Context, teamCampaignId string, params *TeamCampaignLeaderboardControllerUserParams, reqEditors ...RequestEditorFn) (*TeamCampaignLeaderboardControllerUserResponse, error)

	// GetTeam request
	GetTeamWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

	// TeamMembers request
	TeamMembersWithResponse(ctx context.Context, teamId string, params *TeamMembersParams, reqEditors ...RequestEditorFn) (*TeamMembersResponse, error)

	// TeamTeamCampaigns request
	TeamTeamCampaignsWithResponse(ctx context.Context, teamId string, params *TeamTeamCampaignsParams, reqEditors ...RequestEditorFn) (*TeamTeamCampaignsResponse, error)

	// GetUser request
	GetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)

	// UserCampaigns request
	UserCampaignsWithResponse(ctx context.Context, userId string, params *UserCampaignsParams, reqEditors ...RequestEditorFn) (*UserCampaignsResponse, error)

	// UserIntegrationEvents request
	UserIntegrationEventsWithResponse(ctx context.Context, userId string, params *UserIntegrationEventsParams, reqEditors ...RequestEditorFn) (*UserIntegrationEventsResponse, error)

	// UserTeams request
	UserTeamsWithResponse(ctx context.Context, userId string, params *UserTeamsParams, reqEditors ...RequestEditorFn) (*UserTeamsResponse, error)

	// V5ApiWebOauthAuthorize request with any body
	V5ApiWebOauthAuthorizeWithBodyWithResponse(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V5ApiWebOauthAuthorizeResponse, error)

	V5ApiWebOauthAuthorizeWithResponse(ctx context.Context, params *V5ApiWebOauthAuthorizeParams, body V5ApiWebOauthAuthorizeJSONRequestBody, reqEditors ...RequestEditorFn) (*V5ApiWebOauthAuthorizeResponse, error)

	// V5ApiWebOauthToken request with any body
	V5ApiWebOauthTokenWithBodyWithResponse(ctx context.Context, params *V5ApiWebOauthTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V5ApiWebOauthTokenResponse, error)

	V5ApiWebOauthTokenWithResponse(ctx context.Context, params *V5ApiWebOauthTokenParams, body V5ApiWebOauthTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*V5ApiWebOauthTokenResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConfiguredLeaderboard

type ConfiguredLeaderboard struct {
	Individual *[]LeaderboardEntry `json:"individual,omitempty"`
	Team       *[]LeaderboardEntry `json:"team,omitempty"`
	Weekly     *[]LeaderboardEntry `json:"weekly,omitempty"`
}

ConfiguredLeaderboard Configured Leaderboards Like V3

type ConfiguredLeaderboardResponse

type ConfiguredLeaderboardResponse struct {
	// Data Configured Leaderboards Like V3
	Data *ConfiguredLeaderboard `json:"data,omitempty"`
}

ConfiguredLeaderboardResponse defines model for ConfiguredLeaderboardResponse.

type CurrencyCode

type CurrencyCode = string

CurrencyCode ISO 4217 alphabetic currency code

type CurrentUser

type CurrentUser = CurrentUserObj

CurrentUser defines model for currentUser.

type CurrentUserJSONResponse

type CurrentUserJSONResponse CurrentUserObj

type CurrentUserObj

type CurrentUserObj struct {
	Data *CurrentUserObj_Data `json:"data"`
}

CurrentUserObj defines model for CurrentUserObj.

type CurrentUserObj_Data

type CurrentUserObj_Data struct {
	// contains filtered or unexported fields
}

CurrentUserObj_Data defines model for CurrentUserObj.Data.

func (CurrentUserObj_Data) AsUser

func (t CurrentUserObj_Data) AsUser() (User, error)

AsUser returns the union data inside the CurrentUserObj_Data as a User

func (*CurrentUserObj_Data) FromUser

func (t *CurrentUserObj_Data) FromUser(v User) error

FromUser overwrites any union data inside the CurrentUserObj_Data as the provided User

func (CurrentUserObj_Data) MarshalJSON

func (t CurrentUserObj_Data) MarshalJSON() ([]byte, error)

func (*CurrentUserObj_Data) MergeUser

func (t *CurrentUserObj_Data) MergeUser(v User) error

MergeUser performs a merge with any union data inside the CurrentUserObj_Data, using the provided User

func (*CurrentUserObj_Data) UnmarshalJSON

func (t *CurrentUserObj_Data) UnmarshalJSON(b []byte) error

type Donation

type Donation struct {
	// Amount The amount donated.
	Amount Money `json:"amount"`

	// CampaignId ID of the campaign donated to
	CampaignId *PublicId `json:"campaign_id"`

	// CompletedAt Timestamp of when the donation was completed.
	CompletedAt *time.Time `json:"completed_at"`

	// DonorComment Note left by donor
	DonorComment *string `json:"donor_comment"`

	// DonorName Publically visible donor name. This may be set to 'Anonymous' if the donation was anonymous or moderated.
	DonorName string `json:"donor_name"`

	// FundraisingEventId ID of the fundraising event donated to
	FundraisingEventId *PublicId `json:"fundraising_event_id"`

	// Id Unique Identifier for the donation.
	Id PublicId `json:"id"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// PollId The ID for a Poll, if one was donated toward.
	PollId *PublicId `json:"poll_id"`

	// PollOptionId The ID for a PollOption, if one was donated toward.
	PollOptionId *PublicId `json:"poll_option_id"`

	// RewardId The ID for a Reward, if one was donated toward.
	RewardId *PublicId `json:"reward_id"`

	// Sustained Whether or not the donation is a part of a monthly donation.
	Sustained *bool `json:"sustained"`

	// TargetId The ID for a Target, if one was donated toward.
	TargetId *PublicId `json:"target_id"`

	// TeamEventId The ID of a team event if it exists
	TeamEventId *PublicId `json:"team_event_id"`
}

Donation defines model for Donation.

type DonationPaginatedResponse

type DonationPaginatedResponse = PaginatedResponse

DonationPaginatedResponse Object returned for paginated API responses

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 ErrorResponse

type ErrorResponse struct {
	Error struct {
		Fields *map[string][]string `json:"fields"`

		// Message A human readable message describing the error.
		Message string `json:"message"`

		// Status The HTTP status of the error
		Status int `json:"status"`
	} `json:"error"`
}

ErrorResponse Object returned in API errors

type Event

type Event struct {
	// contains filtered or unexported fields
}

Event defines model for Event.

func (Event) AsCampaign

func (t Event) AsCampaign() (Campaign, error)

AsCampaign returns the union data inside the Event as a Campaign

func (Event) AsTeamCampaign

func (t Event) AsTeamCampaign() (TeamCampaign, error)

AsTeamCampaign returns the union data inside the Event as a TeamCampaign

func (*Event) FromCampaign

func (t *Event) FromCampaign(v Campaign) error

FromCampaign overwrites any union data inside the Event as the provided Campaign

func (*Event) FromTeamCampaign

func (t *Event) FromTeamCampaign(v TeamCampaign) error

FromTeamCampaign overwrites any union data inside the Event as the provided TeamCampaign

func (Event) MarshalJSON

func (t Event) MarshalJSON() ([]byte, error)

func (*Event) MergeCampaign

func (t *Event) MergeCampaign(v Campaign) error

MergeCampaign performs a merge with any union data inside the Event, using the provided Campaign

func (*Event) MergeTeamCampaign

func (t *Event) MergeTeamCampaign(v TeamCampaign) error

MergeTeamCampaign performs a merge with any union data inside the Event, using the provided TeamCampaign

func (*Event) UnmarshalJSON

func (t *Event) UnmarshalJSON(b []byte) error

type EventPaginatedResponse

type EventPaginatedResponse = PaginatedResponse

EventPaginatedResponse Object returned for paginated API responses

type Forbidden

type Forbidden = ErrorResponse

Forbidden Object returned in API errors

type FundraisingEvent

type FundraisingEvent struct {
	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar *Image `json:"avatar"`

	// CauseId The ID for a Cause that owns this fundraising event.
	CauseId PublicId `json:"cause_id"`

	// CurrencyCode The currency code used by this fundraising event.
	CurrencyCode CurrencyCode `json:"currency_code"`

	// Description A short description about this fundraising event
	Description string `json:"description"`

	// EndsAt A date when this fundraising event ends.
	EndsAt openapi_types.Date `json:"ends_at"`

	// Goal The current goal of the fundraising event
	Goal *Money `json:"goal"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// InsertedAt When the fundraising event was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name The name of this fundraising event
	Name string `json:"name"`

	// PublishedAt When the fundraising event was last published
	PublishedAt time.Time `json:"published_at"`

	// RetiredAt When the fundraising event was retired
	RetiredAt *time.Time `json:"retired_at"`

	// Slug This is a url slug used for the given resource.
	Slug Slug `json:"slug"`

	// StartsAt An optional date when this fundraising event starts.
	StartsAt *openapi_types.Date `json:"starts_at"`

	// Status The status of this fundraising event
	Status FundraisingEventStatus `json:"status"`

	// TotalAmountRaised The amount raised by this fundraising event and all supporting campaigns
	TotalAmountRaised Money `json:"total_amount_raised"`

	// UpdatedAt When the fundraising event details were last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Url This is the full url for the fundraising event.
	Url Url `json:"url"`
}

FundraisingEvent defines model for FundraisingEvent.

type FundraisingEventLeaderboardControllerConfigured200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerConfigured200JSONResponse struct {
	// Data Configured Leaderboards Like V3
	Data *ConfiguredLeaderboard `json:"data,omitempty"`
}

func (FundraisingEventLeaderboardControllerConfigured200JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerConfigured200JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerConfigured401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerConfigured401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerConfigured401JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerConfigured401JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerConfigured403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerConfigured403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerConfigured403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerConfigured403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerConfigured404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerConfigured404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerConfigured404JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerConfigured404JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerConfigured422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerConfigured422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerConfigured422JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerConfigured422JSONResponse) VisitFundraisingEventLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerConfiguredRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerConfiguredRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
}

type FundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

type FundraisingEventLeaderboardControllerConfiguredResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Data Configured Leaderboards Like V3
		Data *ConfiguredLeaderboard `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerConfiguredResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerConfiguredResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerConfiguredResponse, error)

ParseFundraisingEventLeaderboardControllerConfiguredResponse parses an HTTP response from a FundraisingEventLeaderboardControllerConfiguredWithResponse call

func (FundraisingEventLeaderboardControllerConfiguredResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerConfiguredResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerConfiguredResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerConfiguredResponseObject interface {
	VisitFundraisingEventLeaderboardControllerConfiguredResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerDonor200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerDonor200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerDonor200JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerDonor200JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerDonor401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerDonor401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerDonor401JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerDonor401JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerDonor403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerDonor403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerDonor403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerDonor403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerDonor404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerDonor404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerDonor404JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerDonor404JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerDonor422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerDonor422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerDonor422JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerDonor422JSONResponse) VisitFundraisingEventLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerDonorParams added in v5.0.3

type FundraisingEventLeaderboardControllerDonorParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerDonorParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerDonorParams defines parameters for FundraisingEventLeaderboardControllerDonor.

type FundraisingEventLeaderboardControllerDonorParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerDonorParamsTimeType string

FundraisingEventLeaderboardControllerDonorParamsTimeType defines parameters for FundraisingEventLeaderboardControllerDonor.

const (
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeAll     FundraisingEventLeaderboardControllerDonorParamsTimeType = "all"
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeCustom  FundraisingEventLeaderboardControllerDonorParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeDaily   FundraisingEventLeaderboardControllerDonorParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeMonthly FundraisingEventLeaderboardControllerDonorParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerDonorParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeYearly  FundraisingEventLeaderboardControllerDonorParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerDonorParamsTimeTypeYtd     FundraisingEventLeaderboardControllerDonorParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerDonorParamsTimeType.

type FundraisingEventLeaderboardControllerDonorRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerDonorRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerDonorParams
}

type FundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

type FundraisingEventLeaderboardControllerDonorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerDonorResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerDonorResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerDonorResponse, error)

ParseFundraisingEventLeaderboardControllerDonorResponse parses an HTTP response from a FundraisingEventLeaderboardControllerDonorWithResponse call

func (FundraisingEventLeaderboardControllerDonorResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerDonorResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerDonorResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerDonorResponseObject interface {
	VisitFundraisingEventLeaderboardControllerDonorResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerTeam200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeam200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerTeam200JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeam200JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeam401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeam401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerTeam401JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeam401JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeam403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeam403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerTeam403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeam403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeam404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeam404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerTeam404JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeam404JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeam422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeam422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerTeam422JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeam422JSONResponse) VisitFundraisingEventLeaderboardControllerTeamResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessDistance200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistance200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerTeamFitnessDistance200JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessDistance200JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessDistance401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistance401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerTeamFitnessDistance401JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessDistance401JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessDistance403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistance403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerTeamFitnessDistance403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessDistance403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessDistance404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistance404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerTeamFitnessDistance404JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessDistance404JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessDistance422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistance422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerTeamFitnessDistance422JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessDistance422JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessDistanceParams added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistanceParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerTeamFitnessDistanceParams defines parameters for FundraisingEventLeaderboardControllerTeamFitnessDistance.

type FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType string

FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType defines parameters for FundraisingEventLeaderboardControllerTeamFitnessDistance.

const (
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeAll     FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "all"
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeCustom  FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeDaily   FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeMonthly FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeYearly  FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeTypeYtd     FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerTeamFitnessDistanceParamsTimeType.

type FundraisingEventLeaderboardControllerTeamFitnessDistanceRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistanceRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerTeamFitnessDistanceParams
}

type FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse, error)

ParseFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse parses an HTTP response from a FundraisingEventLeaderboardControllerTeamFitnessDistanceWithResponse call

func (FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerTeamFitnessDistanceResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerTeamFitnessDistanceResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessDistanceResponseObject interface {
	VisitFundraisingEventLeaderboardControllerTeamFitnessDistanceResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerTeamFitnessTime200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTime200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerTeamFitnessTime200JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessTime200JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessTime401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTime401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerTeamFitnessTime401JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessTime401JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessTime403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTime403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerTeamFitnessTime403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessTime403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessTime404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTime404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerTeamFitnessTime404JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessTime404JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessTime422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTime422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerTeamFitnessTime422JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerTeamFitnessTime422JSONResponse) VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerTeamFitnessTimeParams added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTimeParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerTeamFitnessTimeParams defines parameters for FundraisingEventLeaderboardControllerTeamFitnessTime.

type FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType string

FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType defines parameters for FundraisingEventLeaderboardControllerTeamFitnessTime.

const (
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeAll     FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "all"
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeCustom  FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeDaily   FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeMonthly FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeYearly  FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeTypeYtd     FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerTeamFitnessTimeParamsTimeType.

type FundraisingEventLeaderboardControllerTeamFitnessTimeRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTimeRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerTeamFitnessTimeParams
}

type FundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTimeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerTeamFitnessTimeResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerTeamFitnessTimeResponse, error)

ParseFundraisingEventLeaderboardControllerTeamFitnessTimeResponse parses an HTTP response from a FundraisingEventLeaderboardControllerTeamFitnessTimeWithResponse call

func (FundraisingEventLeaderboardControllerTeamFitnessTimeResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerTeamFitnessTimeResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerTeamFitnessTimeResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerTeamFitnessTimeResponseObject interface {
	VisitFundraisingEventLeaderboardControllerTeamFitnessTimeResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerTeamParams added in v5.0.3

type FundraisingEventLeaderboardControllerTeamParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerTeamParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerTeamParams defines parameters for FundraisingEventLeaderboardControllerTeam.

type FundraisingEventLeaderboardControllerTeamParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerTeamParamsTimeType string

FundraisingEventLeaderboardControllerTeamParamsTimeType defines parameters for FundraisingEventLeaderboardControllerTeam.

const (
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeAll     FundraisingEventLeaderboardControllerTeamParamsTimeType = "all"
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeCustom  FundraisingEventLeaderboardControllerTeamParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeDaily   FundraisingEventLeaderboardControllerTeamParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeMonthly FundraisingEventLeaderboardControllerTeamParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerTeamParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeYearly  FundraisingEventLeaderboardControllerTeamParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerTeamParamsTimeTypeYtd     FundraisingEventLeaderboardControllerTeamParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerTeamParamsTimeType.

type FundraisingEventLeaderboardControllerTeamRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerTeamRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerTeamParams
}

type FundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

type FundraisingEventLeaderboardControllerTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerTeamResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerTeamResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerTeamResponse, error)

ParseFundraisingEventLeaderboardControllerTeamResponse parses an HTTP response from a FundraisingEventLeaderboardControllerTeamWithResponse call

func (FundraisingEventLeaderboardControllerTeamResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerTeamResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerTeamResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerTeamResponseObject interface {
	VisitFundraisingEventLeaderboardControllerTeamResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerUser200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUser200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerUser200JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUser200JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUser401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUser401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerUser401JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUser401JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUser403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUser403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerUser403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerUserResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUser403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerUserResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUser404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUser404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerUser404JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUser404JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUser422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUser422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerUser422JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUser422JSONResponse) VisitFundraisingEventLeaderboardControllerUserResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessDistance200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistance200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerUserFitnessDistance200JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessDistance200JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessDistance401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistance401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerUserFitnessDistance401JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessDistance401JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessDistance403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistance403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerUserFitnessDistance403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessDistance403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessDistance404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistance404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerUserFitnessDistance404JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessDistance404JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessDistance422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistance422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerUserFitnessDistance422JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessDistance422JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessDistanceParams added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistanceParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerUserFitnessDistanceParams defines parameters for FundraisingEventLeaderboardControllerUserFitnessDistance.

type FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType string

FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType defines parameters for FundraisingEventLeaderboardControllerUserFitnessDistance.

const (
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeAll     FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "all"
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeCustom  FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeDaily   FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeMonthly FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeYearly  FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeTypeYtd     FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerUserFitnessDistanceParamsTimeType.

type FundraisingEventLeaderboardControllerUserFitnessDistanceRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistanceRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerUserFitnessDistanceParams
}

type FundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerUserFitnessDistanceResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerUserFitnessDistanceResponse, error)

ParseFundraisingEventLeaderboardControllerUserFitnessDistanceResponse parses an HTTP response from a FundraisingEventLeaderboardControllerUserFitnessDistanceWithResponse call

func (FundraisingEventLeaderboardControllerUserFitnessDistanceResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerUserFitnessDistanceResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerUserFitnessDistanceResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessDistanceResponseObject interface {
	VisitFundraisingEventLeaderboardControllerUserFitnessDistanceResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerUserFitnessTime200JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTime200JSONResponse PaginatedResponse

func (FundraisingEventLeaderboardControllerUserFitnessTime200JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessTime200JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessTime401JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTime401JSONResponse Unauthorized

func (FundraisingEventLeaderboardControllerUserFitnessTime401JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessTime401JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessTime403ApplictionjsonResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTime403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (FundraisingEventLeaderboardControllerUserFitnessTime403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessTime403ApplictionjsonResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessTime404JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTime404JSONResponse NotFound

func (FundraisingEventLeaderboardControllerUserFitnessTime404JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessTime404JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessTime422JSONResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTime422JSONResponse UnprocessableEntity

func (FundraisingEventLeaderboardControllerUserFitnessTime422JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

func (response FundraisingEventLeaderboardControllerUserFitnessTime422JSONResponse) VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse(w http.ResponseWriter) error

type FundraisingEventLeaderboardControllerUserFitnessTimeParams added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTimeParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerUserFitnessTimeParams defines parameters for FundraisingEventLeaderboardControllerUserFitnessTime.

type FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType string

FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType defines parameters for FundraisingEventLeaderboardControllerUserFitnessTime.

const (
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeAll     FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "all"
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeCustom  FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeDaily   FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeMonthly FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeYearly  FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeTypeYtd     FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerUserFitnessTimeParamsTimeType.

type FundraisingEventLeaderboardControllerUserFitnessTimeRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTimeRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerUserFitnessTimeParams
}

type FundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTimeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerUserFitnessTimeResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerUserFitnessTimeResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerUserFitnessTimeResponse, error)

ParseFundraisingEventLeaderboardControllerUserFitnessTimeResponse parses an HTTP response from a FundraisingEventLeaderboardControllerUserFitnessTimeWithResponse call

func (FundraisingEventLeaderboardControllerUserFitnessTimeResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerUserFitnessTimeResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerUserFitnessTimeResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerUserFitnessTimeResponseObject interface {
	VisitFundraisingEventLeaderboardControllerUserFitnessTimeResponse(w http.ResponseWriter) error
}

type FundraisingEventLeaderboardControllerUserParams added in v5.0.3

type FundraisingEventLeaderboardControllerUserParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *FundraisingEventLeaderboardControllerUserParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventLeaderboardControllerUserParams defines parameters for FundraisingEventLeaderboardControllerUser.

type FundraisingEventLeaderboardControllerUserParamsTimeType added in v5.0.3

type FundraisingEventLeaderboardControllerUserParamsTimeType string

FundraisingEventLeaderboardControllerUserParamsTimeType defines parameters for FundraisingEventLeaderboardControllerUser.

const (
	FundraisingEventLeaderboardControllerUserParamsTimeTypeAll     FundraisingEventLeaderboardControllerUserParamsTimeType = "all"
	FundraisingEventLeaderboardControllerUserParamsTimeTypeCustom  FundraisingEventLeaderboardControllerUserParamsTimeType = "custom"
	FundraisingEventLeaderboardControllerUserParamsTimeTypeDaily   FundraisingEventLeaderboardControllerUserParamsTimeType = "daily"
	FundraisingEventLeaderboardControllerUserParamsTimeTypeMonthly FundraisingEventLeaderboardControllerUserParamsTimeType = "monthly"
	FundraisingEventLeaderboardControllerUserParamsTimeTypeWeekly  FundraisingEventLeaderboardControllerUserParamsTimeType = "weekly"
	FundraisingEventLeaderboardControllerUserParamsTimeTypeYearly  FundraisingEventLeaderboardControllerUserParamsTimeType = "yearly"
	FundraisingEventLeaderboardControllerUserParamsTimeTypeYtd     FundraisingEventLeaderboardControllerUserParamsTimeType = "ytd"
)

Defines values for FundraisingEventLeaderboardControllerUserParamsTimeType.

type FundraisingEventLeaderboardControllerUserRequestObject added in v5.0.3

type FundraisingEventLeaderboardControllerUserRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventLeaderboardControllerUserParams
}

type FundraisingEventLeaderboardControllerUserResponse added in v5.0.3

type FundraisingEventLeaderboardControllerUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventLeaderboardControllerUserResponse added in v5.0.3

func ParseFundraisingEventLeaderboardControllerUserResponse(rsp *http.Response) (*FundraisingEventLeaderboardControllerUserResponse, error)

ParseFundraisingEventLeaderboardControllerUserResponse parses an HTTP response from a FundraisingEventLeaderboardControllerUserWithResponse call

func (FundraisingEventLeaderboardControllerUserResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventLeaderboardControllerUserResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventLeaderboardControllerUserResponseObject added in v5.0.3

type FundraisingEventLeaderboardControllerUserResponseObject interface {
	VisitFundraisingEventLeaderboardControllerUserResponse(w http.ResponseWriter) error
}

type FundraisingEventPaginatedResponse

type FundraisingEventPaginatedResponse = PaginatedResponse

FundraisingEventPaginatedResponse Object returned for paginated API responses

type FundraisingEventResponse

type FundraisingEventResponse struct {
	Data *FundraisingEvent `json:"data,omitempty"`
}

FundraisingEventResponse defines model for FundraisingEventResponse.

type FundraisingEventStatus

type FundraisingEventStatus string

FundraisingEventStatus The status of this fundraising event

const (
	FundraisingEventStatusPublished   FundraisingEventStatus = "published"
	FundraisingEventStatusRetired     FundraisingEventStatus = "retired"
	FundraisingEventStatusUnpublished FundraisingEventStatus = "unpublished"
)

Defines values for FundraisingEventStatus.

type FundraisingEventSupportingEvents200JSONResponse added in v5.0.3

type FundraisingEventSupportingEvents200JSONResponse PaginatedResponse

func (FundraisingEventSupportingEvents200JSONResponse) VisitFundraisingEventSupportingEventsResponse added in v5.0.3

func (response FundraisingEventSupportingEvents200JSONResponse) VisitFundraisingEventSupportingEventsResponse(w http.ResponseWriter) error

type FundraisingEventSupportingEvents401JSONResponse added in v5.0.3

type FundraisingEventSupportingEvents401JSONResponse Unauthorized

func (FundraisingEventSupportingEvents401JSONResponse) VisitFundraisingEventSupportingEventsResponse added in v5.0.3

func (response FundraisingEventSupportingEvents401JSONResponse) VisitFundraisingEventSupportingEventsResponse(w http.ResponseWriter) error

type FundraisingEventSupportingEvents404JSONResponse added in v5.0.3

type FundraisingEventSupportingEvents404JSONResponse NotFound

func (FundraisingEventSupportingEvents404JSONResponse) VisitFundraisingEventSupportingEventsResponse added in v5.0.3

func (response FundraisingEventSupportingEvents404JSONResponse) VisitFundraisingEventSupportingEventsResponse(w http.ResponseWriter) error

type FundraisingEventSupportingEvents422JSONResponse added in v5.0.3

type FundraisingEventSupportingEvents422JSONResponse UnprocessableEntity

func (FundraisingEventSupportingEvents422JSONResponse) VisitFundraisingEventSupportingEventsResponse added in v5.0.3

func (response FundraisingEventSupportingEvents422JSONResponse) VisitFundraisingEventSupportingEventsResponse(w http.ResponseWriter) error

type FundraisingEventSupportingEventsParams added in v5.0.3

type FundraisingEventSupportingEventsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

FundraisingEventSupportingEventsParams defines parameters for FundraisingEventSupportingEvents.

type FundraisingEventSupportingEventsRequestObject added in v5.0.3

type FundraisingEventSupportingEventsRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
	Params             FundraisingEventSupportingEventsParams
}

type FundraisingEventSupportingEventsResponse added in v5.0.3

type FundraisingEventSupportingEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseFundraisingEventSupportingEventsResponse added in v5.0.3

func ParseFundraisingEventSupportingEventsResponse(rsp *http.Response) (*FundraisingEventSupportingEventsResponse, error)

ParseFundraisingEventSupportingEventsResponse parses an HTTP response from a FundraisingEventSupportingEventsWithResponse call

func (FundraisingEventSupportingEventsResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (FundraisingEventSupportingEventsResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type FundraisingEventSupportingEventsResponseObject added in v5.0.3

type FundraisingEventSupportingEventsResponseObject interface {
	VisitFundraisingEventSupportingEventsResponse(w http.ResponseWriter) error
}

type GetCampaign200JSONResponse added in v5.0.3

type GetCampaign200JSONResponse struct {
	Data *Campaign `json:"data,omitempty"`
}

func (GetCampaign200JSONResponse) VisitGetCampaignResponse added in v5.0.3

func (response GetCampaign200JSONResponse) VisitGetCampaignResponse(w http.ResponseWriter) error

type GetCampaign401JSONResponse added in v5.0.3

type GetCampaign401JSONResponse Unauthorized

func (GetCampaign401JSONResponse) VisitGetCampaignResponse added in v5.0.3

func (response GetCampaign401JSONResponse) VisitGetCampaignResponse(w http.ResponseWriter) error

type GetCampaign404JSONResponse added in v5.0.3

type GetCampaign404JSONResponse NotFound

func (GetCampaign404JSONResponse) VisitGetCampaignResponse added in v5.0.3

func (response GetCampaign404JSONResponse) VisitGetCampaignResponse(w http.ResponseWriter) error

type GetCampaign422JSONResponse added in v5.0.3

type GetCampaign422JSONResponse UnprocessableEntity

func (GetCampaign422JSONResponse) VisitGetCampaignResponse added in v5.0.3

func (response GetCampaign422JSONResponse) VisitGetCampaignResponse(w http.ResponseWriter) error

type GetCampaignRequestObject added in v5.0.3

type GetCampaignRequestObject struct {
	CampaignId string `json:"campaign_id"`
}

type GetCampaignResponse added in v5.0.3

type GetCampaignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Campaign `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseGetCampaignResponse added in v5.0.3

func ParseGetCampaignResponse(rsp *http.Response) (*GetCampaignResponse, error)

ParseGetCampaignResponse parses an HTTP response from a GetCampaignWithResponse call

func (GetCampaignResponse) Status added in v5.0.3

func (r GetCampaignResponse) Status() string

Status returns HTTPResponse.Status

func (GetCampaignResponse) StatusCode added in v5.0.3

func (r GetCampaignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCampaignResponseObject added in v5.0.3

type GetCampaignResponseObject interface {
	VisitGetCampaignResponse(w http.ResponseWriter) error
}

type GetCause200JSONResponse added in v5.0.3

type GetCause200JSONResponse struct {
	Data *Cause `json:"data,omitempty"`
}

func (GetCause200JSONResponse) VisitGetCauseResponse added in v5.0.3

func (response GetCause200JSONResponse) VisitGetCauseResponse(w http.ResponseWriter) error

type GetCause401JSONResponse added in v5.0.3

type GetCause401JSONResponse Unauthorized

func (GetCause401JSONResponse) VisitGetCauseResponse added in v5.0.3

func (response GetCause401JSONResponse) VisitGetCauseResponse(w http.ResponseWriter) error

type GetCause404JSONResponse added in v5.0.3

type GetCause404JSONResponse NotFound

func (GetCause404JSONResponse) VisitGetCauseResponse added in v5.0.3

func (response GetCause404JSONResponse) VisitGetCauseResponse(w http.ResponseWriter) error

type GetCause422JSONResponse added in v5.0.3

type GetCause422JSONResponse UnprocessableEntity

func (GetCause422JSONResponse) VisitGetCauseResponse added in v5.0.3

func (response GetCause422JSONResponse) VisitGetCauseResponse(w http.ResponseWriter) error

type GetCauseRequestObject added in v5.0.3

type GetCauseRequestObject struct {
	CauseId string `json:"cause_id"`
}

type GetCauseResponse added in v5.0.3

type GetCauseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Cause `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseGetCauseResponse added in v5.0.3

func ParseGetCauseResponse(rsp *http.Response) (*GetCauseResponse, error)

ParseGetCauseResponse parses an HTTP response from a GetCauseWithResponse call

func (GetCauseResponse) Status added in v5.0.3

func (r GetCauseResponse) Status() string

Status returns HTTPResponse.Status

func (GetCauseResponse) StatusCode added in v5.0.3

func (r GetCauseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCauseResponseObject added in v5.0.3

type GetCauseResponseObject interface {
	VisitGetCauseResponse(w http.ResponseWriter) error
}

type GetFundraisingEvent200JSONResponse added in v5.0.3

type GetFundraisingEvent200JSONResponse struct {
	Data *FundraisingEvent `json:"data,omitempty"`
}

func (GetFundraisingEvent200JSONResponse) VisitGetFundraisingEventResponse added in v5.0.3

func (response GetFundraisingEvent200JSONResponse) VisitGetFundraisingEventResponse(w http.ResponseWriter) error

type GetFundraisingEvent401JSONResponse added in v5.0.3

type GetFundraisingEvent401JSONResponse Unauthorized

func (GetFundraisingEvent401JSONResponse) VisitGetFundraisingEventResponse added in v5.0.3

func (response GetFundraisingEvent401JSONResponse) VisitGetFundraisingEventResponse(w http.ResponseWriter) error

type GetFundraisingEvent404JSONResponse added in v5.0.3

type GetFundraisingEvent404JSONResponse NotFound

func (GetFundraisingEvent404JSONResponse) VisitGetFundraisingEventResponse added in v5.0.3

func (response GetFundraisingEvent404JSONResponse) VisitGetFundraisingEventResponse(w http.ResponseWriter) error

type GetFundraisingEvent422JSONResponse added in v5.0.3

type GetFundraisingEvent422JSONResponse UnprocessableEntity

func (GetFundraisingEvent422JSONResponse) VisitGetFundraisingEventResponse added in v5.0.3

func (response GetFundraisingEvent422JSONResponse) VisitGetFundraisingEventResponse(w http.ResponseWriter) error

type GetFundraisingEventRequestObject added in v5.0.3

type GetFundraisingEventRequestObject struct {
	FundraisingEventId string `json:"fundraising_event_id"`
}

type GetFundraisingEventResponse added in v5.0.3

type GetFundraisingEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *FundraisingEvent `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseGetFundraisingEventResponse added in v5.0.3

func ParseGetFundraisingEventResponse(rsp *http.Response) (*GetFundraisingEventResponse, error)

ParseGetFundraisingEventResponse parses an HTTP response from a GetFundraisingEventWithResponse call

func (GetFundraisingEventResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (GetFundraisingEventResponse) StatusCode added in v5.0.3

func (r GetFundraisingEventResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFundraisingEventResponseObject added in v5.0.3

type GetFundraisingEventResponseObject interface {
	VisitGetFundraisingEventResponse(w http.ResponseWriter) error
}

type GetTeam200JSONResponse added in v5.0.3

type GetTeam200JSONResponse struct {
	Data *Team `json:"data,omitempty"`
}

func (GetTeam200JSONResponse) VisitGetTeamResponse added in v5.0.3

func (response GetTeam200JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam401JSONResponse added in v5.0.3

type GetTeam401JSONResponse Unauthorized

func (GetTeam401JSONResponse) VisitGetTeamResponse added in v5.0.3

func (response GetTeam401JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam404JSONResponse added in v5.0.3

type GetTeam404JSONResponse NotFound

func (GetTeam404JSONResponse) VisitGetTeamResponse added in v5.0.3

func (response GetTeam404JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam422JSONResponse added in v5.0.3

type GetTeam422JSONResponse UnprocessableEntity

func (GetTeam422JSONResponse) VisitGetTeamResponse added in v5.0.3

func (response GetTeam422JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeamCampaign200JSONResponse added in v5.0.3

type GetTeamCampaign200JSONResponse struct {
	Data *TeamCampaign `json:"data,omitempty"`
}

func (GetTeamCampaign200JSONResponse) VisitGetTeamCampaignResponse added in v5.0.3

func (response GetTeamCampaign200JSONResponse) VisitGetTeamCampaignResponse(w http.ResponseWriter) error

type GetTeamCampaign401JSONResponse added in v5.0.3

type GetTeamCampaign401JSONResponse Unauthorized

func (GetTeamCampaign401JSONResponse) VisitGetTeamCampaignResponse added in v5.0.3

func (response GetTeamCampaign401JSONResponse) VisitGetTeamCampaignResponse(w http.ResponseWriter) error

type GetTeamCampaign404JSONResponse added in v5.0.3

type GetTeamCampaign404JSONResponse NotFound

func (GetTeamCampaign404JSONResponse) VisitGetTeamCampaignResponse added in v5.0.3

func (response GetTeamCampaign404JSONResponse) VisitGetTeamCampaignResponse(w http.ResponseWriter) error

type GetTeamCampaign422JSONResponse added in v5.0.3

type GetTeamCampaign422JSONResponse UnprocessableEntity

func (GetTeamCampaign422JSONResponse) VisitGetTeamCampaignResponse added in v5.0.3

func (response GetTeamCampaign422JSONResponse) VisitGetTeamCampaignResponse(w http.ResponseWriter) error

type GetTeamCampaignRequestObject added in v5.0.3

type GetTeamCampaignRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
}

type GetTeamCampaignResponse added in v5.0.3

type GetTeamCampaignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *TeamCampaign `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseGetTeamCampaignResponse added in v5.0.3

func ParseGetTeamCampaignResponse(rsp *http.Response) (*GetTeamCampaignResponse, error)

ParseGetTeamCampaignResponse parses an HTTP response from a GetTeamCampaignWithResponse call

func (GetTeamCampaignResponse) Status added in v5.0.3

func (r GetTeamCampaignResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamCampaignResponse) StatusCode added in v5.0.3

func (r GetTeamCampaignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamCampaignResponseObject added in v5.0.3

type GetTeamCampaignResponseObject interface {
	VisitGetTeamCampaignResponse(w http.ResponseWriter) error
}

type GetTeamRequestObject added in v5.0.3

type GetTeamRequestObject struct {
	TeamId string `json:"team_id"`
}

type GetTeamResponse added in v5.0.3

type GetTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Team `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseGetTeamResponse added in v5.0.3

func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)

ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call

func (GetTeamResponse) Status added in v5.0.3

func (r GetTeamResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamResponse) StatusCode added in v5.0.3

func (r GetTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamResponseObject added in v5.0.3

type GetTeamResponseObject interface {
	VisitGetTeamResponse(w http.ResponseWriter) error
}

type GetUser200JSONResponse added in v5.0.3

type GetUser200JSONResponse struct {
	Data *User `json:"data,omitempty"`
}

func (GetUser200JSONResponse) VisitGetUserResponse added in v5.0.3

func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser401JSONResponse added in v5.0.3

type GetUser401JSONResponse Unauthorized

func (GetUser401JSONResponse) VisitGetUserResponse added in v5.0.3

func (response GetUser401JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser404JSONResponse added in v5.0.3

type GetUser404JSONResponse NotFound

func (GetUser404JSONResponse) VisitGetUserResponse added in v5.0.3

func (response GetUser404JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser422JSONResponse added in v5.0.3

type GetUser422JSONResponse UnprocessableEntity

func (GetUser422JSONResponse) VisitGetUserResponse added in v5.0.3

func (response GetUser422JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUserRequestObject added in v5.0.3

type GetUserRequestObject struct {
	UserId string `json:"user_id"`
}

type GetUserResponse added in v5.0.3

type GetUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *User `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
}

func ParseGetUserResponse added in v5.0.3

func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)

ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call

func (GetUserResponse) Status added in v5.0.3

func (r GetUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserResponse) StatusCode added in v5.0.3

func (r GetUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserResponseObject added in v5.0.3

type GetUserResponseObject interface {
	VisitGetUserResponse(w http.ResponseWriter) error
}

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Image

type Image struct {
	// Alt Short description of the image
	Alt *string `json:"alt"`

	// Height Height of the image.
	Height *int `json:"height"`

	// Src Full URL of the image.
	Src string `json:"src"`

	// Width Width of the image.
	Width *int `json:"width"`
}

Image An Image includes the html properties necessary to render an <img> tag

type LeaderboardEntry

type LeaderboardEntry struct {
	// Amount The total amount raised by this leaderboard entry.
	Amount LeaderboardEntry_Amount `json:"amount"`

	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar *Image `json:"avatar"`

	// Heat The change in place of this entry
	Heat *float32 `json:"heat"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// Name The team's name
	Name string `json:"name"`

	// Url This is the full url for the team profile.
	Url *Url `json:"url"`
}

LeaderboardEntry defines model for LeaderboardEntry.

type LeaderboardEntryPaginatedResponse

type LeaderboardEntryPaginatedResponse = PaginatedResponse

LeaderboardEntryPaginatedResponse Object returned for paginated API responses

type LeaderboardEntry_Amount

type LeaderboardEntry_Amount struct {
	// contains filtered or unexported fields
}

LeaderboardEntry_Amount The total amount raised by this leaderboard entry.

func (LeaderboardEntry_Amount) AsMeasuredUnit

func (t LeaderboardEntry_Amount) AsMeasuredUnit() (MeasuredUnit, error)

AsMeasuredUnit returns the union data inside the LeaderboardEntry_Amount as a MeasuredUnit

func (LeaderboardEntry_Amount) AsMoney

func (t LeaderboardEntry_Amount) AsMoney() (Money, error)

AsMoney returns the union data inside the LeaderboardEntry_Amount as a Money

func (*LeaderboardEntry_Amount) FromMeasuredUnit

func (t *LeaderboardEntry_Amount) FromMeasuredUnit(v MeasuredUnit) error

FromMeasuredUnit overwrites any union data inside the LeaderboardEntry_Amount as the provided MeasuredUnit

func (*LeaderboardEntry_Amount) FromMoney

func (t *LeaderboardEntry_Amount) FromMoney(v Money) error

FromMoney overwrites any union data inside the LeaderboardEntry_Amount as the provided Money

func (LeaderboardEntry_Amount) MarshalJSON

func (t LeaderboardEntry_Amount) MarshalJSON() ([]byte, error)

func (*LeaderboardEntry_Amount) MergeMeasuredUnit

func (t *LeaderboardEntry_Amount) MergeMeasuredUnit(v MeasuredUnit) error

MergeMeasuredUnit performs a merge with any union data inside the LeaderboardEntry_Amount, using the provided MeasuredUnit

func (*LeaderboardEntry_Amount) MergeMoney

func (t *LeaderboardEntry_Amount) MergeMoney(v Money) error

MergeMoney performs a merge with any union data inside the LeaderboardEntry_Amount, using the provided Money

func (*LeaderboardEntry_Amount) UnmarshalJSON

func (t *LeaderboardEntry_Amount) UnmarshalJSON(b []byte) error

type LegacyId

type LegacyId = float32

LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.

type MeasuredUnit

type MeasuredUnit struct {
	// Unit measured unit
	Unit MeasuredUnitUnit `json:"unit"`

	// Value Monetary amount
	Value string `json:"value"`
}

MeasuredUnit Schema defining measurable amount in given unit

type MeasuredUnitUnit

type MeasuredUnitUnit string

MeasuredUnitUnit measured unit

const (
	Kilometer MeasuredUnitUnit = "kilometer"
	Mile      MeasuredUnitUnit = "mile"
	Seconds   MeasuredUnitUnit = "seconds"
)

Defines values for MeasuredUnitUnit.

type Milestone

type Milestone struct {
	// Active Whether or not the milestone is active
	Active bool `json:"active"`

	// Amount The amount of the milestone.
	Amount Money `json:"amount"`

	// Id Unique Identifier for the milestone.
	Id PublicId `json:"id"`

	// InsertedAt Moment when the milestone was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name Milestone name
	Name string `json:"name"`

	// UpdatedAt Moment when the milestone was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

Milestone defines model for Milestone.

type MilestonePaginatedResponse

type MilestonePaginatedResponse = PaginatedResponse

MilestonePaginatedResponse Object returned for paginated API responses

type Money

type Money struct {
	// Currency ISO 4217 alphabetic currency code
	Currency CurrencyCode `json:"currency"`

	// Value Monetary amount
	Value string `json:"value"`
}

Money Schema defining monetary amount in given currency

type NotFound

type NotFound = ErrorResponse

NotFound Object returned in API errors

type NullableUserResponse

type NullableUserResponse struct {
	Data *NullableUserResponse_Data `json:"data"`
}

NullableUserResponse defines model for NullableUserResponse.

type NullableUserResponse_Data

type NullableUserResponse_Data struct {
	// contains filtered or unexported fields
}

NullableUserResponse_Data defines model for NullableUserResponse.Data.

func (NullableUserResponse_Data) AsUser

func (t NullableUserResponse_Data) AsUser() (User, error)

AsUser returns the union data inside the NullableUserResponse_Data as a User

func (*NullableUserResponse_Data) FromUser

func (t *NullableUserResponse_Data) FromUser(v User) error

FromUser overwrites any union data inside the NullableUserResponse_Data as the provided User

func (NullableUserResponse_Data) MarshalJSON

func (t NullableUserResponse_Data) MarshalJSON() ([]byte, error)

func (*NullableUserResponse_Data) MergeUser

func (t *NullableUserResponse_Data) MergeUser(v User) error

MergeUser performs a merge with any union data inside the NullableUserResponse_Data, using the provided User

func (*NullableUserResponse_Data) UnmarshalJSON

func (t *NullableUserResponse_Data) UnmarshalJSON(b []byte) error

type PaginatedResponse

type PaginatedResponse struct {
	Data     []map[string]interface{} `json:"data"`
	Metadata *struct {
		// After The cursor to the next page if it exists
		After *string `json:"after"`

		// Before The cursor to the previous page if it exists
		Before *string `json:"before"`

		// Limit The requested record limit
		Limit float32 `json:"limit"`
	} `json:"metadata,omitempty"`
}

PaginatedResponse Object returned for paginated API responses

type Poll

type Poll struct {
	// Active Whether or not the milestone is active
	Active bool `json:"active"`

	// AmountRaised Amount Raised by this poll option
	AmountRaised Money `json:"amount_raised"`

	// Id Unique Identifier for the milestone.
	Id PublicId `json:"id"`

	// InsertedAt Moment when the milestone was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name Milestone name
	Name    string       `json:"name"`
	Options []PollOption `json:"options"`

	// UpdatedAt Moment when the milestone was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

Poll defines model for Poll.

type PollOption

type PollOption struct {
	// AmountRaised Amount Raised by this poll option
	AmountRaised Money `json:"amount_raised"`

	// Id Unique Identifier for the poll option.
	Id PublicId `json:"id"`

	// InsertedAt Moment when the poll option was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name poll option name
	Name string `json:"name"`

	// UpdatedAt Moment when the poll option was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

PollOption defines model for PollOption.

type PollPaginatedResponse

type PollPaginatedResponse = PaginatedResponse

PollPaginatedResponse Object returned for paginated API responses

type PublicId

type PublicId = openapi_types.UUID

PublicId Unique Identifier for the Object. UUID

type RelayResponseObject added in v5.0.4

type RelayResponseObject struct {
	Meta struct {
		Status int `json:"status"`
	} `json:"meta"`
	Data struct {
		Amount       float64   `json:"amount"`
		Currency     string    `json:"currency"`
		DonorName    string    `json:"donor_name"`
		DonorComment string    `json:"donor_comment"`
		Status       string    `json:"status"`
		UUID         uuid.UUID `json:"uuid"`
		Meta         struct {
			UUID uuid.UUID `json:"uuid"`
			Time time.Time `json:"time"`
			Hash string    `json:"hash"`
		} `json:"meta"`
	} `json:"data"`
}

func CheckRelay added in v5.0.4

func CheckRelay(ctx context.Context, transport http.RoundTripper, baseURL string, relay string, uuid uuid.UUID, accessKey string) (rr *RelayResponseObject, err error)

CheckRelay will check the V3 relay with the given relay key etc. This endpoint will do a best effort conversion of the metadata to a map of string,string If the conversion fails, the data will still be returned, but an error will also be returned

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type Reward

type Reward struct {
	// Active Whether or not the reward is active
	Active bool `json:"active"`

	// Amount Amount needed to claim this reward
	Amount Money `json:"amount"`

	// Description Short description of the reward
	Description *string `json:"description"`

	// EndsAt Moment when the reward ends
	EndsAt *time.Time `json:"ends_at"`

	// FairMarketValue The fair market value of this reward
	FairMarketValue *Money `json:"fair_market_value"`

	// Id Unique Identifier for the reward.
	Id    PublicId `json:"id"`
	Image *Image   `json:"image"`

	// InsertedAt Moment when the reward was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name Reward name
	Name string `json:"name"`

	// Quantity total amount of this reward if it has a limited quantity
	Quantity *int `json:"quantity"`

	// QuantityRemaining remaining amount of this reward if it has a limited quantity
	QuantityRemaining *int `json:"quantity_remaining"`

	// StartsAt Moment when the reward starts
	StartsAt *time.Time `json:"starts_at"`

	// UpdatedAt Moment when the milestone was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

Reward defines model for Reward.

type RewardPaginatedResponse

type RewardPaginatedResponse = PaginatedResponse

RewardPaginatedResponse Object returned for paginated API responses

type Role

type Role struct {
	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// Key Internal key for the role
	Key RoleKey `json:"key"`

	// Name Visible name of the role
	Name string `json:"name"`
}

Role defines model for Role.

type RoleKey

type RoleKey string

RoleKey Internal key for the role

const (
	RoleKeyTeamAdmin        RoleKey = "team_admin"
	RoleKeyTeamEventManager RoleKey = "team_event_manager"
	RoleKeyTeamMember       RoleKey = "team_member"
	RoleKeyTeamSuperAdmin   RoleKey = "team_super_admin"
	RoleKeyTeamUserManager  RoleKey = "team_user_manager"
)

Defines values for RoleKey.

type Schedule

type Schedule struct {
	// Description Campaign schedule description
	Description *string `json:"description"`

	// EndsAt Moment when the schedule ends in ISO8601 format
	EndsAt *time.Time `json:"ends_at"`

	// Id Unique Identifier for the milestone.
	Id PublicId `json:"id"`

	// InsertedAt Moment when the milestone was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name Milestone name
	Name string `json:"name"`

	// StartsAt Moment when the schedule starts in ISO8601 format
	StartsAt time.Time `json:"starts_at"`

	// UpdatedAt Moment when the milestone was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

Schedule defines model for Schedule.

type SchedulePaginatedResponse

type SchedulePaginatedResponse = PaginatedResponse

SchedulePaginatedResponse Object returned for paginated API responses

type ServerInterface

type ServerInterface interface {
	// Get by ID
	// (GET /api/public/campaigns/{campaign_id})
	GetCampaign(ctx echo.Context, campaignId string) error
	// List donations
	// (GET /api/public/campaigns/{campaign_id}/donations)
	CampaignDonations(ctx echo.Context, campaignId string, params CampaignDonationsParams) error
	// List top donors
	// (GET /api/public/campaigns/{campaign_id}/donor_leaderboard)
	CampaignLeaderboardControllerDonor(ctx echo.Context, campaignId string, params CampaignLeaderboardControllerDonorParams) error
	// List milestones
	// (GET /api/public/campaigns/{campaign_id}/milestones)
	CampaignMilestones(ctx echo.Context, campaignId string, params CampaignMilestonesParams) error
	// List polls
	// (GET /api/public/campaigns/{campaign_id}/polls)
	CampaignPolls(ctx echo.Context, campaignId string, params CampaignPollsParams) error
	// List rewards
	// (GET /api/public/campaigns/{campaign_id}/rewards)
	CampaignRewards(ctx echo.Context, campaignId string, params CampaignRewardsParams) error
	// List schedules
	// (GET /api/public/campaigns/{campaign_id}/schedules)
	CampaignSchedules(ctx echo.Context, campaignId string, params CampaignSchedulesParams) error
	// List targets
	// (GET /api/public/campaigns/{campaign_id}/targets)
	CampaignChallenges(ctx echo.Context, campaignId string, params CampaignChallengesParams) error
	// Get by ID
	// (GET /api/public/causes/{cause_id})
	GetCause(ctx echo.Context, causeId string) error
	// List campaigns
	// (GET /api/public/causes/{cause_id}/campaigns)
	CauseCampaigns(ctx echo.Context, causeId string, params CauseCampaignsParams) error
	// List configured leaderboards
	// (GET /api/public/causes/{cause_id}/configured_leaderboard)
	CauseLeaderboardControllerConfigured(ctx echo.Context, causeId string) error
	// List top donors
	// (GET /api/public/causes/{cause_id}/donor_leaderboard)
	CauseLeaderboardControllerDonor(ctx echo.Context, causeId string, params CauseLeaderboardControllerDonorParams) error
	// List fundraising events
	// (GET /api/public/causes/{cause_id}/fundraising_events)
	CauseFundraisingEvents(ctx echo.Context, causeId string, params CauseFundraisingEventsParams) error
	// List top teams
	// (GET /api/public/causes/{cause_id}/team_leaderboard)
	CauseLeaderboardControllerTeam(ctx echo.Context, causeId string, params CauseLeaderboardControllerTeamParams) error
	// List top fundraisers
	// (GET /api/public/causes/{cause_id}/user_leaderboard)
	CauseLeaderboardControllerUser(ctx echo.Context, causeId string, params CauseLeaderboardControllerUserParams) error
	// Gets the current user for an access token
	// (GET /api/public/current-user)
	UserControllerCurrentUser(ctx echo.Context) error
	// Get by ID
	// (GET /api/public/fundraising_events/{fundraising_event_id})
	GetFundraisingEvent(ctx echo.Context, fundraisingEventId string) error
	// List configured leaderboards
	// (GET /api/public/fundraising_events/{fundraising_event_id}/configured_leaderboard)
	FundraisingEventLeaderboardControllerConfigured(ctx echo.Context, fundraisingEventId string) error
	// List top donors
	// (GET /api/public/fundraising_events/{fundraising_event_id}/donor_leaderboard)
	FundraisingEventLeaderboardControllerDonor(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerDonorParams) error
	// List campaigns
	// (GET /api/public/fundraising_events/{fundraising_event_id}/supporting_events)
	FundraisingEventSupportingEvents(ctx echo.Context, fundraisingEventId string, params FundraisingEventSupportingEventsParams) error
	// List top teams fitness distances
	// (GET /api/public/fundraising_events/{fundraising_event_id}/team_fitness_distance_leaderboard)
	FundraisingEventLeaderboardControllerTeamFitnessDistance(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerTeamFitnessDistanceParams) error
	// List top teams fitness times
	// (GET /api/public/fundraising_events/{fundraising_event_id}/team_fitness_time_leaderboard)
	FundraisingEventLeaderboardControllerTeamFitnessTime(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerTeamFitnessTimeParams) error
	// List top teams
	// (GET /api/public/fundraising_events/{fundraising_event_id}/team_leaderboard)
	FundraisingEventLeaderboardControllerTeam(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerTeamParams) error
	// List top users fitness distances
	// (GET /api/public/fundraising_events/{fundraising_event_id}/user_fitness_distance_leaderboard)
	FundraisingEventLeaderboardControllerUserFitnessDistance(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerUserFitnessDistanceParams) error
	// List top users fitness times
	// (GET /api/public/fundraising_events/{fundraising_event_id}/user_fitness_time_leaderboard)
	FundraisingEventLeaderboardControllerUserFitnessTime(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerUserFitnessTimeParams) error
	// List top fundraisers
	// (GET /api/public/fundraising_events/{fundraising_event_id}/user_leaderboard)
	FundraisingEventLeaderboardControllerUser(ctx echo.Context, fundraisingEventId string, params FundraisingEventLeaderboardControllerUserParams) error
	// Get by ID
	// (GET /api/public/team_campaigns/{team_campaign_id})
	GetTeamCampaign(ctx echo.Context, teamCampaignId string) error
	// List donations
	// (GET /api/public/team_campaigns/{team_campaign_id}/donations)
	TeamCampaignDonations(ctx echo.Context, teamCampaignId string, params TeamCampaignDonationsParams) error
	// List top donors
	// (GET /api/public/team_campaigns/{team_campaign_id}/donor_leaderboards)
	TeamCampaignLeaderboardControllerDonor(ctx echo.Context, teamCampaignId string, params TeamCampaignLeaderboardControllerDonorParams) error
	// List milestones
	// (GET /api/public/team_campaigns/{team_campaign_id}/milestones)
	TeamCampaignMilestones(ctx echo.Context, teamCampaignId string, params TeamCampaignMilestonesParams) error
	// List polls
	// (GET /api/public/team_campaigns/{team_campaign_id}/polls)
	TeamCampaignPolls(ctx echo.Context, teamCampaignId string, params TeamCampaignPollsParams) error
	// List rewards
	// (GET /api/public/team_campaigns/{team_campaign_id}/rewards)
	TeamCampaignRewards(ctx echo.Context, teamCampaignId string, params TeamCampaignRewardsParams) error
	// List schedules
	// (GET /api/public/team_campaigns/{team_campaign_id}/schedules)
	TeamCampaignSchedules(ctx echo.Context, teamCampaignId string, params TeamCampaignSchedulesParams) error
	// List supporting campaigns
	// (GET /api/public/team_campaigns/{team_campaign_id}/supporting_campaigns)
	TeamCampaignSupportingCampaigns(ctx echo.Context, teamCampaignId string, params TeamCampaignSupportingCampaignsParams) error
	// List targets
	// (GET /api/public/team_campaigns/{team_campaign_id}/targets)
	TeamCampaignChallenges(ctx echo.Context, teamCampaignId string, params TeamCampaignChallengesParams) error
	// List top fundraisers
	// (GET /api/public/team_campaigns/{team_campaign_id}/user_leaderboards)
	TeamCampaignLeaderboardControllerUser(ctx echo.Context, teamCampaignId string, params TeamCampaignLeaderboardControllerUserParams) error
	// Get by ID
	// (GET /api/public/teams/{team_id})
	GetTeam(ctx echo.Context, teamId string) error
	// List team members
	// (GET /api/public/teams/{team_id}/members)
	TeamMembers(ctx echo.Context, teamId string, params TeamMembersParams) error
	// List Team Campaigns
	// (GET /api/public/teams/{team_id}/team_campaigns)
	TeamTeamCampaigns(ctx echo.Context, teamId string, params TeamTeamCampaignsParams) error
	// Get by ID
	// (GET /api/public/users/{user_id})
	GetUser(ctx echo.Context, userId string) error
	// List campaigns
	// (GET /api/public/users/{user_id}/campaigns)
	UserCampaigns(ctx echo.Context, userId string, params UserCampaignsParams) error
	// List all Campaigns and Team Campaigns by User ID
	// (GET /api/public/users/{user_id}/integration_events)
	UserIntegrationEvents(ctx echo.Context, userId string, params UserIntegrationEventsParams) error
	// List teams
	// (GET /api/public/users/{user_id}/teams)
	UserTeams(ctx echo.Context, userId string, params UserTeamsParams) error
	// Authorize
	// (GET /oauth/authorize)
	V5ApiWebOauthAuthorize(ctx echo.Context, params V5ApiWebOauthAuthorizeParams) error
	// Token
	// (POST /oauth/token)
	V5ApiWebOauthToken(ctx echo.Context, params V5ApiWebOauthTokenParams) error
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) CampaignChallenges added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignChallenges(ctx echo.Context) error

CampaignChallenges converts echo context to params.

func (*ServerInterfaceWrapper) CampaignDonations added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignDonations(ctx echo.Context) error

CampaignDonations converts echo context to params.

func (*ServerInterfaceWrapper) CampaignLeaderboardControllerDonor added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignLeaderboardControllerDonor(ctx echo.Context) error

CampaignLeaderboardControllerDonor converts echo context to params.

func (*ServerInterfaceWrapper) CampaignMilestones added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignMilestones(ctx echo.Context) error

CampaignMilestones converts echo context to params.

func (*ServerInterfaceWrapper) CampaignPolls added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignPolls(ctx echo.Context) error

CampaignPolls converts echo context to params.

func (*ServerInterfaceWrapper) CampaignRewards added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignRewards(ctx echo.Context) error

CampaignRewards converts echo context to params.

func (*ServerInterfaceWrapper) CampaignSchedules added in v5.0.3

func (w *ServerInterfaceWrapper) CampaignSchedules(ctx echo.Context) error

CampaignSchedules converts echo context to params.

func (*ServerInterfaceWrapper) CauseCampaigns added in v5.0.3

func (w *ServerInterfaceWrapper) CauseCampaigns(ctx echo.Context) error

CauseCampaigns converts echo context to params.

func (*ServerInterfaceWrapper) CauseFundraisingEvents added in v5.0.3

func (w *ServerInterfaceWrapper) CauseFundraisingEvents(ctx echo.Context) error

CauseFundraisingEvents converts echo context to params.

func (*ServerInterfaceWrapper) CauseLeaderboardControllerConfigured added in v5.0.3

func (w *ServerInterfaceWrapper) CauseLeaderboardControllerConfigured(ctx echo.Context) error

CauseLeaderboardControllerConfigured converts echo context to params.

func (*ServerInterfaceWrapper) CauseLeaderboardControllerDonor added in v5.0.3

func (w *ServerInterfaceWrapper) CauseLeaderboardControllerDonor(ctx echo.Context) error

CauseLeaderboardControllerDonor converts echo context to params.

func (*ServerInterfaceWrapper) CauseLeaderboardControllerTeam added in v5.0.3

func (w *ServerInterfaceWrapper) CauseLeaderboardControllerTeam(ctx echo.Context) error

CauseLeaderboardControllerTeam converts echo context to params.

func (*ServerInterfaceWrapper) CauseLeaderboardControllerUser added in v5.0.3

func (w *ServerInterfaceWrapper) CauseLeaderboardControllerUser(ctx echo.Context) error

CauseLeaderboardControllerUser converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerConfigured added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerConfigured(ctx echo.Context) error

FundraisingEventLeaderboardControllerConfigured converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerDonor added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerDonor(ctx echo.Context) error

FundraisingEventLeaderboardControllerDonor converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerTeam added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerTeam(ctx echo.Context) error

FundraisingEventLeaderboardControllerTeam converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerTeamFitnessDistance added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerTeamFitnessDistance(ctx echo.Context) error

FundraisingEventLeaderboardControllerTeamFitnessDistance converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerTeamFitnessTime added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerTeamFitnessTime(ctx echo.Context) error

FundraisingEventLeaderboardControllerTeamFitnessTime converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerUser added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerUser(ctx echo.Context) error

FundraisingEventLeaderboardControllerUser converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerUserFitnessDistance added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerUserFitnessDistance(ctx echo.Context) error

FundraisingEventLeaderboardControllerUserFitnessDistance converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventLeaderboardControllerUserFitnessTime added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventLeaderboardControllerUserFitnessTime(ctx echo.Context) error

FundraisingEventLeaderboardControllerUserFitnessTime converts echo context to params.

func (*ServerInterfaceWrapper) FundraisingEventSupportingEvents added in v5.0.3

func (w *ServerInterfaceWrapper) FundraisingEventSupportingEvents(ctx echo.Context) error

FundraisingEventSupportingEvents converts echo context to params.

func (*ServerInterfaceWrapper) GetCampaign added in v5.0.3

func (w *ServerInterfaceWrapper) GetCampaign(ctx echo.Context) error

GetCampaign converts echo context to params.

func (*ServerInterfaceWrapper) GetCause added in v5.0.3

func (w *ServerInterfaceWrapper) GetCause(ctx echo.Context) error

GetCause converts echo context to params.

func (*ServerInterfaceWrapper) GetFundraisingEvent added in v5.0.3

func (w *ServerInterfaceWrapper) GetFundraisingEvent(ctx echo.Context) error

GetFundraisingEvent converts echo context to params.

func (*ServerInterfaceWrapper) GetTeam added in v5.0.3

func (w *ServerInterfaceWrapper) GetTeam(ctx echo.Context) error

GetTeam converts echo context to params.

func (*ServerInterfaceWrapper) GetTeamCampaign added in v5.0.3

func (w *ServerInterfaceWrapper) GetTeamCampaign(ctx echo.Context) error

GetTeamCampaign converts echo context to params.

func (*ServerInterfaceWrapper) GetUser added in v5.0.3

func (w *ServerInterfaceWrapper) GetUser(ctx echo.Context) error

GetUser converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignChallenges added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignChallenges(ctx echo.Context) error

TeamCampaignChallenges converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignDonations added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignDonations(ctx echo.Context) error

TeamCampaignDonations converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignLeaderboardControllerDonor added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignLeaderboardControllerDonor(ctx echo.Context) error

TeamCampaignLeaderboardControllerDonor converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignLeaderboardControllerUser added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignLeaderboardControllerUser(ctx echo.Context) error

TeamCampaignLeaderboardControllerUser converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignMilestones added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignMilestones(ctx echo.Context) error

TeamCampaignMilestones converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignPolls added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignPolls(ctx echo.Context) error

TeamCampaignPolls converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignRewards added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignRewards(ctx echo.Context) error

TeamCampaignRewards converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignSchedules added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignSchedules(ctx echo.Context) error

TeamCampaignSchedules converts echo context to params.

func (*ServerInterfaceWrapper) TeamCampaignSupportingCampaigns added in v5.0.3

func (w *ServerInterfaceWrapper) TeamCampaignSupportingCampaigns(ctx echo.Context) error

TeamCampaignSupportingCampaigns converts echo context to params.

func (*ServerInterfaceWrapper) TeamMembers added in v5.0.3

func (w *ServerInterfaceWrapper) TeamMembers(ctx echo.Context) error

TeamMembers converts echo context to params.

func (*ServerInterfaceWrapper) TeamTeamCampaigns added in v5.0.3

func (w *ServerInterfaceWrapper) TeamTeamCampaigns(ctx echo.Context) error

TeamTeamCampaigns converts echo context to params.

func (*ServerInterfaceWrapper) UserCampaigns added in v5.0.3

func (w *ServerInterfaceWrapper) UserCampaigns(ctx echo.Context) error

UserCampaigns converts echo context to params.

func (*ServerInterfaceWrapper) UserControllerCurrentUser added in v5.0.3

func (w *ServerInterfaceWrapper) UserControllerCurrentUser(ctx echo.Context) error

UserControllerCurrentUser converts echo context to params.

func (*ServerInterfaceWrapper) UserIntegrationEvents added in v5.0.3

func (w *ServerInterfaceWrapper) UserIntegrationEvents(ctx echo.Context) error

UserIntegrationEvents converts echo context to params.

func (*ServerInterfaceWrapper) UserTeams added in v5.0.3

func (w *ServerInterfaceWrapper) UserTeams(ctx echo.Context) error

UserTeams converts echo context to params.

func (*ServerInterfaceWrapper) V5ApiWebOauthAuthorize

func (w *ServerInterfaceWrapper) V5ApiWebOauthAuthorize(ctx echo.Context) error

V5ApiWebOauthAuthorize converts echo context to params.

func (*ServerInterfaceWrapper) V5ApiWebOauthToken

func (w *ServerInterfaceWrapper) V5ApiWebOauthToken(ctx echo.Context) error

V5ApiWebOauthToken converts echo context to params.

type Slug

type Slug = string

Slug This is a url slug used for the given resource.

type Social

type Social struct {
	// Discord Discord invite url
	Discord *string `json:"discord"`

	// Facebook Facebook Page username
	Facebook *string `json:"facebook"`

	// Instagram Instagram username
	Instagram *string `json:"instagram"`

	// Snapchat Snapchat username
	Snapchat *string `json:"snapchat"`

	// Tiktok TikTok username
	Tiktok *string `json:"tiktok"`

	// Twitch Twitch username
	Twitch *string `json:"twitch"`

	// Twitter Twitter username
	Twitter *string `json:"twitter"`

	// Website Custom website url
	Website *string `json:"website"`

	// Youtube Youtube channel ID
	Youtube *string `json:"youtube"`
}

Social An object with various social usernames and links

type StatusFailureError

type StatusFailureError struct {
	Resp *http.Response
	Err  error
}

StatusFailureError is the error returned if the response was a non-success code.

func (StatusFailureError) Error

func (s StatusFailureError) Error() string

type StrictHandlerFunc

type StrictHandlerFunc func(ctx echo.Context, args interface{}) (interface{}, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Get by ID
	// (GET /api/public/campaigns/{campaign_id})
	GetCampaign(ctx context.Context, request GetCampaignRequestObject) (GetCampaignResponseObject, error)
	// List donations
	// (GET /api/public/campaigns/{campaign_id}/donations)
	CampaignDonations(ctx context.Context, request CampaignDonationsRequestObject) (CampaignDonationsResponseObject, error)
	// List top donors
	// (GET /api/public/campaigns/{campaign_id}/donor_leaderboard)
	CampaignLeaderboardControllerDonor(ctx context.Context, request CampaignLeaderboardControllerDonorRequestObject) (CampaignLeaderboardControllerDonorResponseObject, error)
	// List milestones
	// (GET /api/public/campaigns/{campaign_id}/milestones)
	CampaignMilestones(ctx context.Context, request CampaignMilestonesRequestObject) (CampaignMilestonesResponseObject, error)
	// List polls
	// (GET /api/public/campaigns/{campaign_id}/polls)
	CampaignPolls(ctx context.Context, request CampaignPollsRequestObject) (CampaignPollsResponseObject, error)
	// List rewards
	// (GET /api/public/campaigns/{campaign_id}/rewards)
	CampaignRewards(ctx context.Context, request CampaignRewardsRequestObject) (CampaignRewardsResponseObject, error)
	// List schedules
	// (GET /api/public/campaigns/{campaign_id}/schedules)
	CampaignSchedules(ctx context.Context, request CampaignSchedulesRequestObject) (CampaignSchedulesResponseObject, error)
	// List targets
	// (GET /api/public/campaigns/{campaign_id}/targets)
	CampaignChallenges(ctx context.Context, request CampaignChallengesRequestObject) (CampaignChallengesResponseObject, error)
	// Get by ID
	// (GET /api/public/causes/{cause_id})
	GetCause(ctx context.Context, request GetCauseRequestObject) (GetCauseResponseObject, error)
	// List campaigns
	// (GET /api/public/causes/{cause_id}/campaigns)
	CauseCampaigns(ctx context.Context, request CauseCampaignsRequestObject) (CauseCampaignsResponseObject, error)
	// List configured leaderboards
	// (GET /api/public/causes/{cause_id}/configured_leaderboard)
	CauseLeaderboardControllerConfigured(ctx context.Context, request CauseLeaderboardControllerConfiguredRequestObject) (CauseLeaderboardControllerConfiguredResponseObject, error)
	// List top donors
	// (GET /api/public/causes/{cause_id}/donor_leaderboard)
	CauseLeaderboardControllerDonor(ctx context.Context, request CauseLeaderboardControllerDonorRequestObject) (CauseLeaderboardControllerDonorResponseObject, error)
	// List fundraising events
	// (GET /api/public/causes/{cause_id}/fundraising_events)
	CauseFundraisingEvents(ctx context.Context, request CauseFundraisingEventsRequestObject) (CauseFundraisingEventsResponseObject, error)
	// List top teams
	// (GET /api/public/causes/{cause_id}/team_leaderboard)
	CauseLeaderboardControllerTeam(ctx context.Context, request CauseLeaderboardControllerTeamRequestObject) (CauseLeaderboardControllerTeamResponseObject, error)
	// List top fundraisers
	// (GET /api/public/causes/{cause_id}/user_leaderboard)
	CauseLeaderboardControllerUser(ctx context.Context, request CauseLeaderboardControllerUserRequestObject) (CauseLeaderboardControllerUserResponseObject, error)
	// Gets the current user for an access token
	// (GET /api/public/current-user)
	UserControllerCurrentUser(ctx context.Context, request UserControllerCurrentUserRequestObject) (UserControllerCurrentUserResponseObject, error)
	// Get by ID
	// (GET /api/public/fundraising_events/{fundraising_event_id})
	GetFundraisingEvent(ctx context.Context, request GetFundraisingEventRequestObject) (GetFundraisingEventResponseObject, error)
	// List configured leaderboards
	// (GET /api/public/fundraising_events/{fundraising_event_id}/configured_leaderboard)
	FundraisingEventLeaderboardControllerConfigured(ctx context.Context, request FundraisingEventLeaderboardControllerConfiguredRequestObject) (FundraisingEventLeaderboardControllerConfiguredResponseObject, error)
	// List top donors
	// (GET /api/public/fundraising_events/{fundraising_event_id}/donor_leaderboard)
	FundraisingEventLeaderboardControllerDonor(ctx context.Context, request FundraisingEventLeaderboardControllerDonorRequestObject) (FundraisingEventLeaderboardControllerDonorResponseObject, error)
	// List campaigns
	// (GET /api/public/fundraising_events/{fundraising_event_id}/supporting_events)
	FundraisingEventSupportingEvents(ctx context.Context, request FundraisingEventSupportingEventsRequestObject) (FundraisingEventSupportingEventsResponseObject, error)
	// List top teams fitness distances
	// (GET /api/public/fundraising_events/{fundraising_event_id}/team_fitness_distance_leaderboard)
	FundraisingEventLeaderboardControllerTeamFitnessDistance(ctx context.Context, request FundraisingEventLeaderboardControllerTeamFitnessDistanceRequestObject) (FundraisingEventLeaderboardControllerTeamFitnessDistanceResponseObject, error)
	// List top teams fitness times
	// (GET /api/public/fundraising_events/{fundraising_event_id}/team_fitness_time_leaderboard)
	FundraisingEventLeaderboardControllerTeamFitnessTime(ctx context.Context, request FundraisingEventLeaderboardControllerTeamFitnessTimeRequestObject) (FundraisingEventLeaderboardControllerTeamFitnessTimeResponseObject, error)
	// List top teams
	// (GET /api/public/fundraising_events/{fundraising_event_id}/team_leaderboard)
	FundraisingEventLeaderboardControllerTeam(ctx context.Context, request FundraisingEventLeaderboardControllerTeamRequestObject) (FundraisingEventLeaderboardControllerTeamResponseObject, error)
	// List top users fitness distances
	// (GET /api/public/fundraising_events/{fundraising_event_id}/user_fitness_distance_leaderboard)
	FundraisingEventLeaderboardControllerUserFitnessDistance(ctx context.Context, request FundraisingEventLeaderboardControllerUserFitnessDistanceRequestObject) (FundraisingEventLeaderboardControllerUserFitnessDistanceResponseObject, error)
	// List top users fitness times
	// (GET /api/public/fundraising_events/{fundraising_event_id}/user_fitness_time_leaderboard)
	FundraisingEventLeaderboardControllerUserFitnessTime(ctx context.Context, request FundraisingEventLeaderboardControllerUserFitnessTimeRequestObject) (FundraisingEventLeaderboardControllerUserFitnessTimeResponseObject, error)
	// List top fundraisers
	// (GET /api/public/fundraising_events/{fundraising_event_id}/user_leaderboard)
	FundraisingEventLeaderboardControllerUser(ctx context.Context, request FundraisingEventLeaderboardControllerUserRequestObject) (FundraisingEventLeaderboardControllerUserResponseObject, error)
	// Get by ID
	// (GET /api/public/team_campaigns/{team_campaign_id})
	GetTeamCampaign(ctx context.Context, request GetTeamCampaignRequestObject) (GetTeamCampaignResponseObject, error)
	// List donations
	// (GET /api/public/team_campaigns/{team_campaign_id}/donations)
	TeamCampaignDonations(ctx context.Context, request TeamCampaignDonationsRequestObject) (TeamCampaignDonationsResponseObject, error)
	// List top donors
	// (GET /api/public/team_campaigns/{team_campaign_id}/donor_leaderboards)
	TeamCampaignLeaderboardControllerDonor(ctx context.Context, request TeamCampaignLeaderboardControllerDonorRequestObject) (TeamCampaignLeaderboardControllerDonorResponseObject, error)
	// List milestones
	// (GET /api/public/team_campaigns/{team_campaign_id}/milestones)
	TeamCampaignMilestones(ctx context.Context, request TeamCampaignMilestonesRequestObject) (TeamCampaignMilestonesResponseObject, error)
	// List polls
	// (GET /api/public/team_campaigns/{team_campaign_id}/polls)
	TeamCampaignPolls(ctx context.Context, request TeamCampaignPollsRequestObject) (TeamCampaignPollsResponseObject, error)
	// List rewards
	// (GET /api/public/team_campaigns/{team_campaign_id}/rewards)
	TeamCampaignRewards(ctx context.Context, request TeamCampaignRewardsRequestObject) (TeamCampaignRewardsResponseObject, error)
	// List schedules
	// (GET /api/public/team_campaigns/{team_campaign_id}/schedules)
	TeamCampaignSchedules(ctx context.Context, request TeamCampaignSchedulesRequestObject) (TeamCampaignSchedulesResponseObject, error)
	// List supporting campaigns
	// (GET /api/public/team_campaigns/{team_campaign_id}/supporting_campaigns)
	TeamCampaignSupportingCampaigns(ctx context.Context, request TeamCampaignSupportingCampaignsRequestObject) (TeamCampaignSupportingCampaignsResponseObject, error)
	// List targets
	// (GET /api/public/team_campaigns/{team_campaign_id}/targets)
	TeamCampaignChallenges(ctx context.Context, request TeamCampaignChallengesRequestObject) (TeamCampaignChallengesResponseObject, error)
	// List top fundraisers
	// (GET /api/public/team_campaigns/{team_campaign_id}/user_leaderboards)
	TeamCampaignLeaderboardControllerUser(ctx context.Context, request TeamCampaignLeaderboardControllerUserRequestObject) (TeamCampaignLeaderboardControllerUserResponseObject, error)
	// Get by ID
	// (GET /api/public/teams/{team_id})
	GetTeam(ctx context.Context, request GetTeamRequestObject) (GetTeamResponseObject, error)
	// List team members
	// (GET /api/public/teams/{team_id}/members)
	TeamMembers(ctx context.Context, request TeamMembersRequestObject) (TeamMembersResponseObject, error)
	// List Team Campaigns
	// (GET /api/public/teams/{team_id}/team_campaigns)
	TeamTeamCampaigns(ctx context.Context, request TeamTeamCampaignsRequestObject) (TeamTeamCampaignsResponseObject, error)
	// Get by ID
	// (GET /api/public/users/{user_id})
	GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
	// List campaigns
	// (GET /api/public/users/{user_id}/campaigns)
	UserCampaigns(ctx context.Context, request UserCampaignsRequestObject) (UserCampaignsResponseObject, error)
	// List all Campaigns and Team Campaigns by User ID
	// (GET /api/public/users/{user_id}/integration_events)
	UserIntegrationEvents(ctx context.Context, request UserIntegrationEventsRequestObject) (UserIntegrationEventsResponseObject, error)
	// List teams
	// (GET /api/public/users/{user_id}/teams)
	UserTeams(ctx context.Context, request UserTeamsRequestObject) (UserTeamsResponseObject, error)
	// Authorize
	// (GET /oauth/authorize)
	V5ApiWebOauthAuthorize(ctx context.Context, request V5ApiWebOauthAuthorizeRequestObject) (V5ApiWebOauthAuthorizeResponseObject, error)
	// Token
	// (POST /oauth/token)
	V5ApiWebOauthToken(ctx context.Context, request V5ApiWebOauthTokenRequestObject) (V5ApiWebOauthTokenResponseObject, error)
}

StrictServerInterface represents all server handlers.

type Target

type Target struct {
	// Active Whether or not the target is active
	Active bool `json:"active"`

	// Amount Amount to hit this target
	Amount Money `json:"amount"`

	// AmountRaised Amount Raised by this target
	AmountRaised Money `json:"amount_raised"`

	// EndsAt Moment when the target ends
	EndsAt time.Time `json:"ends_at"`

	// Id Unique Identifier for the target.
	Id PublicId `json:"id"`

	// InsertedAt Moment when the target was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name target name
	Name string `json:"name"`

	// UpdatedAt Moment when the target was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

Target defines model for Target.

type TargetPaginatedResponse

type TargetPaginatedResponse = PaginatedResponse

TargetPaginatedResponse Object returned for paginated API responses

type Team

type Team struct {
	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar *Image `json:"avatar"`

	// Description The description section on a team's profile.
	Description *string `json:"description"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name The team's name
	Name string `json:"name"`

	// Slug This is a url slug used for the given resource.
	Slug Slug `json:"slug"`

	// Social An object with various social usernames and links
	Social *Social `json:"social"`

	// TotalAmountRaised The total amount raised by this user represented in USD.
	TotalAmountRaised Money `json:"total_amount_raised"`

	// Url This is the full url for the team profile.
	Url Url `json:"url"`
}

Team defines model for Team.

type TeamCampaign

type TeamCampaign struct {
	// AmountRaised The amount raised directly by this team campaign
	AmountRaised Money `json:"amount_raised"`

	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar *Image `json:"avatar"`

	// CurrencyCode The currency code used by this team campaign.
	CurrencyCode CurrencyCode `json:"currency_code"`

	// Description A short description about this team campaign
	Description *string `json:"description"`

	// Goal The current goal of the team campaign
	Goal *Money `json:"goal"`

	// HasSchedule Whether or not this campaign has schedule items
	HasSchedule bool `json:"has_schedule"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// InsertedAt When the team campaign was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Name The name of this team campaign
	Name string `json:"name"`

	// OriginalGoal The original goal of the campaign
	OriginalGoal Money `json:"original_goal"`

	// PublishedAt When the team campaign was last published
	PublishedAt time.Time `json:"published_at"`

	// RetiredAt When the team campaign was retired
	RetiredAt *time.Time `json:"retired_at"`

	// Slug This is a url slug used for the given resource.
	Slug Slug `json:"slug"`

	// Status The status of this campaign
	Status TeamCampaignStatus `json:"status"`

	// Supportable The amount raised by this campaign and all supporting campaigns
	Supportable TeamCampaignSupportable `json:"supportable"`

	// SupportingAmountRaised The amount raised by any supporting campaigns
	SupportingAmountRaised Money `json:"supporting_amount_raised"`

	// Team The Team that owns this campaign.
	Team *Team `json:"team"`

	// TeamId The ID for a Team that owns this campaign.
	TeamId *PublicId `json:"team_id"`

	// TotalAmountRaised The amount raised by this team campaign and all supporting campaigns
	TotalAmountRaised Money `json:"total_amount_raised"`

	// UpdatedAt When the team campaign details were last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Url This is the full url for the team campaign.
	Url Url `json:"url"`
}

TeamCampaign defines model for TeamCampaign.

type TeamCampaignChallenges200JSONResponse added in v5.0.3

type TeamCampaignChallenges200JSONResponse PaginatedResponse

func (TeamCampaignChallenges200JSONResponse) VisitTeamCampaignChallengesResponse added in v5.0.3

func (response TeamCampaignChallenges200JSONResponse) VisitTeamCampaignChallengesResponse(w http.ResponseWriter) error

type TeamCampaignChallenges401JSONResponse added in v5.0.3

type TeamCampaignChallenges401JSONResponse Unauthorized

func (TeamCampaignChallenges401JSONResponse) VisitTeamCampaignChallengesResponse added in v5.0.3

func (response TeamCampaignChallenges401JSONResponse) VisitTeamCampaignChallengesResponse(w http.ResponseWriter) error

type TeamCampaignChallenges404JSONResponse added in v5.0.3

type TeamCampaignChallenges404JSONResponse NotFound

func (TeamCampaignChallenges404JSONResponse) VisitTeamCampaignChallengesResponse added in v5.0.3

func (response TeamCampaignChallenges404JSONResponse) VisitTeamCampaignChallengesResponse(w http.ResponseWriter) error

type TeamCampaignChallenges422JSONResponse added in v5.0.3

type TeamCampaignChallenges422JSONResponse UnprocessableEntity

func (TeamCampaignChallenges422JSONResponse) VisitTeamCampaignChallengesResponse added in v5.0.3

func (response TeamCampaignChallenges422JSONResponse) VisitTeamCampaignChallengesResponse(w http.ResponseWriter) error

type TeamCampaignChallengesParams added in v5.0.3

type TeamCampaignChallengesParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignChallengesParams defines parameters for TeamCampaignChallenges.

type TeamCampaignChallengesRequestObject added in v5.0.3

type TeamCampaignChallengesRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignChallengesParams
}

type TeamCampaignChallengesResponse added in v5.0.3

type TeamCampaignChallengesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignChallengesResponse added in v5.0.3

func ParseTeamCampaignChallengesResponse(rsp *http.Response) (*TeamCampaignChallengesResponse, error)

ParseTeamCampaignChallengesResponse parses an HTTP response from a TeamCampaignChallengesWithResponse call

func (TeamCampaignChallengesResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignChallengesResponse) StatusCode added in v5.0.3

func (r TeamCampaignChallengesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignChallengesResponseObject added in v5.0.3

type TeamCampaignChallengesResponseObject interface {
	VisitTeamCampaignChallengesResponse(w http.ResponseWriter) error
}

type TeamCampaignDonations200JSONResponse added in v5.0.3

type TeamCampaignDonations200JSONResponse PaginatedResponse

func (TeamCampaignDonations200JSONResponse) VisitTeamCampaignDonationsResponse added in v5.0.3

func (response TeamCampaignDonations200JSONResponse) VisitTeamCampaignDonationsResponse(w http.ResponseWriter) error

type TeamCampaignDonations401JSONResponse added in v5.0.3

type TeamCampaignDonations401JSONResponse Unauthorized

func (TeamCampaignDonations401JSONResponse) VisitTeamCampaignDonationsResponse added in v5.0.3

func (response TeamCampaignDonations401JSONResponse) VisitTeamCampaignDonationsResponse(w http.ResponseWriter) error

type TeamCampaignDonations404JSONResponse added in v5.0.3

type TeamCampaignDonations404JSONResponse NotFound

func (TeamCampaignDonations404JSONResponse) VisitTeamCampaignDonationsResponse added in v5.0.3

func (response TeamCampaignDonations404JSONResponse) VisitTeamCampaignDonationsResponse(w http.ResponseWriter) error

type TeamCampaignDonations422JSONResponse added in v5.0.3

type TeamCampaignDonations422JSONResponse UnprocessableEntity

func (TeamCampaignDonations422JSONResponse) VisitTeamCampaignDonationsResponse added in v5.0.3

func (response TeamCampaignDonations422JSONResponse) VisitTeamCampaignDonationsResponse(w http.ResponseWriter) error

type TeamCampaignDonationsParams added in v5.0.3

type TeamCampaignDonationsParams struct {
	// CompletedBefore Returns only donations that have been completed before the given moment in ISO8601 format
	CompletedBefore *string `form:"completed_before,omitempty" json:"completed_before,omitempty"`

	// CompletedAfter Returns only donations that have been completed after the given moment in ISO8601 format
	CompletedAfter *string `form:"completed_after,omitempty" json:"completed_after,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignDonationsParams defines parameters for TeamCampaignDonations.

type TeamCampaignDonationsRequestObject added in v5.0.3

type TeamCampaignDonationsRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignDonationsParams
}

type TeamCampaignDonationsResponse added in v5.0.3

type TeamCampaignDonationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignDonationsResponse added in v5.0.3

func ParseTeamCampaignDonationsResponse(rsp *http.Response) (*TeamCampaignDonationsResponse, error)

ParseTeamCampaignDonationsResponse parses an HTTP response from a TeamCampaignDonationsWithResponse call

func (TeamCampaignDonationsResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignDonationsResponse) StatusCode added in v5.0.3

func (r TeamCampaignDonationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignDonationsResponseObject added in v5.0.3

type TeamCampaignDonationsResponseObject interface {
	VisitTeamCampaignDonationsResponse(w http.ResponseWriter) error
}

type TeamCampaignLeaderboardControllerDonor200JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerDonor200JSONResponse PaginatedResponse

func (TeamCampaignLeaderboardControllerDonor200JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerDonor200JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerDonor401JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerDonor401JSONResponse Unauthorized

func (TeamCampaignLeaderboardControllerDonor401JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerDonor401JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerDonor403ApplictionjsonResponse added in v5.0.3

type TeamCampaignLeaderboardControllerDonor403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (TeamCampaignLeaderboardControllerDonor403ApplictionjsonResponse) VisitTeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerDonor403ApplictionjsonResponse) VisitTeamCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerDonor404JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerDonor404JSONResponse NotFound

func (TeamCampaignLeaderboardControllerDonor404JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerDonor404JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerDonor422JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerDonor422JSONResponse UnprocessableEntity

func (TeamCampaignLeaderboardControllerDonor422JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerDonor422JSONResponse) VisitTeamCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerDonorParams added in v5.0.3

type TeamCampaignLeaderboardControllerDonorParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *TeamCampaignLeaderboardControllerDonorParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignLeaderboardControllerDonorParams defines parameters for TeamCampaignLeaderboardControllerDonor.

type TeamCampaignLeaderboardControllerDonorParamsTimeType added in v5.0.3

type TeamCampaignLeaderboardControllerDonorParamsTimeType string

TeamCampaignLeaderboardControllerDonorParamsTimeType defines parameters for TeamCampaignLeaderboardControllerDonor.

const (
	TeamCampaignLeaderboardControllerDonorParamsTimeTypeAll     TeamCampaignLeaderboardControllerDonorParamsTimeType = "all"
	TeamCampaignLeaderboardControllerDonorParamsTimeTypeDaily   TeamCampaignLeaderboardControllerDonorParamsTimeType = "daily"
	TeamCampaignLeaderboardControllerDonorParamsTimeTypeMonthly TeamCampaignLeaderboardControllerDonorParamsTimeType = "monthly"
	TeamCampaignLeaderboardControllerDonorParamsTimeTypeWeekly  TeamCampaignLeaderboardControllerDonorParamsTimeType = "weekly"
	TeamCampaignLeaderboardControllerDonorParamsTimeTypeYearly  TeamCampaignLeaderboardControllerDonorParamsTimeType = "yearly"
	TeamCampaignLeaderboardControllerDonorParamsTimeTypeYtd     TeamCampaignLeaderboardControllerDonorParamsTimeType = "ytd"
)

Defines values for TeamCampaignLeaderboardControllerDonorParamsTimeType.

type TeamCampaignLeaderboardControllerDonorRequestObject added in v5.0.3

type TeamCampaignLeaderboardControllerDonorRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignLeaderboardControllerDonorParams
}

type TeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

type TeamCampaignLeaderboardControllerDonorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignLeaderboardControllerDonorResponse added in v5.0.3

func ParseTeamCampaignLeaderboardControllerDonorResponse(rsp *http.Response) (*TeamCampaignLeaderboardControllerDonorResponse, error)

ParseTeamCampaignLeaderboardControllerDonorResponse parses an HTTP response from a TeamCampaignLeaderboardControllerDonorWithResponse call

func (TeamCampaignLeaderboardControllerDonorResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignLeaderboardControllerDonorResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignLeaderboardControllerDonorResponseObject added in v5.0.3

type TeamCampaignLeaderboardControllerDonorResponseObject interface {
	VisitTeamCampaignLeaderboardControllerDonorResponse(w http.ResponseWriter) error
}

type TeamCampaignLeaderboardControllerUser200JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerUser200JSONResponse PaginatedResponse

func (TeamCampaignLeaderboardControllerUser200JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerUser200JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerUser401JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerUser401JSONResponse Unauthorized

func (TeamCampaignLeaderboardControllerUser401JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerUser401JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerUser403ApplictionjsonResponse added in v5.0.3

type TeamCampaignLeaderboardControllerUser403ApplictionjsonResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (TeamCampaignLeaderboardControllerUser403ApplictionjsonResponse) VisitTeamCampaignLeaderboardControllerUserResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerUser403ApplictionjsonResponse) VisitTeamCampaignLeaderboardControllerUserResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerUser404JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerUser404JSONResponse NotFound

func (TeamCampaignLeaderboardControllerUser404JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerUser404JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerUser422JSONResponse added in v5.0.3

type TeamCampaignLeaderboardControllerUser422JSONResponse UnprocessableEntity

func (TeamCampaignLeaderboardControllerUser422JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse added in v5.0.3

func (response TeamCampaignLeaderboardControllerUser422JSONResponse) VisitTeamCampaignLeaderboardControllerUserResponse(w http.ResponseWriter) error

type TeamCampaignLeaderboardControllerUserParams added in v5.0.3

type TeamCampaignLeaderboardControllerUserParams struct {
	// TimeType The time range to use in leaderboard generation
	TimeType *TeamCampaignLeaderboardControllerUserParamsTimeType `form:"time_type,omitempty" json:"time_type,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignLeaderboardControllerUserParams defines parameters for TeamCampaignLeaderboardControllerUser.

type TeamCampaignLeaderboardControllerUserParamsTimeType added in v5.0.3

type TeamCampaignLeaderboardControllerUserParamsTimeType string

TeamCampaignLeaderboardControllerUserParamsTimeType defines parameters for TeamCampaignLeaderboardControllerUser.

type TeamCampaignLeaderboardControllerUserRequestObject added in v5.0.3

type TeamCampaignLeaderboardControllerUserRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignLeaderboardControllerUserParams
}

type TeamCampaignLeaderboardControllerUserResponse added in v5.0.3

type TeamCampaignLeaderboardControllerUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignLeaderboardControllerUserResponse added in v5.0.3

func ParseTeamCampaignLeaderboardControllerUserResponse(rsp *http.Response) (*TeamCampaignLeaderboardControllerUserResponse, error)

ParseTeamCampaignLeaderboardControllerUserResponse parses an HTTP response from a TeamCampaignLeaderboardControllerUserWithResponse call

func (TeamCampaignLeaderboardControllerUserResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignLeaderboardControllerUserResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignLeaderboardControllerUserResponseObject added in v5.0.3

type TeamCampaignLeaderboardControllerUserResponseObject interface {
	VisitTeamCampaignLeaderboardControllerUserResponse(w http.ResponseWriter) error
}

type TeamCampaignMilestones200JSONResponse added in v5.0.3

type TeamCampaignMilestones200JSONResponse PaginatedResponse

func (TeamCampaignMilestones200JSONResponse) VisitTeamCampaignMilestonesResponse added in v5.0.3

func (response TeamCampaignMilestones200JSONResponse) VisitTeamCampaignMilestonesResponse(w http.ResponseWriter) error

type TeamCampaignMilestones401JSONResponse added in v5.0.3

type TeamCampaignMilestones401JSONResponse Unauthorized

func (TeamCampaignMilestones401JSONResponse) VisitTeamCampaignMilestonesResponse added in v5.0.3

func (response TeamCampaignMilestones401JSONResponse) VisitTeamCampaignMilestonesResponse(w http.ResponseWriter) error

type TeamCampaignMilestones404JSONResponse added in v5.0.3

type TeamCampaignMilestones404JSONResponse NotFound

func (TeamCampaignMilestones404JSONResponse) VisitTeamCampaignMilestonesResponse added in v5.0.3

func (response TeamCampaignMilestones404JSONResponse) VisitTeamCampaignMilestonesResponse(w http.ResponseWriter) error

type TeamCampaignMilestones422JSONResponse added in v5.0.3

type TeamCampaignMilestones422JSONResponse UnprocessableEntity

func (TeamCampaignMilestones422JSONResponse) VisitTeamCampaignMilestonesResponse added in v5.0.3

func (response TeamCampaignMilestones422JSONResponse) VisitTeamCampaignMilestonesResponse(w http.ResponseWriter) error

type TeamCampaignMilestonesParams added in v5.0.3

type TeamCampaignMilestonesParams struct {
	// IncludeDisabled Returns disabled milestones. Defaults to false
	IncludeDisabled *bool `form:"include_disabled,omitempty" json:"include_disabled,omitempty"`

	// CreatedBefore Returns only milestones that have been updated before the given moment in ISO8601 format
	CreatedBefore *string `form:"created_before,omitempty" json:"created_before,omitempty"`

	// CreatedAfter Returns only milestones that have been updated after the given moment in ISO8601 format
	CreatedAfter *string `form:"created_after,omitempty" json:"created_after,omitempty"`

	// UpdatedBefore Returns only milestones that have been updated before the given moment in ISO8601 format
	UpdatedBefore *string `form:"updated_before,omitempty" json:"updated_before,omitempty"`

	// UpdatedAfter Returns only milestones that have been updated after the given moment in ISO8601 format
	UpdatedAfter *string `form:"updated_after,omitempty" json:"updated_after,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignMilestonesParams defines parameters for TeamCampaignMilestones.

type TeamCampaignMilestonesRequestObject added in v5.0.3

type TeamCampaignMilestonesRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignMilestonesParams
}

type TeamCampaignMilestonesResponse added in v5.0.3

type TeamCampaignMilestonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignMilestonesResponse added in v5.0.3

func ParseTeamCampaignMilestonesResponse(rsp *http.Response) (*TeamCampaignMilestonesResponse, error)

ParseTeamCampaignMilestonesResponse parses an HTTP response from a TeamCampaignMilestonesWithResponse call

func (TeamCampaignMilestonesResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignMilestonesResponse) StatusCode added in v5.0.3

func (r TeamCampaignMilestonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignMilestonesResponseObject added in v5.0.3

type TeamCampaignMilestonesResponseObject interface {
	VisitTeamCampaignMilestonesResponse(w http.ResponseWriter) error
}

type TeamCampaignPaginatedResponse

type TeamCampaignPaginatedResponse = PaginatedResponse

TeamCampaignPaginatedResponse Object returned for paginated API responses

type TeamCampaignPolls200JSONResponse added in v5.0.3

type TeamCampaignPolls200JSONResponse PaginatedResponse

func (TeamCampaignPolls200JSONResponse) VisitTeamCampaignPollsResponse added in v5.0.3

func (response TeamCampaignPolls200JSONResponse) VisitTeamCampaignPollsResponse(w http.ResponseWriter) error

type TeamCampaignPolls401JSONResponse added in v5.0.3

type TeamCampaignPolls401JSONResponse Unauthorized

func (TeamCampaignPolls401JSONResponse) VisitTeamCampaignPollsResponse added in v5.0.3

func (response TeamCampaignPolls401JSONResponse) VisitTeamCampaignPollsResponse(w http.ResponseWriter) error

type TeamCampaignPolls404JSONResponse added in v5.0.3

type TeamCampaignPolls404JSONResponse NotFound

func (TeamCampaignPolls404JSONResponse) VisitTeamCampaignPollsResponse added in v5.0.3

func (response TeamCampaignPolls404JSONResponse) VisitTeamCampaignPollsResponse(w http.ResponseWriter) error

type TeamCampaignPolls422JSONResponse added in v5.0.3

type TeamCampaignPolls422JSONResponse UnprocessableEntity

func (TeamCampaignPolls422JSONResponse) VisitTeamCampaignPollsResponse added in v5.0.3

func (response TeamCampaignPolls422JSONResponse) VisitTeamCampaignPollsResponse(w http.ResponseWriter) error

type TeamCampaignPollsParams added in v5.0.3

type TeamCampaignPollsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignPollsParams defines parameters for TeamCampaignPolls.

type TeamCampaignPollsRequestObject added in v5.0.3

type TeamCampaignPollsRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignPollsParams
}

type TeamCampaignPollsResponse added in v5.0.3

type TeamCampaignPollsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignPollsResponse added in v5.0.3

func ParseTeamCampaignPollsResponse(rsp *http.Response) (*TeamCampaignPollsResponse, error)

ParseTeamCampaignPollsResponse parses an HTTP response from a TeamCampaignPollsWithResponse call

func (TeamCampaignPollsResponse) Status added in v5.0.3

func (r TeamCampaignPollsResponse) Status() string

Status returns HTTPResponse.Status

func (TeamCampaignPollsResponse) StatusCode added in v5.0.3

func (r TeamCampaignPollsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignPollsResponseObject added in v5.0.3

type TeamCampaignPollsResponseObject interface {
	VisitTeamCampaignPollsResponse(w http.ResponseWriter) error
}

type TeamCampaignResponse

type TeamCampaignResponse struct {
	Data *TeamCampaign `json:"data,omitempty"`
}

TeamCampaignResponse defines model for TeamCampaignResponse.

type TeamCampaignRewards200JSONResponse added in v5.0.3

type TeamCampaignRewards200JSONResponse PaginatedResponse

func (TeamCampaignRewards200JSONResponse) VisitTeamCampaignRewardsResponse added in v5.0.3

func (response TeamCampaignRewards200JSONResponse) VisitTeamCampaignRewardsResponse(w http.ResponseWriter) error

type TeamCampaignRewards401JSONResponse added in v5.0.3

type TeamCampaignRewards401JSONResponse Unauthorized

func (TeamCampaignRewards401JSONResponse) VisitTeamCampaignRewardsResponse added in v5.0.3

func (response TeamCampaignRewards401JSONResponse) VisitTeamCampaignRewardsResponse(w http.ResponseWriter) error

type TeamCampaignRewards404JSONResponse added in v5.0.3

type TeamCampaignRewards404JSONResponse NotFound

func (TeamCampaignRewards404JSONResponse) VisitTeamCampaignRewardsResponse added in v5.0.3

func (response TeamCampaignRewards404JSONResponse) VisitTeamCampaignRewardsResponse(w http.ResponseWriter) error

type TeamCampaignRewards422JSONResponse added in v5.0.3

type TeamCampaignRewards422JSONResponse UnprocessableEntity

func (TeamCampaignRewards422JSONResponse) VisitTeamCampaignRewardsResponse added in v5.0.3

func (response TeamCampaignRewards422JSONResponse) VisitTeamCampaignRewardsResponse(w http.ResponseWriter) error

type TeamCampaignRewardsParams added in v5.0.3

type TeamCampaignRewardsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignRewardsParams defines parameters for TeamCampaignRewards.

type TeamCampaignRewardsRequestObject added in v5.0.3

type TeamCampaignRewardsRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignRewardsParams
}

type TeamCampaignRewardsResponse added in v5.0.3

type TeamCampaignRewardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignRewardsResponse added in v5.0.3

func ParseTeamCampaignRewardsResponse(rsp *http.Response) (*TeamCampaignRewardsResponse, error)

ParseTeamCampaignRewardsResponse parses an HTTP response from a TeamCampaignRewardsWithResponse call

func (TeamCampaignRewardsResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignRewardsResponse) StatusCode added in v5.0.3

func (r TeamCampaignRewardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignRewardsResponseObject added in v5.0.3

type TeamCampaignRewardsResponseObject interface {
	VisitTeamCampaignRewardsResponse(w http.ResponseWriter) error
}

type TeamCampaignSchedules200JSONResponse added in v5.0.3

type TeamCampaignSchedules200JSONResponse PaginatedResponse

func (TeamCampaignSchedules200JSONResponse) VisitTeamCampaignSchedulesResponse added in v5.0.3

func (response TeamCampaignSchedules200JSONResponse) VisitTeamCampaignSchedulesResponse(w http.ResponseWriter) error

type TeamCampaignSchedules401JSONResponse added in v5.0.3

type TeamCampaignSchedules401JSONResponse Unauthorized

func (TeamCampaignSchedules401JSONResponse) VisitTeamCampaignSchedulesResponse added in v5.0.3

func (response TeamCampaignSchedules401JSONResponse) VisitTeamCampaignSchedulesResponse(w http.ResponseWriter) error

type TeamCampaignSchedules404JSONResponse added in v5.0.3

type TeamCampaignSchedules404JSONResponse NotFound

func (TeamCampaignSchedules404JSONResponse) VisitTeamCampaignSchedulesResponse added in v5.0.3

func (response TeamCampaignSchedules404JSONResponse) VisitTeamCampaignSchedulesResponse(w http.ResponseWriter) error

type TeamCampaignSchedules422JSONResponse added in v5.0.3

type TeamCampaignSchedules422JSONResponse UnprocessableEntity

func (TeamCampaignSchedules422JSONResponse) VisitTeamCampaignSchedulesResponse added in v5.0.3

func (response TeamCampaignSchedules422JSONResponse) VisitTeamCampaignSchedulesResponse(w http.ResponseWriter) error

type TeamCampaignSchedulesParams added in v5.0.3

type TeamCampaignSchedulesParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignSchedulesParams defines parameters for TeamCampaignSchedules.

type TeamCampaignSchedulesRequestObject added in v5.0.3

type TeamCampaignSchedulesRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignSchedulesParams
}

type TeamCampaignSchedulesResponse added in v5.0.3

type TeamCampaignSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignSchedulesResponse added in v5.0.3

func ParseTeamCampaignSchedulesResponse(rsp *http.Response) (*TeamCampaignSchedulesResponse, error)

ParseTeamCampaignSchedulesResponse parses an HTTP response from a TeamCampaignSchedulesWithResponse call

func (TeamCampaignSchedulesResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignSchedulesResponse) StatusCode added in v5.0.3

func (r TeamCampaignSchedulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignSchedulesResponseObject added in v5.0.3

type TeamCampaignSchedulesResponseObject interface {
	VisitTeamCampaignSchedulesResponse(w http.ResponseWriter) error
}

type TeamCampaignStatus

type TeamCampaignStatus string

TeamCampaignStatus The status of this campaign

const (
	Published   TeamCampaignStatus = "published"
	Retired     TeamCampaignStatus = "retired"
	Unpublished TeamCampaignStatus = "unpublished"
)

Defines values for TeamCampaignStatus.

type TeamCampaignSupportable

type TeamCampaignSupportable string

TeamCampaignSupportable The amount raised by this campaign and all supporting campaigns

const (
	TeamCampaignSupportableInviteOnly TeamCampaignSupportable = "invite_only"
	TeamCampaignSupportableNone       TeamCampaignSupportable = "none"
	TeamCampaignSupportablePrivate    TeamCampaignSupportable = "private"
	TeamCampaignSupportablePublic     TeamCampaignSupportable = "public"
)

Defines values for TeamCampaignSupportable.

type TeamCampaignSupportingCampaigns200JSONResponse added in v5.0.3

type TeamCampaignSupportingCampaigns200JSONResponse PaginatedResponse

func (TeamCampaignSupportingCampaigns200JSONResponse) VisitTeamCampaignSupportingCampaignsResponse added in v5.0.3

func (response TeamCampaignSupportingCampaigns200JSONResponse) VisitTeamCampaignSupportingCampaignsResponse(w http.ResponseWriter) error

type TeamCampaignSupportingCampaigns401JSONResponse added in v5.0.3

type TeamCampaignSupportingCampaigns401JSONResponse Unauthorized

func (TeamCampaignSupportingCampaigns401JSONResponse) VisitTeamCampaignSupportingCampaignsResponse added in v5.0.3

func (response TeamCampaignSupportingCampaigns401JSONResponse) VisitTeamCampaignSupportingCampaignsResponse(w http.ResponseWriter) error

type TeamCampaignSupportingCampaigns404JSONResponse added in v5.0.3

type TeamCampaignSupportingCampaigns404JSONResponse NotFound

func (TeamCampaignSupportingCampaigns404JSONResponse) VisitTeamCampaignSupportingCampaignsResponse added in v5.0.3

func (response TeamCampaignSupportingCampaigns404JSONResponse) VisitTeamCampaignSupportingCampaignsResponse(w http.ResponseWriter) error

type TeamCampaignSupportingCampaigns422JSONResponse added in v5.0.3

type TeamCampaignSupportingCampaigns422JSONResponse UnprocessableEntity

func (TeamCampaignSupportingCampaigns422JSONResponse) VisitTeamCampaignSupportingCampaignsResponse added in v5.0.3

func (response TeamCampaignSupportingCampaigns422JSONResponse) VisitTeamCampaignSupportingCampaignsResponse(w http.ResponseWriter) error

type TeamCampaignSupportingCampaignsParams added in v5.0.3

type TeamCampaignSupportingCampaignsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamCampaignSupportingCampaignsParams defines parameters for TeamCampaignSupportingCampaigns.

type TeamCampaignSupportingCampaignsRequestObject added in v5.0.3

type TeamCampaignSupportingCampaignsRequestObject struct {
	TeamCampaignId string `json:"team_campaign_id"`
	Params         TeamCampaignSupportingCampaignsParams
}

type TeamCampaignSupportingCampaignsResponse added in v5.0.3

type TeamCampaignSupportingCampaignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamCampaignSupportingCampaignsResponse added in v5.0.3

func ParseTeamCampaignSupportingCampaignsResponse(rsp *http.Response) (*TeamCampaignSupportingCampaignsResponse, error)

ParseTeamCampaignSupportingCampaignsResponse parses an HTTP response from a TeamCampaignSupportingCampaignsWithResponse call

func (TeamCampaignSupportingCampaignsResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (TeamCampaignSupportingCampaignsResponse) StatusCode added in v5.0.3

StatusCode returns HTTPResponse.StatusCode

type TeamCampaignSupportingCampaignsResponseObject added in v5.0.3

type TeamCampaignSupportingCampaignsResponseObject interface {
	VisitTeamCampaignSupportingCampaignsResponse(w http.ResponseWriter) error
}

type TeamMember

type TeamMember struct {
	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// InsertedAt When the team member was created
	InsertedAt time.Time `json:"inserted_at"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Roles A list of the team member's roles
	Roles []Role `json:"roles"`

	// UpdatedAt When the team member was last updated
	UpdatedAt time.Time `json:"updated_at"`
	User      User      `json:"user"`
}

TeamMember defines model for TeamMember.

type TeamMemberPaginatedResponse

type TeamMemberPaginatedResponse = PaginatedResponse

TeamMemberPaginatedResponse Object returned for paginated API responses

type TeamMembers200JSONResponse added in v5.0.3

type TeamMembers200JSONResponse PaginatedResponse

func (TeamMembers200JSONResponse) VisitTeamMembersResponse added in v5.0.3

func (response TeamMembers200JSONResponse) VisitTeamMembersResponse(w http.ResponseWriter) error

type TeamMembers401JSONResponse added in v5.0.3

type TeamMembers401JSONResponse Unauthorized

func (TeamMembers401JSONResponse) VisitTeamMembersResponse added in v5.0.3

func (response TeamMembers401JSONResponse) VisitTeamMembersResponse(w http.ResponseWriter) error

type TeamMembers404JSONResponse added in v5.0.3

type TeamMembers404JSONResponse NotFound

func (TeamMembers404JSONResponse) VisitTeamMembersResponse added in v5.0.3

func (response TeamMembers404JSONResponse) VisitTeamMembersResponse(w http.ResponseWriter) error

type TeamMembers422JSONResponse added in v5.0.3

type TeamMembers422JSONResponse UnprocessableEntity

func (TeamMembers422JSONResponse) VisitTeamMembersResponse added in v5.0.3

func (response TeamMembers422JSONResponse) VisitTeamMembersResponse(w http.ResponseWriter) error

type TeamMembersParams added in v5.0.3

type TeamMembersParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamMembersParams defines parameters for TeamMembers.

type TeamMembersRequestObject added in v5.0.3

type TeamMembersRequestObject struct {
	TeamId string `json:"team_id"`
	Params TeamMembersParams
}

type TeamMembersResponse added in v5.0.3

type TeamMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamMembersResponse added in v5.0.3

func ParseTeamMembersResponse(rsp *http.Response) (*TeamMembersResponse, error)

ParseTeamMembersResponse parses an HTTP response from a TeamMembersWithResponse call

func (TeamMembersResponse) Status added in v5.0.3

func (r TeamMembersResponse) Status() string

Status returns HTTPResponse.Status

func (TeamMembersResponse) StatusCode added in v5.0.3

func (r TeamMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamMembersResponseObject added in v5.0.3

type TeamMembersResponseObject interface {
	VisitTeamMembersResponse(w http.ResponseWriter) error
}

type TeamPaginatedResponse

type TeamPaginatedResponse = PaginatedResponse

TeamPaginatedResponse Object returned for paginated API responses

type TeamResponse

type TeamResponse struct {
	Data *Team `json:"data,omitempty"`
}

TeamResponse defines model for TeamResponse.

type TeamTeamCampaigns200JSONResponse added in v5.0.3

type TeamTeamCampaigns200JSONResponse PaginatedResponse

func (TeamTeamCampaigns200JSONResponse) VisitTeamTeamCampaignsResponse added in v5.0.3

func (response TeamTeamCampaigns200JSONResponse) VisitTeamTeamCampaignsResponse(w http.ResponseWriter) error

type TeamTeamCampaigns401JSONResponse added in v5.0.3

type TeamTeamCampaigns401JSONResponse Unauthorized

func (TeamTeamCampaigns401JSONResponse) VisitTeamTeamCampaignsResponse added in v5.0.3

func (response TeamTeamCampaigns401JSONResponse) VisitTeamTeamCampaignsResponse(w http.ResponseWriter) error

type TeamTeamCampaigns404JSONResponse added in v5.0.3

type TeamTeamCampaigns404JSONResponse NotFound

func (TeamTeamCampaigns404JSONResponse) VisitTeamTeamCampaignsResponse added in v5.0.3

func (response TeamTeamCampaigns404JSONResponse) VisitTeamTeamCampaignsResponse(w http.ResponseWriter) error

type TeamTeamCampaigns422JSONResponse added in v5.0.3

type TeamTeamCampaigns422JSONResponse UnprocessableEntity

func (TeamTeamCampaigns422JSONResponse) VisitTeamTeamCampaignsResponse added in v5.0.3

func (response TeamTeamCampaigns422JSONResponse) VisitTeamTeamCampaignsResponse(w http.ResponseWriter) error

type TeamTeamCampaignsParams added in v5.0.3

type TeamTeamCampaignsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

TeamTeamCampaignsParams defines parameters for TeamTeamCampaigns.

type TeamTeamCampaignsRequestObject added in v5.0.3

type TeamTeamCampaignsRequestObject struct {
	TeamId string `json:"team_id"`
	Params TeamTeamCampaignsParams
}

type TeamTeamCampaignsResponse added in v5.0.3

type TeamTeamCampaignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseTeamTeamCampaignsResponse added in v5.0.3

func ParseTeamTeamCampaignsResponse(rsp *http.Response) (*TeamTeamCampaignsResponse, error)

ParseTeamTeamCampaignsResponse parses an HTTP response from a TeamTeamCampaignsWithResponse call

func (TeamTeamCampaignsResponse) Status added in v5.0.3

func (r TeamTeamCampaignsResponse) Status() string

Status returns HTTPResponse.Status

func (TeamTeamCampaignsResponse) StatusCode added in v5.0.3

func (r TeamTeamCampaignsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamTeamCampaignsResponseObject added in v5.0.3

type TeamTeamCampaignsResponseObject interface {
	VisitTeamTeamCampaignsResponse(w http.ResponseWriter) error
}

type Unauthorized

type Unauthorized = ErrorResponse

Unauthorized Object returned in API errors

type UnprocessableEntity

type UnprocessableEntity = ErrorResponse

UnprocessableEntity Object returned in API errors

type Url

type Url = string

Url This is the full url used for the given resource.

type User

type User struct {
	// Avatar An Image includes the html properties necessary to render an <img> tag
	Avatar *Image `json:"avatar"`

	// Description The description section on a user's profile.
	Description *string `json:"description"`

	// Id Unique Identifier for the Object. UUID
	Id PublicId `json:"id"`

	// LegacyId Legacy numeric ID of the object. If your app is dependent on this field, please migrate to id. This will be deprecated in the next version of the API.
	LegacyId LegacyId `json:"legacy_id"`

	// Slug This is a url slug used for the given resource.
	Slug Slug `json:"slug"`

	// Social An object with various social usernames and links
	Social *Social `json:"social"`

	// TotalAmountRaised The total amount raised by this user represented in USD.
	TotalAmountRaised Money `json:"total_amount_raised"`

	// Url This is the full url for the user profile.
	Url Url `json:"url"`

	// Username The user's username
	Username string `json:"username"`
}

User defines model for User.

type UserCampaigns200JSONResponse added in v5.0.3

type UserCampaigns200JSONResponse PaginatedResponse

func (UserCampaigns200JSONResponse) VisitUserCampaignsResponse added in v5.0.3

func (response UserCampaigns200JSONResponse) VisitUserCampaignsResponse(w http.ResponseWriter) error

type UserCampaigns401JSONResponse added in v5.0.3

type UserCampaigns401JSONResponse Unauthorized

func (UserCampaigns401JSONResponse) VisitUserCampaignsResponse added in v5.0.3

func (response UserCampaigns401JSONResponse) VisitUserCampaignsResponse(w http.ResponseWriter) error

type UserCampaigns404JSONResponse added in v5.0.3

type UserCampaigns404JSONResponse NotFound

func (UserCampaigns404JSONResponse) VisitUserCampaignsResponse added in v5.0.3

func (response UserCampaigns404JSONResponse) VisitUserCampaignsResponse(w http.ResponseWriter) error

type UserCampaigns422JSONResponse added in v5.0.3

type UserCampaigns422JSONResponse UnprocessableEntity

func (UserCampaigns422JSONResponse) VisitUserCampaignsResponse added in v5.0.3

func (response UserCampaigns422JSONResponse) VisitUserCampaignsResponse(w http.ResponseWriter) error

type UserCampaignsParams added in v5.0.3

type UserCampaignsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

UserCampaignsParams defines parameters for UserCampaigns.

type UserCampaignsRequestObject added in v5.0.3

type UserCampaignsRequestObject struct {
	UserId string `json:"user_id"`
	Params UserCampaignsParams
}

type UserCampaignsResponse added in v5.0.3

type UserCampaignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseUserCampaignsResponse added in v5.0.3

func ParseUserCampaignsResponse(rsp *http.Response) (*UserCampaignsResponse, error)

ParseUserCampaignsResponse parses an HTTP response from a UserCampaignsWithResponse call

func (UserCampaignsResponse) Status added in v5.0.3

func (r UserCampaignsResponse) Status() string

Status returns HTTPResponse.Status

func (UserCampaignsResponse) StatusCode added in v5.0.3

func (r UserCampaignsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserCampaignsResponseObject added in v5.0.3

type UserCampaignsResponseObject interface {
	VisitUserCampaignsResponse(w http.ResponseWriter) error
}

type UserControllerCurrentUser200JSONResponse added in v5.0.3

type UserControllerCurrentUser200JSONResponse struct{ CurrentUserJSONResponse }

func (UserControllerCurrentUser200JSONResponse) VisitUserControllerCurrentUserResponse added in v5.0.3

func (response UserControllerCurrentUser200JSONResponse) VisitUserControllerCurrentUserResponse(w http.ResponseWriter) error

type UserControllerCurrentUser401JSONResponse added in v5.0.3

type UserControllerCurrentUser401JSONResponse Unauthorized

func (UserControllerCurrentUser401JSONResponse) VisitUserControllerCurrentUserResponse added in v5.0.3

func (response UserControllerCurrentUser401JSONResponse) VisitUserControllerCurrentUserResponse(w http.ResponseWriter) error

type UserControllerCurrentUser404JSONResponse added in v5.0.3

type UserControllerCurrentUser404JSONResponse NotFound

func (UserControllerCurrentUser404JSONResponse) VisitUserControllerCurrentUserResponse added in v5.0.3

func (response UserControllerCurrentUser404JSONResponse) VisitUserControllerCurrentUserResponse(w http.ResponseWriter) error

type UserControllerCurrentUser422JSONResponse added in v5.0.3

type UserControllerCurrentUser422JSONResponse UnprocessableEntity

func (UserControllerCurrentUser422JSONResponse) VisitUserControllerCurrentUserResponse added in v5.0.3

func (response UserControllerCurrentUser422JSONResponse) VisitUserControllerCurrentUserResponse(w http.ResponseWriter) error

type UserControllerCurrentUserRequestObject added in v5.0.3

type UserControllerCurrentUserRequestObject struct {
}

type UserControllerCurrentUserResponse added in v5.0.3

type UserControllerCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CurrentUserObj
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseUserControllerCurrentUserResponse added in v5.0.3

func ParseUserControllerCurrentUserResponse(rsp *http.Response) (*UserControllerCurrentUserResponse, error)

ParseUserControllerCurrentUserResponse parses an HTTP response from a UserControllerCurrentUserWithResponse call

func (UserControllerCurrentUserResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (UserControllerCurrentUserResponse) StatusCode added in v5.0.3

func (r UserControllerCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserControllerCurrentUserResponseObject added in v5.0.3

type UserControllerCurrentUserResponseObject interface {
	VisitUserControllerCurrentUserResponse(w http.ResponseWriter) error
}

type UserIntegrationEvents200JSONResponse added in v5.0.3

type UserIntegrationEvents200JSONResponse PaginatedResponse

func (UserIntegrationEvents200JSONResponse) VisitUserIntegrationEventsResponse added in v5.0.3

func (response UserIntegrationEvents200JSONResponse) VisitUserIntegrationEventsResponse(w http.ResponseWriter) error

type UserIntegrationEvents401JSONResponse added in v5.0.3

type UserIntegrationEvents401JSONResponse Unauthorized

func (UserIntegrationEvents401JSONResponse) VisitUserIntegrationEventsResponse added in v5.0.3

func (response UserIntegrationEvents401JSONResponse) VisitUserIntegrationEventsResponse(w http.ResponseWriter) error

type UserIntegrationEvents404JSONResponse added in v5.0.3

type UserIntegrationEvents404JSONResponse NotFound

func (UserIntegrationEvents404JSONResponse) VisitUserIntegrationEventsResponse added in v5.0.3

func (response UserIntegrationEvents404JSONResponse) VisitUserIntegrationEventsResponse(w http.ResponseWriter) error

type UserIntegrationEvents422JSONResponse added in v5.0.3

type UserIntegrationEvents422JSONResponse UnprocessableEntity

func (UserIntegrationEvents422JSONResponse) VisitUserIntegrationEventsResponse added in v5.0.3

func (response UserIntegrationEvents422JSONResponse) VisitUserIntegrationEventsResponse(w http.ResponseWriter) error

type UserIntegrationEventsParams added in v5.0.3

type UserIntegrationEventsParams struct {
	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

UserIntegrationEventsParams defines parameters for UserIntegrationEvents.

type UserIntegrationEventsRequestObject added in v5.0.3

type UserIntegrationEventsRequestObject struct {
	UserId string `json:"user_id"`
	Params UserIntegrationEventsParams
}

type UserIntegrationEventsResponse added in v5.0.3

type UserIntegrationEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseUserIntegrationEventsResponse added in v5.0.3

func ParseUserIntegrationEventsResponse(rsp *http.Response) (*UserIntegrationEventsResponse, error)

ParseUserIntegrationEventsResponse parses an HTTP response from a UserIntegrationEventsWithResponse call

func (UserIntegrationEventsResponse) Status added in v5.0.3

Status returns HTTPResponse.Status

func (UserIntegrationEventsResponse) StatusCode added in v5.0.3

func (r UserIntegrationEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserIntegrationEventsResponseObject added in v5.0.3

type UserIntegrationEventsResponseObject interface {
	VisitUserIntegrationEventsResponse(w http.ResponseWriter) error
}

type UserResponse

type UserResponse struct {
	Data *User `json:"data,omitempty"`
}

UserResponse defines model for UserResponse.

type UserTeams200JSONResponse added in v5.0.3

type UserTeams200JSONResponse PaginatedResponse

func (UserTeams200JSONResponse) VisitUserTeamsResponse added in v5.0.3

func (response UserTeams200JSONResponse) VisitUserTeamsResponse(w http.ResponseWriter) error

type UserTeams401JSONResponse added in v5.0.3

type UserTeams401JSONResponse Unauthorized

func (UserTeams401JSONResponse) VisitUserTeamsResponse added in v5.0.3

func (response UserTeams401JSONResponse) VisitUserTeamsResponse(w http.ResponseWriter) error

type UserTeams404JSONResponse added in v5.0.3

type UserTeams404JSONResponse NotFound

func (UserTeams404JSONResponse) VisitUserTeamsResponse added in v5.0.3

func (response UserTeams404JSONResponse) VisitUserTeamsResponse(w http.ResponseWriter) error

type UserTeams422JSONResponse added in v5.0.3

type UserTeams422JSONResponse UnprocessableEntity

func (UserTeams422JSONResponse) VisitUserTeamsResponse added in v5.0.3

func (response UserTeams422JSONResponse) VisitUserTeamsResponse(w http.ResponseWriter) error

type UserTeamsParams added in v5.0.3

type UserTeamsParams struct {
	// Role Returns only teams where a user has a specific role
	Role *string `form:"role,omitempty" json:"role,omitempty"`

	// After Returns records after the given cursor
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Returns records before the given cursor
	Before *string `form:"before,omitempty" json:"before,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

UserTeamsParams defines parameters for UserTeams.

type UserTeamsRequestObject added in v5.0.3

type UserTeamsRequestObject struct {
	UserId string `json:"user_id"`
	Params UserTeamsParams
}

type UserTeamsResponse added in v5.0.3

type UserTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedResponse
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
}

func ParseUserTeamsResponse added in v5.0.3

func ParseUserTeamsResponse(rsp *http.Response) (*UserTeamsResponse, error)

ParseUserTeamsResponse parses an HTTP response from a UserTeamsWithResponse call

func (UserTeamsResponse) Status added in v5.0.3

func (r UserTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (UserTeamsResponse) StatusCode added in v5.0.3

func (r UserTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserTeamsResponseObject added in v5.0.3

type UserTeamsResponseObject interface {
	VisitUserTeamsResponse(w http.ResponseWriter) error
}

type V5ApiWebOauthAuthorize200JSONResponse

type V5ApiWebOauthAuthorize200JSONResponse map[string]interface{}

func (V5ApiWebOauthAuthorize200JSONResponse) VisitV5ApiWebOauthAuthorizeResponse

func (response V5ApiWebOauthAuthorize200JSONResponse) VisitV5ApiWebOauthAuthorizeResponse(w http.ResponseWriter) error

type V5ApiWebOauthAuthorizeJSONBody

type V5ApiWebOauthAuthorizeJSONBody = map[string]interface{}

V5ApiWebOauthAuthorizeJSONBody defines parameters for V5ApiWebOauthAuthorize.

type V5ApiWebOauthAuthorizeJSONRequestBody

type V5ApiWebOauthAuthorizeJSONRequestBody = V5ApiWebOauthAuthorizeJSONBody

V5ApiWebOauthAuthorizeJSONRequestBody defines body for V5ApiWebOauthAuthorize for application/json ContentType.

type V5ApiWebOauthAuthorizeParams

type V5ApiWebOauthAuthorizeParams struct {
	// ClientId Client Id
	ClientId string `form:"client_id" json:"client_id"`

	// RedirectUri Redirect URI
	RedirectUri string `form:"redirect_uri" json:"redirect_uri"`

	// ResponseType Response Type
	ResponseType V5ApiWebOauthAuthorizeParamsResponseType `form:"response_type" json:"response_type"`

	// Scope Scope
	Scope *V5ApiWebOauthAuthorizeParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
}

V5ApiWebOauthAuthorizeParams defines parameters for V5ApiWebOauthAuthorize.

type V5ApiWebOauthAuthorizeParamsResponseType

type V5ApiWebOauthAuthorizeParamsResponseType string

V5ApiWebOauthAuthorizeParamsResponseType defines parameters for V5ApiWebOauthAuthorize.

Defines values for V5ApiWebOauthAuthorizeParamsResponseType.

type V5ApiWebOauthAuthorizeParamsScope

type V5ApiWebOauthAuthorizeParamsScope string

V5ApiWebOauthAuthorizeParamsScope defines parameters for V5ApiWebOauthAuthorize.

const (
	V5ApiWebOauthAuthorizeParamsScopePublic V5ApiWebOauthAuthorizeParamsScope = "public"
)

Defines values for V5ApiWebOauthAuthorizeParamsScope.

type V5ApiWebOauthAuthorizeRequestObject

type V5ApiWebOauthAuthorizeRequestObject struct {
	Params V5ApiWebOauthAuthorizeParams
	Body   *V5ApiWebOauthAuthorizeJSONRequestBody
}

type V5ApiWebOauthAuthorizeResponse

type V5ApiWebOauthAuthorizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
}

func ParseV5ApiWebOauthAuthorizeResponse

func ParseV5ApiWebOauthAuthorizeResponse(rsp *http.Response) (*V5ApiWebOauthAuthorizeResponse, error)

ParseV5ApiWebOauthAuthorizeResponse parses an HTTP response from a V5ApiWebOauthAuthorizeWithResponse call

func (V5ApiWebOauthAuthorizeResponse) Status

Status returns HTTPResponse.Status

func (V5ApiWebOauthAuthorizeResponse) StatusCode

func (r V5ApiWebOauthAuthorizeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V5ApiWebOauthAuthorizeResponseObject

type V5ApiWebOauthAuthorizeResponseObject interface {
	VisitV5ApiWebOauthAuthorizeResponse(w http.ResponseWriter) error
}

type V5ApiWebOauthToken200JSONResponse

type V5ApiWebOauthToken200JSONResponse map[string]interface{}

func (V5ApiWebOauthToken200JSONResponse) VisitV5ApiWebOauthTokenResponse

func (response V5ApiWebOauthToken200JSONResponse) VisitV5ApiWebOauthTokenResponse(w http.ResponseWriter) error

type V5ApiWebOauthToken401JSONResponse

type V5ApiWebOauthToken401JSONResponse Unauthorized

func (V5ApiWebOauthToken401JSONResponse) VisitV5ApiWebOauthTokenResponse

func (response V5ApiWebOauthToken401JSONResponse) VisitV5ApiWebOauthTokenResponse(w http.ResponseWriter) error

type V5ApiWebOauthToken404JSONResponse

type V5ApiWebOauthToken404JSONResponse NotFound

func (V5ApiWebOauthToken404JSONResponse) VisitV5ApiWebOauthTokenResponse

func (response V5ApiWebOauthToken404JSONResponse) VisitV5ApiWebOauthTokenResponse(w http.ResponseWriter) error

type V5ApiWebOauthToken422JSONResponse

type V5ApiWebOauthToken422JSONResponse map[string]interface{}

func (V5ApiWebOauthToken422JSONResponse) VisitV5ApiWebOauthTokenResponse

func (response V5ApiWebOauthToken422JSONResponse) VisitV5ApiWebOauthTokenResponse(w http.ResponseWriter) error

type V5ApiWebOauthTokenJSONBody

type V5ApiWebOauthTokenJSONBody = map[string]interface{}

V5ApiWebOauthTokenJSONBody defines parameters for V5ApiWebOauthToken.

type V5ApiWebOauthTokenJSONRequestBody

type V5ApiWebOauthTokenJSONRequestBody = V5ApiWebOauthTokenJSONBody

V5ApiWebOauthTokenJSONRequestBody defines body for V5ApiWebOauthToken for application/json ContentType.

type V5ApiWebOauthTokenParams

type V5ApiWebOauthTokenParams struct {
	// ClientId Client Id
	ClientId string `form:"client_id" json:"client_id"`

	// ClientSecret Client Secret
	ClientSecret string `form:"client_secret" json:"client_secret"`

	// GrantType Grant Type
	GrantType V5ApiWebOauthTokenParamsGrantType `form:"grant_type" json:"grant_type"`

	// Code Authorization Code; `*required` if using `authorization_code` grant type
	Code *string `form:"code,omitempty" json:"code,omitempty"`

	// Scope Scope
	Scope *V5ApiWebOauthTokenParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
}

V5ApiWebOauthTokenParams defines parameters for V5ApiWebOauthToken.

type V5ApiWebOauthTokenParamsGrantType

type V5ApiWebOauthTokenParamsGrantType string

V5ApiWebOauthTokenParamsGrantType defines parameters for V5ApiWebOauthToken.

const (
	AuthorizationCode  V5ApiWebOauthTokenParamsGrantType = "authorization_code"
	ClientCrendentials V5ApiWebOauthTokenParamsGrantType = "client_crendentials"
	RefreshToken       V5ApiWebOauthTokenParamsGrantType = "refresh_token"
)

Defines values for V5ApiWebOauthTokenParamsGrantType.

type V5ApiWebOauthTokenParamsScope

type V5ApiWebOauthTokenParamsScope string

V5ApiWebOauthTokenParamsScope defines parameters for V5ApiWebOauthToken.

const (
	V5ApiWebOauthTokenParamsScopePublic V5ApiWebOauthTokenParamsScope = "public"
)

Defines values for V5ApiWebOauthTokenParamsScope.

type V5ApiWebOauthTokenRequestObject

type V5ApiWebOauthTokenRequestObject struct {
	Params V5ApiWebOauthTokenParams
	Body   *V5ApiWebOauthTokenJSONRequestBody
}

type V5ApiWebOauthTokenResponse

type V5ApiWebOauthTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON401      *Unauthorized
	JSON404      *NotFound
	JSON422      *map[string]interface{}
}

func ParseV5ApiWebOauthTokenResponse

func ParseV5ApiWebOauthTokenResponse(rsp *http.Response) (*V5ApiWebOauthTokenResponse, error)

ParseV5ApiWebOauthTokenResponse parses an HTTP response from a V5ApiWebOauthTokenWithResponse call

func (V5ApiWebOauthTokenResponse) Status

Status returns HTTPResponse.Status

func (V5ApiWebOauthTokenResponse) StatusCode

func (r V5ApiWebOauthTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V5ApiWebOauthTokenResponseObject

type V5ApiWebOauthTokenResponseObject interface {
	VisitV5ApiWebOauthTokenResponse(w http.ResponseWriter) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL