Home Manual Reference Source Test Repository
public class | source

Softwares

Extends:

BaseProvision → Softwares

This is a base object that contains all you can do about Softwares.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public
public
public

Set the identifier attribute

public

Set the model attribute

public

Set the name attribute

public

Set the type attribute

public

Set the version attribute

Inherited Summary

From class BaseProvision
public

This invoke a request to OpenGate North API and the callback is managed by promises This function create a entity of provision

public

delete(body: *): Promise

This invoke a request to OpenGate North API and the callback is managed by promises This function deletes a entity of provision

public

This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision

Public Constructors

public constructor(Reference: InternalOpenGateAPI) source

Constructor

Override:

BaseProvision#constructor

Params:

NameTypeAttributeDescription
Reference InternalOpenGateAPI

to the API object.

Public Methods

public deleteInCascade(): * source

Return:

*

public updateInCascade(): * source

Return:

*

public withIdentifier(id: string): Softwares source

Set the identifier attribute

Params:

NameTypeAttributeDescription
id string

required field

Return:

Softwares

public withModels(models: Array): Softwares source

Set the model attribute

Params:

NameTypeAttributeDescription
models Array

Return:

Softwares

public withName(name: string): Softwares source

Set the name attribute

Params:

NameTypeAttributeDescription
name string

required field

Return:

Softwares

public withType(type: string): Softwares source

Set the type attribute

Params:

NameTypeAttributeDescription
type string

Return:

Softwares

public withVersion(version: string): Softwares source

Set the version attribute

Params:

NameTypeAttributeDescription
version string

required field

Return:

Softwares