TypedRest for .NET 1.3.6
build type-safe fluent-style REST API clients
TypedRest.Links.Link Class Reference

Represents a link to another resource. More...

Public Member Functions

 Link (string rel, string href, string? title=null, bool templated=false)
 Creates a new link More...
 

Properties

string Rel [get]
 The relation type of the link.
 
string Href [get]
 The href/target of the link.
 
string? Title [get]
 The title of the link (optional).
 
bool Templated [get]
 Indicates whether the link is an URI Template (RFC 6570).
 

Detailed Description

Represents a link to another resource.

Constructor & Destructor Documentation

◆ Link()

TypedRest.Links.Link.Link ( string  rel,
string  href,
string?  title = null,
bool  templated = false 
)
inline

Creates a new link

Parameters
relThe relation type of the link.
hrefThe href/target of the link.
titleThe title of the link (optional).
templatedIndicates whether the link is an URI Template (RFC 6570).

The documentation for this class was generated from the following file: