Files
amnezia-client/client/android/src/net/openvpn/ovpn3/ClientAPI_ProvideCreds.java
Розов Никита Валерьевич b5cc515e42 added swig files and libs to the project
2021-10-14 11:32:17 +03:00

108 lines
3.2 KiB
Java

/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.openvpn.ovpn3;
public class ClientAPI_ProvideCreds {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ClientAPI_ProvideCreds(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ClientAPI_ProvideCreds obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
ovpncliJNI.delete_ClientAPI_ProvideCreds(swigCPtr);
}
swigCPtr = 0;
}
}
public void setUsername(String value) {
ovpncliJNI.ClientAPI_ProvideCreds_username_set(swigCPtr, this, value);
}
public String getUsername() {
return ovpncliJNI.ClientAPI_ProvideCreds_username_get(swigCPtr, this);
}
public void setPassword(String value) {
ovpncliJNI.ClientAPI_ProvideCreds_password_set(swigCPtr, this, value);
}
public String getPassword() {
return ovpncliJNI.ClientAPI_ProvideCreds_password_get(swigCPtr, this);
}
public void setHttp_proxy_user(String value) {
ovpncliJNI.ClientAPI_ProvideCreds_http_proxy_user_set(swigCPtr, this, value);
}
public String getHttp_proxy_user() {
return ovpncliJNI.ClientAPI_ProvideCreds_http_proxy_user_get(swigCPtr, this);
}
public void setHttp_proxy_pass(String value) {
ovpncliJNI.ClientAPI_ProvideCreds_http_proxy_pass_set(swigCPtr, this, value);
}
public String getHttp_proxy_pass() {
return ovpncliJNI.ClientAPI_ProvideCreds_http_proxy_pass_get(swigCPtr, this);
}
public void setResponse(String value) {
ovpncliJNI.ClientAPI_ProvideCreds_response_set(swigCPtr, this, value);
}
public String getResponse() {
return ovpncliJNI.ClientAPI_ProvideCreds_response_get(swigCPtr, this);
}
public void setDynamicChallengeCookie(String value) {
ovpncliJNI.ClientAPI_ProvideCreds_dynamicChallengeCookie_set(swigCPtr, this, value);
}
public String getDynamicChallengeCookie() {
return ovpncliJNI.ClientAPI_ProvideCreds_dynamicChallengeCookie_get(swigCPtr, this);
}
public void setReplacePasswordWithSessionID(boolean value) {
ovpncliJNI.ClientAPI_ProvideCreds_replacePasswordWithSessionID_set(swigCPtr, this, value);
}
public boolean getReplacePasswordWithSessionID() {
return ovpncliJNI.ClientAPI_ProvideCreds_replacePasswordWithSessionID_get(swigCPtr, this);
}
public void setCachePassword(boolean value) {
ovpncliJNI.ClientAPI_ProvideCreds_cachePassword_set(swigCPtr, this, value);
}
public boolean getCachePassword() {
return ovpncliJNI.ClientAPI_ProvideCreds_cachePassword_get(swigCPtr, this);
}
public ClientAPI_ProvideCreds() {
this(ovpncliJNI.new_ClientAPI_ProvideCreds(), true);
}
}