mirror of
https://github.com/Tribufu/TribufuDotNet
synced 2026-08-09 12:51:06 +00:00
Remove old api files
This commit is contained in:
parent
3e17831f32
commit
0295594b7a
2 changed files with 0 additions and 234 deletions
|
|
@ -1,156 +0,0 @@
|
|||
/*
|
||||
* Tribufu API
|
||||
*
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.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.Client.OpenAPIDateConverter;
|
||||
|
||||
namespace Tribufu.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Account
|
||||
/// </summary>
|
||||
[DataContract(Name = "Account")]
|
||||
public partial class Account : IValidatableObject
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Provider
|
||||
/// </summary>
|
||||
[DataMember(Name = "provider", IsRequired = true, EmitDefaultValue = true)]
|
||||
public LoginProvider Provider { get; set; }
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Account" /> class.
|
||||
/// </summary>
|
||||
[JsonConstructorAttribute]
|
||||
protected Account() { }
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Account" /> class.
|
||||
/// </summary>
|
||||
/// <param name="id">id (required).</param>
|
||||
/// <param name="name">name.</param>
|
||||
/// <param name="provider">provider (required).</param>
|
||||
/// <param name="userId">userId.</param>
|
||||
/// <param name="authorized">authorized.</param>
|
||||
/// <param name="fields">fields.</param>
|
||||
/// <param name="created">created.</param>
|
||||
/// <param name="updated">updated.</param>
|
||||
public Account(string id = default(string), string name = default(string), LoginProvider provider = default(LoginProvider), string userId = default(string), bool authorized = default(bool), Object fields = default(Object), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
||||
{
|
||||
// to ensure "id" is required (not null)
|
||||
if (id == null)
|
||||
{
|
||||
throw new ArgumentNullException("id is a required property for Account and cannot be null");
|
||||
}
|
||||
this.Id = id;
|
||||
this.Provider = provider;
|
||||
this.Name = name;
|
||||
this.UserId = userId;
|
||||
this.Authorized = authorized;
|
||||
this.Fields = fields;
|
||||
this.Created = created;
|
||||
this.Updated = updated;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Id
|
||||
/// </summary>
|
||||
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Name
|
||||
/// </summary>
|
||||
[DataMember(Name = "name", EmitDefaultValue = true)]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets UserId
|
||||
/// </summary>
|
||||
[DataMember(Name = "user_id", EmitDefaultValue = false)]
|
||||
public string UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Authorized
|
||||
/// </summary>
|
||||
[DataMember(Name = "authorized", EmitDefaultValue = true)]
|
||||
public bool Authorized { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Fields
|
||||
/// </summary>
|
||||
[DataMember(Name = "fields", EmitDefaultValue = true)]
|
||||
public Object Fields { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Created
|
||||
/// </summary>
|
||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets Updated
|
||||
/// </summary>
|
||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
||||
public DateTime? Updated { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the string presentation of the object
|
||||
/// </summary>
|
||||
/// <returns>String presentation of the object</returns>
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class Account {\n");
|
||||
sb.Append(" Id: ").Append(Id).Append("\n");
|
||||
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||
sb.Append(" Provider: ").Append(Provider).Append("\n");
|
||||
sb.Append(" UserId: ").Append(UserId).Append("\n");
|
||||
sb.Append(" Authorized: ").Append(Authorized).Append("\n");
|
||||
sb.Append(" Fields: ").Append(Fields).Append("\n");
|
||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the JSON string presentation of the object
|
||||
/// </summary>
|
||||
/// <returns>JSON string presentation of the object</returns>
|
||||
public virtual string ToJson()
|
||||
{
|
||||
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To validate all properties of the instance
|
||||
/// </summary>
|
||||
/// <param name="validationContext">Validation context</param>
|
||||
/// <returns>Validation Result</returns>
|
||||
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||
{
|
||||
yield break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
/*
|
||||
* Tribufu API
|
||||
*
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.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.Client.OpenAPIDateConverter;
|
||||
|
||||
namespace Tribufu.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines LoginProvider
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum LoginProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum Steam for value: steam
|
||||
/// </summary>
|
||||
[EnumMember(Value = "steam")]
|
||||
Steam,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Epic for value: epic
|
||||
/// </summary>
|
||||
[EnumMember(Value = "epic")]
|
||||
Epic,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Discord for value: discord
|
||||
/// </summary>
|
||||
[EnumMember(Value = "discord")]
|
||||
Discord,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Microsoft for value: microsoft
|
||||
/// </summary>
|
||||
[EnumMember(Value = "microsoft")]
|
||||
Microsoft,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Playstation for value: playstation
|
||||
/// </summary>
|
||||
[EnumMember(Value = "playstation")]
|
||||
Playstation,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Google for value: google
|
||||
/// </summary>
|
||||
[EnumMember(Value = "google")]
|
||||
Google,
|
||||
|
||||
/// <summary>
|
||||
/// Enum Apple for value: apple
|
||||
/// </summary>
|
||||
[EnumMember(Value = "apple")]
|
||||
Apple
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue