Documentation
¶
Index ¶
- type ProtobufAny
- type RPCStatus
- type UserEmpty
- type UserLink
- type UserTag
- type UserUserAddRequest
- type UserUserCreditResponse
- func (m *UserUserCreditResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserCreditResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserCreditResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserCreditResponse) Validate(formats strfmt.Registry) error
- type UserUserGroupCreateRequest
- func (m *UserUserGroupCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserGroupCreateRequest) MarshalBinary() ([]byte, error)
- func (m *UserUserGroupCreateRequest) UnmarshalBinary(b []byte) error
- func (m *UserUserGroupCreateRequest) Validate(formats strfmt.Registry) error
- type UserUserGroupListResponse
- func (m *UserUserGroupListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserGroupListResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserGroupListResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserGroupListResponse) Validate(formats strfmt.Registry) error
- type UserUserGroupPrivateResponse
- func (m *UserUserGroupPrivateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserGroupPrivateResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserGroupPrivateResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserGroupPrivateResponse) Validate(formats strfmt.Registry) error
- type UserUserGroupPublicResponse
- func (m *UserUserGroupPublicResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserGroupPublicResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserGroupPublicResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserGroupPublicResponse) Validate(formats strfmt.Registry) error
- type UserUserGroupUpdateRequest
- func (m *UserUserGroupUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserGroupUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *UserUserGroupUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *UserUserGroupUpdateRequest) Validate(formats strfmt.Registry) error
- type UserUserListResponse
- type UserUserMembershipResponse
- func (m *UserUserMembershipResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserMembershipResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserMembershipResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserMembershipResponse) Validate(formats strfmt.Registry) error
- type UserUserPrivateResponse
- func (m *UserUserPrivateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserPrivateResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserPrivateResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserPrivateResponse) Validate(formats strfmt.Registry) error
- type UserUserPublicResponse
- func (m *UserUserPublicResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserPublicResponse) MarshalBinary() ([]byte, error)
- func (m *UserUserPublicResponse) UnmarshalBinary(b []byte) error
- func (m *UserUserPublicResponse) Validate(formats strfmt.Registry) error
- type UserUserRequest
- type UserUserUpdateRequest
- type UserUserUpdateRestrictedRequest
- func (m *UserUserUpdateRestrictedRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserUserUpdateRestrictedRequest) MarshalBinary() ([]byte, error)
- func (m *UserUserUpdateRestrictedRequest) UnmarshalBinary(b []byte) error
- func (m *UserUserUpdateRestrictedRequest) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtobufAny ¶
type ProtobufAny struct {
// type Url
TypeURL string `json:"typeUrl,omitempty"`
// value
// Format: byte
Value strfmt.Base64 `json:"value,omitempty"`
}
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RPCStatus ¶
type RPCStatus struct {
// code
Code int32 `json:"code,omitempty"`
// details
Details []*ProtobufAny `json:"details"`
// message
Message string `json:"message,omitempty"`
}
RPCStatus rpc status
swagger:model rpcStatus
func (*RPCStatus) ContextValidate ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserLink ¶
type UserLink struct {
// ID
ID string `json:"ID,omitempty"`
// group type
GroupType string `json:"groupType,omitempty"`
// personal data
PersonalData bool `json:"personalData,omitempty"`
// platform
Platform string `json:"platform,omitempty"`
// uri
URI string `json:"uri,omitempty"`
}
UserLink user link
swagger:model userLink
func (*UserLink) ContextValidate ¶
ContextValidate validates this user link based on context it is used
func (*UserLink) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserLink) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserTag ¶
type UserTag struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// type
Type string `json:"type,omitempty"`
}
UserTag user tag
swagger:model userTag
func (*UserTag) ContextValidate ¶
ContextValidate validates this user tag based on context it is used
func (*UserTag) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserTag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserUserAddRequest ¶
type UserUserAddRequest struct {
// country
Country string `json:"country,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// followed groups
FollowedGroups []string `json:"followedGroups"`
// full name
FullName string `json:"fullName,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// member
Member bool `json:"member,omitempty"`
// newsletter notification
NewsletterNotification bool `json:"newsletterNotification,omitempty"`
// role Id
RoleID int32 `json:"roleId,omitempty"`
// username
Username string `json:"username,omitempty"`
}
UserUserAddRequest user user add request
swagger:model userUserAddRequest
func (*UserUserAddRequest) ContextValidate ¶
ContextValidate validates this user user add request based on context it is used
func (*UserUserAddRequest) MarshalBinary ¶
func (m *UserUserAddRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserAddRequest) UnmarshalBinary ¶
func (m *UserUserAddRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserCreditResponse ¶
type UserUserCreditResponse struct {
// total
Total string `json:"total,omitempty"`
}
UserUserCreditResponse user user credit response
swagger:model userUserCreditResponse
func (*UserUserCreditResponse) ContextValidate ¶
func (m *UserUserCreditResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user credit response based on context it is used
func (*UserUserCreditResponse) MarshalBinary ¶
func (m *UserUserCreditResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserCreditResponse) UnmarshalBinary ¶
func (m *UserUserCreditResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserGroupCreateRequest ¶
type UserUserGroupCreateRequest struct {
// avatar
Avatar string `json:"avatar,omitempty"`
// banner
Banner string `json:"banner,omitempty"`
// description
Description string `json:"description,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// group email
GroupEmail string `json:"groupEmail,omitempty"`
// group type
GroupType string `json:"groupType,omitempty"`
// id
ID string `json:"id,omitempty"`
// links
Links []string `json:"links"`
// short bio
ShortBio string `json:"shortBio,omitempty"`
// tags
Tags []string `json:"tags"`
}
UserUserGroupCreateRequest user user group create request
swagger:model userUserGroupCreateRequest
func (*UserUserGroupCreateRequest) ContextValidate ¶
func (m *UserUserGroupCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user group create request based on context it is used
func (*UserUserGroupCreateRequest) MarshalBinary ¶
func (m *UserUserGroupCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserGroupCreateRequest) UnmarshalBinary ¶
func (m *UserUserGroupCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserGroupListResponse ¶
type UserUserGroupListResponse struct {
// usergroup
Usergroup []*UserUserGroupPrivateResponse `json:"usergroup"`
}
UserUserGroupListResponse user user group list response
swagger:model userUserGroupListResponse
func (*UserUserGroupListResponse) ContextValidate ¶
func (m *UserUserGroupListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this user user group list response based on the context it is used
func (*UserUserGroupListResponse) MarshalBinary ¶
func (m *UserUserGroupListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserGroupListResponse) UnmarshalBinary ¶
func (m *UserUserGroupListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserGroupPrivateResponse ¶
type UserUserGroupPrivateResponse struct {
// avatar
Avatar string `json:"avatar,omitempty"`
// banner
Banner string `json:"banner,omitempty"`
// created at
CreatedAt string `json:"createdAt,omitempty"`
// description
Description string `json:"description,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// repeated string followers = 9;
// repeated string members = 10;
// repeated string memberOfGroups = 11;
// repeated string links = 12;
// repeated string tags = 13;
// StreetAddress address = 13;
// Privacy privacy = 14;
// repeated RelatedUserGroup recommended_artists = 15;
// map<string, string> publisher = 16;
// map<string, string> pro = 17;
GroupEmail string `json:"groupEmail,omitempty"`
// group type
GroupType string `json:"groupType,omitempty"`
// id
ID string `json:"id,omitempty"`
// owner Id
OwnerID string `json:"ownerId,omitempty"`
// short bio
ShortBio string `json:"shortBio,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
UserUserGroupPrivateResponse user user group private response
swagger:model userUserGroupPrivateResponse
func (*UserUserGroupPrivateResponse) ContextValidate ¶
func (m *UserUserGroupPrivateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user group private response based on context it is used
func (*UserUserGroupPrivateResponse) MarshalBinary ¶
func (m *UserUserGroupPrivateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserGroupPrivateResponse) UnmarshalBinary ¶
func (m *UserUserGroupPrivateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserGroupPublicResponse ¶
type UserUserGroupPublicResponse struct {
// avatar
Avatar string `json:"avatar,omitempty"`
// banner
Banner string `json:"banner,omitempty"`
// description
Description string `json:"description,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// followers
Followers []string `json:"followers"`
// repeated RelatedUserGroup recommended_artists = 17;
// map<string, string> publisher = 21;
// map<string, string> pro = 22;
GroupEmail string `json:"groupEmail,omitempty"`
// group type
GroupType string `json:"groupType,omitempty"`
// links
Links []*UserLink `json:"links"`
// member of groups
MemberOfGroups []string `json:"memberOfGroups"`
// members
Members []string `json:"members"`
// short bio
ShortBio string `json:"shortBio,omitempty"`
// tags
Tags []string `json:"tags"`
}
UserUserGroupPublicResponse user user group public response
swagger:model userUserGroupPublicResponse
func (*UserUserGroupPublicResponse) ContextValidate ¶
func (m *UserUserGroupPublicResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this user user group public response based on the context it is used
func (*UserUserGroupPublicResponse) MarshalBinary ¶
func (m *UserUserGroupPublicResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserGroupPublicResponse) UnmarshalBinary ¶
func (m *UserUserGroupPublicResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserGroupUpdateRequest ¶
type UserUserGroupUpdateRequest struct {
// avatar
Avatar string `json:"avatar,omitempty"`
// banner
Banner string `json:"banner,omitempty"`
// description
Description string `json:"description,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// group email
GroupEmail string `json:"groupEmail,omitempty"`
// group type
GroupType string `json:"groupType,omitempty"`
// id
ID string `json:"id,omitempty"`
// links
Links []string `json:"links"`
// owner Id
OwnerID string `json:"ownerId,omitempty"`
// short bio
ShortBio string `json:"shortBio,omitempty"`
// tags
Tags []string `json:"tags"`
}
UserUserGroupUpdateRequest user user group update request
swagger:model userUserGroupUpdateRequest
func (*UserUserGroupUpdateRequest) ContextValidate ¶
func (m *UserUserGroupUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user group update request based on context it is used
func (*UserUserGroupUpdateRequest) MarshalBinary ¶
func (m *UserUserGroupUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserGroupUpdateRequest) UnmarshalBinary ¶
func (m *UserUserGroupUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserListResponse ¶
type UserUserListResponse struct {
// user
User []*UserUserPrivateResponse `json:"user"`
}
UserUserListResponse user user list response
swagger:model userUserListResponse
func (*UserUserListResponse) ContextValidate ¶
ContextValidate validate this user user list response based on the context it is used
func (*UserUserListResponse) MarshalBinary ¶
func (m *UserUserListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserListResponse) UnmarshalBinary ¶
func (m *UserUserListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserMembershipResponse ¶
type UserUserMembershipResponse struct {
// end
End string `json:"end,omitempty"`
// id
ID string `json:"id,omitempty"`
// membership class
MembershipClass string `json:"membershipClass,omitempty"`
// start
Start string `json:"start,omitempty"`
}
UserUserMembershipResponse user user membership response
swagger:model userUserMembershipResponse
func (*UserUserMembershipResponse) ContextValidate ¶
func (m *UserUserMembershipResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user membership response based on context it is used
func (*UserUserMembershipResponse) MarshalBinary ¶
func (m *UserUserMembershipResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserMembershipResponse) UnmarshalBinary ¶
func (m *UserUserMembershipResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserPrivateResponse ¶
type UserUserPrivateResponse struct {
// country
Country string `json:"country,omitempty"`
// email confirmed
EmailConfirmed bool `json:"emailConfirmed,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// followed groups
FollowedGroups []string `json:"followedGroups"`
// full name
FullName string `json:"fullName,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// legacy Id
LegacyID int32 `json:"legacyId,omitempty"`
// member
Member bool `json:"member,omitempty"`
// newsletter notification
NewsletterNotification bool `json:"newsletterNotification,omitempty"`
// owned groups
OwnedGroups []string `json:"ownedGroups"`
// personas
Personas []string `json:"personas"`
// role Id
RoleID int32 `json:"roleId,omitempty"`
// tenant Id
TenantID int32 `json:"tenantId,omitempty"`
// username
Username string `json:"username,omitempty"`
}
UserUserPrivateResponse user user private response
swagger:model userUserPrivateResponse
func (*UserUserPrivateResponse) ContextValidate ¶
func (m *UserUserPrivateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user private response based on context it is used
func (*UserUserPrivateResponse) MarshalBinary ¶
func (m *UserUserPrivateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserPrivateResponse) UnmarshalBinary ¶
func (m *UserUserPrivateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserPublicResponse ¶
type UserUserPublicResponse struct {
// country
Country string `json:"country,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// followed groups
FollowedGroups []string `json:"followedGroups"`
// full name
FullName string `json:"fullName,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// legacy Id
LegacyID int32 `json:"legacyId,omitempty"`
// member
Member bool `json:"member,omitempty"`
// owned groups
OwnedGroups []string `json:"ownedGroups"`
// personas
Personas []string `json:"personas"`
// role Id
RoleID int32 `json:"roleId,omitempty"`
// username
Username string `json:"username,omitempty"`
}
UserUserPublicResponse user user public response
swagger:model userUserPublicResponse
func (*UserUserPublicResponse) ContextValidate ¶
func (m *UserUserPublicResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user public response based on context it is used
func (*UserUserPublicResponse) MarshalBinary ¶
func (m *UserUserPublicResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserPublicResponse) UnmarshalBinary ¶
func (m *UserUserPublicResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserRequest ¶
type UserUserRequest struct {
// id
ID string `json:"id,omitempty"`
}
UserUserRequest user user request
swagger:model userUserRequest
func (*UserUserRequest) ContextValidate ¶
ContextValidate validates this user user request based on context it is used
func (*UserUserRequest) MarshalBinary ¶
func (m *UserUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserRequest) UnmarshalBinary ¶
func (m *UserUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserUpdateRequest ¶
type UserUserUpdateRequest struct {
// country
Country string `json:"country,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// full name
FullName string `json:"fullName,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// newsletter notification
NewsletterNotification bool `json:"newsletterNotification,omitempty"`
// role Id
RoleID int32 `json:"roleId,omitempty"`
// username
Username string `json:"username,omitempty"`
}
UserUserUpdateRequest user user update request
swagger:model userUserUpdateRequest
func (*UserUserUpdateRequest) ContextValidate ¶
ContextValidate validates this user user update request based on context it is used
func (*UserUserUpdateRequest) MarshalBinary ¶
func (m *UserUserUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserUpdateRequest) UnmarshalBinary ¶
func (m *UserUserUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUserUpdateRestrictedRequest ¶
type UserUserUpdateRestrictedRequest struct {
// first name
FirstName string `json:"firstName,omitempty"`
// full name
FullName string `json:"fullName,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// member
Member bool `json:"member,omitempty"`
// newsletter notification
NewsletterNotification bool `json:"newsletterNotification,omitempty"`
// role Id
RoleID int32 `json:"roleId,omitempty"`
// tenant Id
TenantID int32 `json:"tenantId,omitempty"`
// username
Username string `json:"username,omitempty"`
}
UserUserUpdateRestrictedRequest user user update restricted request
swagger:model userUserUpdateRestrictedRequest
func (*UserUserUpdateRestrictedRequest) ContextValidate ¶
func (m *UserUserUpdateRestrictedRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user user update restricted request based on context it is used
func (*UserUserUpdateRestrictedRequest) MarshalBinary ¶
func (m *UserUserUpdateRestrictedRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUserUpdateRestrictedRequest) UnmarshalBinary ¶
func (m *UserUserUpdateRestrictedRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- protobuf_any.go
- rpc_status.go
- user_empty.go
- user_link.go
- user_tag.go
- user_user_add_request.go
- user_user_credit_response.go
- user_user_group_create_request.go
- user_user_group_list_response.go
- user_user_group_private_response.go
- user_user_group_public_response.go
- user_user_group_update_request.go
- user_user_list_response.go
- user_user_membership_response.go
- user_user_private_response.go
- user_user_public_response.go
- user_user_request.go
- user_user_update_request.go
- user_user_update_restricted_request.go