basicclientmodels

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// NamespaceContextTypeGAME captures enum value "GAME"
	NamespaceContextTypeGAME string = "GAME"

	// NamespaceContextTypePUBLISHER captures enum value "PUBLISHER"
	NamespaceContextTypePUBLISHER string = "PUBLISHER"

	// NamespaceContextTypeSTUDIO captures enum value "STUDIO"
	NamespaceContextTypeSTUDIO string = "STUDIO"
)
View Source
const (

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

	// NamespaceInfoStatusDELETED captures enum value "DELETED"
	NamespaceInfoStatusDELETED string = "DELETED"

	// NamespaceInfoStatusINACTIVE captures enum value "INACTIVE"
	NamespaceInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

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

	// NamespaceStatusUpdateStatusINACTIVE captures enum value "INACTIVE"
	NamespaceStatusUpdateStatusINACTIVE string = "INACTIVE"
)
View Source
const (

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

	// UserProfileAdminStatusINACTIVE captures enum value "INACTIVE"
	UserProfileAdminStatusINACTIVE string = "INACTIVE"
)
View Source
const (

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

	// UserProfileInfoStatusINACTIVE captures enum value "INACTIVE"
	UserProfileInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

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

	// UserProfilePrivateInfoStatusINACTIVE captures enum value "INACTIVE"
	UserProfilePrivateInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

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

	// UserProfileStatusUpdateStatusINACTIVE captures enum value "INACTIVE"
	UserProfileStatusUpdateStatusINACTIVE string = "INACTIVE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ADTOForUnbanUserAPICall

type ADTOForUnbanUserAPICall struct {

	// comment
	Comment string `json:"comment,omitempty"`

	// user ids
	// Required: true
	UserIds []string `json:"userIds"`
}

ADTOForUnbanUserAPICall A DTO for unban user API call

swagger:model A DTO for unban user API call.

func (*ADTOForUnbanUserAPICall) MarshalBinary

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

MarshalBinary interface implementation

func (*ADTOForUnbanUserAPICall) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ADTOForUnbanUserAPICall) Validate

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

Validate validates this A DTO for unban user API call

type ADTOForUpdateEQU8ConfigAPICall

type ADTOForUpdateEQU8ConfigAPICall struct {

	// apikey
	APIKey string `json:"apiKey,omitempty"`
}

ADTOForUpdateEQU8ConfigAPICall A DTO for update equ8 config API call

swagger:model A DTO for update equ8 config API call.

func (*ADTOForUpdateEQU8ConfigAPICall) MarshalBinary

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

MarshalBinary interface implementation

func (*ADTOForUpdateEQU8ConfigAPICall) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ADTOForUpdateEQU8ConfigAPICall) Validate

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

Validate validates this A DTO for update equ8 config API call

type ADTOObjectForEQU8UserBanStatus

type ADTOObjectForEQU8UserBanStatus struct {

	// expire time, null if the user is permanently banned
	// Format: date-time
	Expires *strfmt.DateTime `json:"expires,omitempty"`

	// userId
	UserID string `json:"userId,omitempty"`
}

ADTOObjectForEQU8UserBanStatus A DTO object for equ8 user ban status

swagger:model A DTO object for equ8 user ban status.

func (*ADTOObjectForEQU8UserBanStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*ADTOObjectForEQU8UserBanStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ADTOObjectForEQU8UserBanStatus) Validate

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

Validate validates this A DTO object for equ8 user ban status

type ADTOObjectForEQU8UserStatus

type ADTOObjectForEQU8UserStatus struct {

	// action comment of this active action
	ActionComment string `json:"actionComment,omitempty"`

	// action id
	// Format: int32
	ActionID int32 `json:"actionId,omitempty"`

	// action end date
	// Format: date-time
	Expires *strfmt.DateTime `json:"expires,omitempty"`

	// current user
	UserID string `json:"userId,omitempty"`

	// action start date
	// Format: date-time
	When *strfmt.DateTime `json:"when,omitempty"`
}

ADTOObjectForEQU8UserStatus A DTO object for equ8 user status

swagger:model A DTO object for equ8 user status.

func (*ADTOObjectForEQU8UserStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*ADTOObjectForEQU8UserStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ADTOObjectForEQU8UserStatus) Validate

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

Validate validates this A DTO object for equ8 user status

type Action

type Action struct {

	// color
	Color string `json:"color,omitempty"`

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

	// action duration
	// Format: int64
	Duration int64 `json:"duration,omitempty"`

	// icon
	Icon string `json:"icon,omitempty"`

	// action id
	// Format: int32
	ID int32 `json:"id,omitempty"`

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

	// action priority
	// Format: int32
	Priority int32 `json:"priority,omitempty"`
}

Action Action

swagger:model Action.

func (*Action) MarshalBinary

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

MarshalBinary interface implementation

func (*Action) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Action) Validate

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

Validate validates this Action

type AddCountryGroupRequest

type AddCountryGroupRequest struct {

	// countries
	Countries []*CountryObject `json:"countries,omitempty"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// countrygroupname
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

AddCountryGroupRequest Add country group request

swagger:model Add country group request.

func (*AddCountryGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddCountryGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddCountryGroupRequest) Validate

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

Validate validates this Add country group request

type AddCountryGroupResponse

type AddCountryGroupResponse struct {

	// countries
	Countries []*CountryObject `json:"countries,omitempty"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// countrygroupname
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

AddCountryGroupResponse Add country group response

swagger:model Add country group response.

func (*AddCountryGroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AddCountryGroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddCountryGroupResponse) Validate

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

Validate validates this Add country group response

type ConfigCreate

type ConfigCreate struct {

	// key, only accept alphabet and numeric
	// Required: true
	Key *string `json:"key"`

	// value
	// Required: true
	Value *string `json:"value"`
}

ConfigCreate Config create

swagger:model Config create.

func (*ConfigCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigCreate) Validate

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

Validate validates this Config create

type ConfigInfo

type ConfigInfo struct {

	// createdat
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// updatedat
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ConfigInfo Config info

swagger:model Config info.

func (*ConfigInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigInfo) Validate

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

Validate validates this Config info

type ConfigUpdate

type ConfigUpdate struct {

	// value
	// Required: true
	Value *string `json:"value"`
}

ConfigUpdate Config update

swagger:model Config update.

func (*ConfigUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigUpdate) Validate

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

Validate validates this Config update

type CountryGroupObject

type CountryGroupObject struct {

	// countries
	Countries []*CountryObject `json:"countries,omitempty"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// countrygroupname
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

CountryGroupObject Country group object

swagger:model Country group object.

func (*CountryGroupObject) MarshalBinary

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

MarshalBinary interface implementation

func (*CountryGroupObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CountryGroupObject) Validate

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

Validate validates this Country group object

type CountryObject

type CountryObject struct {

	// code
	Code string `json:"code,omitempty"`

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

CountryObject Country object

swagger:model Country object.

func (*CountryObject) MarshalBinary

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

MarshalBinary interface implementation

func (*CountryObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CountryObject) Validate

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

Validate validates this Country object

type EQU8Config

type EQU8Config struct {

	// apikey
	APIKey string `json:"apiKey,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`
}

EQU8Config Equ8 config

swagger:model Equ8 config.

func (*EQU8Config) MarshalBinary

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

MarshalBinary interface implementation

func (*EQU8Config) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EQU8Config) Validate

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

Validate validates this Equ8 config

type ErrorEntity

type ErrorEntity struct {

	// internal server error stack trace in configured environment
	DevStackTrace string `json:"devStackTrace,omitempty"`

	// numeric error code
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// message variables
	MessageVariables map[string]string `json:"messageVariables,omitempty"`
}

ErrorEntity Error entity

swagger:model Error entity.

func (*ErrorEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorEntity) Validate

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

Validate validates this Error entity

type FieldValidationError

type FieldValidationError struct {

	// errorcode
	ErrorCode string `json:"errorCode,omitempty"`

	// errorfield
	ErrorField string `json:"errorField,omitempty"`

	// errormessage
	ErrorMessage string `json:"errorMessage,omitempty"`

	// errorvalue
	ErrorValue string `json:"errorValue,omitempty"`

	// messagevariables
	MessageVariables map[string]string `json:"messageVariables,omitempty"`
}

FieldValidationError Field validation error

swagger:model Field validation error.

func (*FieldValidationError) MarshalBinary

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

MarshalBinary interface implementation

func (*FieldValidationError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FieldValidationError) Validate

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

Validate validates this Field validation error

type FileUploadURLInfo

type FileUploadURLInfo struct {

	// URL for accessing file
	AccessURL string `json:"accessUrl,omitempty"`

	// File content-type
	ContentType string `json:"contentType,omitempty"`

	// HTTP method for uploading file
	Method string `json:"method,omitempty"`

	// URL for uploading file (S3 presigned URL)
	URL string `json:"url,omitempty"`
}

FileUploadURLInfo File upload url info

swagger:model File upload url info.

func (*FileUploadURLInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*FileUploadURLInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FileUploadURLInfo) Validate

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

Validate validates this File upload url info

type NamespaceContext

type NamespaceContext struct {

	// target namespace which need to get its context
	Namespace string `json:"namespace,omitempty"`

	// publisher namespace
	PublisherNamespace string `json:"publisherNamespace,omitempty"`

	// studio namespace, it will be empty when input namespace is publisher namespace
	StudioNamespace string `json:"studioNamespace,omitempty"`

	// input namespace type
	// Enum: ['Game', 'Publisher', 'Studio']
	Type string `json:"type,omitempty"`
}

NamespaceContext Namespace context

swagger:model Namespace context.

func (*NamespaceContext) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceContext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceContext) Validate

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

Validate validates this Namespace context

type NamespaceCreate

type NamespaceCreate struct {

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// namespace, only accept alphabet and numeric
	// Required: true
	Namespace *string `json:"namespace"`
}

NamespaceCreate Namespace create

swagger:model Namespace create.

func (*NamespaceCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceCreate) Validate

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

Validate validates this Namespace create

type NamespaceInfo

type NamespaceInfo struct {

	// clientId is only present on multi tenant mode with namespace is not publisher namespace
	ClientID string `json:"clientId,omitempty"`

	// createdat
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// namespace display name
	// Required: true
	DisplayName *string `json:"displayName"`

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

	// parentNamespace is only present in multi tenant mode
	ParentNamespace string `json:"parentNamespace,omitempty"`

	// status
	// Enum: ['ACTIVE', 'DELETED', 'INACTIVE']
	Status string `json:"status,omitempty"`

	// updatedat
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

NamespaceInfo Namespace info

swagger:model Namespace info.

func (*NamespaceInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceInfo) Validate

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

Validate validates this Namespace info

type NamespacePublisherInfo

type NamespacePublisherInfo struct {

	// inform whether the specified namespace is publisher namespace or not
	Publisher bool `json:"publisher"`

	// name of publisher namespace
	PublisherNamespace string `json:"publisherNamespace,omitempty"`
}

NamespacePublisherInfo Namespace publisher info

swagger:model Namespace publisher info.

func (*NamespacePublisherInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespacePublisherInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespacePublisherInfo) Validate

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

Validate validates this Namespace publisher info

type NamespaceStatusUpdate

type NamespaceStatusUpdate struct {

	// namespace status
	// Enum: ['ACTIVE', 'INACTIVE']
	// Required: true
	Status *string `json:"status"`
}

NamespaceStatusUpdate Namespace status update

swagger:model Namespace status update.

func (*NamespaceStatusUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceStatusUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceStatusUpdate) Validate

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

Validate validates this Namespace status update

type NamespaceUpdate

type NamespaceUpdate struct {

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`
}

NamespaceUpdate Namespace update

swagger:model Namespace update.

func (*NamespaceUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceUpdate) Validate

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

Validate validates this Namespace update

type RetrieveCountryGroupResponse

type RetrieveCountryGroupResponse struct {

	// countries
	Countries []*CountryObject `json:"countries,omitempty"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// countrygroupname
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

RetrieveCountryGroupResponse Retrieve country group response

swagger:model Retrieve country group response.

func (*RetrieveCountryGroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveCountryGroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveCountryGroupResponse) Validate

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

Validate validates this Retrieve country group response

type RetrieveTimeResponse

type RetrieveTimeResponse struct {

	// currenttime
	CurrentTime string `json:"currentTime,omitempty"`
}

RetrieveTimeResponse Retrieve time response

swagger:model Retrieve time response.

func (*RetrieveTimeResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveTimeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveTimeResponse) Validate

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

Validate validates this Retrieve time response

type UpdateCountryGroupRequest

type UpdateCountryGroupRequest struct {

	// countries
	Countries []*CountryObject `json:"countries,omitempty"`

	// countrygroupname
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

UpdateCountryGroupRequest Update country group request

swagger:model Update country group request.

func (*UpdateCountryGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateCountryGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateCountryGroupRequest) Validate

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

Validate validates this Update country group request

type UserBanRequest

type UserBanRequest struct {

	// action id
	// Required: true
	// Format: int32
	ActionID *int32 `json:"actionId"`

	// comment
	Comment string `json:"comment,omitempty"`

	// user ids that will be banned
	// Required: true
	UserIds []string `json:"userIds"`
}

UserBanRequest User ban request

swagger:model User ban request.

func (*UserBanRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UserBanRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserBanRequest) Validate

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

Validate validates this User ban request

type UserProfileAdmin

type UserProfileAdmin struct {

	// should be comply with OWASP url format
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// date of birth, allowed format: yyyy-MM-dd, valid date range from 1905-01-01 until present
	// Format: date
	DateOfBirth *string `json:"dateOfBirth,omitempty"`

	// firstname
	FirstName string `json:"firstName,omitempty"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	Language string `json:"language,omitempty"`

	// lastname
	LastName string `json:"lastName,omitempty"`

	// privatecustomattributes
	PrivateCustomAttributes interface{} `json:"privateCustomAttributes,omitempty"`

	// status
	// Enum: ['ACTIVE', 'INACTIVE']
	Status string `json:"status,omitempty"`

	// time zone, allowed IANA time zone, e.g.Asia/Shanghai
	TimeZone string `json:"timeZone,omitempty"`

	// zip code
	ZipCode string `json:"zipCode,omitempty"`
}

UserProfileAdmin User profile admin

swagger:model User profile admin.

func (*UserProfileAdmin) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileAdmin) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileAdmin) Validate

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

Validate validates this User profile admin

type UserProfileBulkRequest

type UserProfileBulkRequest struct {

	// User IDs, list of User ID with limit max to 100 User ID
	UserIds []string `json:"userIds,omitempty"`
}

UserProfileBulkRequest User profile bulk request

swagger:model User profile bulk request.

func (*UserProfileBulkRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileBulkRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileBulkRequest) Validate

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

Validate validates this User profile bulk request

type UserProfileCreate

type UserProfileCreate struct {

	// should be comply with OWASP url format
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// date of birth, allowed format: yyyy-MM-dd, valid date range from 1905-01-01 until present
	// Format: date
	DateOfBirth *string `json:"dateOfBirth,omitempty"`

	// firstname
	FirstName string `json:"firstName,omitempty"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	Language string `json:"language,omitempty"`

	// lastname
	LastName string `json:"lastName,omitempty"`

	// time zone, allowed IANA time zone, e.g.Asia/Shanghai
	TimeZone string `json:"timeZone,omitempty"`
}

UserProfileCreate User profile create

swagger:model User profile create.

func (*UserProfileCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileCreate) Validate

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

Validate validates this User profile create

type UserProfileInfo

type UserProfileInfo struct {

	// avatarlargeurl
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// avatarsmallurl
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// avatarurl
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// dateofbirth
	// Format: date
	DateOfBirth *string `json:"dateOfBirth,omitempty"`

	// firstname
	FirstName string `json:"firstName,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// lastname
	LastName string `json:"lastName,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// publicid
	PublicID string `json:"publicId,omitempty"`

	// status
	// Enum: ['ACTIVE', 'INACTIVE']
	Status string `json:"status,omitempty"`

	// timezone
	TimeZone string `json:"timeZone,omitempty"`

	// userid
	UserID string `json:"userId,omitempty"`

	// zipcode
	ZipCode string `json:"zipCode,omitempty"`
}

UserProfileInfo User profile info

swagger:model User profile info.

func (*UserProfileInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileInfo) Validate

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

Validate validates this User profile info

type UserProfilePrivateCreate

type UserProfilePrivateCreate struct {

	// should be comply with OWASP url format
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// date of birth, allowed format: yyyy-MM-dd, valid date range from 1905-01-01 until present
	// Format: date
	DateOfBirth *string `json:"dateOfBirth,omitempty"`

	// firstname
	FirstName string `json:"firstName,omitempty"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	Language string `json:"language,omitempty"`

	// lastname
	LastName string `json:"lastName,omitempty"`

	// privatecustomattributes
	PrivateCustomAttributes interface{} `json:"privateCustomAttributes,omitempty"`

	// time zone, allowed IANA time zone, e.g.Asia/Shanghai
	TimeZone string `json:"timeZone,omitempty"`
}

UserProfilePrivateCreate User profile private create

swagger:model User profile private create.

func (*UserProfilePrivateCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePrivateCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePrivateCreate) Validate

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

Validate validates this User profile private create

type UserProfilePrivateInfo

type UserProfilePrivateInfo struct {

	// avatarlargeurl
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// avatarsmallurl
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// avatarurl
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// dateofbirth
	// Format: date
	DateOfBirth *string `json:"dateOfBirth,omitempty"`

	// firstname
	FirstName string `json:"firstName,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// lastname
	LastName string `json:"lastName,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// privatecustomattributes
	PrivateCustomAttributes interface{} `json:"privateCustomAttributes,omitempty"`

	// publicid
	PublicID string `json:"publicId,omitempty"`

	// status
	// Enum: ['ACTIVE', 'INACTIVE']
	Status string `json:"status,omitempty"`

	// timezone
	TimeZone string `json:"timeZone,omitempty"`

	// userid
	UserID string `json:"userId,omitempty"`

	// zipcode
	ZipCode string `json:"zipCode,omitempty"`
}

UserProfilePrivateInfo User profile private info

swagger:model User profile private info.

func (*UserProfilePrivateInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePrivateInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePrivateInfo) Validate

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

Validate validates this User profile private info

type UserProfilePublicInfo

type UserProfilePublicInfo struct {

	// avatarlargeurl
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// avatarsmallurl
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// avatarurl
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// publicid
	PublicID string `json:"publicId,omitempty"`

	// timezone
	TimeZone string `json:"timeZone,omitempty"`

	// userid
	UserID string `json:"userId,omitempty"`
}

UserProfilePublicInfo User profile public info

swagger:model User profile public info.

func (*UserProfilePublicInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePublicInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePublicInfo) Validate

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

Validate validates this User profile public info

type UserProfileStatusUpdate

type UserProfileStatusUpdate struct {

	// status, ACTIVE or INACTIVE
	// Enum: ['ACTIVE', 'INACTIVE']
	// Required: true
	Status *string `json:"status"`
}

UserProfileStatusUpdate User profile status update

swagger:model User profile status update.

func (*UserProfileStatusUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileStatusUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileStatusUpdate) Validate

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

Validate validates this User profile status update

type UserProfileUpdate

type UserProfileUpdate struct {

	// should be comply with OWASP url format
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// should be comply with OWASP url format
	AvatarURL string `json:"avatarUrl,omitempty"`

	// customattributes
	CustomAttributes interface{} `json:"customAttributes,omitempty"`

	// date of birth, allowed format: yyyy-MM-dd, valid date range from 1905-01-01 until present
	// Format: date
	DateOfBirth *string `json:"dateOfBirth,omitempty"`

	// firstname
	FirstName string `json:"firstName,omitempty"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	Language string `json:"language,omitempty"`

	// lastname
	LastName string `json:"lastName,omitempty"`

	// privatecustomattributes
	PrivateCustomAttributes interface{} `json:"privateCustomAttributes,omitempty"`

	// time zone, allowed IANA time zone, e.g.Asia/Shanghai
	TimeZone string `json:"timeZone,omitempty"`

	// zip code
	ZipCode string `json:"zipCode,omitempty"`
}

UserProfileUpdate User profile update

swagger:model User profile update.

func (*UserProfileUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileUpdate) Validate

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

Validate validates this User profile update

type UserReportRequest

type UserReportRequest struct {

	// category
	// Required: true
	Category *string `json:"category"`

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

	// gameSessionId
	GameSessionID string `json:"gameSessionId,omitempty"`

	// subcategory, default: general
	Subcategory string `json:"subcategory,omitempty"`

	// reportee user id
	// Required: true
	UserID *string `json:"userId"`
}

UserReportRequest User report request

swagger:model User report request.

func (*UserReportRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UserReportRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserReportRequest) Validate

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

Validate validates this User report request

type UserZipCode

type UserZipCode struct {

	// zipcode
	ZipCode string `json:"zipCode,omitempty"`
}

UserZipCode User zip code

swagger:model User zip code.

func (*UserZipCode) MarshalBinary

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

MarshalBinary interface implementation

func (*UserZipCode) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserZipCode) Validate

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

Validate validates this User zip code

type UserZipCodeUpdate

type UserZipCodeUpdate struct {

	// zip code, accept alphabet and numeric string default
	// Required: true
	ZipCode *string `json:"zipCode"`
}

UserZipCodeUpdate User zip code update

swagger:model User zip code update.

func (*UserZipCodeUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserZipCodeUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserZipCodeUpdate) Validate

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

Validate validates this User zip code update

type ValidationErrorEntity

type ValidationErrorEntity struct {

	// numeric error code
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// errors
	Errors []*FieldValidationError `json:"errors,omitempty"`
}

ValidationErrorEntity Validation error entity

swagger:model Validation error entity.

func (*ValidationErrorEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*ValidationErrorEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ValidationErrorEntity) Validate

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

Validate validates this Validation error entity

Jump to

Keyboard shortcuts

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