ModifyAppExtensionsRequest.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 ModifyAppExtensionsRequest : RpcAcsRequest<ModifyAppExtensionsResponse>
  29. {
  30. public ModifyAppExtensionsRequest()
  31. : base("Push", "2016-08-01", "ModifyAppExtensions")
  32. {
  33. }
  34. private long? appKey;
  35. private string xmAppSecretKey;
  36. private string hwAppKey;
  37. private string hwAppSecretKey;
  38. public long? AppKey
  39. {
  40. get
  41. {
  42. return appKey;
  43. }
  44. set
  45. {
  46. appKey = value;
  47. DictionaryUtil.Add(QueryParameters, "AppKey", value.ToString());
  48. }
  49. }
  50. public string XmAppSecretKey
  51. {
  52. get
  53. {
  54. return xmAppSecretKey;
  55. }
  56. set
  57. {
  58. xmAppSecretKey = value;
  59. DictionaryUtil.Add(QueryParameters, "XmAppSecretKey", value);
  60. }
  61. }
  62. public string HwAppKey
  63. {
  64. get
  65. {
  66. return hwAppKey;
  67. }
  68. set
  69. {
  70. hwAppKey = value;
  71. DictionaryUtil.Add(QueryParameters, "HwAppKey", value);
  72. }
  73. }
  74. public string HwAppSecretKey
  75. {
  76. get
  77. {
  78. return hwAppSecretKey;
  79. }
  80. set
  81. {
  82. hwAppSecretKey = value;
  83. DictionaryUtil.Add(QueryParameters, "HwAppSecretKey", value);
  84. }
  85. }
  86. public override ModifyAppExtensionsResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
  87. {
  88. return ModifyAppExtensionsResponseUnmarshaller.Unmarshall(unmarshallerContext);
  89. }
  90. }
  91. }