Documentation ¶
Index ¶
- type CollectionDeleteRequest
- type CollectionGetRequest
- type CollectionGetResponse
- type CreateRequest
- type CreateResponse
- type DeleteRequest
- type Handler
- func (h Handler) CollectionDelete(req CollectionDeleteRequest) error
- func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
- func (h Handler) Create(req CreateRequest) (CreateResponse, error)
- func (h Handler) Delete(req DeleteRequest) error
- func (Handler) Kind() string
- func (h Handler) Update(req UpdateRequest) error
- type UpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionDeleteRequest ¶
type CollectionDeleteRequest = model.VariableDeleteInputs
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.VariableQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.Variable, variable.OrderOption, ] `query:",inline"` IncludeInherited bool `query:"includeInherited,omitempty"` }
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.VariableOutput
type CreateRequest ¶
type CreateRequest struct {
model.VariableCreateInput `path:",inline" json:",inline"`
}
func (*CreateRequest) Validate ¶
func (r *CreateRequest) Validate() error
type CreateResponse ¶
type CreateResponse = *model.VariableOutput
type DeleteRequest ¶
type DeleteRequest = model.VariableDeleteInput
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CollectionDelete ¶
func (h Handler) CollectionDelete(req CollectionDeleteRequest) error
func (Handler) CollectionGet ¶
func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
func (Handler) Create ¶
func (h Handler) Create(req CreateRequest) (CreateResponse, error)
func (Handler) Delete ¶
func (h Handler) Delete(req DeleteRequest) error
func (Handler) Update ¶
func (h Handler) Update(req UpdateRequest) error
type UpdateRequest ¶
type UpdateRequest = model.VariableUpdateInput
Click to show internal directories.
Click to hide internal directories.