response

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockedUser

type BlockedUser struct {
	ID        string `json:"id"`
	Username  string `json:"userName"`
	FirstName string `json:"firstName"`
}

type Conversation

type Conversation struct {
	ID            string `json:"id"`
	Type          string `json:"type"`
	RecentMessage string `json:"recentMessage"`

	IsGroup         bool `json:"isGroup"`
	UserBlocked     bool `json:"blockedUser"`
	UserLeft        bool `json:"leftConversation"`
	UserCanLeave    bool `json:"canLeave"`
	Archived        bool `json:"archived"`
	AllMessagesRead bool `json:"allMessagesRead"`

	Members      []Member               `json:"members"`
	Messages     *[]ConversationMessage `json:"messages"`
	LastModified string                 `json:"lastModified"`
}

type ConversationMessage

type ConversationMessage struct {
	ID          string `json:"id"`
	Sequence    int    `json:"sequence"`
	AddedBy     string `json:"addedBy"`
	MessageText string `json:"messageText"`
	MessageTime string `json:"messageTime"`
	ReadReceipt string `json:"readReceipt"`
}

type Conversations

type Conversations struct {
	Conversations []Conversation `json:"conversations"`
}

type Member

type Member struct {
	ID                string `json:"id"`
	Username          string `json:"userName"`
	FirstName         string `json:"firstName"`
	FullName          string `json:"fullName"`
	LastSeenMessageId int    `json:"LastSeenMessageId"`
}

type Preference

type Preference struct {
	SubscribeMail            bool `json:"subscribeMail"`
	SubscribeSms             bool `json:"subscribeSms"`
	ShowResourcesChart       bool `json:"showResourcesChart"`
	ShowScalesChartForBlocks bool `json:"showScalesChartForBlocks"`
	ShowScalesChartForPods   bool `json:"showScalesChartForPods"`
}

type Profile

type Profile struct {
	ID            string `json:"id"`
	Email         string `json:"email"`
	Username      string `json:"userName"`
	FirstName     string `json:"firstName"`
	MiddleName    string `json:"middleName"`
	LastName      string `json:"lastName"`
	PhoneNumber   string `json:"phoneNumber"`
	AddressUserBy string `json:"addressUserBy"`
	UserInitial   string `json:"userInitial"`
	AvatarName    string `json:"avatarName"`
	AvatarUrl     string `json:"avatarUrl"`

	IsInactive         bool `json:"inactive"`
	IsAnnualSubscriber bool `json:"isAnnualSubscriber"`

	BlockedUsers []BlockedUser `json:"blockedUsers"`
	Preferences  []Preference  `json:"preferences"`
}

type SearchUser

type SearchUser struct {
	ID        string `json:"id"`
	ProfileID string `json:"profileId"`
	Username  string `json:"userName"`
	FirstName string `json:"firstName"`
	FullName  string `json:"fullName"`
}

type SearchUsers

type SearchUsers struct {
	SearchUsers []SearchUser `json:"users"`
}

type SharedUser

type SharedUser struct {
	ID            string `json:"id"`
	Acl           string `json:"acl"`
	Username      string `json:"userName"`
	FirstName     string `json:"firstName"`
	LastName      string `json:"lastName"`
	FullName      string `json:"fullName"`
	AddressUserBy string `json:"addressUserBy"`
}

type TaggedUser

type TaggedUser struct {
	ID        string `json:"userId"`
	ProfileID string `json:"profileId"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Username  string `json:"username"`
	Initial   string `json:"userInitial"`
	Email     string `json:"email"`
}

type UnreadCount

type UnreadCount struct {
	UnreadCount int `json:"unreadCount"`
}

type User

type User struct {
	ID          string `json:"id"`
	Uuid        string `json:"uuid"`
	Email       string `json:"email"`
	Inactive    bool   `json:"inactive"`
	Deactivated bool   `json:"userDeactivated"`
	Dormant     bool   `json:"dormant"`
	AvatarUrl   string `json:"avatarUrl"`
	JwtToken    string `json:"jwtToken"`
}

type UserRegistration

type UserRegistration struct {
	User User `json:"user"`
}

type Users

type Users struct {
	Users []User `json:"users"`
}

type Version

type Version struct {
	Status              string  `json:"status"`
	Version             string  `json:"version"`
	InternalVersion     string  `json:"internalVersion"`
	DeploymentIteration *string `json:"deploymentIteration"`
}

Jump to

Keyboard shortcuts

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