FunctionShellToolParameterEnvironmentContainerReferenceParameter Class

public final class FunctionShellToolParameterEnvironmentContainerReferenceParameter
extends FunctionShellToolParamEnvironment

The FunctionShellToolParameterEnvironmentContainerReferenceParameter model.

Constructor Summary

Constructor Description
FunctionShellToolParameterEnvironmentContainerReferenceParameter(String containerId)

Creates an instance of FunctionShellToolParameterEnvironmentContainerReferenceParameter class.

Method Summary

Modifier and Type Method and Description
static FunctionShellToolParameterEnvironmentContainerReferenceParameter fromJson(JsonReader jsonReader)

Reads an instance of FunctionShellToolParameterEnvironmentContainerReferenceParameter from the JsonReader.

String getContainerId()

Get the containerId property: The ID of the referenced container.

FunctionShellToolParamEnvironmentType getType()

Get the type property: The type property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from FunctionShellToolParamEnvironment

Methods inherited from java.lang.Object

Constructor Details

FunctionShellToolParameterEnvironmentContainerReferenceParameter

public FunctionShellToolParameterEnvironmentContainerReferenceParameter(String containerId)

Creates an instance of FunctionShellToolParameterEnvironmentContainerReferenceParameter class.

Parameters:

containerId - the containerId value to set.

Method Details

fromJson

public static FunctionShellToolParameterEnvironmentContainerReferenceParameter fromJson(JsonReader jsonReader)

Reads an instance of FunctionShellToolParameterEnvironmentContainerReferenceParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getContainerId

public String getContainerId()

Get the containerId property: The ID of the referenced container.

Returns:

the containerId value.

getType

public FunctionShellToolParamEnvironmentType getType()

Get the type property: The type property.

Overrides:

FunctionShellToolParameterEnvironmentContainerReferenceParameter.getType()

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FunctionShellToolParameterEnvironmentContainerReferenceParameter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to