basicclientmodels

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 5 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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

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

MarshalBinary interface implementation

func (*ConfigCreate) UnmarshalBinary added in v0.40.0

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

UnmarshalBinary interface implementation

func (*ConfigCreate) Validate added in v0.40.0

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

Validate validates this Config create

type ConfigInfo added in v0.40.0

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

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

MarshalBinary interface implementation

func (*ConfigInfo) UnmarshalBinary added in v0.40.0

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

UnmarshalBinary interface implementation

func (*ConfigInfo) Validate added in v0.40.0

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

Validate validates this Config info

type ConfigUpdate added in v0.40.0

type ConfigUpdate struct {

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

ConfigUpdate Config update

swagger:model Config update.

func (*ConfigUpdate) MarshalBinary added in v0.40.0

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

MarshalBinary interface implementation

func (*ConfigUpdate) UnmarshalBinary added in v0.40.0

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

UnmarshalBinary interface implementation

func (*ConfigUpdate) Validate added in v0.40.0

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

	// requiredpermission
	RequiredPermission *Permission `json:"requiredPermission,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 added in v0.63.0

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

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

MarshalBinary interface implementation

func (*NamespaceContext) UnmarshalBinary added in v0.63.0

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

UnmarshalBinary interface implementation

func (*NamespaceContext) Validate added in v0.63.0

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. Will be converted to lowercase
	// 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 NamespaceSimpleInfo added in v0.69.0

type NamespaceSimpleInfo struct {

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

NamespaceSimpleInfo Namespace simple info

swagger:model Namespace simple info.

func (*NamespaceSimpleInfo) MarshalBinary added in v0.69.0

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

MarshalBinary interface implementation

func (*NamespaceSimpleInfo) UnmarshalBinary added in v0.69.0

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

UnmarshalBinary interface implementation

func (*NamespaceSimpleInfo) Validate added in v0.69.0

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

Validate validates this Namespace simple 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 Permission added in v0.69.0

type Permission struct {

	// action
	// Format: int32
	Action int32 `json:"action,omitempty"`

	// resource
	Resource string `json:"resource,omitempty"`
}

Permission Permission

swagger:model Permission.

func (*Permission) MarshalBinary added in v0.69.0

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

MarshalBinary interface implementation

func (*Permission) UnmarshalBinary added in v0.69.0

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

UnmarshalBinary interface implementation

func (*Permission) Validate added in v0.69.0

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

Validate validates this Permission

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

type RetrieveTimeResponse struct {

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

RetrieveTimeResponse Retrieve time response

swagger:model Retrieve time response.

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

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

	// deprecated
	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) SetDateOfBirth added in v0.72.0

func (m *UserProfileAdmin) SetDateOfBirth(dateOfBirth *strfmt.Date)

SetDateOfBirth adds the dateOfBirth to the user profile admin

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

func (*UserProfileAdmin) WithDateOfBirth added in v0.72.0

func (m *UserProfileAdmin) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileAdmin

WithDateOfBirth adds the dateOfBirth to the user profile admin

type UserProfileBulkRequest added in v0.8.0

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

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

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

	// deprecated
	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) SetDateOfBirth added in v0.72.0

func (m *UserProfileCreate) SetDateOfBirth(dateOfBirth *strfmt.Date)

SetDateOfBirth adds the dateOfBirth to the user profile create

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

func (*UserProfileCreate) WithDateOfBirth added in v0.72.0

func (m *UserProfileCreate) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileCreate

WithDateOfBirth adds the dateOfBirth to the 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"`

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

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

	// deprecated
	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) SetDateOfBirth added in v0.72.0

func (m *UserProfileInfo) SetDateOfBirth(dateOfBirth *strfmt.Date)

SetDateOfBirth adds the dateOfBirth to the user profile info

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

func (*UserProfileInfo) WithDateOfBirth added in v0.72.0

func (m *UserProfileInfo) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileInfo

WithDateOfBirth adds the dateOfBirth to the 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"`

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

	// deprecated
	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) SetDateOfBirth added in v0.72.0

func (m *UserProfilePrivateCreate) SetDateOfBirth(dateOfBirth *strfmt.Date)

SetDateOfBirth adds the dateOfBirth to the user profile private create

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

func (*UserProfilePrivateCreate) WithDateOfBirth added in v0.72.0

func (m *UserProfilePrivateCreate) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfilePrivateCreate

WithDateOfBirth adds the dateOfBirth to the 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"`

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

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

	// deprecated
	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) SetDateOfBirth added in v0.72.0

func (m *UserProfilePrivateInfo) SetDateOfBirth(dateOfBirth *strfmt.Date)

SetDateOfBirth adds the dateOfBirth to the user profile private info

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

func (*UserProfilePrivateInfo) WithDateOfBirth added in v0.72.0

func (m *UserProfilePrivateInfo) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfilePrivateInfo

WithDateOfBirth adds the dateOfBirth to the 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"`

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

	// deprecated
	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) SetDateOfBirth added in v0.72.0

func (m *UserProfileUpdate) SetDateOfBirth(dateOfBirth *strfmt.Date)

SetDateOfBirth adds the dateOfBirth to the user profile update

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

func (*UserProfileUpdate) WithDateOfBirth added in v0.72.0

func (m *UserProfileUpdate) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileUpdate

WithDateOfBirth adds the dateOfBirth to the user profile update

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