Documentation ¶
Index ¶
- Constants
- type ADTOForUnbanUserAPICall
- type ADTOForUpdateEqu8ConfigAPICall
- type ADTOObjectForEqu8UserBanStatus
- type ADTOObjectForEqu8UserStatus
- type Action
- type AddCountryGroupRequest
- type AddCountryGroupResponse
- type CountryGroupObject
- type CountryObject
- type Equ8Config
- type ErrorEntity
- type FieldValidationError
- type FileUploadURLInfo
- type NamespaceCreate
- type NamespaceInfo
- type NamespacePublisherInfo
- type NamespaceStatusUpdate
- type NamespaceUpdate
- type RetrieveCountryGroupResponse
- type RetrieveTimeResponse
- type UpdateCountryGroupRequest
- type UserBanRequest
- type UserProfileAdmin
- type UserProfileBulkRequest
- type UserProfileCreate
- type UserProfileInfo
- type UserProfilePrivateCreate
- type UserProfilePrivateInfo
- type UserProfilePrivateUpdate
- type UserProfilePublicInfo
- type UserProfileStatusUpdate
- type UserProfileUpdate
- type UserReportRequest
- type UserZipCode
- type UserZipCodeUpdate
- type ValidationErrorEntity
Constants ¶
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" )
const ( // NamespaceStatusUpdateStatusACTIVE captures enum value "ACTIVE" NamespaceStatusUpdateStatusACTIVE string = "ACTIVE" // NamespaceStatusUpdateStatusINACTIVE captures enum value "INACTIVE" NamespaceStatusUpdateStatusINACTIVE string = "INACTIVE" )
const ( // UserProfileAdminStatusACTIVE captures enum value "ACTIVE" UserProfileAdminStatusACTIVE string = "ACTIVE" // UserProfileAdminStatusINACTIVE captures enum value "INACTIVE" UserProfileAdminStatusINACTIVE string = "INACTIVE" )
const ( // UserProfileInfoStatusACTIVE captures enum value "ACTIVE" UserProfileInfoStatusACTIVE string = "ACTIVE" // UserProfileInfoStatusINACTIVE captures enum value "INACTIVE" UserProfileInfoStatusINACTIVE string = "INACTIVE" )
const ( // UserProfilePrivateInfoStatusACTIVE captures enum value "ACTIVE" UserProfilePrivateInfoStatusACTIVE string = "ACTIVE" // UserProfilePrivateInfoStatusINACTIVE captures enum value "INACTIVE" UserProfilePrivateInfoStatusINACTIVE string = "INACTIVE" )
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
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
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
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
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
MarshalBinary interface implementation
func (*Action) UnmarshalBinary ¶ added in v0.7.0
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Source Files ¶
- a_d_t_o_for_unban_user_api_call.go
- a_d_t_o_for_update_equ8_config_api_call.go
- a_d_t_o_object_for_equ8_user_ban_status.go
- a_d_t_o_object_for_equ8_user_status.go
- action.go
- add_country_group_request.go
- add_country_group_response.go
- country_group_object.go
- country_object.go
- equ8_config.go
- error_entity.go
- field_validation_error.go
- file_upload_url_info.go
- namespace_create.go
- namespace_info.go
- namespace_publisher_info.go
- namespace_status_update.go
- namespace_update.go
- retrieve_country_group_response.go
- retrieve_time_response.go
- update_country_group_request.go
- user_ban_request.go
- user_profile_admin.go
- user_profile_bulk_request.go
- user_profile_create.go
- user_profile_info.go
- user_profile_private_create.go
- user_profile_private_info.go
- user_profile_private_update.go
- user_profile_public_info.go
- user_profile_status_update.go
- user_profile_update.go
- user_report_request.go
- user_zip_code.go
- user_zip_code_update.go
- validation_error_entity.go