Documentation
¶
Index ¶
- Constants
- type AddCountryGroupRequest
- type AddCountryGroupResponse
- type CountryGroupObject
- type CountryObject
- type ErrorEntity
- type FieldValidationError
- type FileUploadURLInfo
- type NamespaceCreate
- type NamespaceInfo
- type NamespacePublisherInfo
- type NamespaceStatusUpdate
- type NamespaceUpdate
- type RetrieveCountryGroupResponse
- type UpdateCountryGroupRequest
- type UserProfileAdmin
- type UserProfileCreate
- type UserProfileInfo
- type UserProfilePrivateCreate
- type UserProfilePrivateInfo
- type UserProfilePrivateUpdate
- type UserProfilePublicInfo
- type UserProfileStatusUpdate
- type UserProfileUpdate
- type UserZipCode
- type UserZipCodeUpdate
- type ValidationErrorEntity
Constants ¶
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" )
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"`
// country group code
CountryGroupCode string `json:"countryGroupCode,omitempty"`
// country group name
CountryGroupName string `json:"countryGroupName,omitempty"`
}
AddCountryGroupRequest add country group request
swagger:model AddCountryGroupRequest
func (*AddCountryGroupRequest) MarshalBinary ¶
func (m *AddCountryGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddCountryGroupRequest) UnmarshalBinary ¶
func (m *AddCountryGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddCountryGroupResponse ¶
type AddCountryGroupResponse struct {
// countries
Countries []*CountryObject `json:"countries"`
// country group code
CountryGroupCode string `json:"countryGroupCode,omitempty"`
// country group name
CountryGroupName string `json:"countryGroupName,omitempty"`
}
AddCountryGroupResponse add country group response
swagger:model AddCountryGroupResponse
func (*AddCountryGroupResponse) MarshalBinary ¶
func (m *AddCountryGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddCountryGroupResponse) UnmarshalBinary ¶
func (m *AddCountryGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CountryGroupObject ¶
type CountryGroupObject struct {
// countries
Countries []*CountryObject `json:"countries"`
// country group code
CountryGroupCode string `json:"countryGroupCode,omitempty"`
// country group name
CountryGroupName string `json:"countryGroupName,omitempty"`
}
CountryGroupObject country group object
swagger:model CountryGroupObject
func (*CountryGroupObject) MarshalBinary ¶
func (m *CountryGroupObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CountryGroupObject) UnmarshalBinary ¶
func (m *CountryGroupObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CountryObject ¶
type CountryObject struct {
// code
Code string `json:"code,omitempty"`
// name
Name string `json:"name,omitempty"`
}
CountryObject country object
swagger:model CountryObject
func (*CountryObject) MarshalBinary ¶
func (m *CountryObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CountryObject) UnmarshalBinary ¶
func (m *CountryObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorEntity ¶
type ErrorEntity struct {
// internal server error stack trace in configured environment
DevStackTrace string `json:"devStackTrace,omitempty"`
// numeric error code
// Required: true
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
// message variables
MessageVariables map[string]string `json:"messageVariables,omitempty"`
}
ErrorEntity error entity
swagger:model ErrorEntity
func (*ErrorEntity) MarshalBinary ¶
func (m *ErrorEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorEntity) UnmarshalBinary ¶
func (m *ErrorEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldValidationError ¶
type FieldValidationError struct {
// error code
ErrorCode string `json:"errorCode,omitempty"`
// error field
ErrorField string `json:"errorField,omitempty"`
// error message
ErrorMessage string `json:"errorMessage,omitempty"`
// error value
ErrorValue string `json:"errorValue,omitempty"`
// message variables
MessageVariables map[string]string `json:"messageVariables,omitempty"`
}
FieldValidationError field validation error
swagger:model FieldValidationError
func (*FieldValidationError) MarshalBinary ¶
func (m *FieldValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldValidationError) UnmarshalBinary ¶
func (m *FieldValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FileUploadURLInfo ¶
type FileUploadURLInfo struct {
// URL for accessing file
AccessURL string `json:"accessUrl,omitempty"`
// File content-type
ContentType string `json:"contentType,omitempty"`
// HTTP method for uploading file
Method string `json:"method,omitempty"`
// URL for uploading file (S3 presigned URL)
URL string `json:"url,omitempty"`
}
FileUploadURLInfo file upload Url info
swagger:model FileUploadUrlInfo
func (*FileUploadURLInfo) MarshalBinary ¶
func (m *FileUploadURLInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FileUploadURLInfo) UnmarshalBinary ¶
func (m *FileUploadURLInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamespaceCreate ¶
type NamespaceCreate struct {
// display name
// Required: true
DisplayName *string `json:"displayName"`
// namespace, only accept alphabet and numeric
// Required: true
Namespace *string `json:"namespace"`
}
NamespaceCreate namespace create
swagger:model NamespaceCreate
func (*NamespaceCreate) MarshalBinary ¶
func (m *NamespaceCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamespaceCreate) UnmarshalBinary ¶
func (m *NamespaceCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamespaceInfo ¶
type NamespaceInfo struct {
// created at
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// status
// Enum: [ACTIVE 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
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
type NamespaceStatusUpdate ¶
type NamespaceStatusUpdate struct {
// namespace status
// Required: true
// Enum: [ACTIVE INACTIVE]
Status *string `json:"status"`
}
NamespaceStatusUpdate A DTO object for updating namespace status API call.
swagger:model NamespaceStatusUpdate
func (*NamespaceStatusUpdate) MarshalBinary ¶
func (m *NamespaceStatusUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamespaceStatusUpdate) UnmarshalBinary ¶
func (m *NamespaceStatusUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamespaceUpdate ¶
type NamespaceUpdate struct {
// display name
// Required: true
DisplayName *string `json:"displayName"`
}
NamespaceUpdate namespace update
swagger:model NamespaceUpdate
func (*NamespaceUpdate) MarshalBinary ¶
func (m *NamespaceUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamespaceUpdate) UnmarshalBinary ¶
func (m *NamespaceUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RetrieveCountryGroupResponse ¶
type RetrieveCountryGroupResponse struct {
// countries
Countries []*CountryObject `json:"countries"`
// country group code
CountryGroupCode string `json:"countryGroupCode,omitempty"`
// country group name
CountryGroupName string `json:"countryGroupName,omitempty"`
}
RetrieveCountryGroupResponse retrieve country group response
swagger:model RetrieveCountryGroupResponse
func (*RetrieveCountryGroupResponse) MarshalBinary ¶
func (m *RetrieveCountryGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RetrieveCountryGroupResponse) UnmarshalBinary ¶
func (m *RetrieveCountryGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCountryGroupRequest ¶
type UpdateCountryGroupRequest struct {
// countries
Countries []*CountryObject `json:"countries"`
// country group name
CountryGroupName string `json:"countryGroupName,omitempty"`
}
UpdateCountryGroupRequest update country group request
swagger:model UpdateCountryGroupRequest
func (*UpdateCountryGroupRequest) MarshalBinary ¶
func (m *UpdateCountryGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCountryGroupRequest) UnmarshalBinary ¶
func (m *UpdateCountryGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
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
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
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
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
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
type UserProfileStatusUpdate ¶
type UserProfileStatusUpdate struct {
// status, ACTIVE or INACTIVE
// Required: true
// Enum: [ACTIVE INACTIVE]
Status *string `json:"status"`
}
UserProfileStatusUpdate A DTO object for updating user profile status API call.
swagger:model UserProfileStatusUpdate
func (*UserProfileStatusUpdate) MarshalBinary ¶
func (m *UserProfileStatusUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserProfileStatusUpdate) UnmarshalBinary ¶
func (m *UserProfileStatusUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserProfileUpdate ¶
type UserProfileUpdate struct {
// should be comply with OWASP url format
AvatarLargeURL string `json:"avatarLargeUrl,omitempty"`
// should be comply with OWASP url format
AvatarSmallURL string `json:"avatarSmallUrl,omitempty"`
// should be comply with OWASP url format
AvatarURL string `json:"avatarUrl,omitempty"`
// custom attributes
CustomAttributes map[string]interface{} `json:"customAttributes,omitempty"`
// date of birth, allowed format: yyyy-MM-dd, valid date range from 1905-01-01 until present
// Format: date
DateOfBirth strfmt.Date `json:"dateOfBirth,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// language value from language tag, allowed format: en, en-US
Language string `json:"language,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// time zone, allowed IANA time zone, e.g.Asia/Shanghai
TimeZone string `json:"timeZone,omitempty"`
// zip code
ZipCode string `json:"zipCode,omitempty"`
}
UserProfileUpdate A DTO object for updating user profile API call.
swagger:model UserProfileUpdate
func (*UserProfileUpdate) MarshalBinary ¶
func (m *UserProfileUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserProfileUpdate) UnmarshalBinary ¶
func (m *UserProfileUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserZipCode ¶
type UserZipCode struct {
// zip code
ZipCode string `json:"zipCode,omitempty"`
}
UserZipCode user zip code
swagger:model UserZipCode
func (*UserZipCode) MarshalBinary ¶
func (m *UserZipCode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserZipCode) UnmarshalBinary ¶
func (m *UserZipCode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserZipCodeUpdate ¶
type UserZipCodeUpdate struct {
// zip code
// Required: true
ZipCode *string `json:"zipCode"`
}
UserZipCodeUpdate user zip code update
swagger:model UserZipCodeUpdate
func (*UserZipCodeUpdate) MarshalBinary ¶
func (m *UserZipCodeUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserZipCodeUpdate) UnmarshalBinary ¶
func (m *UserZipCodeUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationErrorEntity ¶
type ValidationErrorEntity struct {
// numeric error code
// Required: true
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
// errors
Errors []*FieldValidationError `json:"errors"`
}
ValidationErrorEntity validation error entity
swagger:model ValidationErrorEntity
func (*ValidationErrorEntity) MarshalBinary ¶
func (m *ValidationErrorEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationErrorEntity) UnmarshalBinary ¶
func (m *ValidationErrorEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- add_country_group_request.go
- add_country_group_response.go
- country_group_object.go
- country_object.go
- error_entity.go
- field_validation_error.go
- file_upload_url_info.go
- namespace_create.go
- namespace_info.go
- namespace_publisher_info.go
- namespace_status_update.go
- namespace_update.go
- retrieve_country_group_response.go
- update_country_group_request.go
- user_profile_admin.go
- user_profile_create.go
- user_profile_info.go
- user_profile_private_create.go
- user_profile_private_info.go
- user_profile_private_update.go
- user_profile_public_info.go
- user_profile_status_update.go
- user_profile_update.go
- user_zip_code.go
- user_zip_code_update.go
- validation_error_entity.go