Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescribeUsersInput ¶
type DescribeUsersInput struct {
Users []*string `json:"users" name:"users" location:"params"`
Limit *int `json:"limit" name:"limit" default:"20" location:"params"`
Offset *int `json:"offset" name:"offset" default:"0" location:"params"`
}
func (*DescribeUsersInput) Validate ¶
func (v *DescribeUsersInput) Validate() error
type DescribeUsersOutput ¶
type DescribeUsersOutput struct {
Message *string `json:"message" name:"message"`
UserSet []*User `json:"user_set" name:"user_set" location:"elements"`
Action *string `json:"action" name:"action" location:"elements"`
RetCode *int `json:"ret_code" name:"ret_code" location:"elements"`
TotalCount *int `json:"total_count" name:"total_count" location:"elements"`
}
type User ¶
type User struct {
UserID string `json:"user_id" name:"user_id"`
UserName string `json:"user_name" name:"user_name"`
Lang string `json:"lang" name:"lang"`
Email string `json:"email" name:"email"`
Phone string `json:"phone" name:"phone"`
Status string `json:"status" name:"status"`
Role string `json:"role" name:"role"`
Currency string `json:"currency" name:"currency"`
GravatarEmail string `json:"gravatar_email" name:"gravatar_email"`
Privilege int32 `json:"privilege" name:"privilege"`
Zones []string `json:"zones" name:"zones"`
Regions []string `json:"regions" name:"regions"`
}
func (*User) ToUserReply ¶
type UserService ¶
type UserService struct {
Config *config.Config
Properties *UserServiceProperties
}
func (*UserService) DescribeUsers ¶
func (s *UserService) DescribeUsers(i *DescribeUsersInput) (*DescribeUsersOutput, error)
type UserServiceProperties ¶
type UserServiceProperties struct {
// QingCloud Zone ID
Zone *string `json:"zone" name:"zone"` // Required
}
Click to show internal directories.
Click to hide internal directories.