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:
ReferenceInternalOpenGateAPI - to the API object.
applicableTo
function applicableTo(applicableTo: array) -> 'OperationType'Allows the modification of the applicableTo
Arguments:
applicableToarray
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:
fromCatalogstring
Returns:
OperationType
update
function update() -> 'Promise'Udpate a Rule
Returns:
Promise
withDescription
function withDescription(description: string) -> 'OperationType'Set the description attribute
Arguments:
descriptionstring
Returns:
OperationType
withIdentifier
function withIdentifier(name: string) -> 'OperationType'Set the name for update attribute
Arguments:
namestring - required field
Returns:
OperationType
withModels
function withModels(models: array) -> 'OperationType'Allows the modification of the allowed models
Arguments:
modelsarray
Returns:
OperationType
withName
function withName(name: string) -> 'OperationType'Set the name attribute
Arguments:
namestring - required field
Returns:
OperationType
withOrganization
function withOrganization(organization: string) -> 'OperationType'Set the organization attribute
Arguments:
organizationstring - required field
Returns:
OperationType
withParameters
function withParameters(parameters: array) -> 'OperationType'Allows the modification of the parameters
Arguments:
parametersarray
Returns:
OperationType
withProfiles
function withProfiles(profiles: array) -> 'OperationType'Allows the modification of the profiles allowed
Arguments:
profilesarray
Returns:
OperationType
withSteps
function withSteps(steps: array) -> 'OperationType'Allows the modification of the steps
Arguments:
stepsarray
Returns:
OperationType
withTitle
function withTitle(title: string) -> 'OperationType'Set the title attribute
Arguments:
titlestring - required field
Returns:
OperationType