次の方法で共有


OperationEntityInner Class

  • java.lang.Object
    • com.azure.resourcemanager.botservice.fluent.models.OperationEntityInner

Implements

public final class OperationEntityInner
implements JsonSerializable<OperationEntityInner>

The operations supported by Bot Service Management.

Constructor Summary

Constructor Description
OperationEntityInner()

Creates an instance of OperationEntityInner class.

Method Summary

Modifier and Type Method and Description
OperationDisplayInfo display()

Get the display property: The operation supported by Bot Service Management.

static OperationEntityInner fromJson(JsonReader jsonReader)

Reads an instance of OperationEntityInner from the JsonReader.

String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

String origin()

Get the origin property: The origin of the operation.

Object properties()

Get the properties property: Additional properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationEntityInner withDisplay(OperationDisplayInfo display)

Set the display property: The operation supported by Bot Service Management.

OperationEntityInner withName(String name)

Set the name property: Operation name: {provider}/{resource}/{operation}.

OperationEntityInner withOrigin(String origin)

Set the origin property: The origin of the operation.

OperationEntityInner withProperties(Object properties)

Set the properties property: Additional properties.

Methods inherited from java.lang.Object

Constructor Details

OperationEntityInner

public OperationEntityInner()

Creates an instance of OperationEntityInner class.

Method Details

display

public OperationDisplayInfo display()

Get the display property: The operation supported by Bot Service Management.

Returns:

the display value.

fromJson

public static OperationEntityInner fromJson(JsonReader jsonReader)

Reads an instance of OperationEntityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationEntityInner 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 OperationEntityInner.

name

public String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

Returns:

the name value.

origin

public String origin()

Get the origin property: The origin of the operation.

Returns:

the origin value.

properties

public Object properties()

Get the properties property: Additional properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplay

public OperationEntityInner withDisplay(OperationDisplayInfo display)

Set the display property: The operation supported by Bot Service Management.

Parameters:

display - the display value to set.

Returns:

the OperationEntityInner object itself.

withName

public OperationEntityInner withName(String name)

Set the name property: Operation name: {provider}/{resource}/{operation}.

Parameters:

name - the name value to set.

Returns:

the OperationEntityInner object itself.

withOrigin

public OperationEntityInner withOrigin(String origin)

Set the origin property: The origin of the operation.

Parameters:

origin - the origin value to set.

Returns:

the OperationEntityInner object itself.

withProperties

public OperationEntityInner withProperties(Object properties)

Set the properties property: Additional properties.

Parameters:

properties - the properties value to set.

Returns:

the OperationEntityInner object itself.

Applies to