radiomanager_client 1.1.1 → 1.1.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f31c2e9253c27cf795afad074304af1fe33a0c4
|
4
|
+
data.tar.gz: c7b7118ca3f5a3504a5965e826e34d9ada54d812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13979c4f4e555aabace0a7e21f063df51b47fb2bdfdd376e8b469f6e81ed2cdb21471953de82e5682e1c096eebe27293b4d5d119ace127d856505ad3f9ce52f6
|
7
|
+
data.tar.gz: 30a14227a7e7b9a3661d8c9ea251adc8409044bac75f353f1feff232f33eb0a71f8c9c688074d4ac25e685aa4a69dee9a8dfdcb71f89fe26664677d3a40af0dc
|
data/README.md
CHANGED
data/docs/BroadcastApi.md
CHANGED
@@ -184,7 +184,7 @@ Name | Type | Description | Notes
|
|
184
184
|
|
185
185
|
|
186
186
|
# **get_current_broadcast**
|
187
|
-
>
|
187
|
+
> BroadcastResult get_current_broadcast(opts)
|
188
188
|
|
189
189
|
Get current Broadcast
|
190
190
|
|
@@ -204,9 +204,13 @@ end
|
|
204
204
|
|
205
205
|
api_instance = RadioManagerClient::BroadcastApi.new
|
206
206
|
|
207
|
+
opts = {
|
208
|
+
withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
|
209
|
+
}
|
210
|
+
|
207
211
|
begin
|
208
212
|
#Get current Broadcast
|
209
|
-
result = api_instance.get_current_broadcast
|
213
|
+
result = api_instance.get_current_broadcast(opts)
|
210
214
|
p result
|
211
215
|
rescue RadioManagerClient::ApiError => e
|
212
216
|
puts "Exception when calling BroadcastApi->get_current_broadcast: #{e}"
|
@@ -214,11 +218,14 @@ end
|
|
214
218
|
```
|
215
219
|
|
216
220
|
### Parameters
|
217
|
-
|
221
|
+
|
222
|
+
Name | Type | Description | Notes
|
223
|
+
------------- | ------------- | ------------- | -------------
|
224
|
+
**withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
|
218
225
|
|
219
226
|
### Return type
|
220
227
|
|
221
|
-
[**
|
228
|
+
[**BroadcastResult**](BroadcastResult.md)
|
222
229
|
|
223
230
|
### Authorization
|
224
231
|
|
@@ -346,7 +353,7 @@ Name | Type | Description | Notes
|
|
346
353
|
|
347
354
|
|
348
355
|
# **get_next_broadcast**
|
349
|
-
>
|
356
|
+
> BroadcastResult get_next_broadcast(opts)
|
350
357
|
|
351
358
|
Get next Broadcast
|
352
359
|
|
@@ -366,9 +373,13 @@ end
|
|
366
373
|
|
367
374
|
api_instance = RadioManagerClient::BroadcastApi.new
|
368
375
|
|
376
|
+
opts = {
|
377
|
+
withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
|
378
|
+
}
|
379
|
+
|
369
380
|
begin
|
370
381
|
#Get next Broadcast
|
371
|
-
result = api_instance.get_next_broadcast
|
382
|
+
result = api_instance.get_next_broadcast(opts)
|
372
383
|
p result
|
373
384
|
rescue RadioManagerClient::ApiError => e
|
374
385
|
puts "Exception when calling BroadcastApi->get_next_broadcast: #{e}"
|
@@ -376,11 +387,14 @@ end
|
|
376
387
|
```
|
377
388
|
|
378
389
|
### Parameters
|
379
|
-
|
390
|
+
|
391
|
+
Name | Type | Description | Notes
|
392
|
+
------------- | ------------- | ------------- | -------------
|
393
|
+
**withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
|
380
394
|
|
381
395
|
### Return type
|
382
396
|
|
383
|
-
[**
|
397
|
+
[**BroadcastResult**](BroadcastResult.md)
|
384
398
|
|
385
399
|
### Authorization
|
386
400
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**medium_name** | **String** | | [optional]
|
13
13
|
**website** | **String** | | [optional]
|
14
14
|
**email** | **String** | | [optional]
|
15
|
-
**keywords** | **String
|
15
|
+
**keywords** | **Array<String>** | | [optional]
|
16
16
|
**description** | **String** | | [optional]
|
17
17
|
**sms** | **String** | | [optional]
|
18
18
|
**telephone** | **String** | | [optional]
|
@@ -199,7 +199,8 @@ module RadioManagerClient
|
|
199
199
|
# Get current Broadcast
|
200
200
|
# Get current Broadcast
|
201
201
|
# @param [Hash] opts the optional parameters
|
202
|
-
# @
|
202
|
+
# @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
|
203
|
+
# @return [BroadcastResult]
|
203
204
|
def get_current_broadcast(opts = {})
|
204
205
|
data, _status_code, _headers = get_current_broadcast_with_http_info(opts)
|
205
206
|
return data
|
@@ -208,7 +209,8 @@ module RadioManagerClient
|
|
208
209
|
# Get current Broadcast
|
209
210
|
# Get current Broadcast
|
210
211
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @
|
212
|
+
# @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
|
213
|
+
# @return [Array<(BroadcastResult, Fixnum, Hash)>] BroadcastResult data, response status code and response headers
|
212
214
|
def get_current_broadcast_with_http_info(opts = {})
|
213
215
|
if @api_client.config.debugging
|
214
216
|
@api_client.config.logger.debug "Calling API: BroadcastApi.get_current_broadcast ..."
|
@@ -218,6 +220,7 @@ module RadioManagerClient
|
|
218
220
|
|
219
221
|
# query parameters
|
220
222
|
query_params = {}
|
223
|
+
query_params[:'withunpublished'] = opts[:'withunpublished'] if !opts[:'withunpublished'].nil?
|
221
224
|
|
222
225
|
# header parameters
|
223
226
|
header_params = {}
|
@@ -238,7 +241,7 @@ module RadioManagerClient
|
|
238
241
|
:form_params => form_params,
|
239
242
|
:body => post_body,
|
240
243
|
:auth_names => auth_names,
|
241
|
-
:return_type => '
|
244
|
+
:return_type => 'BroadcastResult')
|
242
245
|
if @api_client.config.debugging
|
243
246
|
@api_client.config.logger.debug "API called: BroadcastApi#get_current_broadcast\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
244
247
|
end
|
@@ -358,7 +361,8 @@ module RadioManagerClient
|
|
358
361
|
# Get next Broadcast
|
359
362
|
# Get next Broadcast
|
360
363
|
# @param [Hash] opts the optional parameters
|
361
|
-
# @
|
364
|
+
# @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
|
365
|
+
# @return [BroadcastResult]
|
362
366
|
def get_next_broadcast(opts = {})
|
363
367
|
data, _status_code, _headers = get_next_broadcast_with_http_info(opts)
|
364
368
|
return data
|
@@ -367,7 +371,8 @@ module RadioManagerClient
|
|
367
371
|
# Get next Broadcast
|
368
372
|
# Get next Broadcast
|
369
373
|
# @param [Hash] opts the optional parameters
|
370
|
-
# @
|
374
|
+
# @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
|
375
|
+
# @return [Array<(BroadcastResult, Fixnum, Hash)>] BroadcastResult data, response status code and response headers
|
371
376
|
def get_next_broadcast_with_http_info(opts = {})
|
372
377
|
if @api_client.config.debugging
|
373
378
|
@api_client.config.logger.debug "Calling API: BroadcastApi.get_next_broadcast ..."
|
@@ -377,6 +382,7 @@ module RadioManagerClient
|
|
377
382
|
|
378
383
|
# query parameters
|
379
384
|
query_params = {}
|
385
|
+
query_params[:'withunpublished'] = opts[:'withunpublished'] if !opts[:'withunpublished'].nil?
|
380
386
|
|
381
387
|
# header parameters
|
382
388
|
header_params = {}
|
@@ -397,7 +403,7 @@ module RadioManagerClient
|
|
397
403
|
:form_params => form_params,
|
398
404
|
:body => post_body,
|
399
405
|
:auth_names => auth_names,
|
400
|
-
:return_type => '
|
406
|
+
:return_type => 'BroadcastResult')
|
401
407
|
if @api_client.config.debugging
|
402
408
|
@api_client.config.logger.debug "API called: BroadcastApi#get_next_broadcast\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
403
409
|
end
|
@@ -112,7 +112,7 @@ module RadioManagerClient
|
|
112
112
|
:'medium_name' => :'String',
|
113
113
|
:'website' => :'String',
|
114
114
|
:'email' => :'String',
|
115
|
-
:'keywords' => :'String',
|
115
|
+
:'keywords' => :'Array<String>',
|
116
116
|
:'description' => :'String',
|
117
117
|
:'sms' => :'String',
|
118
118
|
:'telephone' => :'String',
|
@@ -177,7 +177,9 @@ module RadioManagerClient
|
|
177
177
|
end
|
178
178
|
|
179
179
|
if attributes.has_key?(:'keywords')
|
180
|
-
|
180
|
+
if (value = attributes[:'keywords']).is_a?(Array)
|
181
|
+
self.keywords = value
|
182
|
+
end
|
181
183
|
end
|
182
184
|
|
183
185
|
if attributes.has_key?(:'description')
|
data/radiomanager_client.gemspec
CHANGED
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.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pluxbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|