mirror of
https://github.com/tribufu/tribufu-dotnet
synced 2026-02-04 18:59:06 +00:00
Generate client with open-api-generator (#1)
* Generate project with open-api-generator * Add example project * Create wrapper class
This commit is contained in:
48
src/Tribufu.Generated/Model/LeaderboardOrder.cs
Normal file
48
src/Tribufu.Generated/Model/LeaderboardOrder.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Tribufu API
|
||||
*
|
||||
* REST API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.1.0
|
||||
* Contact: contact@tribufu.com
|
||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||
*/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.IO;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter;
|
||||
|
||||
namespace Tribufu.Generated.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines LeaderboardOrder
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum LeaderboardOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum Level for value: level
|
||||
/// </summary>
|
||||
[EnumMember(Value = "level")]
|
||||
Level,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Points for value: points
|
||||
/// </summary>
|
||||
[EnumMember(Value = "points")]
|
||||
Points
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user