daytona_api_client 0.189.0 → 0.190.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e3cfd592c0e08758067a20459b12fcc0a3c038978fbfa848ab136792b74a538
|
|
4
|
+
data.tar.gz: bdb8f81da506f2b952d66206acbd7ae6fb0e62c79ee2fe80d2320bb302fc6077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5acda9f086c36224495c9ad4890582a253295392ce5217631affe68d9df62adf53641d1812ea63d51a3a90ccf004a5ed182aaec50366d4defce55a17379f10c5
|
|
7
|
+
data.tar.gz: 1de2ffab6f1b7be073e88476d5ab20392ea5f6f8e9cc5800ef5ef508c82eec0586a933b01fecd259eaa1be4ebe3a963d39a35f2920b969913dfc3c7d5fef2d77
|
|
@@ -39,6 +39,9 @@ module DaytonaApiClient
|
|
|
39
39
|
# Comma-separated list of allowed CIDR network addresses for the sandbox
|
|
40
40
|
attr_accessor :network_allow_list
|
|
41
41
|
|
|
42
|
+
# Comma-separated list of allowed domains for the sandbox
|
|
43
|
+
attr_accessor :domain_allow_list
|
|
44
|
+
|
|
42
45
|
# The target (region) where the sandbox will be created
|
|
43
46
|
attr_accessor :target
|
|
44
47
|
|
|
@@ -86,6 +89,7 @@ module DaytonaApiClient
|
|
|
86
89
|
:'public' => :'public',
|
|
87
90
|
:'network_block_all' => :'networkBlockAll',
|
|
88
91
|
:'network_allow_list' => :'networkAllowList',
|
|
92
|
+
:'domain_allow_list' => :'domainAllowList',
|
|
89
93
|
:'target' => :'target',
|
|
90
94
|
:'cpu' => :'cpu',
|
|
91
95
|
:'gpu' => :'gpu',
|
|
@@ -122,6 +126,7 @@ module DaytonaApiClient
|
|
|
122
126
|
:'public' => :'Boolean',
|
|
123
127
|
:'network_block_all' => :'Boolean',
|
|
124
128
|
:'network_allow_list' => :'String',
|
|
129
|
+
:'domain_allow_list' => :'String',
|
|
125
130
|
:'target' => :'String',
|
|
126
131
|
:'cpu' => :'Integer',
|
|
127
132
|
:'gpu' => :'Integer',
|
|
@@ -195,6 +200,10 @@ module DaytonaApiClient
|
|
|
195
200
|
self.network_allow_list = attributes[:'network_allow_list']
|
|
196
201
|
end
|
|
197
202
|
|
|
203
|
+
if attributes.key?(:'domain_allow_list')
|
|
204
|
+
self.domain_allow_list = attributes[:'domain_allow_list']
|
|
205
|
+
end
|
|
206
|
+
|
|
198
207
|
if attributes.key?(:'target')
|
|
199
208
|
self.target = attributes[:'target']
|
|
200
209
|
end
|
|
@@ -276,6 +285,7 @@ module DaytonaApiClient
|
|
|
276
285
|
public == o.public &&
|
|
277
286
|
network_block_all == o.network_block_all &&
|
|
278
287
|
network_allow_list == o.network_allow_list &&
|
|
288
|
+
domain_allow_list == o.domain_allow_list &&
|
|
279
289
|
target == o.target &&
|
|
280
290
|
cpu == o.cpu &&
|
|
281
291
|
gpu == o.gpu &&
|
|
@@ -299,7 +309,7 @@ module DaytonaApiClient
|
|
|
299
309
|
# Calculates hash code according to all attributes.
|
|
300
310
|
# @return [Integer] Hash code
|
|
301
311
|
def hash
|
|
302
|
-
[name, snapshot, user, env, labels, public, network_block_all, network_allow_list, target, cpu, gpu, gpu_type, memory, disk, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, linked_sandbox].hash
|
|
312
|
+
[name, snapshot, user, env, labels, public, network_block_all, network_allow_list, domain_allow_list, target, cpu, gpu, gpu_type, memory, disk, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, linked_sandbox].hash
|
|
303
313
|
end
|
|
304
314
|
|
|
305
315
|
# Builds the object from hash
|
|
@@ -45,6 +45,9 @@ module DaytonaApiClient
|
|
|
45
45
|
# Comma-separated list of allowed CIDR network addresses for the sandbox
|
|
46
46
|
attr_accessor :network_allow_list
|
|
47
47
|
|
|
48
|
+
# Comma-separated list of allowed domains for the sandbox
|
|
49
|
+
attr_accessor :domain_allow_list
|
|
50
|
+
|
|
48
51
|
# The target environment for the sandbox
|
|
49
52
|
attr_accessor :target
|
|
50
53
|
|
|
@@ -155,6 +158,7 @@ module DaytonaApiClient
|
|
|
155
158
|
:'public' => :'public',
|
|
156
159
|
:'network_block_all' => :'networkBlockAll',
|
|
157
160
|
:'network_allow_list' => :'networkAllowList',
|
|
161
|
+
:'domain_allow_list' => :'domainAllowList',
|
|
158
162
|
:'target' => :'target',
|
|
159
163
|
:'cpu' => :'cpu',
|
|
160
164
|
:'gpu' => :'gpu',
|
|
@@ -206,6 +210,7 @@ module DaytonaApiClient
|
|
|
206
210
|
:'public' => :'Boolean',
|
|
207
211
|
:'network_block_all' => :'Boolean',
|
|
208
212
|
:'network_allow_list' => :'String',
|
|
213
|
+
:'domain_allow_list' => :'String',
|
|
209
214
|
:'target' => :'String',
|
|
210
215
|
:'cpu' => :'Float',
|
|
211
216
|
:'gpu' => :'Float',
|
|
@@ -316,6 +321,10 @@ module DaytonaApiClient
|
|
|
316
321
|
self.network_allow_list = attributes[:'network_allow_list']
|
|
317
322
|
end
|
|
318
323
|
|
|
324
|
+
if attributes.key?(:'domain_allow_list')
|
|
325
|
+
self.domain_allow_list = attributes[:'domain_allow_list']
|
|
326
|
+
end
|
|
327
|
+
|
|
319
328
|
if attributes.key?(:'target')
|
|
320
329
|
self.target = attributes[:'target']
|
|
321
330
|
else
|
|
@@ -695,6 +704,7 @@ module DaytonaApiClient
|
|
|
695
704
|
public == o.public &&
|
|
696
705
|
network_block_all == o.network_block_all &&
|
|
697
706
|
network_allow_list == o.network_allow_list &&
|
|
707
|
+
domain_allow_list == o.domain_allow_list &&
|
|
698
708
|
target == o.target &&
|
|
699
709
|
cpu == o.cpu &&
|
|
700
710
|
gpu == o.gpu &&
|
|
@@ -731,7 +741,7 @@ module DaytonaApiClient
|
|
|
731
741
|
# Calculates hash code according to all attributes.
|
|
732
742
|
# @return [Integer] Hash code
|
|
733
743
|
def hash
|
|
734
|
-
[id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, target, cpu, gpu, gpu_type, memory, disk, state, desired_state, error_reason, recoverable, backup_state, backup_created_at, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, created_at, updated_at, last_activity_at, sandbox_class, daemon_version, runner_id, linked_sandbox_id, toolbox_proxy_url].hash
|
|
744
|
+
[id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, domain_allow_list, target, cpu, gpu, gpu_type, memory, disk, state, desired_state, error_reason, recoverable, backup_state, backup_created_at, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, created_at, updated_at, last_activity_at, sandbox_class, daemon_version, runner_id, linked_sandbox_id, toolbox_proxy_url].hash
|
|
735
745
|
end
|
|
736
746
|
|
|
737
747
|
# Builds the object from hash
|
|
@@ -21,11 +21,15 @@ module DaytonaApiClient
|
|
|
21
21
|
# Comma-separated list of allowed CIDR network addresses for the sandbox
|
|
22
22
|
attr_accessor :network_allow_list
|
|
23
23
|
|
|
24
|
+
# Comma-separated list of allowed domains for the sandbox
|
|
25
|
+
attr_accessor :domain_allow_list
|
|
26
|
+
|
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
28
|
def self.attribute_map
|
|
26
29
|
{
|
|
27
30
|
:'network_block_all' => :'networkBlockAll',
|
|
28
|
-
:'network_allow_list' => :'networkAllowList'
|
|
31
|
+
:'network_allow_list' => :'networkAllowList',
|
|
32
|
+
:'domain_allow_list' => :'domainAllowList'
|
|
29
33
|
}
|
|
30
34
|
end
|
|
31
35
|
|
|
@@ -43,7 +47,8 @@ module DaytonaApiClient
|
|
|
43
47
|
def self.openapi_types
|
|
44
48
|
{
|
|
45
49
|
:'network_block_all' => :'Boolean',
|
|
46
|
-
:'network_allow_list' => :'String'
|
|
50
|
+
:'network_allow_list' => :'String',
|
|
51
|
+
:'domain_allow_list' => :'String'
|
|
47
52
|
}
|
|
48
53
|
end
|
|
49
54
|
|
|
@@ -76,6 +81,10 @@ module DaytonaApiClient
|
|
|
76
81
|
if attributes.key?(:'network_allow_list')
|
|
77
82
|
self.network_allow_list = attributes[:'network_allow_list']
|
|
78
83
|
end
|
|
84
|
+
|
|
85
|
+
if attributes.key?(:'domain_allow_list')
|
|
86
|
+
self.domain_allow_list = attributes[:'domain_allow_list']
|
|
87
|
+
end
|
|
79
88
|
end
|
|
80
89
|
|
|
81
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -99,7 +108,8 @@ module DaytonaApiClient
|
|
|
99
108
|
return true if self.equal?(o)
|
|
100
109
|
self.class == o.class &&
|
|
101
110
|
network_block_all == o.network_block_all &&
|
|
102
|
-
network_allow_list == o.network_allow_list
|
|
111
|
+
network_allow_list == o.network_allow_list &&
|
|
112
|
+
domain_allow_list == o.domain_allow_list
|
|
103
113
|
end
|
|
104
114
|
|
|
105
115
|
# @see the `==` method
|
|
@@ -111,7 +121,7 @@ module DaytonaApiClient
|
|
|
111
121
|
# Calculates hash code according to all attributes.
|
|
112
122
|
# @return [Integer] Hash code
|
|
113
123
|
def hash
|
|
114
|
-
[network_block_all, network_allow_list].hash
|
|
124
|
+
[network_block_all, network_allow_list, domain_allow_list].hash
|
|
115
125
|
end
|
|
116
126
|
|
|
117
127
|
# Builds the object from hash
|