Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the AccountQuota class.
 /// </summary>
 /// <param name="tier">Gets the tier of user</param>
 /// <param name="projects">Gets the project quota</param>
 /// <param name="predictions">Gets the prediction quota</param>
 /// <param name="perProject">Gets a list of quotas that apply
 /// per-project for each project</param>
 public AccountQuota(string tier = default(string), Quota projects = default(Quota), Quota predictions = default(Quota), IList <PerProjectQuota> perProject = default(IList <PerProjectQuota>))
 {
     Tier        = tier;
     Projects    = projects;
     Predictions = predictions;
     PerProject  = perProject;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the PerProjectQuota class.
 /// </summary>
 /// <param name="projectId">Gets the project id of the project this
 /// quota applies to</param>
 /// <param name="iterations">Gets the iteration quota for the
 /// project</param>
 /// <param name="images">Gets the image quota for the project</param>
 /// <param name="tags">Gets the tag quota for the project</param>
 public PerProjectQuota(System.Guid projectId = default(System.Guid), Quota iterations = default(Quota), Quota images = default(Quota), Quota tags = default(Quota))
 {
     ProjectId  = projectId;
     Iterations = iterations;
     Images     = images;
     Tags       = tags;
     CustomInit();
 }