Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Http.dll Namespace: CloudNimble.EasyAF.Http.OData Inheritance: System.Object

Syntax

CloudNimble.EasyAF.Http.OData.ODataV4ResultList<T>

Summary

A container for deserializing an OData v4 result and its associated metadata.

Type Parameters

  • T - The type of Items in the OData payload.

Constructors

.ctor

Syntax

public ODataV4ResultList()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

ExpectedItemCount

Maps to the “odata.count” property.

Syntax

public string ExpectedItemCount { get; set; }

Property Value

Type: string

Remarks

A mismatch between ExpectedItemCount and Items.Count can indicate an issue with deserialization.

Items

A List`1 containing the items returned from the service.

Syntax

public System.Collections.Generic.List<T> Items { get; set; }

Property Value

Type: System.Collections.Generic.List<T> Maps to the “@odata.context” property, and specifies which item in the model metadata is being returned.

Syntax

public string MetadataReferenceLink { get; set; }

Property Value

Type: string Maps to the “@odata.nextLink” property, and specifies the URL to call to get the next page of results.

Syntax

public string NextPageLink { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?