basicclientmodels

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

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 added in v0.7.0

type ADTOForUnbanUserAPICall struct {

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

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

ADTOForUnbanUserAPICall a d t o for unban user API call

swagger:model A DTO for unban user API call.

func (*ADTOForUnbanUserAPICall) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*ADTOForUnbanUserAPICall) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*ADTOForUnbanUserAPICall) Validate added in v0.7.0

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

Validate validates this a d t o for unban user API call

type ADTOForUpdateEqu8ConfigAPICall added in v0.7.0

type ADTOForUpdateEqu8ConfigAPICall struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`
}

ADTOForUpdateEqu8ConfigAPICall a d t o for update equ8 config API call

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

func (*ADTOForUpdateEqu8ConfigAPICall) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*ADTOForUpdateEqu8ConfigAPICall) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*ADTOForUpdateEqu8ConfigAPICall) Validate added in v0.7.0

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

Validate validates this a d t o for update equ8 config API call

type ADTOObjectForEqu8UserBanStatus added in v0.7.0

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 d t o object for equ8 user ban status

swagger:model A DTO object for equ8 user ban status

func (*ADTOObjectForEqu8UserBanStatus) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*ADTOObjectForEqu8UserBanStatus) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*ADTOObjectForEqu8UserBanStatus) Validate added in v0.7.0

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

Validate validates this a d t o object for equ8 user ban status

type ADTOObjectForEqu8UserStatus added in v0.7.0

type ADTOObjectForEqu8UserStatus struct {

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

	// action id
	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 d t o object for equ8 user status

swagger:model A DTO object for equ8 user status

func (*ADTOObjectForEqu8UserStatus) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*ADTOObjectForEqu8UserStatus) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*ADTOObjectForEqu8UserStatus) Validate added in v0.7.0

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

Validate validates this a d t o object for equ8 user status

type Action added in v0.7.0

type Action struct {

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

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

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

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

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

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

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

Action A DTO object for equ8 action.

swagger:model Action

func (*Action) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*Action) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*Action) Validate added in v0.7.0

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

Validate validates this action

type AddCountryGroupRequest

type AddCountryGroupRequest struct {

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

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// country group name
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

AddCountryGroupRequest add country group request

swagger:model AddCountryGroupRequest

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

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// country group name
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

AddCountryGroupResponse add country group response

swagger:model AddCountryGroupResponse

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 CountryGroupObject

type CountryGroupObject struct {

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

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// country group name
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

CountryGroupObject country group object

swagger:model CountryGroupObject

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 CountryObject

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 added in v0.7.0

type Equ8Config struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

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

Equ8Config equ8 config

swagger:model Equ8Config

func (*Equ8Config) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*Equ8Config) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*Equ8Config) Validate added in v0.7.0

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

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 {

	// error code
	ErrorCode string `json:"errorCode,omitempty"`

	// error field
	ErrorField string `json:"errorField,omitempty"`

	// error message
	ErrorMessage string `json:"errorMessage,omitempty"`

	// error value
	ErrorValue string `json:"errorValue,omitempty"`

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

FieldValidationError field validation error

swagger:model FieldValidationError

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 FileUploadUrlInfo

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

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 {

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

	// display name
	DisplayName string `json:"displayName,omitempty"`

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

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

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

NamespaceInfo namespace info

swagger:model NamespaceInfo

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 NamespacePublisherInfo

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
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`
}

NamespaceStatusUpdate A DTO object for updating namespace status API call.

swagger:model NamespaceStatusUpdate

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 NamespaceUpdate

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

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

	// country group name
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

RetrieveCountryGroupResponse retrieve country group response

swagger:model RetrieveCountryGroupResponse

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 added in v0.7.0

type RetrieveTimeResponse struct {

	// current time
	CurrentTime string `json:"currentTime,omitempty"`
}

RetrieveTimeResponse retrieve time response

swagger:model RetrieveTimeResponse

func (*RetrieveTimeResponse) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*RetrieveTimeResponse) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*RetrieveTimeResponse) Validate added in v0.7.0

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

Validate validates this retrieve time response

type UpdateCountryGroupRequest

type UpdateCountryGroupRequest struct {

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

	// country group name
	CountryGroupName string `json:"countryGroupName,omitempty"`
}

UpdateCountryGroupRequest update country group request

swagger:model UpdateCountryGroupRequest

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 added in v0.7.0

type UserBanRequest struct {

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

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

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

UserBanRequest A DTO for ban(temporarily/permanently) user API call.

swagger:model UserBanRequest

func (*UserBanRequest) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*UserBanRequest) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*UserBanRequest) Validate added in v0.7.0

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

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

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

	// first name
	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>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// last name
	LastName string `json:"lastName,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 A DTO object for updating user profile API call.

swagger:model UserProfileAdmin

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 added in v0.8.0

type UserProfileBulkRequest struct {

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

UserProfileBulkRequest user profile bulk request

swagger:model UserProfileBulkRequest

func (*UserProfileBulkRequest) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*UserProfileBulkRequest) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*UserProfileBulkRequest) Validate added in v0.8.0

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

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

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

	// first name
	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>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

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

UserProfileCreate A DTO object for creating user profile API call.

swagger:model UserProfileCreate

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 {

	// avatar large Url
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// avatar small Url
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// avatar Url
	AvatarURL string `json:"avatarUrl,omitempty"`

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

	// date of birth
	// Format: date
	DateOfBirth *strfmt.Date `json:"dateOfBirth,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

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

	// last name
	LastName string `json:"lastName,omitempty"`

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

	// public Id
	PublicID string `json:"publicId,omitempty"`

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

	// time zone
	TimeZone string `json:"timeZone,omitempty"`

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

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

UserProfileInfo user profile info

swagger:model UserProfileInfo

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

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

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

	// first name
	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>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

	// private custom attributes
	PrivateCustomAttributes map[string]interface{} `json:"privateCustomAttributes,omitempty"`

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

UserProfilePrivateCreate A DTO object for creating user profile API call.

swagger:model UserProfilePrivateCreate

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 {

	// avatar large Url
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// avatar small Url
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// avatar Url
	AvatarURL string `json:"avatarUrl,omitempty"`

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

	// date of birth
	// Format: date
	DateOfBirth *strfmt.Date `json:"dateOfBirth,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

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

	// last name
	LastName string `json:"lastName,omitempty"`

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

	// private custom attributes
	PrivateCustomAttributes map[string]interface{} `json:"privateCustomAttributes,omitempty"`

	// public Id
	PublicID string `json:"publicId,omitempty"`

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

	// time zone
	TimeZone string `json:"timeZone,omitempty"`

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

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

UserProfilePrivateInfo user profile private info

swagger:model UserProfilePrivateInfo

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 UserProfilePrivateUpdate

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

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

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

	// first name
	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>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

	// private custom attributes
	PrivateCustomAttributes map[string]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"`
}

UserProfilePrivateUpdate A DTO object for updating user profile API call.

swagger:model UserProfilePrivateUpdate

func (*UserProfilePrivateUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePrivateUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePrivateUpdate) Validate

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

Validate validates this user profile private update

type UserProfilePublicInfo

type UserProfilePublicInfo struct {

	// avatar large Url
	AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`

	// avatar small Url
	AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`

	// avatar Url
	AvatarURL string `json:"avatarUrl,omitempty"`

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

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

	// public Id
	PublicID string `json:"publicId,omitempty"`

	// time zone
	TimeZone string `json:"timeZone,omitempty"`

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

UserProfilePublicInfo user profile public info

swagger:model UserProfilePublicInfo

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
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`
}

UserProfileStatusUpdate A DTO object for updating user profile status API call.

swagger:model UserProfileStatusUpdate

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

	// custom attributes
	CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`

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

	// first name
	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>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

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

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

UserProfileUpdate A DTO object for updating user profile API call.

swagger:model UserProfileUpdate

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 added in v0.7.0

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 A DTO object for reporting user API call.

swagger:model UserReportRequest

func (*UserReportRequest) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*UserReportRequest) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*UserReportRequest) Validate added in v0.7.0

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

Validate validates this user report request

type UserZipCode

type UserZipCode struct {

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

UserZipCode user zip code

swagger:model UserZipCode

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 UserZipCodeUpdate

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
	ErrorCode *int32 `json:"errorCode"`

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

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

ValidationErrorEntity validation error entity

swagger:model ValidationErrorEntity

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