/// <summary>
 /// Initializes a new instance of the Usage class.
 /// </summary>
 /// <param name="currentValue">The current value of the usage.</param>
 /// <param name="limit">The limit of usage.</param>
 /// <param name="name">The name of the type of usage.</param>
 public Usage(long currentValue, long limit, UsageName name)
 {
     CurrentValue = currentValue;
     Limit        = limit;
     Name         = name;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the UsageInner class.
 /// </summary>
 /// <param name="currentValue">The current value of the usage.</param>
 /// <param name="limit">The limit of usage.</param>
 /// <param name="name">The name of the type of usage.</param>
 /// <param name="id">Resource identifier.</param>
 public UsageInner(long currentValue, long limit, UsageName name, string id = default(string))
 {
     Id           = id;
     CurrentValue = currentValue;
     Limit        = limit;
     Name         = name;
     CustomInit();
 }