Class RequestModel
Configuration for a request
public class RequestModel
- Inheritance
-
RequestModel
- Inherited Members
Properties
Description
Optional description of the request
[JsonProperty("Description", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[StringLength(4096)]
public string Description { get; set; }
Property Value
Headers
Collection of headers used when posting the request
[JsonProperty("Headers", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<RequestHeaderModel> Headers { get; set; }
Property Value
HelpUri
Optional help URI towards extensive documentation for the request
[JsonProperty("HelpUri", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[StringLength(1024)]
public string HelpUri { get; set; }
Property Value
Id
The id of the request
[JsonProperty("Id", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public int Id { get; set; }
Property Value
Name
Name of the request used in the *REQUEST command
[JsonProperty("Name", Required = Required.Always)]
[Required]
[StringLength(16, MinimumLength = 1)]
public string Name { get; set; }
Property Value
PayloadTemplate
The template of the payload
[JsonProperty("PayloadTemplate", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string PayloadTemplate { get; set; }
Property Value
RequestHttpMethod
The method of the request
[JsonProperty("RequestHttpMethod", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public RequestHttpMethod RequestHttpMethod { get; set; }
Property Value
Uri
Endpoint (URI) of the request
[JsonProperty("Uri", Required = Required.Always)]
[Required]
[StringLength(1024, MinimumLength = 1)]
public string Uri { get; set; }