Documentation ¶
Index ¶
- Constants
- type AddCountryGroupRequest
- type AddCountryGroupResponse
- type ConfigCreate
- type ConfigInfo
- type ConfigUpdate
- type CountryGroupObject
- type CountryObject
- type ErrorEntity
- type FieldValidationError
- type FileUploadURLInfo
- type NamespaceContext
- type NamespaceCreate
- type NamespaceInfo
- type NamespacePublisherInfo
- type NamespaceSimpleInfo
- type NamespaceStatusUpdate
- type NamespaceUpdate
- type Permission
- type RetrieveCountryGroupResponse
- type RetrieveTimeResponse
- type UpdateCountryGroupRequest
- type UserProfileAdmin
- func (m *UserProfileAdmin) MarshalBinary() ([]byte, error)
- func (m *UserProfileAdmin) SetDateOfBirth(dateOfBirth *strfmt.Date)
- func (m *UserProfileAdmin) UnmarshalBinary(b []byte) error
- func (m *UserProfileAdmin) Validate(formats strfmt.Registry) error
- func (m *UserProfileAdmin) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileAdmin
- type UserProfileBulkRequest
- type UserProfileCreate
- func (m *UserProfileCreate) MarshalBinary() ([]byte, error)
- func (m *UserProfileCreate) SetDateOfBirth(dateOfBirth *strfmt.Date)
- func (m *UserProfileCreate) UnmarshalBinary(b []byte) error
- func (m *UserProfileCreate) Validate(formats strfmt.Registry) error
- func (m *UserProfileCreate) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileCreate
- type UserProfileInfo
- func (m *UserProfileInfo) MarshalBinary() ([]byte, error)
- func (m *UserProfileInfo) SetDateOfBirth(dateOfBirth *strfmt.Date)
- func (m *UserProfileInfo) UnmarshalBinary(b []byte) error
- func (m *UserProfileInfo) Validate(formats strfmt.Registry) error
- func (m *UserProfileInfo) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileInfo
- type UserProfilePrivateCreate
- func (m *UserProfilePrivateCreate) MarshalBinary() ([]byte, error)
- func (m *UserProfilePrivateCreate) SetDateOfBirth(dateOfBirth *strfmt.Date)
- func (m *UserProfilePrivateCreate) UnmarshalBinary(b []byte) error
- func (m *UserProfilePrivateCreate) Validate(formats strfmt.Registry) error
- func (m *UserProfilePrivateCreate) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfilePrivateCreate
- type UserProfilePrivateInfo
- func (m *UserProfilePrivateInfo) MarshalBinary() ([]byte, error)
- func (m *UserProfilePrivateInfo) SetDateOfBirth(dateOfBirth *strfmt.Date)
- func (m *UserProfilePrivateInfo) UnmarshalBinary(b []byte) error
- func (m *UserProfilePrivateInfo) Validate(formats strfmt.Registry) error
- func (m *UserProfilePrivateInfo) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfilePrivateInfo
- type UserProfilePublicInfo
- type UserProfileStatusUpdate
- type UserProfileUpdate
- func (m *UserProfileUpdate) MarshalBinary() ([]byte, error)
- func (m *UserProfileUpdate) SetDateOfBirth(dateOfBirth *strfmt.Date)
- func (m *UserProfileUpdate) UnmarshalBinary(b []byte) error
- func (m *UserProfileUpdate) Validate(formats strfmt.Registry) error
- func (m *UserProfileUpdate) WithDateOfBirth(dateOfBirth *strfmt.Date) *UserProfileUpdate
- type UserZipCode
- type UserZipCodeUpdate
- type ValidationErrorEntity
Constants ¶
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" )
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Source Files ¶
- add_country_group_request.go
- add_country_group_response.go
- config_create.go
- config_info.go
- config_update.go
- country_group_object.go
- country_object.go
- error_entity.go
- field_validation_error.go
- file_upload_url_info.go
- namespace_context.go
- namespace_create.go
- namespace_info.go
- namespace_publisher_info.go
- namespace_simple_info.go
- namespace_status_update.go
- namespace_update.go
- permission.go
- retrieve_country_group_response.go
- retrieve_time_response.go
- update_country_group_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_public_info.go
- user_profile_status_update.go
- user_profile_update.go
- user_zip_code.go
- user_zip_code_update.go
- validation_error_entity.go