/*
* 后台API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: Admin
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
namespace IO.Swagger.Client
{
///
/// API Response
///
public class ApiResponse
{
///
/// Gets or sets the status code (HTTP status code)
///
/// The status code.
public int StatusCode { get; private set; }
///
/// Gets or sets the HTTP headers
///
/// HTTP headers
public IDictionary Headers { get; private set; }
///
/// Gets or sets the data (parsed HTTP body)
///
/// The data.
public T Data { get; private set; }
///
/// Initializes a new instance of the class.
///
/// HTTP status code.
/// HTTP headers.
/// Data (parsed HTTP body)
public ApiResponse(int statusCode, IDictionary headers, T data)
{
this.StatusCode= statusCode;
this.Headers = headers;
this.Data = data;
}
}
}