Home Manual Reference Source Test Repository
public class | source

Workgroups

Extends:

BaseProvision → Workgroups

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

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

update(): *

public

Set the administrative attribute

public

Set the description attribute

public

Set the domain attribute

public

Set the name 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 update(): * source

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

Override:

BaseProvision#update

Return:

*

public withAdministrative(administrative: boolean): Workgroups source

Set the administrative attribute

Params:

NameTypeAttributeDescription
administrative boolean

Return:

Workgroups

public withDescription(description: string): Workgroups source

Set the description attribute

Params:

NameTypeAttributeDescription
description string

required field

Return:

Workgroups

public withDomainName(domainName: string): Workgroups source

Set the domain attribute

Params:

NameTypeAttributeDescription
domainName string

required field

Return:

Workgroups

public withName(name: string): Workgroups source

Set the name attribute

Params:

NameTypeAttributeDescription
name string

required field

Return:

Workgroups