RequestContract Class

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

public class RequestContract

Operation request details.

Constructor Summary

Constructor Description
RequestContract()

Method Summary

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

Get operation request description.

java.util.List<ParameterContract> headers()

Get collection of operation request headers.

java.util.List<ParameterContract> queryParameters()

Get collection of operation request query parameters.

java.util.List<RepresentationContract> representations()

Get collection of operation request representations.

RequestContract withDescription(String description)

Set operation request description.

RequestContract withHeaders(List<ParameterContract> headers)

Set collection of operation request headers.

RequestContract withQueryParameters(List<ParameterContract> queryParameters)

Set collection of operation request query parameters.

RequestContract withRepresentations(List<RepresentationContract> representations)

Set collection of operation request representations.

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

RequestContract

public RequestContract()

Method Details

description

public String description()

Get operation request description.

Returns:

the description value

headers

public List headers()

Get collection of operation request headers.

Returns:

the headers value

queryParameters

public List queryParameters()

Get collection of operation request query parameters.

Returns:

the queryParameters value

representations

public List representations()

Get collection of operation request representations.

Returns:

the representations value

withDescription

public RequestContract withDescription(String description)

Set operation request description.

Parameters:

description - the description value to set

Returns:

the RequestContract object itself.

withHeaders

public RequestContract withHeaders(List headers)

Set collection of operation request headers.

Parameters:

headers - the headers value to set

Returns:

the RequestContract object itself.

withQueryParameters

public RequestContract withQueryParameters(List queryParameters)

Set collection of operation request query parameters.

Parameters:

queryParameters - the queryParameters value to set

Returns:

the RequestContract object itself.

withRepresentations

public RequestContract withRepresentations(List representations)

Set collection of operation request representations.

Parameters:

representations - the representations value to set

Returns:

the RequestContract object itself.

Applies to