/// <summary>
        /// Request constructor.
        /// <param name="client">BaseClient</param>
        /// <param name="availabilityGroup">AvailabilityGroup</param>
        /// </summary>
        public AvailabilityGroupUpdateRequest(BaseClient client = null, AvailabilityGroup availabilityGroup = null) :
            base(client)
        {
            Function = "AvailabilityGroup_Update";
            if (availabilityGroup != null)
            {
                if (availabilityGroup.Id > 0)
                {
                    AvailabilityGroupId = availabilityGroup.Id;
                }

                AvailabilityGroupTaxExempt = availabilityGroup.TaxExempt;
            }
        }
 /// <summary>
 /// Request constructor.
 /// <param name="client">BaseClient</param>
 /// <param name="availabilityGroup">AvailabilityGroup</param>
 /// </summary>
 public AvailabilityGroupCustomerUpdateAssignedRequest(BaseClient client = null, AvailabilityGroup availabilityGroup = null) :
     base(client)
 {
     Function = "AvailabilityGroupCustomer_Update_Assigned";
     if (availabilityGroup != null)
     {
         if (availabilityGroup.Id > 0)
         {
             AvailabilityGroupId = availabilityGroup.Id;
         }
         else if (availabilityGroup.Name.Length > 0)
         {
             EditAvailabilityGroup = availabilityGroup.Name;
         }
     }
 }
 /// <summary>
 /// Request constructor.
 /// <param name="client">BaseClient</param>
 /// <param name="availabilityGroup">AvailabilityGroup</param>
 /// </summary>
 public AvailabilityGroupProductListLoadQueryRequest(BaseClient client = null, AvailabilityGroup availabilityGroup = null) :
     base(client)
 {
     Function = "AvailabilityGroupProductList_Load_Query";
     if (availabilityGroup != null)
     {
         if (availabilityGroup.Id > 0)
         {
             AvailabilityGroupId = availabilityGroup.Id;
         }
     }
 }