challengeclientmodels

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 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 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"`

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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