Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllTodosConditionStatus = []TodosConditionStatus{ TodosConditionStatusDone, TodosConditionStatusAssigned, }
View Source
var AllTodosConditionUserStatus = []TodosConditionUserStatus{ TodosConditionUserStatusAvailable, TodosConditionUserStatusUnavailable, }
View Source
var AllTodosSortBy = []TodosSortBy{ TodosSortByNameAsc, TodosSortByNameDesc, }
Functions ¶
This section is empty.
Types ¶
type TodosCondition ¶
type TodosCondition struct { SearchText *string `json:"searchText,omitempty"` Statuses []TodosConditionStatus `json:"statuses,omitempty"` UserStatus *TodosConditionUserStatus `json:"userStatus,omitempty"` User *TodosConditionUser `json:"user,omitempty"` }
type TodosConditionStatus ¶
type TodosConditionStatus string
const ( TodosConditionStatusDone TodosConditionStatus = "DONE" TodosConditionStatusAssigned TodosConditionStatus = "ASSIGNED" )
func (TodosConditionStatus) IsValid ¶
func (e TodosConditionStatus) IsValid() bool
func (TodosConditionStatus) MarshalGQL ¶
func (e TodosConditionStatus) MarshalGQL(w io.Writer)
func (TodosConditionStatus) String ¶
func (e TodosConditionStatus) String() string
func (*TodosConditionStatus) UnmarshalGQL ¶
func (e *TodosConditionStatus) UnmarshalGQL(v interface{}) error
type TodosConditionUser ¶
type TodosConditionUser struct {
Name *string `json:"name,omitempty"`
}
type TodosConditionUserStatus ¶
type TodosConditionUserStatus string
const ( TodosConditionUserStatusAvailable TodosConditionUserStatus = "AVAILABLE" )
func (TodosConditionUserStatus) IsValid ¶
func (e TodosConditionUserStatus) IsValid() bool
func (TodosConditionUserStatus) MarshalGQL ¶
func (e TodosConditionUserStatus) MarshalGQL(w io.Writer)
func (TodosConditionUserStatus) String ¶
func (e TodosConditionUserStatus) String() string
func (*TodosConditionUserStatus) UnmarshalGQL ¶
func (e *TodosConditionUserStatus) UnmarshalGQL(v interface{}) error
type TodosSortBy ¶
type TodosSortBy string
const ( TodosSortByNameAsc TodosSortBy = "NAME_ASC" TodosSortByNameDesc TodosSortBy = "NAME_DESC" )
func (TodosSortBy) IsValid ¶
func (e TodosSortBy) IsValid() bool
func (TodosSortBy) MarshalGQL ¶
func (e TodosSortBy) MarshalGQL(w io.Writer)
func (TodosSortBy) String ¶
func (e TodosSortBy) String() string
func (*TodosSortBy) UnmarshalGQL ¶
func (e *TodosSortBy) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.