OperationEntityBaseContract Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.OperationEntityBaseContract

public class OperationEntityBaseContract

Api Operation Entity Base Contract details.

Constructor Summary

Constructor Description
OperationEntityBaseContract()

Method Summary

Modifier and Type Method and Description
java.lang.String description()

Get description of the operation.

java.lang.String policies()

Get operation Policies.

RequestContract request()

Get an entity containing request details.

java.util.List<ResponseContract> responses()

Get array of Operation responses.

java.util.List<ParameterContract> templateParameters()

Get collection of URL template parameters.

OperationEntityBaseContract withDescription(String description)

Set description of the operation.

OperationEntityBaseContract withPolicies(String policies)

Set operation Policies.

OperationEntityBaseContract withRequest(RequestContract request)

Set an entity containing request details.

OperationEntityBaseContract withResponses(List<ResponseContract> responses)

Set array of Operation responses.

OperationEntityBaseContract withTemplateParameters(List<ParameterContract> templateParameters)

Set collection of URL template parameters.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OperationEntityBaseContract

public OperationEntityBaseContract()

Method Details

description

public String description()

Get description of the operation. May include HTML formatting tags.

Returns:

the description value

policies

public String policies()

Get operation Policies.

Returns:

the policies value

request

public RequestContract request()

Get an entity containing request details.

Returns:

the request value

responses

public List responses()

Get array of Operation responses.

Returns:

the responses value

templateParameters

public List templateParameters()

Get collection of URL template parameters.

Returns:

the templateParameters value

withDescription

public OperationEntityBaseContract withDescription(String description)

Set description of the operation. May include HTML formatting tags.

Parameters:

description - the description value to set

Returns:

the OperationEntityBaseContract object itself.

withPolicies

public OperationEntityBaseContract withPolicies(String policies)

Set operation Policies.

Parameters:

policies - the policies value to set

Returns:

the OperationEntityBaseContract object itself.

withRequest

public OperationEntityBaseContract withRequest(RequestContract request)

Set an entity containing request details.

Parameters:

request - the request value to set

Returns:

the OperationEntityBaseContract object itself.

withResponses

public OperationEntityBaseContract withResponses(List responses)

Set array of Operation responses.

Parameters:

responses - the responses value to set

Returns:

the OperationEntityBaseContract object itself.

withTemplateParameters

public OperationEntityBaseContract withTemplateParameters(List templateParameters)

Set collection of URL template parameters.

Parameters:

templateParameters - the templateParameters value to set

Returns:

the OperationEntityBaseContract object itself.

Applies to