Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericInterface ¶
type GenericInterface[T any] interface { List(context.Context, query.Interface) ([]*T, int, error) Create(context.Context, *T) (*T, error) Get(context.Context, string) (*T, error) Delete(context.Context, string) error Update(context.Context, string, *T) (*T, error) BulkUpdate(context.Context, []*T, api.BulkUpdateMode) error }
type Opt ¶
type Opt[T any] func(*generic[T])
func SkipProperties ¶
SkipProperties sets properties that will not be sent to REST API during create/update operations
func WithClientOptions ¶
func WithClientOptions[T any](copts ...api.ClientOption) Opt[T]
func WithPayloadDecoder ¶
func WithPayloadEncoder ¶
Click to show internal directories.
Click to hide internal directories.