Class StockResponseBackend
Send the request to a mock backend.
Inherited Members
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class StockResponseBackend : ApiSpecificationRouteBackend
Properties
Body
Declaration
[JsonProperty(PropertyName = "body")]
public string Body { get; set; }
Property Value
Type | Description |
---|---|
string | The body of the stock response from the mock backend. |
Headers
Declaration
[JsonProperty(PropertyName = "headers")]
public List<HeaderFieldSpecification> Headers { get; set; }
Property Value
Type | Description |
---|---|
List<HeaderFieldSpecification> | The headers of the stock response from the mock backend. |
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
public int? Status { get; set; }
Property Value
Type | Description |
---|---|
int? | The status code of the stock response from the mock backend. |
Remarks
Required