@@ -34,7 +34,9 @@ class GatewayUpdateRemoteAccess(object):
3434 and the value is json key in definition.
3535 """
3636 openapi_types = {
37+ 'allowed_ssh_url' : 'str' ,
3738 'allowed_urls' : 'str' ,
39+ 'default_session_ttl_minutes' : 'str' ,
3840 'hide_session_recording' : 'str' ,
3941 'json' : 'bool' ,
4042 'kexalgs' : 'str' ,
@@ -47,7 +49,9 @@ class GatewayUpdateRemoteAccess(object):
4749 }
4850
4951 attribute_map = {
52+ 'allowed_ssh_url' : 'allowed-ssh-url' ,
5053 'allowed_urls' : 'allowed-urls' ,
54+ 'default_session_ttl_minutes' : 'default-session-ttl-minutes' ,
5155 'hide_session_recording' : 'hide-session-recording' ,
5256 'json' : 'json' ,
5357 'kexalgs' : 'kexalgs' ,
@@ -59,13 +63,15 @@ class GatewayUpdateRemoteAccess(object):
5963 'uid_token' : 'uid-token'
6064 }
6165
62- def __init__ (self , allowed_urls = 'use-existing' , hide_session_recording = None , json = False , kexalgs = 'use-existing' , keyboard_layout = 'use-existing' , legacy_ssh_algorithm = None , rdp_target_configuration = 'use-existing' , ssh_target_configuration = 'use-existing' , token = None , uid_token = None , local_vars_configuration = None ): # noqa: E501
66+ def __init__ (self , allowed_ssh_url = 'use-existing' , allowed_urls = 'use-existing' , default_session_ttl_minutes = 'use-existing' , hide_session_recording = None , json = False , kexalgs = 'use-existing' , keyboard_layout = 'use-existing' , legacy_ssh_algorithm = None , rdp_target_configuration = 'use-existing' , ssh_target_configuration = 'use-existing' , token = None , uid_token = None , local_vars_configuration = None ): # noqa: E501
6367 """GatewayUpdateRemoteAccess - a model defined in OpenAPI""" # noqa: E501
6468 if local_vars_configuration is None :
6569 local_vars_configuration = Configuration ()
6670 self .local_vars_configuration = local_vars_configuration
6771
72+ self ._allowed_ssh_url = None
6873 self ._allowed_urls = None
74+ self ._default_session_ttl_minutes = None
6975 self ._hide_session_recording = None
7076 self ._json = None
7177 self ._kexalgs = None
@@ -77,8 +83,12 @@ def __init__(self, allowed_urls='use-existing', hide_session_recording=None, jso
7783 self ._uid_token = None
7884 self .discriminator = None
7985
86+ if allowed_ssh_url is not None :
87+ self .allowed_ssh_url = allowed_ssh_url
8088 if allowed_urls is not None :
8189 self .allowed_urls = allowed_urls
90+ if default_session_ttl_minutes is not None :
91+ self .default_session_ttl_minutes = default_session_ttl_minutes
8292 if hide_session_recording is not None :
8393 self .hide_session_recording = hide_session_recording
8494 if json is not None :
@@ -98,6 +108,29 @@ def __init__(self, allowed_urls='use-existing', hide_session_recording=None, jso
98108 if uid_token is not None :
99109 self .uid_token = uid_token
100110
111+ @property
112+ def allowed_ssh_url (self ):
113+ """Gets the allowed_ssh_url of this GatewayUpdateRemoteAccess. # noqa: E501
114+
115+ Specify a valid SSH-URL to tunnel to SSH session # noqa: E501
116+
117+ :return: The allowed_ssh_url of this GatewayUpdateRemoteAccess. # noqa: E501
118+ :rtype: str
119+ """
120+ return self ._allowed_ssh_url
121+
122+ @allowed_ssh_url .setter
123+ def allowed_ssh_url (self , allowed_ssh_url ):
124+ """Sets the allowed_ssh_url of this GatewayUpdateRemoteAccess.
125+
126+ Specify a valid SSH-URL to tunnel to SSH session # noqa: E501
127+
128+ :param allowed_ssh_url: The allowed_ssh_url of this GatewayUpdateRemoteAccess. # noqa: E501
129+ :type: str
130+ """
131+
132+ self ._allowed_ssh_url = allowed_ssh_url
133+
101134 @property
102135 def allowed_urls (self ):
103136 """Gets the allowed_urls of this GatewayUpdateRemoteAccess. # noqa: E501
@@ -121,6 +154,29 @@ def allowed_urls(self, allowed_urls):
121154
122155 self ._allowed_urls = allowed_urls
123156
157+ @property
158+ def default_session_ttl_minutes (self ):
159+ """Gets the default_session_ttl_minutes of this GatewayUpdateRemoteAccess. # noqa: E501
160+
161+ Default session TTL in minutes # noqa: E501
162+
163+ :return: The default_session_ttl_minutes of this GatewayUpdateRemoteAccess. # noqa: E501
164+ :rtype: str
165+ """
166+ return self ._default_session_ttl_minutes
167+
168+ @default_session_ttl_minutes .setter
169+ def default_session_ttl_minutes (self , default_session_ttl_minutes ):
170+ """Sets the default_session_ttl_minutes of this GatewayUpdateRemoteAccess.
171+
172+ Default session TTL in minutes # noqa: E501
173+
174+ :param default_session_ttl_minutes: The default_session_ttl_minutes of this GatewayUpdateRemoteAccess. # noqa: E501
175+ :type: str
176+ """
177+
178+ self ._default_session_ttl_minutes = default_session_ttl_minutes
179+
124180 @property
125181 def hide_session_recording (self ):
126182 """Gets the hide_session_recording of this GatewayUpdateRemoteAccess. # noqa: E501
0 commit comments