Skip to main content

Definition

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

Syntax

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

Summary

A container that allows you to capture metadata from an OData V4 response.

Type Parameters

  • T - The type that will be deserialized from the OData V4 “value” property.

Constructors

.ctor

Syntax

public ODataV401PrimitiveResult()

.ctor Inherited

Inherited from CloudNimble.EasyAF.Http.OData.ODataV401ResponseBase

Syntax

public ODataV401ResponseBase()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

ODataContext Inherited

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

Syntax

public string ODataContext { get; set; }

Property Value

Type: string

Value

Gets or sets the primitive value returned by the OData v4.01 service. This property contains the actual data payload for primitive type responses.

Syntax

public T Value { get; set; }

Property Value

Type: T

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?