challengeclientmodels

package
v0.66.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// 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 (

	// 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"

	// ModelGoalProgressionResponseStatusRETIRED captures enum value "RETIRED"
	ModelGoalProgressionResponseStatusRETIRED string = "RETIRED"
)
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"

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

	// 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 (

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

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

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

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

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

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

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

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

	// ModelsUpdateChallengeRequestRotationWEEKLY captures enum value "WEEKLY"
	ModelsUpdateChallengeRequestRotationWEEKLY string = "WEEKLY"
)
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"`
}

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 ModelChallengeResponse

type ModelChallengeResponse struct {

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

	// assignmentrule
	// Enum: ['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"`

	// 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"`

	// 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 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 ModelCreateChallengeRequest

type ModelCreateChallengeRequest struct {

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

	// assignmentrule
	// Enum: ['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"`

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

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

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 *ModelGoalSchedule `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 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"`

	// 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 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"`

	// 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', 'RETIRED']
	// Required: true
	Status *string `json:"status"`
}

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"`

	// schedule
	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 {

	// 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"`
}

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 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 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 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 ModelPredicate

type ModelPredicate struct {

	// 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', 'STATISTIC', 'USERACCOUNT']
	// Required: true
	ParameterType *string `json:"parameterType"`

	// 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"`

	// currrentvalue
	// Format: double
	CurrrentValue float64 `json:"currrentValue,omitempty"`

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

	// 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 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 ModelUpdateGoalRequest

type ModelUpdateGoalRequest struct {

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

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

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

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

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

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

	// tags
	// Required: true
	Tags []string `json:"tags"`
}

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 ModelUserProgressionResponse

type ModelUserProgressionResponse struct {

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

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

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 {

	// 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"`

	// 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"`

	// 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
	// Required: true
	Status *string `json:"status"`

	// type
	// 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 ModelsUpdateChallengeRequest

type ModelsUpdateChallengeRequest struct {

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

	// assignmentrule
	// Enum: ['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"`

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

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

ModelsUpdateChallengeRequest Models update challenge request

swagger:model Models update challenge request.

func (*ModelsUpdateChallengeRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateChallengeRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateChallengeRequest) Validate

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

Validate validates this Models update challenge request

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

Jump to

Keyboard shortcuts

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