ListBucketResult.cs 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.269
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. using System.Xml.Serialization;
  11. //
  12. // This source code was auto-generated by xsd, Version=4.0.30319.1.
  13. //
  14. namespace Aliyun.OSS.Model
  15. {
  16. /// <remarks/>
  17. [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
  18. [System.SerializableAttribute()]
  19. [System.Diagnostics.DebuggerStepThroughAttribute()]
  20. [System.ComponentModel.DesignerCategoryAttribute("code")]
  21. [XmlType(AnonymousType=true)]
  22. [XmlRoot(Namespace="", IsNullable=false)]
  23. public partial class ListBucketResult
  24. {
  25. private string nameField;
  26. private string prefixField;
  27. private string encodingType;
  28. private string markerField;
  29. private int maxKeysField;
  30. private string delimiterField;
  31. private bool isTruncatedField;
  32. private string nextMarkerField;
  33. private ListBucketResultContents[] contentsField;
  34. private ListBucketResultCommonPrefixes[] commonPrefixesField;
  35. /// <remarks/>
  36. public string Name {
  37. get {
  38. return this.nameField;
  39. }
  40. set {
  41. this.nameField = value;
  42. }
  43. }
  44. /// <remarks/>
  45. public string Prefix {
  46. get {
  47. return this.prefixField;
  48. }
  49. set {
  50. this.prefixField = value;
  51. }
  52. }
  53. /// <remarks/>
  54. public string EncodingType {
  55. get {
  56. return this.encodingType;
  57. }
  58. set {
  59. this.encodingType = value;
  60. }
  61. }
  62. /// <remarks/>
  63. public string Marker {
  64. get {
  65. return this.markerField;
  66. }
  67. set {
  68. this.markerField = value;
  69. }
  70. }
  71. /// <remarks/>
  72. public int MaxKeys {
  73. get {
  74. return this.maxKeysField;
  75. }
  76. set {
  77. this.maxKeysField = value;
  78. }
  79. }
  80. /// <remarks/>
  81. public string Delimiter {
  82. get {
  83. return this.delimiterField;
  84. }
  85. set {
  86. this.delimiterField = value;
  87. }
  88. }
  89. /// <remarks/>
  90. public bool IsTruncated {
  91. get {
  92. return this.isTruncatedField;
  93. }
  94. set {
  95. this.isTruncatedField = value;
  96. }
  97. }
  98. /// <remarks/>
  99. public string NextMarker {
  100. get {
  101. return this.nextMarkerField;
  102. }
  103. set {
  104. this.nextMarkerField = value;
  105. }
  106. }
  107. /// <remarks/>
  108. [XmlElement("Contents")]
  109. public ListBucketResultContents[] Contents {
  110. get {
  111. return this.contentsField;
  112. }
  113. set {
  114. this.contentsField = value;
  115. }
  116. }
  117. /// <remarks/>
  118. // [XmlArray()]
  119. // [System.Xml.Serialization.XmlArrayItemAttribute("CommonPrefixes")]
  120. [XmlElement("CommonPrefixes")]
  121. public ListBucketResultCommonPrefixes[] CommonPrefixes {
  122. get {
  123. return this.commonPrefixesField;
  124. }
  125. set {
  126. this.commonPrefixesField = value;
  127. }
  128. }
  129. }
  130. /// <remarks/>
  131. [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
  132. [System.SerializableAttribute()]
  133. [System.Diagnostics.DebuggerStepThroughAttribute()]
  134. [System.ComponentModel.DesignerCategoryAttribute("code")]
  135. [XmlType(AnonymousType=true)]
  136. public partial class ListBucketResultContents {
  137. private string keyField;
  138. private System.DateTime lastModifiedField;
  139. private string eTagField;
  140. private string typeField;
  141. private long sizeField;
  142. private string storageClassField;
  143. private Owner ownerField;
  144. /// <remarks/>
  145. public string Key {
  146. get {
  147. return this.keyField;
  148. }
  149. set {
  150. this.keyField = value;
  151. }
  152. }
  153. /// <remarks/>
  154. public System.DateTime LastModified {
  155. get {
  156. return this.lastModifiedField;
  157. }
  158. set {
  159. this.lastModifiedField = value;
  160. }
  161. }
  162. /// <remarks/>
  163. public string ETag {
  164. get {
  165. return this.eTagField;
  166. }
  167. set {
  168. this.eTagField = value;
  169. }
  170. }
  171. /// <remarks/>
  172. public string Type {
  173. get {
  174. return this.typeField;
  175. }
  176. set {
  177. this.typeField = value;
  178. }
  179. }
  180. /// <remarks/>
  181. public long Size {
  182. get {
  183. return this.sizeField;
  184. }
  185. set {
  186. this.sizeField = value;
  187. }
  188. }
  189. /// <remarks/>
  190. public string StorageClass {
  191. get {
  192. return this.storageClassField;
  193. }
  194. set {
  195. this.storageClassField = value;
  196. }
  197. }
  198. /// <remarks/>
  199. public Owner Owner {
  200. get {
  201. return this.ownerField;
  202. }
  203. set {
  204. this.ownerField = value;
  205. }
  206. }
  207. }
  208. /// <remarks/>
  209. [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
  210. [System.SerializableAttribute()]
  211. [System.Diagnostics.DebuggerStepThroughAttribute()]
  212. [System.ComponentModel.DesignerCategoryAttribute("code")]
  213. [XmlType(AnonymousType=true)]
  214. [XmlRoot("CommonPrefixes")]
  215. public partial class ListBucketResultCommonPrefixes {
  216. private string[] prefixField;
  217. /// <remarks/>
  218. // [XmlArrayItem("Prefix")]
  219. [XmlElement("Prefix")]
  220. public string[] Prefix {
  221. get {
  222. return this.prefixField;
  223. }
  224. set {
  225. this.prefixField = value;
  226. }
  227. }
  228. }
  229. }