For Babelfish Release 1.11.1.3

GetResultCOFAuthenticatedResponse Class

Definition

Namespace: Scopos.BabelFish.Responses.OrionMatchAPI
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public class GetResultCOFAuthenticatedResponse : GetResultCOFAbstractResponse
Inheritance
Object    ResponseCourseOfFireWrapper    GetResultCOFAbstractResponse    GetResultCOFAuthenticatedResponse

Constructors

Properties

Body Gets or Sets the raw body returned by the Rest API Call. If the StatusCode is something other than OK (200), the value of Body will be invalid.
(Inherited from ResponseT)
ExceptionMessage
(Inherited from ResponseT)
FileSystemCachedResponse If true, indicates this response was from file system local storage, and not from an API call.
(Inherited from ResponseT)
HasOkStatusCode Helper function. Returns true if .OverallStausCode is OK.
(Inherited from ResponseT)
InMemoryCachedResponse If true, indicates this response was from in memory cache, and not from an API call.
(Inherited from ResponseT)
Json The serialized text value returned by the Rest API. This value is only set if there was an error.
(Inherited from ResponseT)
MessageResponse Gets or sets the MesageResponse *status* data object returned by the Rest API Call. The Message Response contains all of the standard fields returned in a Scopos Rest API call, including Message and NextToken (if used). What it doesn't contain is the requested data model object.
(Inherited from ResponseT)
OverallStatusCode Gets or Sets the overall status code. Pinpointing errors other than from the Rest API.
(Inherited from ResponseT)
Request The Request object used to generate this Response object.
(Inherited from ResponseT)
RestApiStatusCode Gets or Sets the Status Code returned by the Rest API call.
(Inherited from ResponseT)
ResultCOF Facade function that returns the same as this.Value
(Inherited from GetResultCOFAbstractResponse)
TimeToRun Total time of the request. Includes the time it takes to make the API call plus time to parse the returned JSON into object form.
(Inherited from ResponseT)
Value Gets or sets the data object returned by the Rest API Call.
(Inherited from ResponseT)
WriteToFileSystemCacheOnSuccess Boolean indicating if the response should be written to file system cache on a successful call. Default value is false.
(Inherited from ResponseT)

Methods

ConvertBodyToValue Function responsible for each concrete implementation to convert the Body, which is a JToken object, into the Value, which is of type T.
(Inherited from ResponseT)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetCacheValueExpiryTime Returns the time that the response object is considered out of date and should not longer be used in a cached response. To enable cache for a API call two things needs to happen. First the concrete APIClient needs to enabled caching response by setting .IgnoreLocalCache to false. Second, each request object must enable it by overridding GetCacheValueExpiryTime to a value in the future.
(Inherited from GetResultCOFAbstractResponse)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PostResponseProcessingAsync Deserilization of a AttributeValueDataPacket is handled by the overridden ReadJson() method of AttributeValueDataPacketConverter class. Because to deserialize an AttributeValue the Definition of the Attribute must be known. And reading the Definition is an IO bound Async call. But ReadJson() is not Async and can't be made async because it is overridden. To get around this limitation, the Task is assigned to AttributeValueTask (instead of awaiting and assigning to AttributeValue. The awaiting of AttributeValueTask is then handled in an async call sepeartly.
(Inherited from GetResultCOFAbstractResponse)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also