blob: d0aad92e5d4a5ac51bd12a8f8b0d07ced9e972b7 [file] [log] [blame]
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace RocketMQ.Eventbridge.SDK.Models
{
public class GetApiDestinationResponseBody : TeaModel {
/// <summary>
/// <para>The returned response code. The value Success indicates that the request is successful.</para>
///
/// <b>Example:</b>
/// <para>Success</para>
/// </summary>
[NameInMap("code")]
[Validation(Required=false)]
public string Code { get; set; }
/// <summary>
/// <para>The name of the API destination.</para>
///
/// <b>Example:</b>
/// <para>api-destination-2</para>
/// </summary>
[NameInMap("apiDestinationName")]
[Validation(Required=false)]
public string ApiDestinationName { get; set; }
/// <summary>
/// <para>The connection name.</para>
///
/// <b>Example:</b>
/// <para>connection-name</para>
/// </summary>
[NameInMap("connectionName")]
[Validation(Required=false)]
public string ConnectionName { get; set; }
/// <summary>
/// <para>The description of the connection.</para>
///
/// <b>Example:</b>
/// <para>demo</para>
/// </summary>
[NameInMap("description")]
[Validation(Required=false)]
public string Description { get; set; }
/// <summary>
/// <para>The time when the API destination was created.</para>
///
/// <b>Example:</b>
/// <para>1665223213000</para>
/// </summary>
[NameInMap("gmtCreate")]
[Validation(Required=false)]
public long? GmtCreate { get; set; }
/// <summary>
/// <para>The request parameters that are configured for the API destination.</para>
/// </summary>
[NameInMap("httpApiParameters")]
[Validation(Required=false)]
public GetApiDestinationResponseBodyHttpApiParameters HttpApiParameters { get; set; }
public class GetApiDestinationResponseBodyHttpApiParameters : TeaModel {
/// <summary>
/// <para>The endpoint of the API destination.</para>
///
/// <b>Example:</b>
/// <para><a href="http://127.0.0.1:8001/api">http://127.0.0.1:8001/api</a></para>
/// </summary>
[NameInMap("endpoint")]
[Validation(Required=false)]
public string Endpoint { get; set; }
/// <summary>
/// <para>The HTTP request method. Valid values:</para>
/// <pre><c> - POST
///
/// - GET
///
/// - DELETE
///
/// - PUT
///
/// - HEAD
///
/// - TRACE
///
/// - PATCH
/// </c></pre>
///
/// <b>Example:</b>
/// <para>POST</para>
/// </summary>
[NameInMap("method")]
[Validation(Required=false)]
public string Method { get; set; }
/// <summary>
/// <para>TODO</para>
/// </summary>
[NameInMap("apiParameters")]
[Validation(Required=false)]
public List<GetApiDestinationResponseBodyHttpApiParametersApiParameters> ApiParameters { get; set; }
public class GetApiDestinationResponseBodyHttpApiParametersApiParameters : TeaModel {
[NameInMap("name")]
[Validation(Required=false)]
public string Name { get; set; }
/// <summary>
/// <para>The description of the API destination. The description can be up to 255 characters in length.</para>
/// </summary>
[NameInMap("description")]
[Validation(Required=false)]
public string Description { get; set; }
[NameInMap("type")]
[Validation(Required=false)]
public string Type { get; set; }
[NameInMap("defaultValue")]
[Validation(Required=false)]
public string DefaultValue { get; set; }
[NameInMap("in")]
[Validation(Required=false)]
public string In { get; set; }
}
}
/// <summary>
/// <para>TODO</para>
/// </summary>
[NameInMap("invocationRateLimitPerSecond")]
[Validation(Required=false)]
public int? InvocationRateLimitPerSecond { get; set; }
/// <summary>
/// <para>The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.</para>
///
/// <b>Example:</b>
/// <para>success</para>
/// </summary>
[NameInMap("message")]
[Validation(Required=false)]
public string Message { get; set; }
/// <summary>
/// <para>The request ID.</para>
///
/// <b>Example:</b>
/// <para>B896B484-F16D-59DE-9E23-DD0E5C361108</para>
/// </summary>
[NameInMap("requestId")]
[Validation(Required=false)]
public string RequestId { get; set; }
}
}