From 0295594b7a1445c53beb182deb1ab0bff66368df Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Sun, 21 Jun 2026 12:24:57 -0300 Subject: [PATCH] Remove old api files --- Source/Tribufu/Model/Account.cs | 156 -------------------------- Source/Tribufu/Model/LoginProvider.cs | 78 ------------- 2 files changed, 234 deletions(-) delete mode 100644 Source/Tribufu/Model/Account.cs delete mode 100644 Source/Tribufu/Model/LoginProvider.cs diff --git a/Source/Tribufu/Model/Account.cs b/Source/Tribufu/Model/Account.cs deleted file mode 100644 index 91b4c34..0000000 --- a/Source/Tribufu/Model/Account.cs +++ /dev/null @@ -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 -{ - /// - /// Account - /// - [DataContract(Name = "Account")] - public partial class Account : IValidatableObject - { - - /// - /// Gets or Sets Provider - /// - [DataMember(Name = "provider", IsRequired = true, EmitDefaultValue = true)] - public LoginProvider Provider { get; set; } - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected Account() { } - /// - /// Initializes a new instance of the class. - /// - /// id (required). - /// name. - /// provider (required). - /// userId. - /// authorized. - /// fields. - /// created. - /// updated. - 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; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)] - public string Id { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", EmitDefaultValue = true)] - public string Name { get; set; } - - /// - /// Gets or Sets UserId - /// - [DataMember(Name = "user_id", EmitDefaultValue = false)] - public string UserId { get; set; } - - /// - /// Gets or Sets Authorized - /// - [DataMember(Name = "authorized", EmitDefaultValue = true)] - public bool Authorized { get; set; } - - /// - /// Gets or Sets Fields - /// - [DataMember(Name = "fields", EmitDefaultValue = true)] - public Object Fields { get; set; } - - /// - /// Gets or Sets Created - /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } - - /// - /// Gets or Sets Updated - /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - 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(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/Source/Tribufu/Model/LoginProvider.cs b/Source/Tribufu/Model/LoginProvider.cs deleted file mode 100644 index 1180247..0000000 --- a/Source/Tribufu/Model/LoginProvider.cs +++ /dev/null @@ -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 -{ - /// - /// Defines LoginProvider - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum LoginProvider - { - /// - /// Enum Steam for value: steam - /// - [EnumMember(Value = "steam")] - Steam, - - /// - /// Enum Epic for value: epic - /// - [EnumMember(Value = "epic")] - Epic, - - /// - /// Enum Discord for value: discord - /// - [EnumMember(Value = "discord")] - Discord, - - /// - /// Enum Microsoft for value: microsoft - /// - [EnumMember(Value = "microsoft")] - Microsoft, - - /// - /// Enum Playstation for value: playstation - /// - [EnumMember(Value = "playstation")] - Playstation, - - /// - /// Enum Google for value: google - /// - [EnumMember(Value = "google")] - Google, - - /// - /// Enum Apple for value: apple - /// - [EnumMember(Value = "apple")] - Apple - } - -}