Table of Contents

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

id Id

The Id.

name string

The Description of the template.

url string

The url.

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 Id

The Id.

name string

The Description of the template.

url string

The url.

requestType WebRequestTemplateHttpVerb?

The HTTP request type. GET or POST.

postBody string

The 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

string

The body.

RequestType

Gets or sets the request type is an HTTP GET or POST.

public WebRequestTemplateHttpVerb? RequestType { get; set; }

Property Value

WebRequestTemplateHttpVerb?

Post or Get type.

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

string

The url represented by a string.

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.