We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ddsky/gamebrain-api-clients'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
GameNewsResponse.cs•3 kB
/*
* GameBrain API
*
* GameBrain API
*
* The version of the OpenAPI document: 1.0.1
* Contact: mail@gamebrain.co
* 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 = gamebrain.Client.OpenAPIDateConverter;
namespace gamebrain.Model
{
/// <summary>
/// GameNewsResponse
/// </summary>
[DataContract(Name = "GameNewsResponse")]
public partial class GameNewsResponse : IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="GameNewsResponse" /> class.
/// </summary>
[JsonConstructorAttribute]
protected GameNewsResponse() { }
/// <summary>
/// Initializes a new instance of the <see cref="GameNewsResponse" /> class.
/// </summary>
/// <param name="news">news (required).</param>
public GameNewsResponse(List<GameNewsItem> news = default(List<GameNewsItem>))
{
// to ensure "news" is required (not null)
if (news == null)
{
throw new ArgumentNullException("news is a required property for GameNewsResponse and cannot be null");
}
this.News = news;
}
/// <summary>
/// Gets or Sets News
/// </summary>
[DataMember(Name = "news", IsRequired = true, EmitDefaultValue = true)]
public List<GameNewsItem> News { 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 GameNewsResponse {\n");
sb.Append(" News: ").Append(News).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;
}
}
}