Documentation
¶
Overview ¶
Company represents a company in UserList.com
Index ¶
Constants ¶
View Source
const (
UserListBaseUrl = "https://push.userlist.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Company ¶
type Company struct {
Identifier string `json:"identifier"`
Name string `json:"name,omitempty"`
SignedUpAt string `json:"signed_up_at,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
Users []UserListUser `json:"users,omitempty"`
}
Company represents a company in UserList.com. It contains information about the company, including its identifier, name, sign-up date, custom properties, and associated users.
type CompanyCreateResponse ¶
type CompanyCreateResponse struct {
Identifier string `json:"id"`
}
type UserListUser ¶
type UserListUser struct {
Identifier string `json:"identifier,omitempty"`
Company string `json:"company,omitempty"`
Email string `json:"email,omitempty"`
SignedUpAt string `json:"signed_up_at,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
}
UserListUser represents a user in UserList.com. It contains information about the user, including their identifier, email, sign-up date, and custom properties.
type UserListUserToDelete ¶
type UserListUserToDelete struct {
Identifier string `json:"identifier"`
}
Click to show internal directories.
Click to hide internal directories.