def maintenance(service_id, options = { enable: true })
      custom_params = []
      custom_params << ["enable=#{options[:enable]}"]
      custom_params << ["reason=#{options[:reason].split(' ').join('+')}"] if options[:reason]
      maintenance = send_put_request(@conn, ["/v1/agent/service/maintenance/#{service_id}"],
                                     options, nil, custom_params)
      maintenance.status == 200
    end
def maintenance(service_id, options = { enable: true })
      custom_params = []
      custom_params << ["enable=#{options[:enable]}"]
      custom_params << ["reason=#{options[:reason].split(' ').join('+')}"] if options[:reason]
      maintenance = send_put_request(@conn, ["/v1/agent/service/maintenance/#{service_id}"],
                                     options, nil, custom_params)
      maintenance.status == 200
    end
Enable or disable maintenance for a service
 @param service_id [String] id of the service
 @param options [Hash] opts the options for enabling or disabling maintenance for a service
 @options opts [Boolean] :enable (true) whether to enable or disable maintenance
 @options opts [String] :reason reason for the service maintenance
 @raise [Diplomat::PathNotFound] if the request fails
 @return [Boolean] if the request was successful or not