AzureDevOpsScopeEnvironmentData Class

public final class AzureDevOpsScopeEnvironmentData
extends EnvironmentData

The AzureDevOps scope connector's environment data.

Constructor Summary

Constructor Description
AzureDevOpsScopeEnvironmentData()

Creates an instance of AzureDevOpsScopeEnvironmentData class.

Method Summary

Modifier and Type Method and Description
EnvironmentType environmentType()

Get the environmentType property: The type of the environment data.

static AzureDevOpsScopeEnvironmentData fromJson(JsonReader jsonReader)

Reads an instance of AzureDevOpsScopeEnvironmentData from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from EnvironmentData

Methods inherited from java.lang.Object

Constructor Details

AzureDevOpsScopeEnvironmentData

public AzureDevOpsScopeEnvironmentData()

Creates an instance of AzureDevOpsScopeEnvironmentData class.

Method Details

environmentType

public EnvironmentType environmentType()

Get the environmentType property: The type of the environment data.

Overrides:

AzureDevOpsScopeEnvironmentData.environmentType()

Returns:

the environmentType value.

fromJson

public static AzureDevOpsScopeEnvironmentData fromJson(JsonReader jsonReader)

Reads an instance of AzureDevOpsScopeEnvironmentData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureDevOpsScopeEnvironmentData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AzureDevOpsScopeEnvironmentData.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureDevOpsScopeEnvironmentData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AzureDevOpsScopeEnvironmentData.validate()

Applies to