Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MendixSdkClient

Client class that provides access to all Platform and Model APIs.

Hierarchy

  • MendixSdkClient

Index

Constructors

constructor

  • new MendixSdkClient(username: string, apikey?: undefined | string, password?: undefined | string, openid?: undefined | string, projectsApiEndpoint?: undefined | string, modelServerEndpoint?: undefined | string, options?: SdkOptions): MendixSdkClient
  • Create a new client to access Mendix Platform and Model APIs.

    Parameters

    • username: string

      Username of your account (same as username used to log in to the Mendix Development Portal)

    • Optional apikey: undefined | string

      API key for your account.

    • Optional password: undefined | string

      Alternative way to authenticate with username, password and openid

    • Optional openid: undefined | string

      Alternative way to authenticate with username, password and openid

    • Optional projectsApiEndpoint: undefined | string

      For internal use. Connects to a custom instance of the Projects API.

    • Optional modelServerEndpoint: undefined | string

      For internal use. Connects to a custom instance of the Model API.

    • Optional options: SdkOptions

      a JSON object containing configuration options for the SDK Client.

    Returns MendixSdkClient

Properties

Private _modelSdkClient

_modelSdkClient: ModelSdkClient

Private _options

_options: SdkOptions

Private _platformSdkClient

_platformSdkClient: PlatformSdkClient

Static Private DEFAULT_POLL_DELAY

DEFAULT_POLL_DELAY: number = 1000

Static Private DEFAULT_PROJECTSAPI_ENDPOINT

DEFAULT_PROJECTSAPI_ENDPOINT: string = "https://sprintr.home.mendix.com"

Methods

model

  • model(): ModelSdkClient
  • Returns ModelSdkClient

options

  • Returns SdkOptions

platform

Generated using TypeDoc