Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Http.dll Namespace: CloudNimble.EasyAF.Http.OData Inheritance: CloudNimble.EasyAF.Http.OData.ODataV4ResponseBase

Syntax

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

Summary

Represents an OData v4.0 collection response containing a list of entities with optional pagination metadata. Provides strongly-typed access to collection data with count and next link information.

Type Parameters

  • T - The type of entities in the collection.

Constructors

.ctor

Syntax

public ODataV4List()

.ctor Inherited

Inherited from CloudNimble.EasyAF.Http.OData.ODataV4ResponseBase

Syntax

public ODataV4ResponseBase()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Items

Gets or sets the collection of entities returned by the OData service. This property contains the actual data payload of the response.

Syntax

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

Property Value

Type: System.Collections.Generic.List<T>

ODataContext Inherited

Inherited from CloudNimble.EasyAF.Http.OData.ODataV4ResponseBase
Gets or sets the OData context URL that describes the payload. This metadata property provides information about the entity set, type, and other context details.

Syntax

public string ODataContext { get; set; }

Property Value

Type: string

ODataCount

Gets or sets the total number of entities in the collection, regardless of pagination. This property is only populated when the $count query option is used.

Syntax

public long ODataCount { get; set; }

Property Value

Type: long Gets or sets the URL for retrieving the next page of results when server-side paging is enabled. This property is null if there are no more pages available.

Syntax

public string ODataNextLink { 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?