Operation Type

OperationType

OperationType Objects

class OperationType()

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

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

applicableTo
function applicableTo(applicableTo: array) -> 'OperationType'

Allows the modification of the applicableTo

Arguments:

  • applicableTo array

Returns:

  • OperationType

create
function create() -> 'Promise'

Create a new Rule

Returns:

  • Promise

delete
function delete() -> 'Promise'

Deletes the selected RuleConfiguration

Returns:

  • Promise

fromCatalog
function fromCatalog(fromCatalog: string) -> 'OperationType'

Set the catalog

Arguments:

  • fromCatalog string

Returns:

  • OperationType

update
function update() -> 'Promise'

Udpate a Rule

Returns:

  • Promise

withDescription
function withDescription(description: string) -> 'OperationType'

Set the description attribute

Arguments:

  • description string

Returns:

  • OperationType

withIdentifier
function withIdentifier(name: string) -> 'OperationType'

Set the name for update attribute

Arguments:

  • name string - required field

Returns:

  • OperationType

withModels
function withModels(models: array) -> 'OperationType'

Allows the modification of the allowed models

Arguments:

  • models array

Returns:

  • OperationType

withName
function withName(name: string) -> 'OperationType'

Set the name attribute

Arguments:

  • name string - required field

Returns:

  • OperationType

withOrganization
function withOrganization(organization: string) -> 'OperationType'

Set the organization attribute

Arguments:

  • organization string - required field

Returns:

  • OperationType

withParameters
function withParameters(parameters: array) -> 'OperationType'

Allows the modification of the parameters

Arguments:

  • parameters array

Returns:

  • OperationType

withProfiles
function withProfiles(profiles: array) -> 'OperationType'

Allows the modification of the profiles allowed

Arguments:

  • profiles array

Returns:

  • OperationType

withSteps
function withSteps(steps: array) -> 'OperationType'

Allows the modification of the steps

Arguments:

  • steps array

Returns:

  • OperationType

withTitle
function withTitle(title: string) -> 'OperationType'

Set the title attribute

Arguments:

  • title string - required field

Returns:

  • OperationType