Help us shape the future of Go! Take the 2026 Go Developer Survey

challengeclientmodels

package
v0.89.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ModelChallengeResponseAssignmentRuleCUSTOM captures enum value "CUSTOM"
	ModelChallengeResponseAssignmentRuleCUSTOM string = "CUSTOM"

	// ModelChallengeResponseAssignmentRuleFIXED captures enum value "FIXED"
	ModelChallengeResponseAssignmentRuleFIXED string = "FIXED"

	// ModelChallengeResponseAssignmentRuleRANDOMIZED captures enum value "RANDOMIZED"
	ModelChallengeResponseAssignmentRuleRANDOMIZED string = "RANDOMIZED"

	// ModelChallengeResponseAssignmentRuleUNSCHEDULED captures enum value "UNSCHEDULED"
	ModelChallengeResponseAssignmentRuleUNSCHEDULED string = "UNSCHEDULED"
)
View Source
const (

	// ModelChallengeResponseGoalsVisibilityPERIODONLY captures enum value "PERIODONLY"
	ModelChallengeResponseGoalsVisibilityPERIODONLY string = "PERIODONLY"

	// ModelChallengeResponseGoalsVisibilitySHOWALL captures enum value "SHOWALL"
	ModelChallengeResponseGoalsVisibilitySHOWALL string = "SHOWALL"
)
View Source
const (

	// ModelChallengeResponseRotationDAILY captures enum value "DAILY"
	ModelChallengeResponseRotationDAILY string = "DAILY"

	// ModelChallengeResponseRotationMONTHLY captures enum value "MONTHLY"
	ModelChallengeResponseRotationMONTHLY string = "MONTHLY"

	// ModelChallengeResponseRotationNONE captures enum value "NONE"
	ModelChallengeResponseRotationNONE string = "NONE"

	// ModelChallengeResponseRotationWEEKLY captures enum value "WEEKLY"
	ModelChallengeResponseRotationWEEKLY string = "WEEKLY"
)
View Source
const (

	// ModelChallengeResponseStatusINIT captures enum value "INIT"
	ModelChallengeResponseStatusINIT string = "INIT"

	// ModelChallengeResponseStatusRETIRED captures enum value "RETIRED"
	ModelChallengeResponseStatusRETIRED string = "RETIRED"

	// ModelChallengeResponseStatusTIED captures enum value "TIED"
	ModelChallengeResponseStatusTIED string = "TIED"
)
View Source
const (

	// ModelClaimableUserRewardStatusCLAIMED captures enum value "CLAIMED"
	ModelClaimableUserRewardStatusCLAIMED string = "CLAIMED"

	// ModelClaimableUserRewardStatusUNCLAIMED captures enum value "UNCLAIMED"
	ModelClaimableUserRewardStatusUNCLAIMED string = "UNCLAIMED"
)
View Source
const (

	// ModelClaimableUserRewardTypeENTITLEMENT captures enum value "ENTITLEMENT"
	ModelClaimableUserRewardTypeENTITLEMENT string = "ENTITLEMENT"

	// ModelClaimableUserRewardTypeSTATISTIC captures enum value "STATISTIC"
	ModelClaimableUserRewardTypeSTATISTIC string = "STATISTIC"
)
View Source
const (

	// ModelCreateChallengeRequestAssignmentRuleCUSTOM captures enum value "CUSTOM"
	ModelCreateChallengeRequestAssignmentRuleCUSTOM string = "CUSTOM"

	// ModelCreateChallengeRequestAssignmentRuleFIXED captures enum value "FIXED"
	ModelCreateChallengeRequestAssignmentRuleFIXED string = "FIXED"

	// ModelCreateChallengeRequestAssignmentRuleRANDOMIZED captures enum value "RANDOMIZED"
	ModelCreateChallengeRequestAssignmentRuleRANDOMIZED string = "RANDOMIZED"

	// ModelCreateChallengeRequestAssignmentRuleUNSCHEDULED captures enum value "UNSCHEDULED"
	ModelCreateChallengeRequestAssignmentRuleUNSCHEDULED string = "UNSCHEDULED"
)
View Source
const (

	// ModelCreateChallengeRequestGoalsVisibilityPERIODONLY captures enum value "PERIODONLY"
	ModelCreateChallengeRequestGoalsVisibilityPERIODONLY string = "PERIODONLY"

	// ModelCreateChallengeRequestGoalsVisibilitySHOWALL captures enum value "SHOWALL"
	ModelCreateChallengeRequestGoalsVisibilitySHOWALL string = "SHOWALL"
)
View Source
const (

	// ModelCreateChallengeRequestRotationDAILY captures enum value "DAILY"
	ModelCreateChallengeRequestRotationDAILY string = "DAILY"

	// ModelCreateChallengeRequestRotationMONTHLY captures enum value "MONTHLY"
	ModelCreateChallengeRequestRotationMONTHLY string = "MONTHLY"

	// ModelCreateChallengeRequestRotationNONE captures enum value "NONE"
	ModelCreateChallengeRequestRotationNONE string = "NONE"

	// ModelCreateChallengeRequestRotationWEEKLY captures enum value "WEEKLY"
	ModelCreateChallengeRequestRotationWEEKLY string = "WEEKLY"
)
View Source
const (

	// ModelGoalProgressionResponseStatusACTIVE captures enum value "ACTIVE"
	ModelGoalProgressionResponseStatusACTIVE string = "ACTIVE"

	// ModelGoalProgressionResponseStatusCOMPLETED captures enum value "COMPLETED"
	ModelGoalProgressionResponseStatusCOMPLETED string = "COMPLETED"

	// ModelGoalProgressionResponseStatusNOTSTARTED captures enum value "NOT_STARTED"
	ModelGoalProgressionResponseStatusNOTSTARTED string = "NOT_STARTED"

	// ModelGoalProgressionResponseStatusRETIRED captures enum value "RETIRED"
	ModelGoalProgressionResponseStatusRETIRED string = "RETIRED"
)
View Source
const (

	// ModelPluginAssignmentRequestExtendTypeAPP captures enum value "APP"
	ModelPluginAssignmentRequestExtendTypeAPP string = "APP"

	// ModelPluginAssignmentRequestExtendTypeCUSTOM captures enum value "CUSTOM"
	ModelPluginAssignmentRequestExtendTypeCUSTOM string = "CUSTOM"
)
View Source
const (

	// ModelPluginAssignmentResponseExtendTypeAPP captures enum value "APP"
	ModelPluginAssignmentResponseExtendTypeAPP string = "APP"

	// ModelPluginAssignmentResponseExtendTypeCUSTOM captures enum value "CUSTOM"
	ModelPluginAssignmentResponseExtendTypeCUSTOM string = "CUSTOM"
)
View Source
const (

	// ModelPredicateMatcherEQUAL captures enum value "EQUAL"
	ModelPredicateMatcherEQUAL string = "EQUAL"

	// ModelPredicateMatcherGREATERTHAN captures enum value "GREATER_THAN"
	ModelPredicateMatcherGREATERTHAN string = "GREATER_THAN"

	// ModelPredicateMatcherGREATERTHANEQUAL captures enum value "GREATER_THAN_EQUAL"
	ModelPredicateMatcherGREATERTHANEQUAL string = "GREATER_THAN_EQUAL"

	// ModelPredicateMatcherLESSTHAN captures enum value "LESS_THAN"
	ModelPredicateMatcherLESSTHAN string = "LESS_THAN"

	// ModelPredicateMatcherLESSTHANEQUAL captures enum value "LESS_THAN_EQUAL"
	ModelPredicateMatcherLESSTHANEQUAL string = "LESS_THAN_EQUAL"
)
View Source
const (

	// ModelPredicateParameterTypeACHIEVEMENT captures enum value "ACHIEVEMENT"
	ModelPredicateParameterTypeACHIEVEMENT string = "ACHIEVEMENT"

	// ModelPredicateParameterTypeENTITLEMENT captures enum value "ENTITLEMENT"
	ModelPredicateParameterTypeENTITLEMENT string = "ENTITLEMENT"

	// ModelPredicateParameterTypeSTATISTIC captures enum value "STATISTIC"
	ModelPredicateParameterTypeSTATISTIC string = "STATISTIC"

	// ModelPredicateParameterTypeSTATISTICCYCLE captures enum value "STATISTIC_CYCLE"
	ModelPredicateParameterTypeSTATISTICCYCLE string = "STATISTIC_CYCLE"

	// ModelPredicateParameterTypeUSERACCOUNT captures enum value "USERACCOUNT"
	ModelPredicateParameterTypeUSERACCOUNT string = "USERACCOUNT"
)
View Source
const (

	// ModelRewardTypeENTITLEMENT captures enum value "ENTITLEMENT"
	ModelRewardTypeENTITLEMENT string = "ENTITLEMENT"

	// ModelRewardTypeSTATISTIC captures enum value "STATISTIC"
	ModelRewardTypeSTATISTIC string = "STATISTIC"
)
View Source
const (

	// ModelUpdateChallengeRequestAssignmentRuleCUSTOM captures enum value "CUSTOM"
	ModelUpdateChallengeRequestAssignmentRuleCUSTOM string = "CUSTOM"

	// ModelUpdateChallengeRequestAssignmentRuleFIXED captures enum value "FIXED"
	ModelUpdateChallengeRequestAssignmentRuleFIXED string = "FIXED"

	// ModelUpdateChallengeRequestAssignmentRuleRANDOMIZED captures enum value "RANDOMIZED"
	ModelUpdateChallengeRequestAssignmentRuleRANDOMIZED string = "RANDOMIZED"

	// ModelUpdateChallengeRequestAssignmentRuleUNSCHEDULED captures enum value "UNSCHEDULED"
	ModelUpdateChallengeRequestAssignmentRuleUNSCHEDULED string = "UNSCHEDULED"
)
View Source
const (

	// ModelUpdateChallengeRequestGoalsVisibilityPERIODONLY captures enum value "PERIODONLY"
	ModelUpdateChallengeRequestGoalsVisibilityPERIODONLY string = "PERIODONLY"

	// ModelUpdateChallengeRequestGoalsVisibilitySHOWALL captures enum value "SHOWALL"
	ModelUpdateChallengeRequestGoalsVisibilitySHOWALL string = "SHOWALL"
)
View Source
const (

	// ModelUpdateChallengeRequestRotationDAILY captures enum value "DAILY"
	ModelUpdateChallengeRequestRotationDAILY string = "DAILY"

	// ModelUpdateChallengeRequestRotationMONTHLY captures enum value "MONTHLY"
	ModelUpdateChallengeRequestRotationMONTHLY string = "MONTHLY"

	// ModelUpdateChallengeRequestRotationNONE captures enum value "NONE"
	ModelUpdateChallengeRequestRotationNONE string = "NONE"

	// ModelUpdateChallengeRequestRotationWEEKLY captures enum value "WEEKLY"
	ModelUpdateChallengeRequestRotationWEEKLY string = "WEEKLY"
)
View Source
const (

	// ModelUpdateChallengeScheduleRequestActionACCELERATE captures enum value "ACCELERATE"
	ModelUpdateChallengeScheduleRequestActionACCELERATE string = "ACCELERATE"

	// ModelUpdateChallengeScheduleRequestActionSTOP captures enum value "STOP"
	ModelUpdateChallengeScheduleRequestActionSTOP string = "STOP"
)
View Source
const (

	// ModelUserRewardStatusCLAIMED captures enum value "CLAIMED"
	ModelUserRewardStatusCLAIMED string = "CLAIMED"

	// ModelUserRewardStatusUNCLAIMED captures enum value "UNCLAIMED"
	ModelUserRewardStatusUNCLAIMED string = "UNCLAIMED"
)
View Source
const (

	// ModelUserRewardTypeENTITLEMENT captures enum value "ENTITLEMENT"
	ModelUserRewardTypeENTITLEMENT string = "ENTITLEMENT"

	// ModelUserRewardTypeSTATISTIC captures enum value "STATISTIC"
	ModelUserRewardTypeSTATISTIC string = "STATISTIC"
)
View Source
const (

	// ModelRequirementOperatorAND captures enum value "AND"
	ModelRequirementOperatorAND string = "AND"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IamErrorResponse

type IamErrorResponse struct {

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// errormessage
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// requiredpermission
	RequiredPermission *IamPermission `json:"requiredPermission,omitempty"`
}

IamErrorResponse Iam error response

swagger:model Iam error response.

func (*IamErrorResponse) MarshalBinary

func (m *IamErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IamErrorResponse) UnmarshalBinary

func (m *IamErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IamErrorResponse) Validate

func (m *IamErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this Iam error response

type IamPermission added in v0.71.0

type IamPermission struct {

	// action
	// Required: true
	// Format: int32
	Action *int32 `json:"action"`

	// resource
	// Required: true
	Resource *string `json:"resource"`
}

IamPermission Iam permission

swagger:model Iam permission.

func (*IamPermission) MarshalBinary added in v0.71.0

func (m *IamPermission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IamPermission) UnmarshalBinary added in v0.71.0

func (m *IamPermission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IamPermission) Validate added in v0.71.0

func (m *IamPermission) Validate(formats strfmt.Registry) error

Validate validates this Iam permission

type ModelChallengeReference added in v0.78.0

type ModelChallengeReference struct {

	// challengecode
	// Required: true
	ChallengeCode *string `json:"challengeCode"`

	// goalcode
	// Required: true
	GoalCode *string `json:"goalCode"`
}

ModelChallengeReference Model challenge reference

swagger:model Model challenge reference.

func (*ModelChallengeReference) MarshalBinary added in v0.78.0

func (m *ModelChallengeReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelChallengeReference) UnmarshalBinary added in v0.78.0

func (m *ModelChallengeReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelChallengeReference) Validate added in v0.78.0

func (m *ModelChallengeReference) Validate(formats strfmt.Registry) error

Validate validates this Model challenge reference

type ModelChallengeResponse

type ModelChallengeResponse struct {

	// activegoalsperrotation
	// Required: true
	// Format: int32
	ActiveGoalsPerRotation *int32 `json:"activeGoalsPerRotation"`

	// assignmentrule
	// Enum: ['CUSTOM', 'FIXED', 'RANDOMIZED', 'UNSCHEDULED']
	// Required: true
	AssignmentRule *string `json:"assignmentRule"`

	// code
	// Required: true
	Code *string `json:"code"`

	// createdat
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// description
	// Required: true
	Description *string `json:"description"`

	// endafter
	// Format: int32
	EndAfter int32 `json:"endAfter,omitempty"`

	// enddate
	EndDate string `json:"endDate,omitempty"`

	// goalsvisibility
	// Enum: ['PERIODONLY', 'SHOWALL']
	// Required: true
	GoalsVisibility *string `json:"goalsVisibility"`

	// name
	// Required: true
	Name *string `json:"name"`

	// randomizedperrotation
	// Required: true
	RandomizedPerRotation *bool `json:"randomizedPerRotation"`

	// repeatafter
	// Format: int32
	RepeatAfter int32 `json:"repeatAfter,omitempty"`

	// resetconfig
	// Required: true
	ResetConfig *ModelResetConfig `json:"resetConfig"`

	// rotation
	// Enum: ['DAILY', 'MONTHLY', 'NONE', 'WEEKLY']
	// Required: true
	Rotation *string `json:"rotation"`

	// startdate
	// Required: true
	StartDate *string `json:"startDate"`

	// status
	// Enum: ['INIT', 'RETIRED', 'TIED']
	// Required: true
	Status *string `json:"status"`

	// tags
	Tags []string `json:"tags,omitempty"`

	// templateslots
	TemplateSlots []*ModelChallengeSlotResponse `json:"templateSlots,omitempty"`

	// updatedat
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ModelChallengeResponse Model challenge response

swagger:model Model challenge response.

func (*ModelChallengeResponse) MarshalBinary

func (m *ModelChallengeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelChallengeResponse) UnmarshalBinary

func (m *ModelChallengeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelChallengeResponse) Validate

func (m *ModelChallengeResponse) Validate(formats strfmt.Registry) error

Validate validates this Model challenge response

type ModelChallengeSlotResponse added in v0.89.0

type ModelChallengeSlotResponse struct {

	// goals
	// Required: true
	Goals []string `json:"goals"`
}

ModelChallengeSlotResponse Model challenge slot response

swagger:model Model challenge slot response.

func (*ModelChallengeSlotResponse) MarshalBinary added in v0.89.0

func (m *ModelChallengeSlotResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelChallengeSlotResponse) UnmarshalBinary added in v0.89.0

func (m *ModelChallengeSlotResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelChallengeSlotResponse) Validate added in v0.89.0

func (m *ModelChallengeSlotResponse) Validate(formats strfmt.Registry) error

Validate validates this Model challenge slot response

type ModelClaimUserRewardsByGoalCodeRequest added in v0.74.0

type ModelClaimUserRewardsByGoalCodeRequest struct {

	// goalcode
	// Required: true
	GoalCode *string `json:"goalCode"`
}

ModelClaimUserRewardsByGoalCodeRequest Model claim user rewards by goal code request

swagger:model Model claim user rewards by goal code request.

func (*ModelClaimUserRewardsByGoalCodeRequest) MarshalBinary added in v0.74.0

func (m *ModelClaimUserRewardsByGoalCodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelClaimUserRewardsByGoalCodeRequest) UnmarshalBinary added in v0.74.0

func (m *ModelClaimUserRewardsByGoalCodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelClaimUserRewardsByGoalCodeRequest) Validate added in v0.74.0

Validate validates this Model claim user rewards by goal code request

type ModelClaimUserRewardsReq

type ModelClaimUserRewardsReq struct {

	// max 100 items
	// Required: true
	RewardIDs []string `json:"rewardIDs"`
}

ModelClaimUserRewardsReq Model claim user rewards req

swagger:model Model claim user rewards req.

func (*ModelClaimUserRewardsReq) MarshalBinary

func (m *ModelClaimUserRewardsReq) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelClaimUserRewardsReq) UnmarshalBinary

func (m *ModelClaimUserRewardsReq) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelClaimUserRewardsReq) Validate

func (m *ModelClaimUserRewardsReq) Validate(formats strfmt.Registry) error

Validate validates this Model claim user rewards req

type ModelClaimUsersRewardsRequest added in v0.71.0

type ModelClaimUsersRewardsRequest struct {

	// rewardids
	// Required: true
	RewardIds []string `json:"rewardIds"`

	// userid
	// Required: true
	UserID *string `json:"userId"`
}

ModelClaimUsersRewardsRequest Model claim users rewards request

swagger:model Model claim users rewards request.

func (*ModelClaimUsersRewardsRequest) MarshalBinary added in v0.71.0

func (m *ModelClaimUsersRewardsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelClaimUsersRewardsRequest) UnmarshalBinary added in v0.71.0

func (m *ModelClaimUsersRewardsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelClaimUsersRewardsRequest) Validate added in v0.71.0

func (m *ModelClaimUsersRewardsRequest) Validate(formats strfmt.Registry) error

Validate validates this Model claim users rewards request

type ModelClaimUsersRewardsResponse added in v0.71.0

type ModelClaimUsersRewardsResponse struct {

	// errordetail
	ErrorDetail *ResponseError `json:"errorDetail,omitempty"`

	// issuccess
	// Required: true
	IsSuccess *bool `json:"isSuccess"`

	// rewards
	// Required: true
	Rewards []*ModelUserReward `json:"rewards"`

	// userid
	// Required: true
	UserID *string `json:"userId"`
}

ModelClaimUsersRewardsResponse Model claim users rewards response

swagger:model Model claim users rewards response.

func (*ModelClaimUsersRewardsResponse) MarshalBinary added in v0.71.0

func (m *ModelClaimUsersRewardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelClaimUsersRewardsResponse) UnmarshalBinary added in v0.71.0

func (m *ModelClaimUsersRewardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelClaimUsersRewardsResponse) Validate added in v0.71.0

func (m *ModelClaimUsersRewardsResponse) Validate(formats strfmt.Registry) error

Validate validates this Model claim users rewards response

type ModelClaimableUserReward added in v0.75.0

type ModelClaimableUserReward struct {

	// goalprogressionid
	// Required: true
	GoalProgressionID *string `json:"goalProgressionId"`

	// id
	// Required: true
	ID *string `json:"id"`

	// itemid
	// Required: true
	ItemID *string `json:"itemId"`

	// itemname
	// Required: true
	ItemName *string `json:"itemName"`

	// qty
	// Required: true
	// Format: float
	Qty *float32 `json:"qty"`

	// status
	// Enum: ['CLAIMED', 'UNCLAIMED']
	// Required: true
	Status *string `json:"status"`

	// type
	// Enum: ['ENTITLEMENT', 'STATISTIC']
	// Required: true
	Type *string `json:"type"`
}

ModelClaimableUserReward Model claimable user reward

swagger:model Model claimable user reward.

func (*ModelClaimableUserReward) MarshalBinary added in v0.75.0

func (m *ModelClaimableUserReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelClaimableUserReward) UnmarshalBinary added in v0.75.0

func (m *ModelClaimableUserReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelClaimableUserReward) Validate added in v0.75.0

func (m *ModelClaimableUserReward) Validate(formats strfmt.Registry) error

Validate validates this Model claimable user reward

type ModelCreateChallengeRequest

type ModelCreateChallengeRequest struct {

	// activegoalsperrotation
	// Format: int32
	ActiveGoalsPerRotation int32 `json:"activeGoalsPerRotation,omitempty"`

	// assignmentrule
	// Enum: ['CUSTOM', 'FIXED', 'RANDOMIZED', 'UNSCHEDULED']
	// Required: true
	AssignmentRule *string `json:"assignmentRule"`

	// only lowercase letters, numbers, and the separator - are allowed; must start and end with letter
	// Required: true
	Code *string `json:"code"`

	// description
	Description string `json:"description,omitempty"`

	// endafter
	// Format: int32
	EndAfter int32 `json:"endAfter,omitempty"`

	// enddate
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// goalsvisibility
	// Enum: ['PERIODONLY', 'SHOWALL']
	// Required: true
	GoalsVisibility *string `json:"goalsVisibility"`

	// name
	// Required: true
	Name *string `json:"name"`

	// randomizedperrotation
	RandomizedPerRotation bool `json:"randomizedPerRotation"`

	// number of days to repeat the challenge; when set, goals cannot include the 'schedule' field in the request body — use PUT /challenges/{challengeCode}/goals/{code}/slots to assign goals to slots instead
	// Format: int32
	RepeatAfter int32 `json:"repeatAfter,omitempty"`

	// resetconfig
	ResetConfig *ModelResetConfig `json:"resetConfig,omitempty"`

	// rotation
	// Enum: ['DAILY', 'MONTHLY', 'NONE', 'WEEKLY']
	// Required: true
	Rotation *string `json:"rotation"`

	// startdate
	// Required: true
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate"`

	// tags
	Tags []string `json:"tags,omitempty"`
}

ModelCreateChallengeRequest Model create challenge request

swagger:model Model create challenge request.

func (*ModelCreateChallengeRequest) MarshalBinary

func (m *ModelCreateChallengeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelCreateChallengeRequest) UnmarshalBinary

func (m *ModelCreateChallengeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelCreateChallengeRequest) Validate

func (m *ModelCreateChallengeRequest) Validate(formats strfmt.Registry) error

Validate validates this Model create challenge request

type ModelCreateGoalRequest

type ModelCreateGoalRequest struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// description
	Description string `json:"description,omitempty"`

	// isactive
	// Required: true
	IsActive *bool `json:"isActive"`

	// name
	// Required: true
	Name *string `json:"name"`

	// requirementgroups
	RequirementGroups []*ModelRequirement `json:"requirementGroups,omitempty"`

	// rewards
	Rewards []*ModelReward `json:"rewards,omitempty"`

	// schedule
	Schedule *ModelGoalScheduleRequest `json:"schedule,omitempty"`

	// tags
	Tags []string `json:"tags,omitempty"`
}

ModelCreateGoalRequest Model create goal request

swagger:model Model create goal request.

func (*ModelCreateGoalRequest) MarshalBinary

func (m *ModelCreateGoalRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelCreateGoalRequest) UnmarshalBinary

func (m *ModelCreateGoalRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelCreateGoalRequest) Validate

func (m *ModelCreateGoalRequest) Validate(formats strfmt.Registry) error

Validate validates this Model create goal request

type ModelCurrentRoundSlotResponse added in v0.89.0

type ModelCurrentRoundSlotResponse struct {

	// endtime
	// Format: date-time
	EndTime *strfmt.DateTime `json:"endTime,omitempty"`

	// goals
	// Required: true
	Goals []*ModelGoalInSchedulesResponse `json:"goals"`

	// index
	// Required: true
	// Format: int32
	Index *int32 `json:"index"`

	// starttime
	// Required: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime"`
}

ModelCurrentRoundSlotResponse Model current round slot response

swagger:model Model current round slot response.

func (*ModelCurrentRoundSlotResponse) MarshalBinary added in v0.89.0

func (m *ModelCurrentRoundSlotResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelCurrentRoundSlotResponse) UnmarshalBinary added in v0.89.0

func (m *ModelCurrentRoundSlotResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelCurrentRoundSlotResponse) Validate added in v0.89.0

func (m *ModelCurrentRoundSlotResponse) Validate(formats strfmt.Registry) error

Validate validates this Model current round slot response

type ModelEvaluatePlayerProgressionRequest

type ModelEvaluatePlayerProgressionRequest struct {

	// userids
	UserIds []string `json:"userIds,omitempty"`
}

ModelEvaluatePlayerProgressionRequest Model evaluate player progression request

swagger:model Model evaluate player progression request.

func (*ModelEvaluatePlayerProgressionRequest) MarshalBinary

func (m *ModelEvaluatePlayerProgressionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelEvaluatePlayerProgressionRequest) UnmarshalBinary

func (m *ModelEvaluatePlayerProgressionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelEvaluatePlayerProgressionRequest) Validate

Validate validates this Model evaluate player progression request

type ModelGetGoalsResponse

type ModelGetGoalsResponse struct {

	// data
	// Required: true
	Data []*ModelGoalResponse `json:"data"`

	// meta
	// Required: true
	Meta *ModelChallengeResponse `json:"meta"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelGetGoalsResponse Model get goals response

swagger:model Model get goals response.

func (*ModelGetGoalsResponse) MarshalBinary

func (m *ModelGetGoalsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGetGoalsResponse) UnmarshalBinary

func (m *ModelGetGoalsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGetGoalsResponse) Validate

func (m *ModelGetGoalsResponse) Validate(formats strfmt.Registry) error

Validate validates this Model get goals response

type ModelGetSlotsResponse added in v0.89.0

type ModelGetSlotsResponse struct {

	// currentround
	// Required: true
	CurrentRound []*ModelCurrentRoundSlotResponse `json:"currentRound"`

	// templateslots
	TemplateSlots []*ModelTemplateSlotResponse `json:"templateSlots,omitempty"`
}

ModelGetSlotsResponse Model get slots response

swagger:model Model get slots response.

func (*ModelGetSlotsResponse) MarshalBinary added in v0.89.0

func (m *ModelGetSlotsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGetSlotsResponse) UnmarshalBinary added in v0.89.0

func (m *ModelGetSlotsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGetSlotsResponse) Validate added in v0.89.0

func (m *ModelGetSlotsResponse) Validate(formats strfmt.Registry) error

Validate validates this Model get slots response

type ModelGoalInSchedulesResponse added in v0.76.0

type ModelGoalInSchedulesResponse struct {

	// challengecode
	// Required: true
	ChallengeCode *string `json:"challengeCode"`

	// code
	// Required: true
	Code *string `json:"code"`

	// createdat
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// description
	// Required: true
	Description *string `json:"description"`

	// isactive
	// Required: true
	IsActive *bool `json:"isActive"`

	// name
	// Required: true
	Name *string `json:"name"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// requirementgroups
	// Required: true
	RequirementGroups []*ModelRequirement `json:"requirementGroups"`

	// rewards
	// Required: true
	Rewards []*ModelReward `json:"rewards"`

	// tags
	Tags []string `json:"tags,omitempty"`

	// updatedat
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ModelGoalInSchedulesResponse Model goal in schedules response

swagger:model Model goal in schedules response.

func (*ModelGoalInSchedulesResponse) MarshalBinary added in v0.76.0

func (m *ModelGoalInSchedulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalInSchedulesResponse) UnmarshalBinary added in v0.76.0

func (m *ModelGoalInSchedulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalInSchedulesResponse) Validate added in v0.76.0

func (m *ModelGoalInSchedulesResponse) Validate(formats strfmt.Registry) error

Validate validates this Model goal in schedules response

type ModelGoalMeta added in v0.69.0

type ModelGoalMeta struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// description
	// Required: true
	Description *string `json:"description"`

	// name
	// Required: true
	Name *string `json:"name"`

	// requirementgroups
	// Required: true
	RequirementGroups []*ModelRequirement `json:"requirementGroups"`

	// rewards
	// Required: true
	Rewards []*ModelReward `json:"rewards"`

	// tags
	Tags []string `json:"tags,omitempty"`
}

ModelGoalMeta Model goal meta

swagger:model Model goal meta.

func (*ModelGoalMeta) MarshalBinary added in v0.69.0

func (m *ModelGoalMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalMeta) UnmarshalBinary added in v0.69.0

func (m *ModelGoalMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalMeta) Validate added in v0.69.0

func (m *ModelGoalMeta) Validate(formats strfmt.Registry) error

Validate validates this Model goal meta

type ModelGoalOrder

type ModelGoalOrder struct {

	// goal
	// Required: true
	Goal *ModelGoalResponse `json:"goal"`

	// order
	// Required: true
	// Format: int32
	Order *int32 `json:"order"`
}

ModelGoalOrder Model goal order

swagger:model Model goal order.

func (*ModelGoalOrder) MarshalBinary

func (m *ModelGoalOrder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalOrder) UnmarshalBinary

func (m *ModelGoalOrder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalOrder) Validate

func (m *ModelGoalOrder) Validate(formats strfmt.Registry) error

Validate validates this Model goal order

type ModelGoalProgressionResponse

type ModelGoalProgressionResponse struct {

	// challengecode
	// Required: true
	ChallengeCode *string `json:"challengeCode"`

	// completedat
	CompletedAt string `json:"completedAt,omitempty"`

	// goal
	// Required: true
	Goal *ModelGoalMeta `json:"goal"`

	// goalcode
	// Required: true
	GoalCode *string `json:"goalCode"`

	// goalprogressionid
	// Required: true
	GoalProgressionID *string `json:"goalProgressionId"`

	// requirementprogressions
	// Required: true
	RequirementProgressions []*ModelRequirementProgressionResponse `json:"requirementProgressions"`

	// status
	// Enum: ['ACTIVE', 'COMPLETED', 'NOT_STARTED', 'RETIRED']
	// Required: true
	Status *string `json:"status"`

	// toclaimrewards
	ToClaimRewards []*ModelClaimableUserReward `json:"toClaimRewards,omitempty"`
}

ModelGoalProgressionResponse Model goal progression response

swagger:model Model goal progression response.

func (*ModelGoalProgressionResponse) MarshalBinary

func (m *ModelGoalProgressionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalProgressionResponse) UnmarshalBinary

func (m *ModelGoalProgressionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalProgressionResponse) Validate

func (m *ModelGoalProgressionResponse) Validate(formats strfmt.Registry) error

Validate validates this Model goal progression response

type ModelGoalResponse

type ModelGoalResponse struct {

	// challengecode
	// Required: true
	ChallengeCode *string `json:"challengeCode"`

	// code
	// Required: true
	Code *string `json:"code"`

	// createdat
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// description
	// Required: true
	Description *string `json:"description"`

	// isactive
	// Required: true
	IsActive *bool `json:"isActive"`

	// name
	// Required: true
	Name *string `json:"name"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// requirementgroups
	// Required: true
	RequirementGroups []*ModelRequirement `json:"requirementGroups"`

	// rewards
	// Required: true
	Rewards []*ModelReward `json:"rewards"`

	// this field will be deprecated
	Schedule *ModelGoalSchedule `json:"schedule,omitempty"`

	// tags
	Tags []string `json:"tags,omitempty"`

	// updatedat
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ModelGoalResponse Model goal response

swagger:model Model goal response.

func (*ModelGoalResponse) MarshalBinary

func (m *ModelGoalResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalResponse) UnmarshalBinary

func (m *ModelGoalResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalResponse) Validate

func (m *ModelGoalResponse) Validate(formats strfmt.Registry) error

Validate validates this Model goal response

type ModelGoalSchedule

type ModelGoalSchedule struct {

	// this field will be deprecated
	// Format: date-time
	EndTime *strfmt.DateTime `json:"endTime,omitempty"`

	// this field will be deprecated
	// Required: true
	// Format: int32
	Order *int32 `json:"order"`

	// this field will be deprecated
	// Required: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime"`
}

ModelGoalSchedule Model goal schedule

swagger:model Model goal schedule.

func (*ModelGoalSchedule) MarshalBinary

func (m *ModelGoalSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalSchedule) UnmarshalBinary

func (m *ModelGoalSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalSchedule) Validate

func (m *ModelGoalSchedule) Validate(formats strfmt.Registry) error

Validate validates this Model goal schedule

type ModelGoalScheduleRequest added in v0.77.0

type ModelGoalScheduleRequest struct {

	// endtime
	// Format: date-time
	EndTime *strfmt.DateTime `json:"endTime,omitempty"`

	// order
	// Required: true
	// Format: int32
	Order *int32 `json:"order"`

	// starttime
	// Required: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime"`
}

ModelGoalScheduleRequest Model goal schedule request

swagger:model Model goal schedule request.

func (*ModelGoalScheduleRequest) MarshalBinary added in v0.77.0

func (m *ModelGoalScheduleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelGoalScheduleRequest) UnmarshalBinary added in v0.77.0

func (m *ModelGoalScheduleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelGoalScheduleRequest) Validate added in v0.77.0

func (m *ModelGoalScheduleRequest) Validate(formats strfmt.Registry) error

Validate validates this Model goal schedule request

type ModelItemReference added in v0.78.0

type ModelItemReference struct {

	// module
	// Required: true
	Module *string `json:"module"`

	// references
	// Required: true
	References []*ModelChallengeReference `json:"references"`
}

ModelItemReference Model item reference

swagger:model Model item reference.

func (*ModelItemReference) MarshalBinary added in v0.78.0

func (m *ModelItemReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelItemReference) UnmarshalBinary added in v0.78.0

func (m *ModelItemReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelItemReference) Validate added in v0.78.0

func (m *ModelItemReference) Validate(formats strfmt.Registry) error

Validate validates this Model item reference

type ModelItemReferenceResponse added in v0.78.0

type ModelItemReferenceResponse struct {

	// references
	// Required: true
	References []*ModelItemReference `json:"references"`
}

ModelItemReferenceResponse Model item reference response

swagger:model Model item reference response.

func (*ModelItemReferenceResponse) MarshalBinary added in v0.78.0

func (m *ModelItemReferenceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelItemReferenceResponse) UnmarshalBinary added in v0.78.0

func (m *ModelItemReferenceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelItemReferenceResponse) Validate added in v0.78.0

func (m *ModelItemReferenceResponse) Validate(formats strfmt.Registry) error

Validate validates this Model item reference response

type ModelListChallengeResponse

type ModelListChallengeResponse struct {

	// data
	// Required: true
	Data []*ModelChallengeResponse `json:"data"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelListChallengeResponse Model list challenge response

swagger:model Model list challenge response.

func (*ModelListChallengeResponse) MarshalBinary

func (m *ModelListChallengeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelListChallengeResponse) UnmarshalBinary

func (m *ModelListChallengeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelListChallengeResponse) Validate

func (m *ModelListChallengeResponse) Validate(formats strfmt.Registry) error

Validate validates this Model list challenge response

type ModelListPeriodsResponse

type ModelListPeriodsResponse struct {

	// data
	// Required: true
	Data []*ModelsPeriod `json:"data"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelListPeriodsResponse Model list periods response

swagger:model Model list periods response.

func (*ModelListPeriodsResponse) MarshalBinary

func (m *ModelListPeriodsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelListPeriodsResponse) UnmarshalBinary

func (m *ModelListPeriodsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelListPeriodsResponse) Validate

func (m *ModelListPeriodsResponse) Validate(formats strfmt.Registry) error

Validate validates this Model list periods response

type ModelListScheduleByGoalResponse added in v0.76.0

type ModelListScheduleByGoalResponse struct {

	// data
	// Required: true
	Data []*ModelScheduleByGoalResponse `json:"data"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelListScheduleByGoalResponse Model list schedule by goal response

swagger:model Model list schedule by goal response.

func (*ModelListScheduleByGoalResponse) MarshalBinary added in v0.76.0

func (m *ModelListScheduleByGoalResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelListScheduleByGoalResponse) UnmarshalBinary added in v0.76.0

func (m *ModelListScheduleByGoalResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelListScheduleByGoalResponse) Validate added in v0.76.0

Validate validates this Model list schedule by goal response

type ModelListSchedulesResponse added in v0.76.0

type ModelListSchedulesResponse struct {

	// data
	// Required: true
	Data []*ModelScheduleResponse `json:"data"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelListSchedulesResponse Model list schedules response

swagger:model Model list schedules response.

func (*ModelListSchedulesResponse) MarshalBinary added in v0.76.0

func (m *ModelListSchedulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelListSchedulesResponse) UnmarshalBinary added in v0.76.0

func (m *ModelListSchedulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelListSchedulesResponse) Validate added in v0.76.0

func (m *ModelListSchedulesResponse) Validate(formats strfmt.Registry) error

Validate validates this Model list schedules response

type ModelListUserRewardsResponse

type ModelListUserRewardsResponse struct {

	// data
	// Required: true
	Data []*ModelUserReward `json:"data"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelListUserRewardsResponse Model list user rewards response

swagger:model Model list user rewards response.

func (*ModelListUserRewardsResponse) MarshalBinary

func (m *ModelListUserRewardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelListUserRewardsResponse) UnmarshalBinary

func (m *ModelListUserRewardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelListUserRewardsResponse) Validate

func (m *ModelListUserRewardsResponse) Validate(formats strfmt.Registry) error

Validate validates this Model list user rewards response

type ModelMoveGoalToSlotRequest added in v0.89.0

type ModelMoveGoalToSlotRequest struct {

	// slotindex
	// Required: true
	// Format: int32
	SlotIndex *int32 `json:"slotIndex"`
}

ModelMoveGoalToSlotRequest Model move goal to slot request

swagger:model Model move goal to slot request.

func (*ModelMoveGoalToSlotRequest) MarshalBinary added in v0.89.0

func (m *ModelMoveGoalToSlotRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelMoveGoalToSlotRequest) UnmarshalBinary added in v0.89.0

func (m *ModelMoveGoalToSlotRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelMoveGoalToSlotRequest) Validate added in v0.89.0

func (m *ModelMoveGoalToSlotRequest) Validate(formats strfmt.Registry) error

Validate validates this Model move goal to slot request

type ModelPagination

type ModelPagination struct {

	// first
	// Required: true
	First *string `json:"first"`

	// last
	// Required: true
	Last *string `json:"last"`

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

ModelPagination Model pagination

swagger:model Model pagination.

func (*ModelPagination) MarshalBinary

func (m *ModelPagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPagination) UnmarshalBinary

func (m *ModelPagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPagination) Validate

func (m *ModelPagination) Validate(formats strfmt.Registry) error

Validate validates this Model pagination

type ModelPluginAsignmentAppConfig added in v0.73.0

type ModelPluginAsignmentAppConfig struct {

	// appname
	// Required: true
	AppName *string `json:"appName"`
}

ModelPluginAsignmentAppConfig Model plugin asignment app config

swagger:model Model plugin asignment app config.

func (*ModelPluginAsignmentAppConfig) MarshalBinary added in v0.73.0

func (m *ModelPluginAsignmentAppConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPluginAsignmentAppConfig) UnmarshalBinary added in v0.73.0

func (m *ModelPluginAsignmentAppConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPluginAsignmentAppConfig) Validate added in v0.73.0

func (m *ModelPluginAsignmentAppConfig) Validate(formats strfmt.Registry) error

Validate validates this Model plugin asignment app config

type ModelPluginAssignmentCustomConfig added in v0.73.0

type ModelPluginAssignmentCustomConfig struct {

	// grpcserveraddress
	// Required: true
	GrpcServerAddress *string `json:"grpcServerAddress"`
}

ModelPluginAssignmentCustomConfig Model plugin assignment custom config

swagger:model Model plugin assignment custom config.

func (*ModelPluginAssignmentCustomConfig) MarshalBinary added in v0.73.0

func (m *ModelPluginAssignmentCustomConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPluginAssignmentCustomConfig) UnmarshalBinary added in v0.73.0

func (m *ModelPluginAssignmentCustomConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPluginAssignmentCustomConfig) Validate added in v0.73.0

Validate validates this Model plugin assignment custom config

type ModelPluginAssignmentRequest added in v0.73.0

type ModelPluginAssignmentRequest struct {

	// appname
	AppName string `json:"appName,omitempty"`

	// extendtype
	// Enum: ['APP', 'CUSTOM']
	// Required: true
	ExtendType *string `json:"extendType"`

	// grpcserveraddress
	GrpcServerAddress string `json:"grpcServerAddress,omitempty"`
}

ModelPluginAssignmentRequest Model plugin assignment request

swagger:model Model plugin assignment request.

func (*ModelPluginAssignmentRequest) MarshalBinary added in v0.73.0

func (m *ModelPluginAssignmentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPluginAssignmentRequest) UnmarshalBinary added in v0.73.0

func (m *ModelPluginAssignmentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPluginAssignmentRequest) Validate added in v0.73.0

func (m *ModelPluginAssignmentRequest) Validate(formats strfmt.Registry) error

Validate validates this Model plugin assignment request

type ModelPluginAssignmentResponse added in v0.73.0

type ModelPluginAssignmentResponse struct {

	// appconfig
	AppConfig *ModelPluginAsignmentAppConfig `json:"appConfig,omitempty"`

	// customconfig
	CustomConfig *ModelPluginAssignmentCustomConfig `json:"customConfig,omitempty"`

	// extendtype
	// Enum: ['APP', 'CUSTOM']
	// Required: true
	ExtendType *string `json:"extendType"`
}

ModelPluginAssignmentResponse Model plugin assignment response

swagger:model Model plugin assignment response.

func (*ModelPluginAssignmentResponse) MarshalBinary added in v0.73.0

func (m *ModelPluginAssignmentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPluginAssignmentResponse) UnmarshalBinary added in v0.73.0

func (m *ModelPluginAssignmentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPluginAssignmentResponse) Validate added in v0.73.0

func (m *ModelPluginAssignmentResponse) Validate(formats strfmt.Registry) error

Validate validates this Model plugin assignment response

type ModelPredicate

type ModelPredicate struct {

	// this is only required for updating existing predicates, it will be ignored when creating goals
	ID string `json:"id,omitempty"`

	// matcher
	// Enum: ['EQUAL', 'GREATER_THAN', 'GREATER_THAN_EQUAL', 'LESS_THAN', 'LESS_THAN_EQUAL']
	// Required: true
	Matcher *string `json:"matcher"`

	// parametername
	// Required: true
	ParameterName *string `json:"parameterName"`

	// parametertype
	// Enum: ['ACHIEVEMENT', 'ENTITLEMENT', 'STATISTIC', 'STATISTIC_CYCLE', 'USERACCOUNT']
	// Required: true
	ParameterType *string `json:"parameterType"`

	// statcycleid
	StatCycleID string `json:"statCycleId,omitempty"`

	// targetvalue
	// Required: true
	// Format: double
	TargetValue *float64 `json:"targetValue"`
}

ModelPredicate Model predicate

swagger:model Model predicate.

func (*ModelPredicate) MarshalBinary

func (m *ModelPredicate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPredicate) UnmarshalBinary

func (m *ModelPredicate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPredicate) Validate

func (m *ModelPredicate) Validate(formats strfmt.Registry) error

Validate validates this Model predicate

type ModelRequirement

type ModelRequirement struct {

	// operator
	// Enum: ['AND']
	// Required: true
	Operator *string `json:"operator"`

	// predicates
	// Required: true
	Predicates []*ModelPredicate `json:"predicates"`
}

ModelRequirement Model requirement

swagger:model Model requirement.

func (*ModelRequirement) MarshalBinary

func (m *ModelRequirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelRequirement) UnmarshalBinary

func (m *ModelRequirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelRequirement) Validate

func (m *ModelRequirement) Validate(formats strfmt.Registry) error

Validate validates this Model requirement

type ModelRequirementProgressionResponse

type ModelRequirementProgressionResponse struct {

	// completedat
	CompletedAt string `json:"completedAt,omitempty"`

	// currentvalue
	// Required: true
	// Format: double
	CurrentValue *float64 `json:"currentValue"`

	// id
	// Required: true
	ID *string `json:"id"`

	// matcher
	// Required: true
	Matcher *string `json:"matcher"`

	// parametername
	// Required: true
	ParameterName *string `json:"parameterName"`

	// parametertype
	// Required: true
	ParameterType *string `json:"parameterType"`

	// statcycleid
	StatCycleID string `json:"statCycleId,omitempty"`

	// targetvalue
	// Required: true
	// Format: double
	TargetValue *float64 `json:"targetValue"`
}

ModelRequirementProgressionResponse Model requirement progression response

swagger:model Model requirement progression response.

func (*ModelRequirementProgressionResponse) MarshalBinary

func (m *ModelRequirementProgressionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelRequirementProgressionResponse) UnmarshalBinary

func (m *ModelRequirementProgressionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelRequirementProgressionResponse) Validate

Validate validates this Model requirement progression response

type ModelResetConfig added in v0.71.0

type ModelResetConfig struct {

	// valid value are 1 to 31, default to 1 for MONTHLY rotation
	// Format: int32
	ResetDate int32 `json:"resetDate,omitempty"`

	// valid value are 1 (Monday) to 7 (Sunday), default to 1 for WEEKLY rotation
	// Format: int32
	ResetDay int32 `json:"resetDay,omitempty"`

	// format hh:mm, must be in UTC timezone, default '00:00' for all rotation
	ResetTime string `json:"resetTime,omitempty"`
}

ModelResetConfig Model reset config

swagger:model Model reset config.

func (*ModelResetConfig) MarshalBinary added in v0.71.0

func (m *ModelResetConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelResetConfig) UnmarshalBinary added in v0.71.0

func (m *ModelResetConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelResetConfig) Validate added in v0.71.0

func (m *ModelResetConfig) Validate(formats strfmt.Registry) error

Validate validates this Model reset config

type ModelReward

type ModelReward struct {

	// itemid
	// Required: true
	ItemID *string `json:"itemId"`

	// itemname
	// Required: true
	ItemName *string `json:"itemName"`

	// qty
	// Required: true
	// Format: float
	Qty *float32 `json:"qty"`

	// type
	// Enum: ['ENTITLEMENT', 'STATISTIC']
	// Required: true
	Type *string `json:"type"`
}

ModelReward Model reward

swagger:model Model reward.

func (*ModelReward) MarshalBinary

func (m *ModelReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelReward) UnmarshalBinary

func (m *ModelReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelReward) Validate

func (m *ModelReward) Validate(formats strfmt.Registry) error

Validate validates this Model reward

type ModelSchedule

type ModelSchedule struct {

	// challengecode
	// Required: true
	ChallengeCode *string `json:"challengeCode"`

	// createdat
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// endtime
	// Required: true
	EndTime *string `json:"endTime"`

	// goals
	// Required: true
	Goals []*ModelGoalOrder `json:"goals"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// starttime
	// Required: true
	StartTime *string `json:"startTime"`

	// updatedat
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ModelSchedule Model schedule

swagger:model Model schedule.

func (*ModelSchedule) MarshalBinary

func (m *ModelSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelSchedule) UnmarshalBinary

func (m *ModelSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelSchedule) Validate

func (m *ModelSchedule) Validate(formats strfmt.Registry) error

Validate validates this Model schedule

type ModelScheduleByGoalResponse added in v0.76.0

type ModelScheduleByGoalResponse struct {

	// endtime
	// Required: true
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime"`

	// starttime
	// Required: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime"`
}

ModelScheduleByGoalResponse Model schedule by goal response

swagger:model Model schedule by goal response.

func (*ModelScheduleByGoalResponse) MarshalBinary added in v0.76.0

func (m *ModelScheduleByGoalResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelScheduleByGoalResponse) UnmarshalBinary added in v0.76.0

func (m *ModelScheduleByGoalResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelScheduleByGoalResponse) Validate added in v0.76.0

func (m *ModelScheduleByGoalResponse) Validate(formats strfmt.Registry) error

Validate validates this Model schedule by goal response

type ModelScheduleResponse added in v0.76.0

type ModelScheduleResponse struct {

	// endtime
	// Required: true
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime"`

	// goals
	// Required: true
	Goals []*ModelGoalInSchedulesResponse `json:"goals"`

	// starttime
	// Required: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime"`
}

ModelScheduleResponse Model schedule response

swagger:model Model schedule response.

func (*ModelScheduleResponse) MarshalBinary added in v0.76.0

func (m *ModelScheduleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelScheduleResponse) UnmarshalBinary added in v0.76.0

func (m *ModelScheduleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelScheduleResponse) Validate added in v0.76.0

func (m *ModelScheduleResponse) Validate(formats strfmt.Registry) error

Validate validates this Model schedule response

type ModelTemplateSlotResponse added in v0.89.0

type ModelTemplateSlotResponse struct {

	// goals
	// Required: true
	Goals []*ModelGoalInSchedulesResponse `json:"goals"`

	// index
	// Required: true
	// Format: int32
	Index *int32 `json:"index"`
}

ModelTemplateSlotResponse Model template slot response

swagger:model Model template slot response.

func (*ModelTemplateSlotResponse) MarshalBinary added in v0.89.0

func (m *ModelTemplateSlotResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelTemplateSlotResponse) UnmarshalBinary added in v0.89.0

func (m *ModelTemplateSlotResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelTemplateSlotResponse) Validate added in v0.89.0

func (m *ModelTemplateSlotResponse) Validate(formats strfmt.Registry) error

Validate validates this Model template slot response

type ModelUpdateChallengeRequest added in v0.71.0

type ModelUpdateChallengeRequest struct {

	// activegoalsperrotation
	// Format: int32
	ActiveGoalsPerRotation int32 `json:"activeGoalsPerRotation,omitempty"`

	// assignmentrule
	// Enum: ['CUSTOM', 'FIXED', 'RANDOMIZED', 'UNSCHEDULED']
	AssignmentRule string `json:"assignmentRule,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// endafter
	// Format: int32
	EndAfter int32 `json:"endAfter,omitempty"`

	// enddate
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// goalsvisibility
	// Enum: ['PERIODONLY', 'SHOWALL']
	GoalsVisibility string `json:"goalsVisibility,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// randomizedperrotation
	RandomizedPerRotation bool `json:"randomizedPerRotation"`

	// repeatafter
	// Format: int32
	RepeatAfter int32 `json:"repeatAfter,omitempty"`

	// resetconfig
	ResetConfig *ModelResetConfig `json:"resetConfig,omitempty"`

	// rotation
	// Enum: ['DAILY', 'MONTHLY', 'NONE', 'WEEKLY']
	Rotation string `json:"rotation,omitempty"`

	// startdate
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// tags
	Tags []string `json:"tags,omitempty"`
}

ModelUpdateChallengeRequest Model update challenge request

swagger:model Model update challenge request.

func (*ModelUpdateChallengeRequest) MarshalBinary added in v0.71.0

func (m *ModelUpdateChallengeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUpdateChallengeRequest) UnmarshalBinary added in v0.71.0

func (m *ModelUpdateChallengeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUpdateChallengeRequest) Validate added in v0.71.0

func (m *ModelUpdateChallengeRequest) Validate(formats strfmt.Registry) error

Validate validates this Model update challenge request

type ModelUpdateChallengeScheduleRequest added in v0.74.0

type ModelUpdateChallengeScheduleRequest struct {

	// action
	// Enum: ['ACCELERATE', 'STOP']
	// Required: true
	Action *string `json:"action"`

	// enddate
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`
}

ModelUpdateChallengeScheduleRequest Model update challenge schedule request

swagger:model Model update challenge schedule request.

func (*ModelUpdateChallengeScheduleRequest) MarshalBinary added in v0.74.0

func (m *ModelUpdateChallengeScheduleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUpdateChallengeScheduleRequest) UnmarshalBinary added in v0.74.0

func (m *ModelUpdateChallengeScheduleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUpdateChallengeScheduleRequest) Validate added in v0.74.0

Validate validates this Model update challenge schedule request

type ModelUpdateGoalRequest

type ModelUpdateGoalRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// isactive
	IsActive bool `json:"isActive"`

	// name
	// Required: true
	Name *string `json:"name"`

	// requirementgroups
	RequirementGroups []*ModelRequirement `json:"requirementGroups,omitempty"`

	// rewards
	Rewards []*ModelReward `json:"rewards,omitempty"`

	// schedule
	Schedule *ModelGoalScheduleRequest `json:"schedule,omitempty"`

	// tags
	Tags []string `json:"tags,omitempty"`
}

ModelUpdateGoalRequest Model update goal request

swagger:model Model update goal request.

func (*ModelUpdateGoalRequest) MarshalBinary

func (m *ModelUpdateGoalRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUpdateGoalRequest) UnmarshalBinary

func (m *ModelUpdateGoalRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUpdateGoalRequest) Validate

func (m *ModelUpdateGoalRequest) Validate(formats strfmt.Registry) error

Validate validates this Model update goal request

type ModelUserProgressionPeriodResponseMeta added in v0.72.0

type ModelUserProgressionPeriodResponseMeta struct {

	// endtime
	// Required: true
	EndTime *string `json:"endTime"`

	// starttime
	// Required: true
	StartTime *string `json:"startTime"`
}

ModelUserProgressionPeriodResponseMeta Model user progression period response meta

swagger:model Model user progression period response meta.

func (*ModelUserProgressionPeriodResponseMeta) MarshalBinary added in v0.72.0

func (m *ModelUserProgressionPeriodResponseMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserProgressionPeriodResponseMeta) UnmarshalBinary added in v0.72.0

func (m *ModelUserProgressionPeriodResponseMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserProgressionPeriodResponseMeta) Validate added in v0.72.0

Validate validates this Model user progression period response meta

type ModelUserProgressionResponse

type ModelUserProgressionResponse struct {

	// data
	// Required: true
	Data []*ModelGoalProgressionResponse `json:"data"`

	// meta
	// Required: true
	Meta *ModelUserProgressionResponseMeta `json:"meta"`

	// paging
	// Required: true
	Paging *ModelPagination `json:"paging"`
}

ModelUserProgressionResponse Model user progression response

swagger:model Model user progression response.

func (*ModelUserProgressionResponse) MarshalBinary

func (m *ModelUserProgressionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserProgressionResponse) UnmarshalBinary

func (m *ModelUserProgressionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserProgressionResponse) Validate

func (m *ModelUserProgressionResponse) Validate(formats strfmt.Registry) error

Validate validates this Model user progression response

type ModelUserProgressionResponseMeta

type ModelUserProgressionResponseMeta struct {

	// challenge code
	// Required: true
	Code *string `json:"code"`

	// description
	// Required: true
	Description *string `json:"description"`

	// enddate
	EndDate string `json:"endDate,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// period
	// Required: true
	Period *ModelUserProgressionPeriodResponseMeta `json:"period"`

	// startdate
	// Required: true
	StartDate *string `json:"startDate"`

	// userid
	// Required: true
	UserID *string `json:"userId"`
}

ModelUserProgressionResponseMeta Model user progression response meta

swagger:model Model user progression response meta.

func (*ModelUserProgressionResponseMeta) MarshalBinary

func (m *ModelUserProgressionResponseMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserProgressionResponseMeta) UnmarshalBinary

func (m *ModelUserProgressionResponseMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserProgressionResponseMeta) Validate

Validate validates this Model user progression response meta

type ModelUserReward

type ModelUserReward struct {

	// challengecode
	// Required: true
	ChallengeCode *string `json:"challengeCode"`

	// createdat
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// goalcode
	// Required: true
	GoalCode *string `json:"goalCode"`

	// goalprogressionid
	// Required: true
	GoalProgressionID *string `json:"goalProgressionId"`

	// id
	// Required: true
	ID *string `json:"id"`

	// itemid
	// Required: true
	ItemID *string `json:"itemId"`

	// itemname
	// Required: true
	ItemName *string `json:"itemName"`

	// qty
	// Required: true
	// Format: float
	Qty *float32 `json:"qty"`

	// status
	// Enum: ['CLAIMED', 'UNCLAIMED']
	// Required: true
	Status *string `json:"status"`

	// type
	// Enum: ['ENTITLEMENT', 'STATISTIC']
	// Required: true
	Type *string `json:"type"`

	// updatedat
	// Required: true
	UpdatedAt *string `json:"updatedAt"`

	// userid
	// Required: true
	UserID *string `json:"userId"`
}

ModelUserReward Model user reward

swagger:model Model user reward.

func (*ModelUserReward) MarshalBinary

func (m *ModelUserReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserReward) UnmarshalBinary

func (m *ModelUserReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserReward) Validate

func (m *ModelUserReward) Validate(formats strfmt.Registry) error

Validate validates this Model user reward

type ModelsPeriod

type ModelsPeriod struct {

	// endtime
	// Required: true
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime"`

	// slot
	// Required: true
	// Format: int32
	Slot *int32 `json:"slot"`

	// starttime
	// Required: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime"`
}

ModelsPeriod Models period

swagger:model Models period.

func (*ModelsPeriod) MarshalBinary

func (m *ModelsPeriod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPeriod) UnmarshalBinary

func (m *ModelsPeriod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPeriod) Validate

func (m *ModelsPeriod) Validate(formats strfmt.Registry) error

Validate validates this Models period

type ResponseError

type ResponseError struct {

	// attributes
	// Required: true
	Attributes map[string]string `json:"attributes"`

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// errormessage
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// message
	// Required: true
	Message *string `json:"message"`

	// name
	// Required: true
	Name *string `json:"name"`
}

ResponseError Response error

swagger:model Response error.

func (*ResponseError) MarshalBinary

func (m *ResponseError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseError) UnmarshalBinary

func (m *ResponseError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseError) Validate

func (m *ResponseError) Validate(formats strfmt.Registry) error

Validate validates this Response error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL