Class WebRequestTemplate
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
URL template.
public class WebRequestTemplate : NotificationBinaryFile, IEntity, IComparable, IIdentifiable
- Inheritance
-
WebRequestTemplate
- Implements
- Inherited Members
Constructors
WebRequestTemplate()
Initializes a new instance of the WebRequestTemplate class.constructor.
public WebRequestTemplate()
WebRequestTemplate(Id?, string?, string?)
Initializes a new instance of the WebRequestTemplate class.The constructor.
public WebRequestTemplate(Id? id, string? name, string? url)
Parameters
WebRequestTemplate(Id?, string?, string?, WebRequestTemplateHttpVerb?, string?)
Initializes a new instance of the WebRequestTemplate class.The constructor.
public WebRequestTemplate(Id? id, string? name, string? url, WebRequestTemplateHttpVerb? requestType, string? postBody)
Parameters
id
IdThe Id.
name
stringThe Description of the template.
url
stringThe url.
requestType
WebRequestTemplateHttpVerb?The HTTP request type. GET or POST.
postBody
stringThe body of the HTTP POST. otherwise null.
Properties
PostBody
Gets or sets the data to be sent as the POST data. Null otherwise.
public string? PostBody { get; set; }
Property Value
RequestType
Gets or sets the request type is an HTTP GET or POST.
public WebRequestTemplateHttpVerb? RequestType { get; set; }
Property Value
Type
Gets or sets get the type of the binary data for notifications.
public override NotificationBinaryFileType? Type { get; set; }
Property Value
- NotificationBinaryFileType?
NotificationBinaryFileTypeThe notification binary file type.
Url
Gets or sets the url to connect to.
public string? Url { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.