Click or drag to resize
Virtual Care ApiResponse< T> Class

[This is preliminary documentation and is subject to change.]

Generic api response with strongly-typed model.
Inheritance Hierarchy
System. Object
  SnapMD.VirtualCare.ApiModels.ApiResponse<T>

Namespace: SnapMD.VirtualCare.ApiModels
Assembly: SnapMD.VirtualCare.ApiModels (in SnapMD.VirtualCare.ApiModels.dll) Version: 1.24.0.23327 (1.0.0.0)
Syntax
public class ApiResponse<T>

Type Parameters

T

The ApiResponse< T> type exposes the following members.

Constructors
  NameDescription
Public methodApiResponse<T>
Initializes a new instance of the ApiResponse< T> class
Top
Properties
  NameDescription
Public propertyData
The payload being returned to the requestor.
Public propertyMessage
An optional message that may be useful if the response code is greater than 200 and less than 300 but needs more explanation.
Public propertySuccess
Indicates if request was successfully processed.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also