Documentation ¶
Index ¶
- func BatchCreate(params []warrant.ObjectParams) ([]warrant.Object, error)
- func BatchDelete(params []warrant.ObjectParams) (string, error)
- func Create(params *warrant.ObjectParams) (*warrant.Object, error)
- func Delete(objectType string, objectId string) (string, error)
- func Get(objectType string, objectId string, params *warrant.ObjectParams) (*warrant.Object, error)
- func ListObjects(listParams *warrant.ListObjectParams) (warrant.ListResponse[warrant.Object], error)
- func Update(objectType string, objectId string, params *warrant.ObjectParams) (*warrant.Object, error)
- type Client
- func (c Client) BatchCreate(params []warrant.ObjectParams) ([]warrant.Object, error)
- func (c Client) BatchDelete(params []warrant.ObjectParams) (string, error)
- func (c Client) Create(params *warrant.ObjectParams) (*warrant.Object, error)
- func (c Client) Delete(objectType string, objectId string) (string, error)
- func (c Client) Get(objectType string, objectId string, params *warrant.ObjectParams) (*warrant.Object, error)
- func (c Client) ListObjects(listParams *warrant.ListObjectParams) (warrant.ListResponse[warrant.Object], error)
- func (c Client) Update(objectType string, objectId string, params *warrant.ObjectParams) (*warrant.Object, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchCreate ¶
func BatchCreate(params []warrant.ObjectParams) ([]warrant.Object, error)
func BatchDelete ¶
func ListObjects ¶
func ListObjects(listParams *warrant.ListObjectParams) (warrant.ListResponse[warrant.Object], error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) BatchCreate ¶
func (Client) BatchDelete ¶
func (Client) ListObjects ¶
Click to show internal directories.
Click to hide internal directories.