text: // COPYRIGHT © 2018 Esri
  //
  // All rights reserved under the copyright laws of the United States
  // and applicable international laws, treaties, and conventions.
  //
  // This material is licensed for use under the Esri Master License
  // Agreement (MLA), and is bound by the terms of that agreement.
  // You may redistribute and use this code without modification,
  // provided you adhere to the terms of the MLA and include this
  // copyright notice.
  //
  // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
  //
  // For additional information, contact:
  // Environmental Systems Research Institute, Inc.
  // Attn: Contracts and Legal Services Department
  // 380 New York Street
  // Redlands, California, USA 92373
  // USA
  //
  // email: contracts@esri.com
  //
  // See http://js.arcgis.com/4.10/esri/copyright.txt for details.
  
  define(["require","exports","../../core/tsSupport/declareExtendsHelper","../../core/tsSupport/decorateHelper","../../core/JSONSupport","../../core/lang","../../core/accessorSupport/decorators"],function(t,e,r,o,s,n,p){return function(t){function e(e){var r=t.call(this,e)||this;return r.attachmentTypes=null,r.definitionExpression=null,r.globalIds=null,r.num=null,r.objectIds=null,r.size=null,r.start=null,r}r(e,t),s=e,e.prototype.writeStart=function(t,e,r){e.resultOffset=this.start,e.resultRecordCount=this.num||10},e.prototype.clone=function(){return new s(n.clone({attachmentTypes:this.attachmentTypes,definitionExpression:this.definitionExpression,globalIds:this.globalIds,num:this.num,objectIds:this.objectIds,size:this.size,start:this.start}))};var s;return o([p.property({type:[String],json:{write:!0}})],e.prototype,"attachmentTypes",void 0),o([p.property({type:String,json:{write:!0}})],e.prototype,"definitionExpression",void 0),o([p.property({type:[Number],json:{write:!0}})],e.prototype,"globalIds",void 0),o([p.property({type:Number,json:{read:{source:"resultRecordCount"}}})],e.prototype,"num",void 0),o([p.property({type:[Number],json:{write:!0}})],e.prototype,"objectIds",void 0),o([p.property({type:[Number],json:{write:!0}})],e.prototype,"size",void 0),o([p.property({type:Number,json:{read:{source:"resultOffset"}}})],e.prototype,"start",void 0),o([p.writer("start"),p.writer("num")],e.prototype,"writeStart",null),e=s=o([p.subclass("esri.tasks.support.AttachmentQuery")],e)}(p.declared(s))});