@@ -1,5 +1,6 @@
 | 
			
		||||
import {
 | 
			
		||||
 | 
			
		||||
    IsBoolean,
 | 
			
		||||
    IsInt,
 | 
			
		||||
 | 
			
		||||
    IsNotEmpty,
 | 
			
		||||
@@ -48,6 +49,12 @@ export class ResponseScanStation {
 | 
			
		||||
    @IsNotEmpty()
 | 
			
		||||
    track: ResponseTrack;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Is this station enabled?
 | 
			
		||||
     */
 | 
			
		||||
    @IsBoolean()
 | 
			
		||||
    enabled?: boolean = true;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Creates a ResponseStatsClient object from a statsClient.
 | 
			
		||||
     * @param client The statsClient the response shall be build for.
 | 
			
		||||
@@ -58,5 +65,6 @@ export class ResponseScanStation {
 | 
			
		||||
        this.prefix = station.prefix;
 | 
			
		||||
        this.key = "Only visible on creation.";
 | 
			
		||||
        this.track = station.track;
 | 
			
		||||
        this.enabled = station.enabled;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user