def update(deal_unqualified_reason)
      validate_type!(deal_unqualified_reason)
      params = extract_params!(deal_unqualified_reason, :id)
      id = params[:id]

      attributes = sanitize(deal_unqualified_reason)
      _, _, root = @client.put("/deal_unqualified_reasons/#{id}", attributes)

      DealUnqualifiedReason.new(root[:data])
    end
def update(deal_unqualified_reason)
      validate_type!(deal_unqualified_reason)
      params = extract_params!(deal_unqualified_reason, :id)
      id = params[:id]

      attributes = sanitize(deal_unqualified_reason)
      _, _, root = @client.put("/deal_unqualified_reasons/#{id}", attributes)

      DealUnqualifiedReason.new(root[:data])
    end
Update a deal unqualified reason

 put '/deal_unqualified_reasons/{id}'

 Updates a deal unqualified reason information
 If the specified deal unqualified reason does not exist, the request will return an error
 <figure class="notice">
 If you want to update deal unqualified reason you **must** make sure name of the reason is unique
 </figure>

 @param deal_unqualified_reason [DealUnqualifiedReason, Hash] Either object of the DealUnqualifiedReason type or Hash. This object's attributes describe the object to be updated.
 @return [DealUnqualifiedReason] The resulting object represting updated resource.