protected RESTRequest(IRESTEndpointConfiguration configuration) { this.Configuration = configuration ?? throw new ArgumentNullException("restEndpoint cannot be null."); }
protected SerializedRESTRequest(IDataSerializer serializer, IRESTEndpointConfiguration configuration) : base(configuration) { this.Serializer = serializer ?? throw new ArgumentNullException("serializer cannot be null."); }