ServiceApi class

Constructors

ServiceApi([ApiClientInterface? apiClient])

Properties

apiClient → ApiClientInterface
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableHps({String? uuidToken}) Future<void>
Disable HPS server
disableHpsWithHttpInfo({String? uuidToken}) Future<Response>
Disable HPS server
disableVpn({String? uuidToken}) Future<void>
Disable VPN service
disableVpnWithHttpInfo({String? uuidToken}) Future<Response>
Disable VPN service
downloadVpnClientConfig({String? uuidToken}) Future<MultipartFile?>
Download VPN client configuration
downloadVpnClientConfigWithHttpInfo({String? uuidToken}) Future<Response>
Download VPN client configuration
enableHps({String? uuidToken}) Future<void>
Enable HPS server
enableHpsWithHttpInfo({String? uuidToken}) Future<Response>
Enable HPS server
enableVpn({String? uuidToken}) Future<void>
Enable VPN service
enableVpnWithHttpInfo({String? uuidToken}) Future<Response>
Enable VPN service
generateVpnConfig(VpnConfig vpnConfig, {String? uuidToken}) Future<void>
Generate VPN configuration
generateVpnConfigWithHttpInfo(VpnConfig vpnConfig, {String? uuidToken}) Future<Response>
Generate VPN configuration
getHpsStatus({String? uuidToken}) Future<HPSStatus?>
Retrieves HPS server status
getHpsStatusWithHttpInfo({String? uuidToken}) Future<Response>
Retrieves HPS server status
getSupervisorHealth({String? uuidToken}) Future<void>
Get Supervisor health
getSupervisorHealthWithHttpInfo({String? uuidToken}) Future<Response>
Get Supervisor health
getSupervisorStatus({String? uuidToken}) Future<SupervisorData?>
Get Supervisor status
getSupervisorStatusWithHttpInfo({String? uuidToken}) Future<Response>
Get Supervisor status
getVpnConfig({String? uuidToken}) Future<VpnConfig?>
Get VPN configuration
getVpnConfigWithHttpInfo({String? uuidToken}) Future<Response>
Get VPN configuration
getVpnStatus({String? uuidToken}) Future<VpnStatus?>
Get VPN status
getVpnStatusWithHttpInfo({String? uuidToken}) Future<Response>
Get VPN status
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restartVpn({String? uuidToken}) Future<void>
Restart VPN service
restartVpnWithHttpInfo({String? uuidToken}) Future<Response>
Restart VPN service
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited