radiomanager_client 1.0.97 → 1.0.99
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/ImportItem.md +1 -1
- data/docs/Item.md +1 -1
- data/docs/ItemDataInput.md +1 -1
- data/docs/ItemResult.md +1 -1
- data/lib/radiomanager_client/models/import_item.rb +1 -1
- data/lib/radiomanager_client/models/item.rb +1 -6
- data/lib/radiomanager_client/models/item_data_input.rb +1 -6
- data/lib/radiomanager_client/models/item_result.rb +1 -6
- data/radiomanager_client.gemspec +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/item_data_input_spec.rb +1 -1
- data/spec/models/item_input_only_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45d9abce69526658484d2523871843c3d661e9cf
|
4
|
+
data.tar.gz: fc773d5e46aca06db8a3464f90b62b9d2863d09e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ef604f5ba57ecd756a6a5d5f0a9b6e8eae19746237fdf4425efc7f8716d8981e0624180bc3af31e9499846109e8ee9a88eda1974d794e838320d9de56e7680
|
7
|
+
data.tar.gz: 765cc77393405a4e36279303229d0931bbb113420191ce3e1bf2d14b96ad235e3ef41c4de012dc086cd7d1a9f653df1988f18a9e1c37ce2b5e27fb835bdd105b
|
data/README.md
CHANGED
data/docs/ImportItem.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**model_type_id** | **Integer** | |
|
7
|
-
**external_id** | **
|
7
|
+
**external_id** | **String** | |
|
8
8
|
**field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
|
9
9
|
**title** | **String** | | [optional]
|
10
10
|
**duration** | **Integer** | | [optional]
|
data/docs/Item.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**model_type_id** | **Integer** | |
|
7
7
|
**block_id** | **Integer** | | [optional]
|
8
|
-
**external_id** | **
|
8
|
+
**external_id** | **String** | | [optional]
|
9
9
|
**field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
|
10
10
|
**title** | **String** | | [optional]
|
11
11
|
**duration** | **Integer** | | [optional]
|
data/docs/ItemDataInput.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**model_type_id** | **Integer** | |
|
7
7
|
**block_id** | **Integer** | | [optional]
|
8
|
-
**external_id** | **
|
8
|
+
**external_id** | **String** | | [optional]
|
9
9
|
**field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
|
10
10
|
**title** | **String** | | [optional]
|
11
11
|
**duration** | **Integer** | | [optional]
|
data/docs/ItemResult.md
CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**_external_station_id** | **Integer** | | [optional]
|
15
15
|
**model_type_id** | **Integer** | |
|
16
16
|
**block_id** | **Integer** | | [optional]
|
17
|
-
**external_id** | **
|
17
|
+
**external_id** | **String** | | [optional]
|
18
18
|
**field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
|
19
19
|
**title** | **String** | | [optional]
|
20
20
|
**duration** | **Integer** | | [optional]
|
@@ -59,7 +59,7 @@ module RadioManagerClient
|
|
59
59
|
def self.swagger_types
|
60
60
|
{
|
61
61
|
:'model_type_id' => :'Integer',
|
62
|
-
:'external_id' => :'
|
62
|
+
:'external_id' => :'String',
|
63
63
|
:'field_values' => :'ImportItemFieldValues',
|
64
64
|
:'title' => :'String',
|
65
65
|
:'duration' => :'Integer',
|
@@ -96,7 +96,7 @@ module RadioManagerClient
|
|
96
96
|
{
|
97
97
|
:'model_type_id' => :'Integer',
|
98
98
|
:'block_id' => :'Integer',
|
99
|
-
:'external_id' => :'
|
99
|
+
:'external_id' => :'String',
|
100
100
|
:'field_values' => :'ImportItemFieldValues',
|
101
101
|
:'title' => :'String',
|
102
102
|
:'duration' => :'Integer',
|
@@ -195,10 +195,6 @@ module RadioManagerClient
|
|
195
195
|
invalid_properties.push("invalid value for 'model_type_id', model_type_id cannot be nil.")
|
196
196
|
end
|
197
197
|
|
198
|
-
if @external_id.nil?
|
199
|
-
invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
|
200
|
-
end
|
201
|
-
|
202
198
|
return invalid_properties
|
203
199
|
end
|
204
200
|
|
@@ -206,7 +202,6 @@ module RadioManagerClient
|
|
206
202
|
# @return true if the model is valid
|
207
203
|
def valid?
|
208
204
|
return false if @model_type_id.nil?
|
209
|
-
return false if @external_id.nil?
|
210
205
|
status_validator = EnumAttributeValidator.new('String', ["scheduled", "playing", "played"])
|
211
206
|
return false unless status_validator.valid?(@status)
|
212
207
|
return true
|
@@ -105,7 +105,7 @@ module RadioManagerClient
|
|
105
105
|
{
|
106
106
|
:'model_type_id' => :'Integer',
|
107
107
|
:'block_id' => :'Integer',
|
108
|
-
:'external_id' => :'
|
108
|
+
:'external_id' => :'String',
|
109
109
|
:'field_values' => :'ImportItemFieldValues',
|
110
110
|
:'title' => :'String',
|
111
111
|
:'duration' => :'Integer',
|
@@ -223,10 +223,6 @@ module RadioManagerClient
|
|
223
223
|
invalid_properties.push("invalid value for 'model_type_id', model_type_id cannot be nil.")
|
224
224
|
end
|
225
225
|
|
226
|
-
if @external_id.nil?
|
227
|
-
invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
|
228
|
-
end
|
229
|
-
|
230
226
|
return invalid_properties
|
231
227
|
end
|
232
228
|
|
@@ -234,7 +230,6 @@ module RadioManagerClient
|
|
234
230
|
# @return true if the model is valid
|
235
231
|
def valid?
|
236
232
|
return false if @model_type_id.nil?
|
237
|
-
return false if @external_id.nil?
|
238
233
|
status_validator = EnumAttributeValidator.new('String', ["scheduled", "playing", "played"])
|
239
234
|
return false unless status_validator.valid?(@status)
|
240
235
|
return true
|
@@ -153,7 +153,7 @@ module RadioManagerClient
|
|
153
153
|
:'_external_station_id' => :'Integer',
|
154
154
|
:'model_type_id' => :'Integer',
|
155
155
|
:'block_id' => :'Integer',
|
156
|
-
:'external_id' => :'
|
156
|
+
:'external_id' => :'String',
|
157
157
|
:'field_values' => :'ImportItemFieldValues',
|
158
158
|
:'title' => :'String',
|
159
159
|
:'duration' => :'Integer',
|
@@ -323,10 +323,6 @@ module RadioManagerClient
|
|
323
323
|
invalid_properties.push("invalid value for 'model_type_id', model_type_id cannot be nil.")
|
324
324
|
end
|
325
325
|
|
326
|
-
if @external_id.nil?
|
327
|
-
invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
|
328
|
-
end
|
329
|
-
|
330
326
|
return invalid_properties
|
331
327
|
end
|
332
328
|
|
@@ -334,7 +330,6 @@ module RadioManagerClient
|
|
334
330
|
# @return true if the model is valid
|
335
331
|
def valid?
|
336
332
|
return false if @model_type_id.nil?
|
337
|
-
return false if @external_id.nil?
|
338
333
|
status_validator = EnumAttributeValidator.new('String', ["scheduled", "playing", "played"])
|
339
334
|
return false unless status_validator.valid?(@status)
|
340
335
|
return true
|
data/radiomanager_client.gemspec
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe RadioManagerClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
#require 'URI'
|
21
|
-
#uri = URI.parse("
|
21
|
+
#uri = URI.parse("https://staging.pluxbox.com/api/v2")
|
22
22
|
#RadioManagerClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe RadioManagerClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
#expect(config.base_url).to eq("
|
31
|
+
#expect(config.base_url).to eq("https://staging.pluxbox.com/api/v2")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
#expect(config.base_url).to eq("
|
38
|
+
#expect(config.base_url).to eq("https://staging.pluxbox.com/api/v2")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -132,7 +132,7 @@ describe 'ItemDataInput' do
|
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
|
-
describe 'test attribute "
|
135
|
+
describe 'test attribute "_previous_id"' do
|
136
136
|
it 'should work' do
|
137
137
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
138
|
end
|
@@ -32,7 +32,7 @@ describe 'ItemInputOnly' do
|
|
32
32
|
expect(@instance).to be_instance_of(RadioManagerClient::ItemInputOnly)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "_previous_id"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiomanager_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.99
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pluxbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|