@@ -11,22 +11,22 @@ internal RestRequest(string resource, HttpMethod method)
1111 Resource = resource ;
1212 }
1313
14- public Dictionary < string , string > QueryParameters { get ; private set ; } = new Dictionary < string , string > ( ) ;
15- public Dictionary < string , string > Headers { get ; private set ; } = new Dictionary < string , string > ( ) ;
16- public HttpMethod Method { get ; private set ; }
17- public string Resource { get ; private set ; }
18- public string JsonBody { get ; private set ; }
19- public System . IO . Stream FileStream { get ; private set ; }
20- public string FileStreamContentType { get ; private set ; }
21- public string FileStreamName { get ; private set ; }
14+ internal Dictionary < string , string > QueryParameters { get ; private set ; } = new Dictionary < string , string > ( ) ;
15+ internal Dictionary < string , string > Headers { get ; private set ; } = new Dictionary < string , string > ( ) ;
16+ internal HttpMethod Method { get ; private set ; }
17+ internal string Resource { get ; private set ; }
18+ internal string JsonBody { get ; private set ; }
19+ internal System . IO . Stream FileStream { get ; private set ; }
20+ internal string FileStreamContentType { get ; private set ; }
21+ internal string FileStreamName { get ; private set ; }
2222
23- public void AddHeader ( string name , string value ) => Headers [ name ] = value ;
23+ internal void AddHeader ( string name , string value ) => Headers [ name ] = value ;
2424
25- public void AddQueryParameter ( string name , string value ) => QueryParameters [ name ] = value ;
25+ internal void AddQueryParameter ( string name , string value ) => QueryParameters [ name ] = value ;
2626
27- public void SetJsonBody ( string json ) => JsonBody = json ;
27+ internal void SetJsonBody ( string json ) => JsonBody = json ;
2828
29- public void SetFileStream ( System . IO . Stream stream , string name , string contentType )
29+ internal void SetFileStream ( System . IO . Stream stream , string name , string contentType )
3030 {
3131 FileStream = stream ;
3232 FileStreamName = name ;
0 commit comments