Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLevelParams ¶
type CreateRequestParams ¶
type CreateRequestParams struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
Type featureEnum.Type `json:"type,omitempty"`
Unit string `json:"unit,omitempty"`
Levels []*CreateLevelParams `json:"levels,omitempty"`
}
type Feature ¶
type Feature struct {
Id string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Status featureEnum.Status `json:"status"`
Type featureEnum.Type `json:"type"`
Unit string `json:"unit"`
ResourceVersion int64 `json:"resource_version"`
UpdatedAt int64 `json:"updated_at"`
CreatedAt int64 `json:"created_at"`
Levels []*Level `json:"levels"`
CustomField map[string]interface{} `json:"custom_field"`
Object string `json:"object"`
}
type ListRequestParams ¶
type ListRequestParams struct {
Limit *int32 `json:"limit,omitempty"`
Offset string `json:"offset,omitempty"`
Name *filter.StringFilter `json:"name,omitempty"`
Id *filter.StringFilter `json:"id,omitempty"`
Status *filter.EnumFilter `json:"status,omitempty"`
Type *filter.EnumFilter `json:"type,omitempty"`
}
type UpdateLevelParams ¶
type UpdateRequestParams ¶
type UpdateRequestParams struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Unit string `json:"unit,omitempty"`
Levels []*UpdateLevelParams `json:"levels,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.