Home Manual Reference Source Test Repository
public class | source

Organizations

Extends:

BaseProvision → Organizations

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

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

Sets the auth security configuration

public

Set the country code attribute

public

Set the description attribute

public

Set the parent domain

public

Set the lang code attribute

public

withLocation(latitude: number, longitude: number): Organizations

Sets the map location attribute

public

Set the name attribute

public

Set the onlyAssignedDomainCertificates attribute

public

Sets the password poliicy configuration

public

Set the plan attribute

public

Set the time zone attribute

public

Sets the map zoom 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 withAuth(auth: object): Organizations source

Sets the auth security configuration

Params:

NameTypeAttributeDescription
auth object

Return:

Organizations

public withCountryCode(countryCode: string): Organizations source

Set the country code attribute

Params:

NameTypeAttributeDescription
countryCode string

Return:

Organizations

public withDescription(description: string): Organizations source

Set the description attribute

Params:

NameTypeAttributeDescription
description string

Return:

Organizations

public withDomain(domain: string): Organizations source

Set the parent domain

Params:

NameTypeAttributeDescription
domain string

Return:

Organizations

public withLangCode(langCode: string): Organizations source

Set the lang code attribute

Params:

NameTypeAttributeDescription
langCode string

Return:

Organizations

public withLocation(latitude: number, longitude: number): Organizations source

Sets the map location attribute

Params:

NameTypeAttributeDescription
latitude number
longitude number

Return:

Organizations

public withName(name: string): Organizations source

Set the name attribute

Params:

NameTypeAttributeDescription
name string

required field

Return:

Organizations

public withOnlyAssignedDomainCertificates(onlyDomainCerts: boolean): Organizations source

Set the onlyAssignedDomainCertificates attribute

Params:

NameTypeAttributeDescription
onlyDomainCerts boolean

required field

Return:

Organizations

public withPasswordPolicy(passPolicy: object): Organizations source

Sets the password poliicy configuration

Params:

NameTypeAttributeDescription
passPolicy object

Return:

Organizations

public withPlan(plan: string): Organizations source

Set the plan attribute

Params:

NameTypeAttributeDescription
plan string

Return:

Organizations

public withTimeZone(timeZone: string): Organizations source

Set the time zone attribute

Params:

NameTypeAttributeDescription
timeZone string

Return:

Organizations

public withZoom(zoom: number): Organizations source

Sets the map zoom attribute

Params:

NameTypeAttributeDescription
zoom number

Return:

Organizations