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: 8429aa6627e3b62210051c540aaf1dc012e669febb2db6c0c0cda8a03672e17a
4
- data.tar.gz: 04245de0e94fc36080ecc57926ecfd0d8baddb59501b984e65f7ca84a16c16f7
3
+ metadata.gz: 3e3cfd592c0e08758067a20459b12fcc0a3c038978fbfa848ab136792b74a538
4
+ data.tar.gz: bdb8f81da506f2b952d66206acbd7ae6fb0e62c79ee2fe80d2320bb302fc6077
5
5
  SHA512:
6
- metadata.gz: 211bce6930473612dac646e1f9cb2d6ff1e605651f62df3a6e24d809164f2c860c75187e8635f3c64aae3f4ece1861bc9c07dbcdcd426d3166baf9d32d7e4a08
7
- data.tar.gz: da8b6b6c94d7368e3824eed5fd4d3e92a387f3914f27de6f8e01cda704df9c0e22d90daf77a437db1a6f76367b7e828285796fb1def23114030bfeb5ff185da5
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
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.189.0'
14
+ VERSION = '0.190.1'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.189.0
4
+ version: 0.190.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio