コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Bucket" /> class.
 /// </summary>
 /// <param name="changes">changes.</param>
 /// <param name="created">created.</param>
 /// <param name="description">description.</param>
 /// <param name="id">id.</param>
 /// <param name="lastRelease">lastRelease.</param>
 /// <param name="name">name.</param>
 /// <param name="projectguid">projectguid.</param>
 public Bucket(Changecount changes = default(Changecount), DateTime?created = default(DateTime?), string description = default(string), Guid?id = default(Guid?), Release lastRelease = default(Release), string name = default(string), Guid?projectguid = default(Guid?))
 {
     this.Changes     = changes;
     this.Created     = created;
     this.Description = description;
     this.Id          = id;
     this.LastRelease = lastRelease;
     this.Name        = name;
     this.Projectguid = projectguid;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Release" /> class.
 /// </summary>
 /// <param name="badges">badges.</param>
 /// <param name="changes">changes.</param>
 /// <param name="contentHash">contentHash.</param>
 /// <param name="contentSize">contentSize.</param>
 /// <param name="created">created.</param>
 /// <param name="createdBy">createdBy.</param>
 /// <param name="createdByName">createdByName.</param>
 /// <param name="entriesLink">entriesLink.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="notes">notes.</param>
 /// <param name="promotedFromBucket">promotedFromBucket.</param>
 /// <param name="promotedFromRelease">promotedFromRelease.</param>
 /// <param name="releaseid">releaseid.</param>
 /// <param name="releasenum">releasenum.</param>
 public Release(List <Badge> badges = default(List <Badge>), Changecount changes = default(Changecount), string contentHash = default(string), int?contentSize = default(int?), DateTime?created = default(DateTime?), string createdBy = default(string), string createdByName = default(string), string entriesLink = default(string), Object metadata = default(Object), string notes = default(string), Guid?promotedFromBucket = default(Guid?), Guid?promotedFromRelease = default(Guid?), Guid?releaseid = default(Guid?), int?releasenum = default(int?))
 {
     this.Badges              = badges;
     this.Changes             = changes;
     this.ContentHash         = contentHash;
     this.ContentSize         = contentSize;
     this.Created             = created;
     this.CreatedBy           = createdBy;
     this.CreatedByName       = createdByName;
     this.EntriesLink         = entriesLink;
     this.Metadata            = metadata;
     this.Notes               = notes;
     this.PromotedFromBucket  = promotedFromBucket;
     this.PromotedFromRelease = promotedFromRelease;
     this.Releaseid           = releaseid;
     this.Releasenum          = releasenum;
 }