Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiVersion ¶
type ApiVersion struct {
Id string `json:"id"`
MinVersion string `json:"min_version"`
Status string `json:"status"`
Updated string `json:"updated"`
Version string `json:"version"`
}
func (*ApiVersion) VersoinInfo ¶
func (v *ApiVersion) VersoinInfo() string
type ApiVersions ¶
type ApiVersions []ApiVersion
func (ApiVersions) Current ¶
func (client ApiVersions) Current() *ApiVersion
func (ApiVersions) Stable ¶
func (client ApiVersions) Stable() *ApiVersion
type Project ¶
type Project struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Domain Domain `json:"domain,omitempty"`
Description string `json:"description,omitempty"`
Enabled bool `json:"enabled,omitempty"`
DomainId string `json:"domain_id,omitempty"`
Tags []string `json:"tags,omitempty"`
IsDomain bool `json:"is_domain,omitempty"`
ParentId string `json:"parent_id,omitempty"`
}
type RequestId ¶
type RequestId struct {
// contains filtered or unexported fields
}
func (RequestId) GetRequestId ¶
func (*RequestId) SetRequestId ¶
type Resource ¶
type Resource struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Status string `json:"status,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
Created string `json:"created,omitempty"`
Updated string `json:"updated,omitempty"`
ProjectId string `json:"project_id,omitempty"`
TenantId string `json:"tenant_id,omitempty"`
UserId string `json:"user_id,omitempty"`
}
func (Resource) GetStructTags ¶
type User ¶
type User struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
Password string `json:"password"`
Project string `json:"project,omitempty"`
Description string `json:"description,omitempty"`
Email string `json:"email,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Domain Domain `json:"domain"`
DomainId string `json:"domain_id,omitempty"`
IsDomain bool `json:"is_domain,omitempty"`
ParentId bool `json:"parent_id,omitempty"`
Tags []string `json:"tags,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.