Show / Hide Table of Contents

Class StockResponseBackend

Send the request to a mock backend.

Inheritance
object
ApiSpecificationRouteBackend
StockResponseBackend
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top