ragie_ruby_sdk 1.0.24 → 1.0.25
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 +4 -4
- data/README.md +5 -4
- data/docs/DocumentsApi.md +1 -1
- data/docs/SharepointData.md +2 -0
- data/docs/SharepointDriveData.md +20 -0
- data/docs/SharepointFileData.md +3 -1
- data/lib/ragie_ruby_sdk/api/documents_api.rb +1 -1
- data/lib/ragie_ruby_sdk/models/sharepoint_data.rb +13 -1
- data/lib/ragie_ruby_sdk/models/sharepoint_drive_data.rb +190 -0
- data/lib/ragie_ruby_sdk/models/sharepoint_file_data.rb +16 -4
- data/lib/ragie_ruby_sdk/version.rb +1 -1
- data/lib/ragie_ruby_sdk.rb +1 -0
- data/spec/models/sharepoint_data_spec.rb +6 -0
- data/spec/models/sharepoint_drive_data_spec.rb +42 -0
- data/spec/models/sharepoint_file_data_spec.rb +6 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ad8c04d6b6cb32a68c121600b57fd0018aa54c828aabad5829f68c2f022a0bd
|
|
4
|
+
data.tar.gz: 7c86dcbf90e46a6ae07410c7c8241c51afee4c82d2e4e42568bd6712a605a40a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d182b52319f679dfaa04c8d9f12b3d00b44ca47eb8f5615f25af626a874d14b94ca24803f1a8a7abc85abf7753c73ca41d954a004bd6a7ebb5b292768e2eda8b
|
|
7
|
+
data.tar.gz: 229e0404b3c053056e86696dc32b514bb6ac5e33055400efeb5cf5fbd4afb1c9b0ccfc5a05c08ab243ad4d57e2764150348256acc5d5cfdafcf6571d0d2ce277
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 1.0.0
|
|
10
|
-
- Package version: 1.0.
|
|
10
|
+
- Package version: 1.0.24
|
|
11
11
|
- Generator version: 7.18.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build ragie_ruby_sdk.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./ragie_ruby_sdk-1.0.
|
|
27
|
+
gem install ./ragie_ruby_sdk-1.0.24.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./ragie_ruby_sdk-1.0.
|
|
30
|
+
(for development, run `gem install --dev ./ragie_ruby_sdk-1.0.24.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'ragie_ruby_sdk', '~> 1.0.
|
|
36
|
+
gem 'ragie_ruby_sdk', '~> 1.0.24'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -305,6 +305,7 @@ Class | Method | HTTP request | Description
|
|
|
305
305
|
- [RagieRubySdk::SearchStepWithQueryDetails](docs/SearchStepWithQueryDetails.md)
|
|
306
306
|
- [RagieRubySdk::SetConnectionEnabledPayload](docs/SetConnectionEnabledPayload.md)
|
|
307
307
|
- [RagieRubySdk::SharepointData](docs/SharepointData.md)
|
|
308
|
+
- [RagieRubySdk::SharepointDriveData](docs/SharepointDriveData.md)
|
|
308
309
|
- [RagieRubySdk::SharepointFileData](docs/SharepointFileData.md)
|
|
309
310
|
- [RagieRubySdk::SharepointSiteData](docs/SharepointSiteData.md)
|
|
310
311
|
- [RagieRubySdk::SlackData](docs/SlackData.md)
|
data/docs/DocumentsApi.md
CHANGED
data/docs/SharepointData.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **site** | [**SharepointSiteData**](SharepointSiteData.md) | | |
|
|
8
|
+
| **drive** | [**SharepointDriveData**](SharepointDriveData.md) | | |
|
|
8
9
|
| **files** | [**Array<SharepointFileData>**](SharepointFileData.md) | | |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
@@ -14,6 +15,7 @@ require 'ragie_ruby_sdk'
|
|
|
14
15
|
|
|
15
16
|
instance = RagieRubySdk::SharepointData.new(
|
|
16
17
|
site: null,
|
|
18
|
+
drive: null,
|
|
17
19
|
files: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RagieRubySdk::SharepointDriveData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ragie_ruby_sdk'
|
|
14
|
+
|
|
15
|
+
instance = RagieRubySdk::SharepointDriveData.new(
|
|
16
|
+
id: null,
|
|
17
|
+
name: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/SharepointFileData.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **id** | **String** | | |
|
|
8
8
|
| **name** | **String** | | |
|
|
9
9
|
| **type** | **String** | | |
|
|
10
|
+
| **drive_id** | **String** | | |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'ragie_ruby_sdk'
|
|
|
16
17
|
instance = RagieRubySdk::SharepointFileData.new(
|
|
17
18
|
id: null,
|
|
18
19
|
name: null,
|
|
19
|
-
type: null
|
|
20
|
+
type: null,
|
|
21
|
+
drive_id: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -726,7 +726,7 @@ module RagieRubySdk
|
|
|
726
726
|
# header parameters
|
|
727
727
|
header_params = opts[:header_params] || {}
|
|
728
728
|
# HTTP header 'Accept' (if needed)
|
|
729
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
|
729
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*', 'application/json']) unless header_params['Accept']
|
|
730
730
|
header_params[:'partition'] = opts[:'partition'] if !opts[:'partition'].nil?
|
|
731
731
|
|
|
732
732
|
# form parameters
|
|
@@ -17,12 +17,15 @@ module RagieRubySdk
|
|
|
17
17
|
class SharepointData < ApiModelBase
|
|
18
18
|
attr_accessor :site
|
|
19
19
|
|
|
20
|
+
attr_accessor :drive
|
|
21
|
+
|
|
20
22
|
attr_accessor :files
|
|
21
23
|
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
25
|
def self.attribute_map
|
|
24
26
|
{
|
|
25
27
|
:'site' => :'site',
|
|
28
|
+
:'drive' => :'drive',
|
|
26
29
|
:'files' => :'files'
|
|
27
30
|
}
|
|
28
31
|
end
|
|
@@ -41,6 +44,7 @@ module RagieRubySdk
|
|
|
41
44
|
def self.openapi_types
|
|
42
45
|
{
|
|
43
46
|
:'site' => :'SharepointSiteData',
|
|
47
|
+
:'drive' => :'SharepointDriveData',
|
|
44
48
|
:'files' => :'Array<SharepointFileData>'
|
|
45
49
|
}
|
|
46
50
|
end
|
|
@@ -48,6 +52,7 @@ module RagieRubySdk
|
|
|
48
52
|
# List of attributes with nullable: true
|
|
49
53
|
def self.openapi_nullable
|
|
50
54
|
Set.new([
|
|
55
|
+
:'drive',
|
|
51
56
|
])
|
|
52
57
|
end
|
|
53
58
|
|
|
@@ -73,6 +78,12 @@ module RagieRubySdk
|
|
|
73
78
|
self.site = nil
|
|
74
79
|
end
|
|
75
80
|
|
|
81
|
+
if attributes.key?(:'drive')
|
|
82
|
+
self.drive = attributes[:'drive']
|
|
83
|
+
else
|
|
84
|
+
self.drive = nil
|
|
85
|
+
end
|
|
86
|
+
|
|
76
87
|
if attributes.key?(:'files')
|
|
77
88
|
if (value = attributes[:'files']).is_a?(Array)
|
|
78
89
|
self.files = value
|
|
@@ -133,6 +144,7 @@ module RagieRubySdk
|
|
|
133
144
|
return true if self.equal?(o)
|
|
134
145
|
self.class == o.class &&
|
|
135
146
|
site == o.site &&
|
|
147
|
+
drive == o.drive &&
|
|
136
148
|
files == o.files
|
|
137
149
|
end
|
|
138
150
|
|
|
@@ -145,7 +157,7 @@ module RagieRubySdk
|
|
|
145
157
|
# Calculates hash code according to all attributes.
|
|
146
158
|
# @return [Integer] Hash code
|
|
147
159
|
def hash
|
|
148
|
-
[site, files].hash
|
|
160
|
+
[site, drive, files].hash
|
|
149
161
|
end
|
|
150
162
|
|
|
151
163
|
# Builds the object from hash
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module RagieRubySdk
|
|
17
|
+
class SharepointDriveData < ApiModelBase
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'id' => :'id',
|
|
26
|
+
:'name' => :'name'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns attribute mapping this model knows about
|
|
31
|
+
def self.acceptable_attribute_map
|
|
32
|
+
attribute_map
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Returns all the JSON keys this model knows about
|
|
36
|
+
def self.acceptable_attributes
|
|
37
|
+
acceptable_attribute_map.values
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Attribute type mapping.
|
|
41
|
+
def self.openapi_types
|
|
42
|
+
{
|
|
43
|
+
:'id' => :'String',
|
|
44
|
+
:'name' => :'String'
|
|
45
|
+
}
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# List of attributes with nullable: true
|
|
49
|
+
def self.openapi_nullable
|
|
50
|
+
Set.new([
|
|
51
|
+
])
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Initializes the object
|
|
55
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
|
+
def initialize(attributes = {})
|
|
57
|
+
if (!attributes.is_a?(Hash))
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `RagieRubySdk::SharepointDriveData` initialize method"
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
63
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
64
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `RagieRubySdk::SharepointDriveData`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
66
|
+
end
|
|
67
|
+
h[k.to_sym] = v
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'id')
|
|
71
|
+
self.id = attributes[:'id']
|
|
72
|
+
else
|
|
73
|
+
self.id = nil
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
if attributes.key?(:'name')
|
|
77
|
+
self.name = attributes[:'name']
|
|
78
|
+
else
|
|
79
|
+
self.name = nil
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
84
|
+
# @return Array for valid properties with the reasons
|
|
85
|
+
def list_invalid_properties
|
|
86
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
|
+
invalid_properties = Array.new
|
|
88
|
+
if @id.nil?
|
|
89
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if @name.nil?
|
|
93
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
invalid_properties
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Check to see if the all the properties in the model are valid
|
|
100
|
+
# @return true if the model is valid
|
|
101
|
+
def valid?
|
|
102
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
103
|
+
return false if @id.nil?
|
|
104
|
+
return false if @name.nil?
|
|
105
|
+
true
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Custom attribute writer method with validation
|
|
109
|
+
# @param [Object] id Value to be assigned
|
|
110
|
+
def id=(id)
|
|
111
|
+
if id.nil?
|
|
112
|
+
fail ArgumentError, 'id cannot be nil'
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
@id = id
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Custom attribute writer method with validation
|
|
119
|
+
# @param [Object] name Value to be assigned
|
|
120
|
+
def name=(name)
|
|
121
|
+
if name.nil?
|
|
122
|
+
fail ArgumentError, 'name cannot be nil'
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
@name = name
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Checks equality by comparing each attribute.
|
|
129
|
+
# @param [Object] Object to be compared
|
|
130
|
+
def ==(o)
|
|
131
|
+
return true if self.equal?(o)
|
|
132
|
+
self.class == o.class &&
|
|
133
|
+
id == o.id &&
|
|
134
|
+
name == o.name
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# @see the `==` method
|
|
138
|
+
# @param [Object] Object to be compared
|
|
139
|
+
def eql?(o)
|
|
140
|
+
self == o
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Calculates hash code according to all attributes.
|
|
144
|
+
# @return [Integer] Hash code
|
|
145
|
+
def hash
|
|
146
|
+
[id, name].hash
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Builds the object from hash
|
|
150
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
151
|
+
# @return [Object] Returns the model itself
|
|
152
|
+
def self.build_from_hash(attributes)
|
|
153
|
+
return nil unless attributes.is_a?(Hash)
|
|
154
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
155
|
+
transformed_hash = {}
|
|
156
|
+
openapi_types.each_pair do |key, type|
|
|
157
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
158
|
+
transformed_hash["#{key}"] = nil
|
|
159
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
160
|
+
# check to ensure the input is an array given that the attribute
|
|
161
|
+
# is documented as an array but the input is not
|
|
162
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
163
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
164
|
+
end
|
|
165
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
166
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
new(transformed_hash)
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Returns the object in the form of hash
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_hash
|
|
175
|
+
hash = {}
|
|
176
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
177
|
+
value = self.send(attr)
|
|
178
|
+
if value.nil?
|
|
179
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
180
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
hash[param] = _to_hash(value)
|
|
184
|
+
end
|
|
185
|
+
hash
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
end
|
|
@@ -21,6 +21,8 @@ module RagieRubySdk
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :type
|
|
23
23
|
|
|
24
|
+
attr_accessor :drive_id
|
|
25
|
+
|
|
24
26
|
class EnumAttributeValidator
|
|
25
27
|
attr_reader :datatype
|
|
26
28
|
attr_reader :allowable_values
|
|
@@ -48,7 +50,8 @@ module RagieRubySdk
|
|
|
48
50
|
{
|
|
49
51
|
:'id' => :'id',
|
|
50
52
|
:'name' => :'name',
|
|
51
|
-
:'type' => :'type'
|
|
53
|
+
:'type' => :'type',
|
|
54
|
+
:'drive_id' => :'drive_id'
|
|
52
55
|
}
|
|
53
56
|
end
|
|
54
57
|
|
|
@@ -67,13 +70,15 @@ module RagieRubySdk
|
|
|
67
70
|
{
|
|
68
71
|
:'id' => :'String',
|
|
69
72
|
:'name' => :'String',
|
|
70
|
-
:'type' => :'String'
|
|
73
|
+
:'type' => :'String',
|
|
74
|
+
:'drive_id' => :'String'
|
|
71
75
|
}
|
|
72
76
|
end
|
|
73
77
|
|
|
74
78
|
# List of attributes with nullable: true
|
|
75
79
|
def self.openapi_nullable
|
|
76
80
|
Set.new([
|
|
81
|
+
:'drive_id'
|
|
77
82
|
])
|
|
78
83
|
end
|
|
79
84
|
|
|
@@ -110,6 +115,12 @@ module RagieRubySdk
|
|
|
110
115
|
else
|
|
111
116
|
self.type = nil
|
|
112
117
|
end
|
|
118
|
+
|
|
119
|
+
if attributes.key?(:'drive_id')
|
|
120
|
+
self.drive_id = attributes[:'drive_id']
|
|
121
|
+
else
|
|
122
|
+
self.drive_id = nil
|
|
123
|
+
end
|
|
113
124
|
end
|
|
114
125
|
|
|
115
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -181,7 +192,8 @@ module RagieRubySdk
|
|
|
181
192
|
self.class == o.class &&
|
|
182
193
|
id == o.id &&
|
|
183
194
|
name == o.name &&
|
|
184
|
-
type == o.type
|
|
195
|
+
type == o.type &&
|
|
196
|
+
drive_id == o.drive_id
|
|
185
197
|
end
|
|
186
198
|
|
|
187
199
|
# @see the `==` method
|
|
@@ -193,7 +205,7 @@ module RagieRubySdk
|
|
|
193
205
|
# Calculates hash code according to all attributes.
|
|
194
206
|
# @return [Integer] Hash code
|
|
195
207
|
def hash
|
|
196
|
-
[id, name, type].hash
|
|
208
|
+
[id, name, type, drive_id].hash
|
|
197
209
|
end
|
|
198
210
|
|
|
199
211
|
# Builds the object from hash
|
data/lib/ragie_ruby_sdk.rb
CHANGED
|
@@ -177,6 +177,7 @@ require 'ragie_ruby_sdk/models/search_step'
|
|
|
177
177
|
require 'ragie_ruby_sdk/models/search_step_with_query_details'
|
|
178
178
|
require 'ragie_ruby_sdk/models/set_connection_enabled_payload'
|
|
179
179
|
require 'ragie_ruby_sdk/models/sharepoint_data'
|
|
180
|
+
require 'ragie_ruby_sdk/models/sharepoint_drive_data'
|
|
180
181
|
require 'ragie_ruby_sdk/models/sharepoint_file_data'
|
|
181
182
|
require 'ragie_ruby_sdk/models/sharepoint_site_data'
|
|
182
183
|
require 'ragie_ruby_sdk/models/slack_data'
|
|
@@ -33,6 +33,12 @@ describe RagieRubySdk::SharepointData do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "drive"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
describe 'test attribute "files"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::SharepointDriveData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::SharepointDriveData do
|
|
21
|
+
#let(:instance) { RagieRubySdk::SharepointDriveData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SharepointDriveData' do
|
|
24
|
+
it 'should create an instance of SharepointDriveData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::SharepointDriveData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ragie_ruby_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.25
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -256,6 +256,7 @@ files:
|
|
|
256
256
|
- docs/SearchStepWithQueryDetails.md
|
|
257
257
|
- docs/SetConnectionEnabledPayload.md
|
|
258
258
|
- docs/SharepointData.md
|
|
259
|
+
- docs/SharepointDriveData.md
|
|
259
260
|
- docs/SharepointFileData.md
|
|
260
261
|
- docs/SharepointSiteData.md
|
|
261
262
|
- docs/SlackData.md
|
|
@@ -447,6 +448,7 @@ files:
|
|
|
447
448
|
- lib/ragie_ruby_sdk/models/search_step_with_query_details.rb
|
|
448
449
|
- lib/ragie_ruby_sdk/models/set_connection_enabled_payload.rb
|
|
449
450
|
- lib/ragie_ruby_sdk/models/sharepoint_data.rb
|
|
451
|
+
- lib/ragie_ruby_sdk/models/sharepoint_drive_data.rb
|
|
450
452
|
- lib/ragie_ruby_sdk/models/sharepoint_file_data.rb
|
|
451
453
|
- lib/ragie_ruby_sdk/models/sharepoint_site_data.rb
|
|
452
454
|
- lib/ragie_ruby_sdk/models/slack_data.rb
|
|
@@ -634,6 +636,7 @@ files:
|
|
|
634
636
|
- spec/models/search_step_with_query_details_spec.rb
|
|
635
637
|
- spec/models/set_connection_enabled_payload_spec.rb
|
|
636
638
|
- spec/models/sharepoint_data_spec.rb
|
|
639
|
+
- spec/models/sharepoint_drive_data_spec.rb
|
|
637
640
|
- spec/models/sharepoint_file_data_spec.rb
|
|
638
641
|
- spec/models/sharepoint_site_data_spec.rb
|
|
639
642
|
- spec/models/slack_data_spec.rb
|
|
@@ -842,6 +845,7 @@ test_files:
|
|
|
842
845
|
- spec/models/search_step_with_query_details_spec.rb
|
|
843
846
|
- spec/models/set_connection_enabled_payload_spec.rb
|
|
844
847
|
- spec/models/sharepoint_data_spec.rb
|
|
848
|
+
- spec/models/sharepoint_drive_data_spec.rb
|
|
845
849
|
- spec/models/sharepoint_file_data_spec.rb
|
|
846
850
|
- spec/models/sharepoint_site_data_spec.rb
|
|
847
851
|
- spec/models/slack_data_spec.rb
|