objecttype

package
v6.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchUpdate

func BatchUpdate(params []warrant.ObjectTypeParams) ([]warrant.ObjectType, error)

func Create

func Create(params *warrant.ObjectTypeParams) (*warrant.ObjectType, error)

func Delete

func Delete(objectTypeId string) (string, error)

func Get

func Get(objectTypeId string, params *warrant.ObjectTypeParams) (*warrant.ObjectType, error)

func ListObjectTypes

func ListObjectTypes(listParams *warrant.ListObjectTypeParams) (warrant.ListResponse[warrant.ObjectType], error)

func Update

func Update(objectTypeId string, params *warrant.ObjectTypeParams) (*warrant.ObjectType, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config warrant.ClientConfig) Client

func (Client) BatchUpdate

func (c Client) BatchUpdate(params []warrant.ObjectTypeParams) ([]warrant.ObjectType, error)

func (Client) Create

func (c Client) Create(params *warrant.ObjectTypeParams) (*warrant.ObjectType, error)

func (Client) Delete

func (c Client) Delete(objectTypeId string) (string, error)

func (Client) Get

func (c Client) Get(objectTypeId string, params *warrant.ObjectTypeParams) (*warrant.ObjectType, error)

func (Client) ListObjectTypes

func (c Client) ListObjectTypes(listParams *warrant.ListObjectTypeParams) (warrant.ListResponse[warrant.ObjectType], error)

func (Client) Update

func (c Client) Update(objectTypeId string, params *warrant.ObjectTypeParams) (*warrant.ObjectType, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL