Home Manual Reference Source Test Repository
public class | source

Channels

Extends:

BaseProvision → Channels

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

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

Set the certificate attribute

public

Set the description attribute

public

Set the name attribute

public

withOrganization(organization: string): Channels

Set the organization 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 withCertificate(certificate: string): Channels source

Set the certificate attribute

Params:

NameTypeAttributeDescription
certificate string

Return:

Channels

public withDescription(description: string): Channels source

Set the description attribute

Params:

NameTypeAttributeDescription
description string

required field

Return:

Channels

public withName(name: string): Channels source

Set the name attribute

Params:

NameTypeAttributeDescription
name string

required field

Return:

Channels

public withOrganization(organization: string): Channels source

Set the organization attribute

Params:

NameTypeAttributeDescription
organization string

Return:

Channels