Update names

This commit is contained in:
Kyle Bouchard 2024-02-12 09:10:29 -05:00
parent b5061e703d
commit a04c913c23
3 changed files with 20 additions and 20 deletions

View File

@ -94,17 +94,17 @@ export class ActuatorsService {
}
/**
* Actuator
* Actuators
* @param prototypeId
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
public actuator(prototypeId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<Array<Actuator>>;
public actuator(prototypeId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<Array<Actuator>>>;
public actuator(prototypeId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<Array<Actuator>>>;
public actuator(prototypeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
public actuators(prototypeId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<Array<Actuator>>;
public actuators(prototypeId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<Array<Actuator>>>;
public actuators(prototypeId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<Array<Actuator>>>;
public actuators(prototypeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
if (prototypeId === null || prototypeId === undefined) {
throw new Error('Required parameter prototypeId was null or undefined when calling actuator.');
throw new Error('Required parameter prototypeId was null or undefined when calling actuators.');
}
let localVarHeaders = this.defaultHeaders;
@ -152,17 +152,17 @@ export class ActuatorsService {
}
/**
* Actuators
* Put Actuators
* @param actuator
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
public actuators(actuator: Array<Actuator>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<Actuator>;
public actuators(actuator: Array<Actuator>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<Actuator>>;
public actuators(actuator: Array<Actuator>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<Actuator>>;
public actuators(actuator: Array<Actuator>, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
public putActuators(actuator: Array<Actuator>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<Actuator>;
public putActuators(actuator: Array<Actuator>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<Actuator>>;
public putActuators(actuator: Array<Actuator>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<Actuator>>;
public putActuators(actuator: Array<Actuator>, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
if (actuator === null || actuator === undefined) {
throw new Error('Required parameter actuator was null or undefined when calling actuators.');
throw new Error('Required parameter actuator was null or undefined when calling putActuators.');
}
let localVarHeaders = this.defaultHeaders;

View File

@ -96,21 +96,21 @@ export class MeasurementsService {
}
/**
* Measurement
* Measurements
* @param prototypeId
* @param sensorType
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
public measurement(prototypeId: number, sensorType: SensorType, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<Array<Measurement>>;
public measurement(prototypeId: number, sensorType: SensorType, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<Array<Measurement>>>;
public measurement(prototypeId: number, sensorType: SensorType, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<Array<Measurement>>>;
public measurement(prototypeId: number, sensorType: SensorType, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
public measurements(prototypeId: number, sensorType: SensorType, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<Array<Measurement>>;
public measurements(prototypeId: number, sensorType: SensorType, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<Array<Measurement>>>;
public measurements(prototypeId: number, sensorType: SensorType, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<Array<Measurement>>>;
public measurements(prototypeId: number, sensorType: SensorType, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
if (prototypeId === null || prototypeId === undefined) {
throw new Error('Required parameter prototypeId was null or undefined when calling measurement.');
throw new Error('Required parameter prototypeId was null or undefined when calling measurements.');
}
if (sensorType === null || sensorType === undefined) {
throw new Error('Required parameter sensorType was null or undefined when calling measurement.');
throw new Error('Required parameter sensorType was null or undefined when calling measurements.');
}
let localVarHeaders = this.defaultHeaders;

View File

@ -1 +1 @@
java -jar ~/Downloads/openapi-generator-cli-7.3.0-20231222.090957-1.jar generate -g typescript-angular -i http://127.0.0.1:8000/openapi.json -o /home/ptrstr/Documents/Projects/aquapoly/Aquadash-backend-client/ -p npmRepository=https://git.aquapoly.ca/kylebouchard/Aquadash-backend-client -p ngVersion=17.1.0 -p npmName=aquadash-backend
java -jar ~/Downloads/openapi-generator-cli-7.3.0-20231222.090957-1.jar generate -g typescript-angular -i http://127.0.0.1:8000/openapi.json -o . -p npmRepository=https://git.aquapoly.ca/kylebouchard/Aquadash-backend-client -p ngVersion=17.1.0 -p npmName=aquadash-backend