@@ -191,7 +191,7 @@ export class ApiService {
191
191
) ;
192
192
}
193
193
194
- public post ( endpoint : string , componentType : string , name : string , observe : any = 'body' , reportProgress : boolean = false ) : any {
194
+ private post ( endpoint : string , componentType : string , name : string , observe : any = 'body' , reportProgress : boolean = false ) : any {
195
195
if ( componentType === null || componentType === undefined && name === null || name === undefined ) {
196
196
throw new Error ( 'Required parameter componentType and Instance Name was null or undefined when calling getInstanceNumber.' ) ;
197
197
}
@@ -225,7 +225,7 @@ export class ApiService {
225
225
}
226
226
227
227
228
- public postAction ( endpoint : string , idInstance : string , observe : any = 'body' , reportProgress : boolean = false ) :
228
+ private postAction ( endpoint : string , idInstance : string , observe : any = 'body' , reportProgress : boolean = false ) :
229
229
Observable < HttpEvent < number > > {
230
230
let queryParam = new HttpParams ( { encoder : new CustomHttpUrlEncodingCodec ( ) } ) ;
231
231
@@ -239,8 +239,7 @@ export class ApiService {
239
239
}
240
240
241
241
242
- // This method is a common configuration to set the headers and query params
243
- public commonConf ( endpoint : string , queryParameters : HttpParams , observe : any = 'body' , reportProgress : boolean = false ) :
242
+ private commonConf ( endpoint : string , queryParameters : HttpParams , observe : any = 'body' , reportProgress : boolean = false ) :
244
243
Observable < HttpEvent < number > > {
245
244
let headers = this . defaultHeaders ;
246
245
0 commit comments