ModifyAppConfigRequest.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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 Aliyun.Acs.Core;
  20. using Aliyun.Acs.Core.Http;
  21. using Aliyun.Acs.Core.Transform;
  22. using Aliyun.Acs.Core.Utils;
  23. using Aliyun.Acs.Push.Transform;
  24. using Aliyun.Acs.Push.Transform.V20160801;
  25. using System.Collections.Generic;
  26. namespace Aliyun.Acs.Push.Model.V20160801
  27. {
  28. public class ModifyAppConfigRequest : RpcAcsRequest<ModifyAppConfigResponse>
  29. {
  30. public ModifyAppConfigRequest()
  31. : base("Push", "2016-08-01", "ModifyAppConfig")
  32. {
  33. }
  34. private long? appKey;
  35. private string packageName;
  36. private string devCertKey;
  37. private string devCertPass;
  38. private string productCertKey;
  39. private string productCertPass;
  40. private string bundleId;
  41. private bool? boxFlag;
  42. public long? AppKey
  43. {
  44. get
  45. {
  46. return appKey;
  47. }
  48. set
  49. {
  50. appKey = value;
  51. DictionaryUtil.Add(QueryParameters, "AppKey", value.ToString());
  52. }
  53. }
  54. public string PackageName
  55. {
  56. get
  57. {
  58. return packageName;
  59. }
  60. set
  61. {
  62. packageName = value;
  63. DictionaryUtil.Add(QueryParameters, "PackageName", value);
  64. }
  65. }
  66. public string DevCertKey
  67. {
  68. get
  69. {
  70. return devCertKey;
  71. }
  72. set
  73. {
  74. devCertKey = value;
  75. DictionaryUtil.Add(QueryParameters, "DevCertKey", value);
  76. }
  77. }
  78. public string DevCertPass
  79. {
  80. get
  81. {
  82. return devCertPass;
  83. }
  84. set
  85. {
  86. devCertPass = value;
  87. DictionaryUtil.Add(QueryParameters, "DevCertPass", value);
  88. }
  89. }
  90. public string ProductCertKey
  91. {
  92. get
  93. {
  94. return productCertKey;
  95. }
  96. set
  97. {
  98. productCertKey = value;
  99. DictionaryUtil.Add(QueryParameters, "ProductCertKey", value);
  100. }
  101. }
  102. public string ProductCertPass
  103. {
  104. get
  105. {
  106. return productCertPass;
  107. }
  108. set
  109. {
  110. productCertPass = value;
  111. DictionaryUtil.Add(QueryParameters, "ProductCertPass", value);
  112. }
  113. }
  114. public string BundleId
  115. {
  116. get
  117. {
  118. return bundleId;
  119. }
  120. set
  121. {
  122. bundleId = value;
  123. DictionaryUtil.Add(QueryParameters, "BundleId", value);
  124. }
  125. }
  126. public bool? BoxFlag
  127. {
  128. get
  129. {
  130. return boxFlag;
  131. }
  132. set
  133. {
  134. boxFlag = value;
  135. DictionaryUtil.Add(QueryParameters, "BoxFlag", value.ToString());
  136. }
  137. }
  138. public override ModifyAppConfigResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
  139. {
  140. return ModifyAppConfigResponseUnmarshaller.Unmarshall(unmarshallerContext);
  141. }
  142. }
  143. }