| // 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 ListEventRulesResponseBody : TeaModel { |
| [NameInMap("eventRules")] |
| [Validation(Required=false)] |
| public List<ListEventRulesResponseBodyEventRules> EventRules { get; set; } |
| public class ListEventRulesResponseBodyEventRules : TeaModel { |
| /// <summary> |
| /// <para>The name of the event bus with which the event source is associated. |
| /// This parameter is required.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>my-event-bus</para> |
| /// </summary> |
| [NameInMap("eventBusName")] |
| [Validation(Required=false)] |
| public string EventBusName { get; set; } |
| |
| /// <summary> |
| /// <para>The name of the event rule. |
| /// This parameter is required.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>myrabbitmq.sourc</para> |
| /// </summary> |
| [NameInMap("eventRuleName")] |
| [Validation(Required=false)] |
| public string EventRuleName { get; set; } |
| |
| [NameInMap("description")] |
| [Validation(Required=false)] |
| public string Description { get; set; } |
| |
| /// <summary> |
| /// <para>The event pattern, in JSON format. Valid values: stringEqual and stringExpression. You can specify up to five expressions in the map data structure in each field.</para> |
| /// <pre><c> You can specify up to five expressions in the map data structure in each field. |
| /// </c></pre> |
| /// |
| /// <b>Example:</b> |
| /// <para>{"source": [{"prefix": "acs."}],"type": [{"prefix":"oss:ObjectReplication"}],"subject":[{"prefix":"acs:oss:cn-hangzhou:123456789098****:my-movie-bucket/", "suffix":".txt"}]}</para> |
| /// </summary> |
| [NameInMap("filterPattern")] |
| [Validation(Required=false)] |
| public string FilterPattern { get; set; } |
| |
| /// <summary> |
| /// <para>The status of the event rule. Valid values: ENABLE (default): The event rule is enabled. DISABLE: The event rule is disabled.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>ENABLE</para> |
| /// </summary> |
| [NameInMap("status")] |
| [Validation(Required=false)] |
| public string Status { get; set; } |
| |
| [NameInMap("gmtCreate")] |
| [Validation(Required=false)] |
| public string GmtCreate { get; set; } |
| |
| [NameInMap("gmtModify")] |
| [Validation(Required=false)] |
| public string GmtModify { get; set; } |
| |
| } |
| |
| /// <summary> |
| /// <para>The total number of entries.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>2</para> |
| /// </summary> |
| [NameInMap("total")] |
| [Validation(Required=false)] |
| public int? Total { get; set; } |
| |
| /// <summary> |
| /// <para>The number of entries returned per page.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>10</para> |
| /// </summary> |
| [NameInMap("maxResults")] |
| [Validation(Required=false)] |
| public int? MaxResults { get; set; } |
| |
| /// <summary> |
| /// <para>If excess return values exist, this parameter is returned.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>0</para> |
| /// </summary> |
| [NameInMap("nextToken")] |
| [Validation(Required=false)] |
| public string NextToken { get; set; } |
| |
| } |
| |
| } |