basicclientmodels

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (

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

	// NamespaceInfoStatusINACTIVE captures enum value "INACTIVE"
	NamespaceInfoStatusINACTIVE string = "INACTIVE"

	// NamespaceInfoStatusDELETED captures enum value "DELETED"
	NamespaceInfoStatusDELETED string = "DELETED"
)
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"`

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

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

AddCountryGroupRequest add country group request

swagger:model AddCountryGroupRequest

func (*AddCountryGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddCountryGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddCountryGroupRequest) Validate

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

Validate validates this add country group request

type AddCountryGroupResponse

type AddCountryGroupResponse struct {

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

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

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

AddCountryGroupResponse add country group response

swagger:model AddCountryGroupResponse

func (*AddCountryGroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AddCountryGroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddCountryGroupResponse) Validate

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

Validate validates this add country group response

type CountryGroupObject

type CountryGroupObject struct {

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

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

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

CountryGroupObject country group object

swagger:model CountryGroupObject

func (*CountryGroupObject) MarshalBinary

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

MarshalBinary interface implementation

func (*CountryGroupObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CountryGroupObject) Validate

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

Validate validates this country group object

type CountryObject

type CountryObject struct {

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

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

CountryObject country object

swagger:model CountryObject

func (*CountryObject) MarshalBinary

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

MarshalBinary interface implementation

func (*CountryObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CountryObject) Validate

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

Validate validates this country object

type ErrorEntity

type ErrorEntity struct {

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

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

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

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

ErrorEntity error entity

swagger:model ErrorEntity

func (*ErrorEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorEntity) Validate

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

Validate validates this error entity

type FieldValidationError

type FieldValidationError struct {

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

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

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

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

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

FieldValidationError field validation error

swagger:model FieldValidationError

func (*FieldValidationError) MarshalBinary

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

MarshalBinary interface implementation

func (*FieldValidationError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FieldValidationError) Validate

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

Validate validates this field validation error

type FileUploadURLInfo

type FileUploadURLInfo struct {

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

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

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

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

FileUploadURLInfo file upload Url info

swagger:model FileUploadUrlInfo

func (*FileUploadURLInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*FileUploadURLInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FileUploadURLInfo) Validate

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

Validate validates this file upload Url info

type NamespaceCreate

type NamespaceCreate struct {

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

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

NamespaceCreate namespace create

swagger:model NamespaceCreate

func (*NamespaceCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceCreate) Validate

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

Validate validates this namespace create

type NamespaceInfo

type NamespaceInfo struct {

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

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

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

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

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

NamespaceInfo namespace info

swagger:model NamespaceInfo

func (*NamespaceInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceInfo) Validate

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

Validate validates this namespace info

type NamespacePublisherInfo

type NamespacePublisherInfo struct {

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

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

NamespacePublisherInfo namespace publisher info

swagger:model NamespacePublisherInfo

func (*NamespacePublisherInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespacePublisherInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespacePublisherInfo) Validate

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

Validate validates this namespace publisher info

type NamespaceStatusUpdate

type NamespaceStatusUpdate struct {

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

NamespaceStatusUpdate A DTO object for updating namespace status API call.

swagger:model NamespaceStatusUpdate

func (*NamespaceStatusUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceStatusUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceStatusUpdate) Validate

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

Validate validates this namespace status update

type NamespaceUpdate

type NamespaceUpdate struct {

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

NamespaceUpdate namespace update

swagger:model NamespaceUpdate

func (*NamespaceUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*NamespaceUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamespaceUpdate) Validate

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

Validate validates this namespace update

type RetrieveCountryGroupResponse

type RetrieveCountryGroupResponse struct {

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

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

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

RetrieveCountryGroupResponse retrieve country group response

swagger:model RetrieveCountryGroupResponse

func (*RetrieveCountryGroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveCountryGroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveCountryGroupResponse) Validate

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

Validate validates this retrieve country group response

type UpdateCountryGroupRequest

type UpdateCountryGroupRequest struct {

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

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

UpdateCountryGroupRequest update country group request

swagger:model UpdateCountryGroupRequest

func (*UpdateCountryGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateCountryGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateCountryGroupRequest) Validate

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

Validate validates this update country group request

type 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
	Language string `json:"language,omitempty"`

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

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

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

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

UserProfileAdmin A DTO object for updating user profile API call.

swagger:model UserProfileAdmin

func (*UserProfileAdmin) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileAdmin) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileAdmin) Validate

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

Validate validates this user profile admin

type 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
	Language string `json:"language,omitempty"`

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

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

UserProfileCreate A DTO object for creating user profile API call.

swagger:model UserProfileCreate

func (*UserProfileCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileCreate) Validate

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

Validate validates this user profile create

type UserProfileInfo

type UserProfileInfo struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

UserProfileInfo user profile info

swagger:model UserProfileInfo

func (*UserProfileInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileInfo) Validate

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

Validate validates this user profile info

type UserProfilePrivateCreate

type UserProfilePrivateCreate struct {

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

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

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

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

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

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

	// language value from language tag, allowed format: en, en-US
	Language string `json:"language,omitempty"`

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

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

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

UserProfilePrivateCreate A DTO object for creating user profile API call.

swagger:model UserProfilePrivateCreate

func (*UserProfilePrivateCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePrivateCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePrivateCreate) Validate

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

Validate validates this user profile private create

type UserProfilePrivateInfo

type UserProfilePrivateInfo struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

UserProfilePrivateInfo user profile private info

swagger:model UserProfilePrivateInfo

func (*UserProfilePrivateInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePrivateInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePrivateInfo) Validate

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

Validate validates this user profile private info

type UserProfilePrivateUpdate

type UserProfilePrivateUpdate struct {

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

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

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

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

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

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

	// language value from language tag, allowed format: en, en-US
	Language string `json:"language,omitempty"`

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

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

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

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

UserProfilePrivateUpdate A DTO object for updating user profile API call.

swagger:model UserProfilePrivateUpdate

func (*UserProfilePrivateUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePrivateUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePrivateUpdate) Validate

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

Validate validates this user profile private update

type UserProfilePublicInfo

type UserProfilePublicInfo struct {

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

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

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

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

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

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

UserProfilePublicInfo user profile public info

swagger:model UserProfilePublicInfo

func (*UserProfilePublicInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfilePublicInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfilePublicInfo) Validate

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

Validate validates this user profile public info

type UserProfileStatusUpdate

type UserProfileStatusUpdate struct {

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

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

swagger:model UserProfileStatusUpdate

func (*UserProfileStatusUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileStatusUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileStatusUpdate) Validate

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

Validate validates this user profile status update

type UserProfileUpdate

type UserProfileUpdate struct {

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

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

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

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

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

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

	// language value from language tag, allowed format: en, en-US
	Language string `json:"language,omitempty"`

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

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

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

UserProfileUpdate A DTO object for updating user profile API call.

swagger:model UserProfileUpdate

func (*UserProfileUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserProfileUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserProfileUpdate) Validate

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

Validate validates this user profile update

type UserZipCode

type UserZipCode struct {

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

UserZipCode user zip code

swagger:model UserZipCode

func (*UserZipCode) MarshalBinary

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

MarshalBinary interface implementation

func (*UserZipCode) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserZipCode) Validate

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

Validate validates this user zip code

type UserZipCodeUpdate

type UserZipCodeUpdate struct {

	// zip code
	// Required: true
	ZipCode *string `json:"zipCode"`
}

UserZipCodeUpdate user zip code update

swagger:model UserZipCodeUpdate

func (*UserZipCodeUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*UserZipCodeUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserZipCodeUpdate) Validate

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

Validate validates this user zip code update

type ValidationErrorEntity

type ValidationErrorEntity struct {

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

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

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

ValidationErrorEntity validation error entity

swagger:model ValidationErrorEntity

func (*ValidationErrorEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*ValidationErrorEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ValidationErrorEntity) Validate

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

Validate validates this validation error entity

Jump to

Keyboard shortcuts

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