Show / Hide Table of Contents

Class StaticTextHttpResponseBody

Allows returning static text as HTTP response body. Example: { "type": "STATIC_TEXT", "text": "{\ \"code\": 403,\ \"message\":\"Unauthorised\"}"}

Inheritance
object
HttpResponseBody
StaticTextHttpResponseBody
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WafService.Models
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
public class StaticTextHttpResponseBody : HttpResponseBody

Properties

Text

Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type Description
string

Static response body text.

Remarks

Required

In this article
Back to top