Loading...
Searching...
No Matches
GAMS.GAMSEngineConfiguration Class Reference

Configuration that allows the execution of jobs on a specific GAMS Engine instance. More...

Public Member Functions

 GAMSEngineConfiguration (string host=null, string username=null, string password=null, string jwt=null, string space=null)
 Constructor.
 

Properties

string Host [get, set]
 Base url.
 
string Username [get, set]
 Username for HTTP basic authentication.
 
string Password [get, set]
 Password for HTTP basic authentication.
 
string Jwt [get, set]
 JWT token to use for Bearer authentication. Will only be used if username is empty.
 
string Space [get, set]
 Namespace in which the job is to be executed.
 

Detailed Description

Configuration that allows the execution of jobs on a specific GAMS Engine instance.

Constructor & Destructor Documentation

◆ GAMSEngineConfiguration()

GAMS.GAMSEngineConfiguration.GAMSEngineConfiguration ( string  host = null,
string  username = null,
string  password = null,
string  jwt = null,
string  space = null 
)
inline

Constructor.

Parameters
hostBase url
usernameUsername for HTTP basic authentication
passwordPassword for HTTP basic authentication
jwtJWT token to use for Bearer authentication. Will only be used if username is empty.
spaceNamespace in which the job is to be executed

Property Documentation

◆ Host

string GAMS.GAMSEngineConfiguration.Host
getset

Base url.

◆ Jwt

string GAMS.GAMSEngineConfiguration.Jwt
getset

JWT token to use for Bearer authentication. Will only be used if username is empty.

◆ Password

string GAMS.GAMSEngineConfiguration.Password
getset

Password for HTTP basic authentication.

◆ Space

string GAMS.GAMSEngineConfiguration.Space
getset

Namespace in which the job is to be executed.

◆ Username

string GAMS.GAMSEngineConfiguration.Username
getset

Username for HTTP basic authentication.