|
| 1 | +/* |
| 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | + * or more contributor license agreements. See the NOTICE file |
| 4 | + * distributed with this work for additional information |
| 5 | + * regarding copyright ownership. The ASF licenses this file |
| 6 | + * to you under the Apache License, Version 2.0 (the |
| 7 | + * "License"); you may not use this file except in compliance |
| 8 | + * with the License. You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, |
| 13 | + * software distributed under the License is distributed on an |
| 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | + * KIND, either express or implied. See the License for the |
| 16 | + * specific language governing permissions and limitations |
| 17 | + * under the License. |
| 18 | + */ |
| 19 | +using System.Collections.Generic; |
| 20 | + |
| 21 | +using Aliyun.Acs.Core; |
| 22 | +using Aliyun.Acs.Core.Http; |
| 23 | +using Aliyun.Acs.Core.Transform; |
| 24 | +using Aliyun.Acs.Core.Utils; |
| 25 | +using Aliyun.Acs.dt_oc_info; |
| 26 | +using Aliyun.Acs.dt_oc_info.Transform; |
| 27 | +using Aliyun.Acs.dt_oc_info.Transform.V20220829; |
| 28 | + |
| 29 | +namespace Aliyun.Acs.dt_oc_info.Model.V20220829 |
| 30 | +{ |
| 31 | + public class GetOcCompetitorsRequest : RpcAcsRequest<GetOcCompetitorsResponse> |
| 32 | + { |
| 33 | + public GetOcCompetitorsRequest() |
| 34 | + : base("dt-oc-info", "2022-08-29", "GetOcCompetitors") |
| 35 | + { |
| 36 | + Method = MethodType.POST; |
| 37 | + } |
| 38 | + |
| 39 | + private int? pageNo; |
| 40 | + |
| 41 | + private int? pageSize; |
| 42 | + |
| 43 | + private string searchKey; |
| 44 | + |
| 45 | + public int? PageNo |
| 46 | + { |
| 47 | + get |
| 48 | + { |
| 49 | + return pageNo; |
| 50 | + } |
| 51 | + set |
| 52 | + { |
| 53 | + pageNo = value; |
| 54 | + DictionaryUtil.Add(BodyParameters, "PageNo", value.ToString()); |
| 55 | + } |
| 56 | + } |
| 57 | + |
| 58 | + public int? PageSize |
| 59 | + { |
| 60 | + get |
| 61 | + { |
| 62 | + return pageSize; |
| 63 | + } |
| 64 | + set |
| 65 | + { |
| 66 | + pageSize = value; |
| 67 | + DictionaryUtil.Add(BodyParameters, "PageSize", value.ToString()); |
| 68 | + } |
| 69 | + } |
| 70 | + |
| 71 | + public string SearchKey |
| 72 | + { |
| 73 | + get |
| 74 | + { |
| 75 | + return searchKey; |
| 76 | + } |
| 77 | + set |
| 78 | + { |
| 79 | + searchKey = value; |
| 80 | + DictionaryUtil.Add(BodyParameters, "SearchKey", value); |
| 81 | + } |
| 82 | + } |
| 83 | + |
| 84 | + public override bool CheckShowJsonItemName() |
| 85 | + { |
| 86 | + return false; |
| 87 | + } |
| 88 | + |
| 89 | + public override GetOcCompetitorsResponse GetResponse(UnmarshallerContext unmarshallerContext) |
| 90 | + { |
| 91 | + return GetOcCompetitorsResponseUnmarshaller.Unmarshall(unmarshallerContext); |
| 92 | + } |
| 93 | + } |
| 94 | +} |
0 commit comments