Constructors
constructor
new Container<T>( schema: BasicSchema < T > , instance: Container ) : Container < T >
Defined in src/container.ts:9
Type parameters
Parameters
schema: BasicSchema < T >
instance: Container
Properties
Readonly instance
instance: Container
Methods
create
create( options?: RequestOptions ) : Promise < ContainerResponse >
Defined in src/container.ts:18
Parameters
Optional options: RequestOptions
Returns Promise < ContainerResponse >
createIfNotExists
createIfNotExists( options?: RequestOptions ) : Promise < ContainerResponse >
Defined in src/container.ts:25
Parameters
Optional options: RequestOptions
Returns Promise < ContainerResponse >
delete
delete( options?: RequestOptions ) : Promise < ContainerResponse >
Defined in src/container.ts:39
Parameters
Optional options: RequestOptions
Returns Promise < ContainerResponse >
replace
replace( options?: RequestOptions ) : Promise < ContainerResponse >
Defined in src/container.ts:32
Parameters
Optional options: RequestOptions
Returns Promise < ContainerResponse >
The Container provides an interface for accessing operations dealing with the container schema. It can conventially be retrieved from the
Model.container()
method, but you can also instantiate it manually.