RequestContract Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.RequestContract
- com.
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<Parameter |
headers()
Get collection of operation request headers. |
java.util.List<Parameter |
queryParameters()
Get collection of operation request query parameters. |
java.util.List<Representation |
representations()
Get collection of operation request representations. |
Request |
withDescription(String description)
Set operation request description. |
Request |
withHeaders(List<ParameterContract> headers)
Set collection of operation request headers. |
Request |
withQueryParameters(List<ParameterContract> queryParameters)
Set collection of operation request query parameters. |
Request |
withRepresentations(List<RepresentationContract> representations)
Set collection of operation request representations. |
Methods inherited from java.lang.Object
Constructor Details
RequestContract
public RequestContract()
Method Details
description
public String description()
Get operation request description.
Returns:
headers
public List
Get collection of operation request headers.
Returns:
queryParameters
public List
Get collection of operation request query parameters.
Returns:
representations
public List
Get collection of operation request representations.
Returns:
withDescription
public RequestContract withDescription(String description)
Set operation request description.
Parameters:
Returns:
withHeaders
public RequestContract withHeaders(List
Set collection of operation request headers.
Parameters:
Returns:
withQueryParameters
public RequestContract withQueryParameters(List
Set collection of operation request query parameters.
Parameters:
Returns:
withRepresentations
public RequestContract withRepresentations(List
Set collection of operation request representations.
Parameters:
Returns:
Applies to
Azure SDK for Java