getWorkspace

On this page
Back to index

Summary

Retrieves a workspace by its name.
workspaceName
Stringrequired
The workspace name.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getWorkspace( workspaceName: "test-workspaceName" )