carbon_ruby_sdk 0.1.10 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,250 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Carbon
13
+ class ListItemsFilters
14
+ attr_accessor :external_ids
15
+
16
+ attr_accessor :ids
17
+
18
+ attr_accessor :name
19
+
20
+ attr_accessor :root_files_only
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'external_ids' => :'external_ids',
26
+ :'ids' => :'ids',
27
+ :'name' => :'name',
28
+ :'root_files_only' => :'root_files_only'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'external_ids' => :'Array<String>',
41
+ :'ids' => :'Array<Integer>',
42
+ :'name' => :'String',
43
+ :'root_files_only' => :'Boolean'
44
+ }
45
+ end
46
+
47
+ # List of attributes with nullable: true
48
+ def self.openapi_nullable
49
+ Set.new([
50
+ :'external_ids',
51
+ :'ids',
52
+ :'name',
53
+ :'root_files_only'
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::ListItemsFilters` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::ListItemsFilters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'external_ids')
73
+ if (value = attributes[:'external_ids']).is_a?(Array)
74
+ self.external_ids = value
75
+ end
76
+ end
77
+
78
+ if attributes.key?(:'ids')
79
+ if (value = attributes[:'ids']).is_a?(Array)
80
+ self.ids = value
81
+ end
82
+ end
83
+
84
+ if attributes.key?(:'name')
85
+ self.name = attributes[:'name']
86
+ end
87
+
88
+ if attributes.key?(:'root_files_only')
89
+ self.root_files_only = attributes[:'root_files_only']
90
+ end
91
+ end
92
+
93
+ # Show invalid properties with the reasons. Usually used together with valid?
94
+ # @return Array for valid properties with the reasons
95
+ def list_invalid_properties
96
+ invalid_properties = Array.new
97
+ invalid_properties
98
+ end
99
+
100
+ # Check to see if the all the properties in the model are valid
101
+ # @return true if the model is valid
102
+ def valid?
103
+ true
104
+ end
105
+
106
+ # Checks equality by comparing each attribute.
107
+ # @param [Object] Object to be compared
108
+ def ==(o)
109
+ return true if self.equal?(o)
110
+ self.class == o.class &&
111
+ external_ids == o.external_ids &&
112
+ ids == o.ids &&
113
+ name == o.name &&
114
+ root_files_only == o.root_files_only
115
+ end
116
+
117
+ # @see the `==` method
118
+ # @param [Object] Object to be compared
119
+ def eql?(o)
120
+ self == o
121
+ end
122
+
123
+ # Calculates hash code according to all attributes.
124
+ # @return [Integer] Hash code
125
+ def hash
126
+ [external_ids, ids, name, root_files_only].hash
127
+ end
128
+
129
+ # Builds the object from hash
130
+ # @param [Hash] attributes Model attributes in the form of hash
131
+ # @return [Object] Returns the model itself
132
+ def self.build_from_hash(attributes)
133
+ new.build_from_hash(attributes)
134
+ end
135
+
136
+ # Builds the object from hash
137
+ # @param [Hash] attributes Model attributes in the form of hash
138
+ # @return [Object] Returns the model itself
139
+ def build_from_hash(attributes)
140
+ return nil unless attributes.is_a?(Hash)
141
+ attributes = attributes.transform_keys(&:to_sym)
142
+ self.class.openapi_types.each_pair do |key, type|
143
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
144
+ self.send("#{key}=", nil)
145
+ elsif type =~ /\AArray<(.*)>/i
146
+ # check to ensure the input is an array given that the attribute
147
+ # is documented as an array but the input is not
148
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
149
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
150
+ end
151
+ elsif !attributes[self.class.attribute_map[key]].nil?
152
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
153
+ end
154
+ end
155
+
156
+ self
157
+ end
158
+
159
+ # Deserializes the data based on type
160
+ # @param string type Data type
161
+ # @param string value Value to be deserialized
162
+ # @return [Object] Deserialized data
163
+ def _deserialize(type, value)
164
+ case type.to_sym
165
+ when :Time
166
+ Time.parse(value)
167
+ when :Date
168
+ Date.parse(value)
169
+ when :String
170
+ value.to_s
171
+ when :Integer
172
+ value.to_i
173
+ when :Float
174
+ value.to_f
175
+ when :Boolean
176
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
177
+ true
178
+ else
179
+ false
180
+ end
181
+ when :Object
182
+ # generic object (usually a Hash), return directly
183
+ value
184
+ when /\AArray<(?<inner_type>.+)>\z/
185
+ inner_type = Regexp.last_match[:inner_type]
186
+ value.map { |v| _deserialize(inner_type, v) }
187
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
188
+ k_type = Regexp.last_match[:k_type]
189
+ v_type = Regexp.last_match[:v_type]
190
+ {}.tap do |hash|
191
+ value.each do |k, v|
192
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
193
+ end
194
+ end
195
+ else # model
196
+ # models (e.g. Pet) or oneOf
197
+ klass = Carbon.const_get(type)
198
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
199
+ end
200
+ end
201
+
202
+ # Returns the string representation of the object
203
+ # @return [String] String presentation of the object
204
+ def to_s
205
+ to_hash.to_s
206
+ end
207
+
208
+ # to_body is an alias to to_hash (backward compatibility)
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_body
211
+ to_hash
212
+ end
213
+
214
+ # Returns the object in the form of hash
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_hash
217
+ hash = {}
218
+ self.class.attribute_map.each_pair do |attr, param|
219
+ value = self.send(attr)
220
+ if value.nil?
221
+ is_nullable = self.class.openapi_nullable.include?(attr)
222
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
223
+ end
224
+
225
+ hash[param] = _to_hash(value)
226
+ end
227
+ hash
228
+ end
229
+
230
+ # Outputs non-array value in the form of hash
231
+ # For object, use to_hash. Otherwise, just return the value
232
+ # @param [Object] value Any valid value
233
+ # @return [Hash] Returns the value in the form of hash
234
+ def _to_hash(value)
235
+ if value.is_a?(Array)
236
+ value.compact.map { |v| _to_hash(v) }
237
+ elsif value.is_a?(Hash)
238
+ {}.tap do |hash|
239
+ value.each { |k, v| hash[k] = _to_hash(v) }
240
+ end
241
+ elsif value.respond_to? :to_hash
242
+ value.to_hash
243
+ else
244
+ value
245
+ end
246
+ end
247
+
248
+ end
249
+
250
+ end
@@ -0,0 +1,250 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Carbon
13
+ class ListItemsFiltersNullable
14
+ attr_accessor :external_ids
15
+
16
+ attr_accessor :ids
17
+
18
+ attr_accessor :name
19
+
20
+ attr_accessor :root_files_only
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'external_ids' => :'external_ids',
26
+ :'ids' => :'ids',
27
+ :'name' => :'name',
28
+ :'root_files_only' => :'root_files_only'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'external_ids' => :'Array<String>',
41
+ :'ids' => :'Array<Integer>',
42
+ :'name' => :'String',
43
+ :'root_files_only' => :'Boolean'
44
+ }
45
+ end
46
+
47
+ # List of attributes with nullable: true
48
+ def self.openapi_nullable
49
+ Set.new([
50
+ :'external_ids',
51
+ :'ids',
52
+ :'name',
53
+ :'root_files_only'
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::ListItemsFiltersNullable` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::ListItemsFiltersNullable`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'external_ids')
73
+ if (value = attributes[:'external_ids']).is_a?(Array)
74
+ self.external_ids = value
75
+ end
76
+ end
77
+
78
+ if attributes.key?(:'ids')
79
+ if (value = attributes[:'ids']).is_a?(Array)
80
+ self.ids = value
81
+ end
82
+ end
83
+
84
+ if attributes.key?(:'name')
85
+ self.name = attributes[:'name']
86
+ end
87
+
88
+ if attributes.key?(:'root_files_only')
89
+ self.root_files_only = attributes[:'root_files_only']
90
+ end
91
+ end
92
+
93
+ # Show invalid properties with the reasons. Usually used together with valid?
94
+ # @return Array for valid properties with the reasons
95
+ def list_invalid_properties
96
+ invalid_properties = Array.new
97
+ invalid_properties
98
+ end
99
+
100
+ # Check to see if the all the properties in the model are valid
101
+ # @return true if the model is valid
102
+ def valid?
103
+ true
104
+ end
105
+
106
+ # Checks equality by comparing each attribute.
107
+ # @param [Object] Object to be compared
108
+ def ==(o)
109
+ return true if self.equal?(o)
110
+ self.class == o.class &&
111
+ external_ids == o.external_ids &&
112
+ ids == o.ids &&
113
+ name == o.name &&
114
+ root_files_only == o.root_files_only
115
+ end
116
+
117
+ # @see the `==` method
118
+ # @param [Object] Object to be compared
119
+ def eql?(o)
120
+ self == o
121
+ end
122
+
123
+ # Calculates hash code according to all attributes.
124
+ # @return [Integer] Hash code
125
+ def hash
126
+ [external_ids, ids, name, root_files_only].hash
127
+ end
128
+
129
+ # Builds the object from hash
130
+ # @param [Hash] attributes Model attributes in the form of hash
131
+ # @return [Object] Returns the model itself
132
+ def self.build_from_hash(attributes)
133
+ new.build_from_hash(attributes)
134
+ end
135
+
136
+ # Builds the object from hash
137
+ # @param [Hash] attributes Model attributes in the form of hash
138
+ # @return [Object] Returns the model itself
139
+ def build_from_hash(attributes)
140
+ return nil unless attributes.is_a?(Hash)
141
+ attributes = attributes.transform_keys(&:to_sym)
142
+ self.class.openapi_types.each_pair do |key, type|
143
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
144
+ self.send("#{key}=", nil)
145
+ elsif type =~ /\AArray<(.*)>/i
146
+ # check to ensure the input is an array given that the attribute
147
+ # is documented as an array but the input is not
148
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
149
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
150
+ end
151
+ elsif !attributes[self.class.attribute_map[key]].nil?
152
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
153
+ end
154
+ end
155
+
156
+ self
157
+ end
158
+
159
+ # Deserializes the data based on type
160
+ # @param string type Data type
161
+ # @param string value Value to be deserialized
162
+ # @return [Object] Deserialized data
163
+ def _deserialize(type, value)
164
+ case type.to_sym
165
+ when :Time
166
+ Time.parse(value)
167
+ when :Date
168
+ Date.parse(value)
169
+ when :String
170
+ value.to_s
171
+ when :Integer
172
+ value.to_i
173
+ when :Float
174
+ value.to_f
175
+ when :Boolean
176
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
177
+ true
178
+ else
179
+ false
180
+ end
181
+ when :Object
182
+ # generic object (usually a Hash), return directly
183
+ value
184
+ when /\AArray<(?<inner_type>.+)>\z/
185
+ inner_type = Regexp.last_match[:inner_type]
186
+ value.map { |v| _deserialize(inner_type, v) }
187
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
188
+ k_type = Regexp.last_match[:k_type]
189
+ v_type = Regexp.last_match[:v_type]
190
+ {}.tap do |hash|
191
+ value.each do |k, v|
192
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
193
+ end
194
+ end
195
+ else # model
196
+ # models (e.g. Pet) or oneOf
197
+ klass = Carbon.const_get(type)
198
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
199
+ end
200
+ end
201
+
202
+ # Returns the string representation of the object
203
+ # @return [String] String presentation of the object
204
+ def to_s
205
+ to_hash.to_s
206
+ end
207
+
208
+ # to_body is an alias to to_hash (backward compatibility)
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_body
211
+ to_hash
212
+ end
213
+
214
+ # Returns the object in the form of hash
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_hash
217
+ hash = {}
218
+ self.class.attribute_map.each_pair do |attr, param|
219
+ value = self.send(attr)
220
+ if value.nil?
221
+ is_nullable = self.class.openapi_nullable.include?(attr)
222
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
223
+ end
224
+
225
+ hash[param] = _to_hash(value)
226
+ end
227
+ hash
228
+ end
229
+
230
+ # Outputs non-array value in the form of hash
231
+ # For object, use to_hash. Otherwise, just return the value
232
+ # @param [Object] value Any valid value
233
+ # @return [Hash] Returns the value in the form of hash
234
+ def _to_hash(value)
235
+ if value.is_a?(Array)
236
+ value.compact.map { |v| _to_hash(v) }
237
+ elsif value.is_a?(Hash)
238
+ {}.tap do |hash|
239
+ value.each { |k, v| hash[k] = _to_hash(v) }
240
+ end
241
+ elsif value.respond_to? :to_hash
242
+ value.to_hash
243
+ else
244
+ value
245
+ end
246
+ end
247
+
248
+ end
249
+
250
+ end
@@ -15,24 +15,38 @@ module Carbon
15
15
 
16
16
  attr_accessor :source
17
17
 
18
+ # The name of the file. The query will return files with names that contain this string.
18
19
  attr_accessor :name
19
20
 
21
+ # Tags to filter by. Supports logical AND and OR operations. Input should be like below: { \"OR\": [ { \"key\": \"subject\", \"value\": \"holy-bible\", \"negate\": false }, { \"key\": \"person-of-interest\", \"value\": \"jesus christ\", \"negate\": false }, { \"key\": \"genre\", \"value\": \"fiction\", \"negate\": true } { \"AND\": [ { \"key\": \"subject\", \"value\": \"tao-te-ching\", \"negate\": true }, { \"key\": \"author\", \"value\": \"lao-tzu\", \"negate\": false } ] } ] } For a single filter, the filter block can be placed within either an \"AND\" or \"OR\" block.
20
22
  attr_accessor :tags_v2
21
23
 
24
+ # The IDs of the files. The query will return files with these IDs.
22
25
  attr_accessor :ids
23
26
 
27
+ # The external file IDs of the files. The query will return files with these external file IDs.
24
28
  attr_accessor :external_file_ids
25
29
 
30
+ # The sync statuses of the files. The query will return files with these sync statuses.
26
31
  attr_accessor :sync_statuses
27
32
 
28
33
  attr_accessor :parent_file_ids
29
34
 
35
+ # The organization user data source IDs of the files. The query will return files with these organization user data source IDs.
30
36
  attr_accessor :organization_user_data_source_id
31
37
 
38
+ # The embedding generators of the files. The query will return files with these embedding generators.
32
39
  attr_accessor :embedding_generators
33
40
 
41
+ # If true, the query will return only root files. Cannot be true if parent_file_ids or include_all_children is specified.
34
42
  attr_accessor :root_files_only
35
43
 
44
+ # If true, the query will return all descendents of the specified parent_file_ids.
45
+ attr_accessor :include_all_children
46
+
47
+ # If true, the query will return only files that have not been synced yet.
48
+ attr_accessor :non_synced_only
49
+
36
50
  # Attribute mapping from ruby-style variable name to JSON key.
37
51
  def self.attribute_map
38
52
  {
@@ -46,7 +60,9 @@ module Carbon
46
60
  :'parent_file_ids' => :'parent_file_ids',
47
61
  :'organization_user_data_source_id' => :'organization_user_data_source_id',
48
62
  :'embedding_generators' => :'embedding_generators',
49
- :'root_files_only' => :'root_files_only'
63
+ :'root_files_only' => :'root_files_only',
64
+ :'include_all_children' => :'include_all_children',
65
+ :'non_synced_only' => :'non_synced_only'
50
66
  }
51
67
  end
52
68
 
@@ -68,7 +84,9 @@ module Carbon
68
84
  :'parent_file_ids' => :'Array<Integer>',
69
85
  :'organization_user_data_source_id' => :'Array<Integer>',
70
86
  :'embedding_generators' => :'Array<EmbeddingGenerators>',
71
- :'root_files_only' => :'Boolean'
87
+ :'root_files_only' => :'Boolean',
88
+ :'include_all_children' => :'Boolean',
89
+ :'non_synced_only' => :'Boolean'
72
90
  }
73
91
  end
74
92
 
@@ -85,7 +103,7 @@ module Carbon
85
103
  :'parent_file_ids',
86
104
  :'organization_user_data_source_id',
87
105
  :'embedding_generators',
88
- :'root_files_only'
106
+ :'root_files_only',
89
107
  ])
90
108
  end
91
109
 
@@ -161,6 +179,18 @@ module Carbon
161
179
  if attributes.key?(:'root_files_only')
162
180
  self.root_files_only = attributes[:'root_files_only']
163
181
  end
182
+
183
+ if attributes.key?(:'include_all_children')
184
+ self.include_all_children = attributes[:'include_all_children']
185
+ else
186
+ self.include_all_children = false
187
+ end
188
+
189
+ if attributes.key?(:'non_synced_only')
190
+ self.non_synced_only = attributes[:'non_synced_only']
191
+ else
192
+ self.non_synced_only = false
193
+ end
164
194
  end
165
195
 
166
196
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -191,7 +221,9 @@ module Carbon
191
221
  parent_file_ids == o.parent_file_ids &&
192
222
  organization_user_data_source_id == o.organization_user_data_source_id &&
193
223
  embedding_generators == o.embedding_generators &&
194
- root_files_only == o.root_files_only
224
+ root_files_only == o.root_files_only &&
225
+ include_all_children == o.include_all_children &&
226
+ non_synced_only == o.non_synced_only
195
227
  end
196
228
 
197
229
  # @see the `==` method
@@ -203,7 +235,7 @@ module Carbon
203
235
  # Calculates hash code according to all attributes.
204
236
  # @return [Integer] Hash code
205
237
  def hash
206
- [tags, source, name, tags_v2, ids, external_file_ids, sync_statuses, parent_file_ids, organization_user_data_source_id, embedding_generators, root_files_only].hash
238
+ [tags, source, name, tags_v2, ids, external_file_ids, sync_statuses, parent_file_ids, organization_user_data_source_id, embedding_generators, root_files_only, include_all_children, non_synced_only].hash
207
239
  end
208
240
 
209
241
  # Builds the object from hash
@@ -16,9 +16,10 @@ module Carbon
16
16
  NAME = "name".freeze
17
17
  LAST_SYNC = "last_sync".freeze
18
18
  FILE_SIZE = "file_size".freeze
19
+ ID = "id".freeze
19
20
 
20
21
  def self.all_vars
21
- @all_vars ||= [CREATED_AT, UPDATED_AT, NAME, LAST_SYNC, FILE_SIZE].freeze
22
+ @all_vars ||= [CREATED_AT, UPDATED_AT, NAME, LAST_SYNC, FILE_SIZE, ID].freeze
22
23
  end
23
24
 
24
25
  # Builds the enum from string
@@ -10,6 +10,7 @@ require 'date'
10
10
  require 'time'
11
11
 
12
12
  module Carbon
13
+ # The source of the file. If a list is provided, the query will return files from any of the sources in the list.
13
14
  class SourceProperty
14
15
  # Attribute mapping from ruby-style variable name to JSON key.
15
16
  def self.attribute_map
@@ -7,5 +7,5 @@ The version of the OpenAPI document: 1.0.0
7
7
  =end
8
8
 
9
9
  module Carbon
10
- VERSION = '0.1.10'
10
+ VERSION = '0.1.12'
11
11
  end
@@ -31,6 +31,7 @@ require 'carbon_ruby_sdk/models/data_source_sync_statuses'
31
31
  require 'carbon_ruby_sdk/models/data_source_type'
32
32
  require 'carbon_ruby_sdk/models/data_source_type_nullable'
33
33
  require 'carbon_ruby_sdk/models/delete_files_query_input'
34
+ require 'carbon_ruby_sdk/models/delete_files_v2_query_input'
34
35
  require 'carbon_ruby_sdk/models/delete_users_input'
35
36
  require 'carbon_ruby_sdk/models/directory_item'
36
37
  require 'carbon_ruby_sdk/models/document_response'
@@ -66,6 +67,8 @@ require 'carbon_ruby_sdk/models/hybrid_search_tuning_params_nullable'
66
67
  require 'carbon_ruby_sdk/models/ids_property'
67
68
  require 'carbon_ruby_sdk/models/list_data_source_items_request'
68
69
  require 'carbon_ruby_sdk/models/list_data_source_items_response'
70
+ require 'carbon_ruby_sdk/models/list_items_filters'
71
+ require 'carbon_ruby_sdk/models/list_items_filters_nullable'
69
72
  require 'carbon_ruby_sdk/models/list_request'
70
73
  require 'carbon_ruby_sdk/models/list_response'
71
74
  require 'carbon_ruby_sdk/models/location_property_inner'
@@ -71,6 +71,17 @@ describe 'FilesApi' do
71
71
  end
72
72
  end
73
73
 
74
+ # unit tests for delete_v2
75
+ # Delete Files V2 Endpoint
76
+ # @param delete_files_v2_query_input
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [GenericSuccessResponse]
79
+ describe 'delete_v2 test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
74
85
  # unit tests for get_parsed_file
75
86
  # Parsed File
76
87
  # This route is deprecated. Use &#x60;/user_files_v2&#x60; instead.