private static void AddParametersFromRequest <TResourceIdentifier>(IRestRequest restRequest, RequestBase <TResourceIdentifier> request)
            where TResourceIdentifier : class, IResourceIdentifier
        {
            AddHeaders(restRequest, request.GetHeaders());

            if (restRequest.Method != Method.GET && restRequest.Method != Method.DELETE)
            {
                restRequest.AddJsonBody(request);
                return;
            }

            var properties = GetApplicableProperties(request);

            if (!properties.Any())
            {
                return;
            }

            AddParametersFromProperties(properties, request, restRequest);

            AddParametersFromEnumerableProperties(properties, request, restRequest);
        }