Skip to content

SslVpnLockModifyOpenApiVO

Properties

Name Type Description Notes
Ip Pointer to string IP of the SSL VPN lock. It is required when parameter [type] is 1. [optional]
TotalLockTime int32 Total lock time of the SSL VPN lock should be within the range of 1–1080(min).
Type int32 Type of the SSL VPN lock should be a value as follows: 0:username, 1:IP. It can not be modified.
Username Pointer to string Username of the SSL VPN lock. It is required when parameter [type] is 0. [optional]

Methods

NewSslVpnLockModifyOpenApiVO

func NewSslVpnLockModifyOpenApiVO(totalLockTime int32, type_ int32, ) *SslVpnLockModifyOpenApiVO

NewSslVpnLockModifyOpenApiVO instantiates a new SslVpnLockModifyOpenApiVO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSslVpnLockModifyOpenApiVOWithDefaults

func NewSslVpnLockModifyOpenApiVOWithDefaults() *SslVpnLockModifyOpenApiVO

NewSslVpnLockModifyOpenApiVOWithDefaults instantiates a new SslVpnLockModifyOpenApiVO object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetIp

func (o *SslVpnLockModifyOpenApiVO) GetIp() string

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

func (o *SslVpnLockModifyOpenApiVO) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIp

func (o *SslVpnLockModifyOpenApiVO) SetIp(v string)

SetIp sets Ip field to given value.

HasIp

func (o *SslVpnLockModifyOpenApiVO) HasIp() bool

HasIp returns a boolean if a field has been set.

GetTotalLockTime

func (o *SslVpnLockModifyOpenApiVO) GetTotalLockTime() int32

GetTotalLockTime returns the TotalLockTime field if non-nil, zero value otherwise.

GetTotalLockTimeOk

func (o *SslVpnLockModifyOpenApiVO) GetTotalLockTimeOk() (*int32, bool)

GetTotalLockTimeOk returns a tuple with the TotalLockTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTotalLockTime

func (o *SslVpnLockModifyOpenApiVO) SetTotalLockTime(v int32)

SetTotalLockTime sets TotalLockTime field to given value.

GetType

func (o *SslVpnLockModifyOpenApiVO) GetType() int32

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *SslVpnLockModifyOpenApiVO) GetTypeOk() (*int32, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *SslVpnLockModifyOpenApiVO) SetType(v int32)

SetType sets Type field to given value.

GetUsername

func (o *SslVpnLockModifyOpenApiVO) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *SslVpnLockModifyOpenApiVO) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUsername

func (o *SslVpnLockModifyOpenApiVO) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *SslVpnLockModifyOpenApiVO) HasUsername() bool

HasUsername returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]