radiomanager_client 1.1.2 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -2
  3. data/docs/BlockApi.md +4 -4
  4. data/docs/InviteUserData.md +1 -1
  5. data/docs/ItemApi.md +2 -2
  6. data/docs/ItemDataInput.md +1 -0
  7. data/docs/ItemInputOnly.md +1 -0
  8. data/docs/ModelTypeOptions.md +1 -0
  9. data/docs/StationResultStation.md +0 -1
  10. data/docs/UserResult.md +1 -1
  11. data/docs/UserResultRoles.md +11 -0
  12. data/lib/radiomanager_client/api/block_api.rb +4 -4
  13. data/lib/radiomanager_client/api/item_api.rb +2 -2
  14. data/lib/radiomanager_client/models/invite_user_data.rb +12 -10
  15. data/lib/radiomanager_client/models/item_data_input.rb +10 -1
  16. data/lib/radiomanager_client/models/item_input_only.rb +10 -1
  17. data/lib/radiomanager_client/models/model_type_options.rb +13 -4
  18. data/lib/radiomanager_client/models/station_result_station.rb +4 -13
  19. data/lib/radiomanager_client/models/user_result.rb +9 -7
  20. data/lib/radiomanager_client/models/{broadcast_field_values.rb → user_result_roles.rb} +35 -8
  21. data/lib/radiomanager_client.rb +1 -0
  22. data/radiomanager_client.gemspec +1 -1
  23. data/spec/api/block_api_spec.rb +8 -5
  24. data/spec/api/broadcast_api_spec.rb +20 -12
  25. data/spec/api/campaign_api_spec.rb +4 -1
  26. data/spec/api/contact_api_spec.rb +5 -2
  27. data/spec/api/genre_api_spec.rb +3 -0
  28. data/spec/api/item_api_spec.rb +14 -13
  29. data/spec/api/model_type_api_spec.rb +4 -1
  30. data/spec/api/presenter_api_spec.rb +4 -1
  31. data/spec/api/program_api_spec.rb +8 -5
  32. data/spec/api/story_api_spec.rb +5 -2
  33. data/spec/api/tag_api_spec.rb +3 -0
  34. data/spec/api/user_api_spec.rb +3 -0
  35. data/spec/configuration_spec.rb +3 -3
  36. data/spec/models/invite_user_data_spec.rb +1 -1
  37. data/spec/models/item_data_input_spec.rb +7 -1
  38. data/spec/models/item_input_only_spec.rb +7 -1
  39. data/spec/models/model_type_options_spec.rb +6 -0
  40. data/spec/models/station_result_station_spec.rb +1 -1
  41. data/spec/models/{epg_broadcast_spec.rb → user_result_roles_spec.rb} +15 -9
  42. data/spec/models/user_result_spec.rb +1 -1
  43. metadata +7 -31
  44. data/docs/BroadcastFieldValues.md +0 -8
  45. data/docs/ContactFieldValues.md +0 -8
  46. data/docs/EPGBroadcast.md +0 -10
  47. data/docs/ExternalMessageApi.md +0 -63
  48. data/docs/ExternalMessageQueueData.md +0 -14
  49. data/docs/ImportItemFieldValues.md +0 -8
  50. data/docs/ProgramFieldValues.md +0 -8
  51. data/lib/radiomanager_client/api/external_message_api.rb +0 -78
  52. data/lib/radiomanager_client/models/contact_field_values.rb +0 -188
  53. data/lib/radiomanager_client/models/epg_broadcast.rb +0 -227
  54. data/lib/radiomanager_client/models/external_message_queue_data.rb +0 -333
  55. data/lib/radiomanager_client/models/import_item_field_values.rb +0 -188
  56. data/lib/radiomanager_client/models/program_field_values.rb +0 -188
  57. data/spec/api/external_message_api_spec.rb +0 -47
  58. data/spec/models/broadcast_field_values_spec.rb +0 -42
  59. data/spec/models/contact_field_values_spec.rb +0 -42
  60. data/spec/models/external_message_queue_data_spec.rb +0 -78
  61. data/spec/models/import_item_field_values_spec.rb +0 -42
  62. data/spec/models/program_field_values_spec.rb +0 -42
@@ -57,8 +57,8 @@ describe 'BlockApi' do
57
57
  end
58
58
 
59
59
  # unit tests for get_next_block
60
- # Get next Block
61
- # Get next Block
60
+ # Get upcoming Block
61
+ # Get upcoming Block
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @return [BlockResult]
64
64
  describe 'get_next_block test' do
@@ -72,11 +72,14 @@ describe 'BlockApi' do
72
72
  # Get a list of all blocks currently in your station. This feature supports pagination and will give a maximum of 50 blocks back.
73
73
  # @param [Hash] opts the optional parameters
74
74
  # @option opts [Integer] :page Current page *(Optional)*
75
- # @option opts [DateTime] :start_min Minimum start date *(Optional)*
76
- # @option opts [DateTime] :start_max Maximum start date *(Optional)*
77
75
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
78
- # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
79
76
  # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
77
+ # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
78
+ # @option opts [DateTime] :start_min Minimum start date *(Optional)*
79
+ # @option opts [DateTime] :start_max Maximum start date *(Optional)*
80
+ # @option opts [Integer] :limit Results per page *(Optional)*
81
+ # @option opts [String] :order_by Field to order the results *(Optional)*
82
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
80
83
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
81
84
  # @return [BlockResults]
82
85
  describe 'list_blocks test' do
@@ -73,7 +73,8 @@ describe 'BroadcastApi' do
73
73
  # Get current Broadcast
74
74
  # Get current Broadcast
75
75
  # @param [Hash] opts the optional parameters
76
- # @return [Broadcast]
76
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
77
+ # @return [BroadcastResult]
77
78
  describe 'get_current_broadcast test' do
78
79
  it "should work" do
79
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -85,7 +86,8 @@ describe 'BroadcastApi' do
85
86
  # Get current Broadcast
86
87
  # @param [Hash] opts the optional parameters
87
88
  # @option opts [DateTime] :date Date *(Optional)*
88
- # @return [EPGBroadcast]
89
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
90
+ # @return [EPGResults]
89
91
  describe 'get_daily_epg test' do
90
92
  it "should work" do
91
93
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,7 +99,8 @@ describe 'BroadcastApi' do
97
99
  # Get EPG by date
98
100
  # @param [Hash] opts the optional parameters
99
101
  # @option opts [DateTime] :date Date *(Optional)*
100
- # @return [EPGBroadcast]
102
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
103
+ # @return [EPGResults]
101
104
  describe 'get_epg_by_date test' do
102
105
  it "should work" do
103
106
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -108,7 +111,8 @@ describe 'BroadcastApi' do
108
111
  # Get next Broadcast
109
112
  # Get next Broadcast
110
113
  # @param [Hash] opts the optional parameters
111
- # @return [Broadcast]
114
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
115
+ # @return [BroadcastResult]
112
116
  describe 'get_next_broadcast test' do
113
117
  it "should work" do
114
118
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -120,7 +124,8 @@ describe 'BroadcastApi' do
120
124
  # Get weekly EPG
121
125
  # @param [Hash] opts the optional parameters
122
126
  # @option opts [String] :date Date *(Optional)*
123
- # @return [EPGBroadcast]
127
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
128
+ # @return [EPGResults]
124
129
  describe 'get_weekly_epg test' do
125
130
  it "should work" do
126
131
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -132,15 +137,18 @@ describe 'BroadcastApi' do
132
137
  # List all broadcasts.
133
138
  # @param [Hash] opts the optional parameters
134
139
  # @option opts [Integer] :page Current page *(Optional)*
135
- # @option opts [DateTime] :start_min Minimum start date *(Optional)*
136
- # @option opts [DateTime] :start_max Maximum start date *(Optional)*
137
- # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
140
+ # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
141
+ # @option opts [Integer] :block_id Search on Block ID *(Optional)* `(Relation)`
142
+ # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)`
138
143
  # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
139
144
  # @option opts [Integer] :presenter_id Search on Presenter ID *(Optional)* `(Relation)`
140
- # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
141
- # @option opts [Integer] :block_id Search on Block ID *(Optional)* `(Relation)`
142
145
  # @option opts [Integer] :genre_id Search on Genre ID *(Optional)* `(Relation)`
143
- # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
146
+ # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
147
+ # @option opts [DateTime] :start_min Minimum start date *(Optional)*
148
+ # @option opts [DateTime] :start_max Maximum start date *(Optional)*
149
+ # @option opts [Integer] :limit Results per page *(Optional)*
150
+ # @option opts [String] :order_by Field to order the results *(Optional)*
151
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
144
152
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
145
153
  # @return [BroadcastResults]
146
154
  describe 'list_broadcasts test' do
@@ -157,7 +165,7 @@ describe 'BroadcastApi' do
157
165
  # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
158
166
  # @option opts [Integer] :presenter_id Search on Presenter ID *(Optional)* `(Relation)`
159
167
  # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
160
- # @return [EPGBroadcast]
168
+ # @return [EPGResults]
161
169
  describe 'print_broadcast_by_id test' do
162
170
  it "should work" do
163
171
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,10 +74,13 @@ describe 'CampaignApi' do
74
74
  # List all campaigns.
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [Integer] :page Current page *(Optional)*
77
- # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
78
77
  # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
78
+ # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)`
79
79
  # @option opts [DateTime] :start_min Minimum start date *(Optional)*
80
80
  # @option opts [DateTime] :start_max Maximum start date *(Optional)*
81
+ # @option opts [Integer] :limit Results per page *(Optional)*
82
+ # @option opts [String] :order_by Field to order the results *(Optional)*
83
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
81
84
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
82
85
  # @return [CampaignResults]
83
86
  describe 'list_campaigns test' do
@@ -74,9 +74,12 @@ describe 'ContactApi' do
74
74
  # List all contacts.
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [Integer] :page Current page *(Optional)*
77
- # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
78
- # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
79
77
  # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
78
+ # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)`
79
+ # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
80
+ # @option opts [Integer] :limit Results per page *(Optional)*
81
+ # @option opts [String] :order_by Field to order the results *(Optional)*
82
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
80
83
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
81
84
  # @return [ContactResults]
82
85
  describe 'list_contacts test' do
@@ -53,6 +53,9 @@ describe 'GenreApi' do
53
53
  # @option opts [Integer] :parent_id Search on Parent ID of Genre *(Optional)*
54
54
  # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
55
55
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
56
+ # @option opts [Integer] :limit Results per page *(Optional)*
57
+ # @option opts [String] :order_by Field to order the results *(Optional)*
58
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
56
59
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
57
60
  # @return [GenreResults]
58
61
  describe 'list_genres test' do
@@ -98,23 +98,24 @@ describe 'ItemApi' do
98
98
  # Get a list of all the items currently in your station. This feature supports pagination and will give a maximum results of 50 items back.
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @option opts [Integer] :page Current page *(Optional)*
101
- # @option opts [String] :order_by Field to order the results *(Optional)*
102
- # @option opts [String] :order_direction Direction of ordering *(Optional)*
103
- # @option opts [DateTime] :start_min Minimum start date *(Optional)*
104
- # @option opts [DateTime] :start_max Maximum start date *(Optional)*
105
- # @option opts [Integer] :duration_min Minimum duration (seconds) *(Optional)*
106
- # @option opts [Integer] :duration_max Maximum duration (seconds) *(Optional)*
107
- # @option opts [String] :status Play Status of item *(Optional)*
108
- # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
109
- # @option opts [Integer] :program_draft_id Search on Program Draft ID *(Optional)*
110
- # @option opts [Integer] :user_draft_id Search on User Draft ID *(Optional)*
111
- # @option opts [Integer] :station_draft_id Search on Station Draft ID *(Optional)*
112
101
  # @option opts [Integer] :block_id Search on Block ID *(Optional)* `(Relation)`
113
102
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
103
+ # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)`
104
+ # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
114
105
  # @option opts [Integer] :campaign_id Search on Campaign ID *(Optional)* `(Relation)`
115
106
  # @option opts [Integer] :contact_id Search on Contact ID *(Optional)* `(Relation)`
107
+ # @option opts [Integer] :program_draft_id Search on Program Draft ID *(Optional)*
108
+ # @option opts [Integer] :user_draft_id Search on User Draft ID *(Optional)*
109
+ # @option opts [Integer] :station_draft_id Search on Station Draft ID *(Optional)*
116
110
  # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
117
- # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
111
+ # @option opts [DateTime] :start_min Minimum start date *(Optional)*
112
+ # @option opts [DateTime] :start_max Maximum start date *(Optional)*
113
+ # @option opts [Integer] :duration_min Minimum duration (seconds) *(Optional)*
114
+ # @option opts [Integer] :duration_max Maximum duration (seconds) *(Optional)*
115
+ # @option opts [String] :status Play Status of item *(Optional)*
116
+ # @option opts [Integer] :limit Results per page *(Optional)*
117
+ # @option opts [String] :order_by Field to order the results *(Optional)*
118
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
118
119
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
119
120
  # @return [ItemResults]
120
121
  describe 'list_items test' do
@@ -152,7 +153,7 @@ describe 'ItemApi' do
152
153
  # Update item by id.
153
154
  # @param id ID of Item **(Required)**
154
155
  # @param [Hash] opts the optional parameters
155
- # @option opts [Item] :data Data *(Optional)*
156
+ # @option opts [ItemDataInput] :data Data *(Optional)*
156
157
  # @return [Success]
157
158
  describe 'update_item_by_id test' do
158
159
  it "should work" do
@@ -50,13 +50,16 @@ describe 'ModelTypeApi' do
50
50
  # List all modelTypes.
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @option opts [Integer] :page Current page *(Optional)*
53
- # @option opts [String] :model
54
53
  # @option opts [Integer] :program_id Search on Program ID *(Optional)*
55
54
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)*
56
55
  # @option opts [Integer] :item_id Search on Item ID *(Optional)*
57
56
  # @option opts [Integer] :campaign_id Search on Campaign ID *(Optional)*
58
57
  # @option opts [Integer] :presenter_id Search on Presenter ID *(Optional)*
59
58
  # @option opts [Integer] :contact_id Search on Contact ID *(Optional)*
59
+ # @option opts [String] :model Search Modeltypes for certain Model *(Optional)*
60
+ # @option opts [Integer] :limit Results per page *(Optional)*
61
+ # @option opts [String] :order_by Field to order the results *(Optional)*
62
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
60
63
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
61
64
  # @return [ModelTypeResults]
62
65
  describe 'list_model_types test' do
@@ -74,9 +74,12 @@ describe 'PresenterApi' do
74
74
  # List all presenters.
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [Integer] :page Current page *(Optional)*
77
- # @option opts [Integer] :model_type_id Search on ModelType ID (Optional)
78
77
  # @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
79
78
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
79
+ # @option opts [Integer] :model_type_id Search on ModelType ID (Optional)
80
+ # @option opts [Integer] :limit Results per page *(Optional)*
81
+ # @option opts [String] :order_by Field to order the results *(Optional)*
82
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
80
83
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
81
84
  # @return [PresenterResults]
82
85
  describe 'list_presenters test' do
@@ -74,13 +74,16 @@ describe 'ProgramApi' do
74
74
  # List all programs.
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [Integer] :page Current page *(Optional)*
77
- # @option opts [Integer] :genre_id Search on Genre ID *(Optional)*
78
- # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
79
- # @option opts [Integer] :presenter_id Search on Presenter ID *(Optional)* `(Relation)`
80
- # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
81
77
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
82
- # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
78
+ # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)`
79
+ # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
80
+ # @option opts [Integer] :presenter_id Search on Presenter ID *(Optional)* `(Relation)`
81
+ # @option opts [Integer] :genre_id Search on Genre ID *(Optional)*
83
82
  # @option opts [Integer] :block_id Search on Block ID *(Optional)* `(Relation)`
83
+ # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
84
+ # @option opts [Integer] :limit Results per page *(Optional)*
85
+ # @option opts [String] :order_by Field to order the results *(Optional)*
86
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
84
87
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
85
88
  # @return [ProgramResults]
86
89
  describe 'list_programs test' do
@@ -74,9 +74,12 @@ describe 'StoryApi' do
74
74
  # List all stories.
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [Integer] :page Current page *(Optional)*
77
- # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
78
- # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
79
77
  # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
78
+ # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)`
79
+ # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
80
+ # @option opts [Integer] :limit Results per page *(Optional)*
81
+ # @option opts [String] :order_by Field to order the results *(Optional)*
82
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
80
83
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
81
84
  # @return [StoryResults]
82
85
  describe 'list_stories test' do
@@ -78,6 +78,9 @@ describe 'TagApi' do
78
78
  # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)`
79
79
  # @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
80
80
  # @option opts [Integer] :contact_id Search on Contact ID *(Optional)* `(Relation)`
81
+ # @option opts [Integer] :limit Results per page *(Optional)*
82
+ # @option opts [String] :order_by Field to order the results *(Optional)*
83
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
81
84
  # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
82
85
  # @return [TagResults]
83
86
  describe 'list_tags test' do
@@ -74,6 +74,9 @@ describe 'UserApi' do
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Integer] :page Current page *(Optional)*
76
76
  # @option opts [Integer] :role_id Search on Role ID *(Optional)*
77
+ # @option opts [Integer] :limit Results per page *(Optional)*
78
+ # @option opts [String] :order_by Field to order the results *(Optional)*
79
+ # @option opts [String] :order_direction Direction of ordering *(Optional)*
77
80
  # @return [UserResults]
78
81
  describe 'list_users test' do
79
82
  it "should work" do
@@ -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("http://radiomanager.pb/api/v2")
21
+ #uri = URI.parse("https://staging.radiomanager.io/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("http://radiomanager.pb/api/v2")
31
+ #expect(config.base_url).to eq("https://staging.radiomanager.io/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("http://radiomanager.pb/api/v2")
38
+ #expect(config.base_url).to eq("https://staging.radiomanager.io/api/v2")
39
39
  end
40
40
  end
41
41
  end
@@ -38,7 +38,7 @@ describe 'InviteUserData' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "role_id"' do
41
+ describe 'test attribute "role_ids"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -132,7 +132,13 @@ describe 'ItemDataInput' do
132
132
  end
133
133
  end
134
134
 
135
- describe 'test attribute "previous_id"' do
135
+ describe 'test attribute "_previous_id"' do
136
+ it 'should work' do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
141
+ describe 'test attribute "_before_id"' do
136
142
  it 'should work' do
137
143
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
144
  end
@@ -32,7 +32,13 @@ describe 'ItemInputOnly' do
32
32
  expect(@instance).to be_instance_of(RadioManagerClient::ItemInputOnly)
33
33
  end
34
34
  end
35
- describe 'test attribute "previous_id"' do
35
+ describe 'test attribute "_previous_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "_before_id"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
44
  end
@@ -38,5 +38,11 @@ describe 'ModelTypeOptions' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "sub_broadcast"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  end
42
48
 
@@ -176,7 +176,7 @@ describe 'StationResultStation' do
176
176
  end
177
177
  end
178
178
 
179
- describe 'test attribute "trial_date"' do
179
+ describe 'test attribute "timezone"' do
180
180
  it 'should work' do
181
181
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
182
  end
@@ -14,37 +14,43 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for RadioManagerClient::EPGBroadcast
17
+ # Unit tests for RadioManagerClient::UserResultRoles
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'EPGBroadcast' do
20
+ describe 'UserResultRoles' do
21
21
  before do
22
22
  # run before each test
23
- @instance = RadioManagerClient::EPGBroadcast.new
23
+ @instance = RadioManagerClient::UserResultRoles.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of EPGBroadcast' do
31
- it 'should create an instance of EPGBroadcast' do
32
- expect(@instance).to be_instance_of(RadioManagerClient::EPGBroadcast)
30
+ describe 'test an instance of UserResultRoles' do
31
+ it 'should create an instance of UserResultRoles' do
32
+ expect(@instance).to be_instance_of(RadioManagerClient::UserResultRoles)
33
33
  end
34
34
  end
35
- describe 'test attribute "_2016_01_11"' do
35
+ describe 'test attribute "href"' 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
39
39
  end
40
40
 
41
- describe 'test attribute "next_page_url"' do
41
+ describe 'test attribute "model"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "prev_page_url"' do
47
+ describe 'test attribute "operation"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "params"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
56
  end
@@ -98,7 +98,7 @@ describe 'UserResult' do
98
98
  end
99
99
  end
100
100
 
101
- describe 'test attribute "role_id"' do
101
+ describe 'test attribute "roles"' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
104
  end