Show / Hide Table of Contents

Class BasicResponse<TModel>

A basic API response

Inheritance
Object
Response<TModel>
BasicResponse<TModel>
Namespace: Seltzr.Responses
Assembly: Seltzr.dll
Syntax
C#
public class BasicResponse<TModel> : Response<TModel> where TModel : class
Type Parameters
TModel

The type of model included in the API response

Properties

| Improve this Doc View Source

ApiVersion

Gets or sets a string which, when present, indicates the version of this API

C#
public string ApiVersion { get; set; }
Property Value
String
| Improve this Doc View Source

Count

Gets or sets an integer which, when present, indicates the number of elements included in the response

C#
public int Count { get; set; }
Property Value
Int32
| Improve this Doc View Source

DeprecationNotice

Gets or sets a string which, when present, indicates that this API version has been deprecated

C#
public string DeprecationNotice { get; set; }
Property Value
String
| Improve this Doc View Source

Element

Gets or sets the element to include in the API response

C#
public TModel Element { get; set; }
Property Value
TModel
| Improve this Doc View Source

Elements

Gets or sets the elements to include in the API response

C#
public TModel[] Elements { get; set; }
Property Value
TModel[]
| Improve this Doc View Source

Page

Gets or sets an integer which, when present, indicates the current page when using pagination

C#
public int Page { get; set; }
Property Value
Int32
| Improve this Doc View Source

Pages

Gets or sets an integer which, when present, indicates the total number of pages when using pagination

C#
public int Pages { get; set; }
Property Value
Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX