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.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/docs/BlockApi.md +4 -4
- data/docs/InviteUserData.md +1 -1
- data/docs/ItemApi.md +2 -2
- data/docs/ItemDataInput.md +1 -0
- data/docs/ItemInputOnly.md +1 -0
- data/docs/ModelTypeOptions.md +1 -0
- data/docs/StationResultStation.md +0 -1
- data/docs/UserResult.md +1 -1
- data/docs/UserResultRoles.md +11 -0
- data/lib/radiomanager_client/api/block_api.rb +4 -4
- data/lib/radiomanager_client/api/item_api.rb +2 -2
- data/lib/radiomanager_client/models/invite_user_data.rb +12 -10
- data/lib/radiomanager_client/models/item_data_input.rb +10 -1
- data/lib/radiomanager_client/models/item_input_only.rb +10 -1
- data/lib/radiomanager_client/models/model_type_options.rb +13 -4
- data/lib/radiomanager_client/models/station_result_station.rb +4 -13
- data/lib/radiomanager_client/models/user_result.rb +9 -7
- data/lib/radiomanager_client/models/{broadcast_field_values.rb → user_result_roles.rb} +35 -8
- data/lib/radiomanager_client.rb +1 -0
- data/radiomanager_client.gemspec +1 -1
- data/spec/api/block_api_spec.rb +8 -5
- data/spec/api/broadcast_api_spec.rb +20 -12
- data/spec/api/campaign_api_spec.rb +4 -1
- data/spec/api/contact_api_spec.rb +5 -2
- data/spec/api/genre_api_spec.rb +3 -0
- data/spec/api/item_api_spec.rb +14 -13
- data/spec/api/model_type_api_spec.rb +4 -1
- data/spec/api/presenter_api_spec.rb +4 -1
- data/spec/api/program_api_spec.rb +8 -5
- data/spec/api/story_api_spec.rb +5 -2
- data/spec/api/tag_api_spec.rb +3 -0
- data/spec/api/user_api_spec.rb +3 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/invite_user_data_spec.rb +1 -1
- data/spec/models/item_data_input_spec.rb +7 -1
- data/spec/models/item_input_only_spec.rb +7 -1
- data/spec/models/model_type_options_spec.rb +6 -0
- data/spec/models/station_result_station_spec.rb +1 -1
- data/spec/models/{epg_broadcast_spec.rb → user_result_roles_spec.rb} +15 -9
- data/spec/models/user_result_spec.rb +1 -1
- metadata +7 -31
- data/docs/BroadcastFieldValues.md +0 -8
- data/docs/ContactFieldValues.md +0 -8
- data/docs/EPGBroadcast.md +0 -10
- data/docs/ExternalMessageApi.md +0 -63
- data/docs/ExternalMessageQueueData.md +0 -14
- data/docs/ImportItemFieldValues.md +0 -8
- data/docs/ProgramFieldValues.md +0 -8
- data/lib/radiomanager_client/api/external_message_api.rb +0 -78
- data/lib/radiomanager_client/models/contact_field_values.rb +0 -188
- data/lib/radiomanager_client/models/epg_broadcast.rb +0 -227
- data/lib/radiomanager_client/models/external_message_queue_data.rb +0 -333
- data/lib/radiomanager_client/models/import_item_field_values.rb +0 -188
- data/lib/radiomanager_client/models/program_field_values.rb +0 -188
- data/spec/api/external_message_api_spec.rb +0 -47
- data/spec/models/broadcast_field_values_spec.rb +0 -42
- data/spec/models/contact_field_values_spec.rb +0 -42
- data/spec/models/external_message_queue_data_spec.rb +0 -78
- data/spec/models/import_item_field_values_spec.rb +0 -42
- data/spec/models/program_field_values_spec.rb +0 -42
@@ -1,188 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module RadioManagerClient
|
16
|
-
|
17
|
-
class ImportItemFieldValues
|
18
|
-
attr_accessor :type
|
19
|
-
|
20
|
-
|
21
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
-
def self.attribute_map
|
23
|
-
{
|
24
|
-
:'type' => :'type'
|
25
|
-
}
|
26
|
-
end
|
27
|
-
|
28
|
-
# Attribute type mapping.
|
29
|
-
def self.swagger_types
|
30
|
-
{
|
31
|
-
:'type' => :'String'
|
32
|
-
}
|
33
|
-
end
|
34
|
-
|
35
|
-
# Initializes the object
|
36
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
37
|
-
def initialize(attributes = {})
|
38
|
-
return unless attributes.is_a?(Hash)
|
39
|
-
|
40
|
-
# convert string to symbol for hash key
|
41
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
42
|
-
|
43
|
-
if attributes.has_key?(:'type')
|
44
|
-
self.type = attributes[:'type']
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
49
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
50
|
-
# @return Array for valid properies with the reasons
|
51
|
-
def list_invalid_properties
|
52
|
-
invalid_properties = Array.new
|
53
|
-
return invalid_properties
|
54
|
-
end
|
55
|
-
|
56
|
-
# Check to see if the all the properties in the model are valid
|
57
|
-
# @return true if the model is valid
|
58
|
-
def valid?
|
59
|
-
return true
|
60
|
-
end
|
61
|
-
|
62
|
-
# Checks equality by comparing each attribute.
|
63
|
-
# @param [Object] Object to be compared
|
64
|
-
def ==(o)
|
65
|
-
return true if self.equal?(o)
|
66
|
-
self.class == o.class &&
|
67
|
-
type == o.type
|
68
|
-
end
|
69
|
-
|
70
|
-
# @see the `==` method
|
71
|
-
# @param [Object] Object to be compared
|
72
|
-
def eql?(o)
|
73
|
-
self == o
|
74
|
-
end
|
75
|
-
|
76
|
-
# Calculates hash code according to all attributes.
|
77
|
-
# @return [Fixnum] Hash code
|
78
|
-
def hash
|
79
|
-
[type].hash
|
80
|
-
end
|
81
|
-
|
82
|
-
# Builds the object from hash
|
83
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
84
|
-
# @return [Object] Returns the model itself
|
85
|
-
def build_from_hash(attributes)
|
86
|
-
return nil unless attributes.is_a?(Hash)
|
87
|
-
self.class.swagger_types.each_pair do |key, type|
|
88
|
-
if type =~ /\AArray<(.*)>/i
|
89
|
-
# check to ensure the input is an array given that the the attribute
|
90
|
-
# is documented as an array but the input is not
|
91
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
92
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
93
|
-
end
|
94
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
95
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
96
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
97
|
-
end
|
98
|
-
|
99
|
-
self
|
100
|
-
end
|
101
|
-
|
102
|
-
# Deserializes the data based on type
|
103
|
-
# @param string type Data type
|
104
|
-
# @param string value Value to be deserialized
|
105
|
-
# @return [Object] Deserialized data
|
106
|
-
def _deserialize(type, value)
|
107
|
-
case type.to_sym
|
108
|
-
when :DateTime
|
109
|
-
DateTime.parse(value)
|
110
|
-
when :Date
|
111
|
-
Date.parse(value)
|
112
|
-
when :String
|
113
|
-
value.to_s
|
114
|
-
when :Integer
|
115
|
-
value.to_i
|
116
|
-
when :Float
|
117
|
-
value.to_f
|
118
|
-
when :BOOLEAN
|
119
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
120
|
-
true
|
121
|
-
else
|
122
|
-
false
|
123
|
-
end
|
124
|
-
when :Object
|
125
|
-
# generic object (usually a Hash), return directly
|
126
|
-
value
|
127
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
128
|
-
inner_type = Regexp.last_match[:inner_type]
|
129
|
-
value.map { |v| _deserialize(inner_type, v) }
|
130
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
131
|
-
k_type = Regexp.last_match[:k_type]
|
132
|
-
v_type = Regexp.last_match[:v_type]
|
133
|
-
{}.tap do |hash|
|
134
|
-
value.each do |k, v|
|
135
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
136
|
-
end
|
137
|
-
end
|
138
|
-
else # model
|
139
|
-
temp_model = RadioManagerClient.const_get(type).new
|
140
|
-
temp_model.build_from_hash(value)
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
# Returns the string representation of the object
|
145
|
-
# @return [String] String presentation of the object
|
146
|
-
def to_s
|
147
|
-
to_hash.to_s
|
148
|
-
end
|
149
|
-
|
150
|
-
# to_body is an alias to to_hash (backward compatibility)
|
151
|
-
# @return [Hash] Returns the object in the form of hash
|
152
|
-
def to_body
|
153
|
-
to_hash
|
154
|
-
end
|
155
|
-
|
156
|
-
# Returns the object in the form of hash
|
157
|
-
# @return [Hash] Returns the object in the form of hash
|
158
|
-
def to_hash
|
159
|
-
hash = {}
|
160
|
-
self.class.attribute_map.each_pair do |attr, param|
|
161
|
-
value = self.send(attr)
|
162
|
-
next if value.nil?
|
163
|
-
hash[param] = _to_hash(value)
|
164
|
-
end
|
165
|
-
hash
|
166
|
-
end
|
167
|
-
|
168
|
-
# Outputs non-array value in the form of hash
|
169
|
-
# For object, use to_hash. Otherwise, just return the value
|
170
|
-
# @param [Object] value Any valid value
|
171
|
-
# @return [Hash] Returns the value in the form of hash
|
172
|
-
def _to_hash(value)
|
173
|
-
if value.is_a?(Array)
|
174
|
-
value.compact.map{ |v| _to_hash(v) }
|
175
|
-
elsif value.is_a?(Hash)
|
176
|
-
{}.tap do |hash|
|
177
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
178
|
-
end
|
179
|
-
elsif value.respond_to? :to_hash
|
180
|
-
value.to_hash
|
181
|
-
else
|
182
|
-
value
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
|
-
end
|
187
|
-
|
188
|
-
end
|
@@ -1,188 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module RadioManagerClient
|
16
|
-
|
17
|
-
class ProgramFieldValues
|
18
|
-
attr_accessor :image
|
19
|
-
|
20
|
-
|
21
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
-
def self.attribute_map
|
23
|
-
{
|
24
|
-
:'image' => :'image'
|
25
|
-
}
|
26
|
-
end
|
27
|
-
|
28
|
-
# Attribute type mapping.
|
29
|
-
def self.swagger_types
|
30
|
-
{
|
31
|
-
:'image' => :'String'
|
32
|
-
}
|
33
|
-
end
|
34
|
-
|
35
|
-
# Initializes the object
|
36
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
37
|
-
def initialize(attributes = {})
|
38
|
-
return unless attributes.is_a?(Hash)
|
39
|
-
|
40
|
-
# convert string to symbol for hash key
|
41
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
42
|
-
|
43
|
-
if attributes.has_key?(:'image')
|
44
|
-
self.image = attributes[:'image']
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
49
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
50
|
-
# @return Array for valid properies with the reasons
|
51
|
-
def list_invalid_properties
|
52
|
-
invalid_properties = Array.new
|
53
|
-
return invalid_properties
|
54
|
-
end
|
55
|
-
|
56
|
-
# Check to see if the all the properties in the model are valid
|
57
|
-
# @return true if the model is valid
|
58
|
-
def valid?
|
59
|
-
return true
|
60
|
-
end
|
61
|
-
|
62
|
-
# Checks equality by comparing each attribute.
|
63
|
-
# @param [Object] Object to be compared
|
64
|
-
def ==(o)
|
65
|
-
return true if self.equal?(o)
|
66
|
-
self.class == o.class &&
|
67
|
-
image == o.image
|
68
|
-
end
|
69
|
-
|
70
|
-
# @see the `==` method
|
71
|
-
# @param [Object] Object to be compared
|
72
|
-
def eql?(o)
|
73
|
-
self == o
|
74
|
-
end
|
75
|
-
|
76
|
-
# Calculates hash code according to all attributes.
|
77
|
-
# @return [Fixnum] Hash code
|
78
|
-
def hash
|
79
|
-
[image].hash
|
80
|
-
end
|
81
|
-
|
82
|
-
# Builds the object from hash
|
83
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
84
|
-
# @return [Object] Returns the model itself
|
85
|
-
def build_from_hash(attributes)
|
86
|
-
return nil unless attributes.is_a?(Hash)
|
87
|
-
self.class.swagger_types.each_pair do |key, type|
|
88
|
-
if type =~ /\AArray<(.*)>/i
|
89
|
-
# check to ensure the input is an array given that the the attribute
|
90
|
-
# is documented as an array but the input is not
|
91
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
92
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
93
|
-
end
|
94
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
95
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
96
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
97
|
-
end
|
98
|
-
|
99
|
-
self
|
100
|
-
end
|
101
|
-
|
102
|
-
# Deserializes the data based on type
|
103
|
-
# @param string type Data type
|
104
|
-
# @param string value Value to be deserialized
|
105
|
-
# @return [Object] Deserialized data
|
106
|
-
def _deserialize(type, value)
|
107
|
-
case type.to_sym
|
108
|
-
when :DateTime
|
109
|
-
DateTime.parse(value)
|
110
|
-
when :Date
|
111
|
-
Date.parse(value)
|
112
|
-
when :String
|
113
|
-
value.to_s
|
114
|
-
when :Integer
|
115
|
-
value.to_i
|
116
|
-
when :Float
|
117
|
-
value.to_f
|
118
|
-
when :BOOLEAN
|
119
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
120
|
-
true
|
121
|
-
else
|
122
|
-
false
|
123
|
-
end
|
124
|
-
when :Object
|
125
|
-
# generic object (usually a Hash), return directly
|
126
|
-
value
|
127
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
128
|
-
inner_type = Regexp.last_match[:inner_type]
|
129
|
-
value.map { |v| _deserialize(inner_type, v) }
|
130
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
131
|
-
k_type = Regexp.last_match[:k_type]
|
132
|
-
v_type = Regexp.last_match[:v_type]
|
133
|
-
{}.tap do |hash|
|
134
|
-
value.each do |k, v|
|
135
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
136
|
-
end
|
137
|
-
end
|
138
|
-
else # model
|
139
|
-
temp_model = RadioManagerClient.const_get(type).new
|
140
|
-
temp_model.build_from_hash(value)
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
# Returns the string representation of the object
|
145
|
-
# @return [String] String presentation of the object
|
146
|
-
def to_s
|
147
|
-
to_hash.to_s
|
148
|
-
end
|
149
|
-
|
150
|
-
# to_body is an alias to to_hash (backward compatibility)
|
151
|
-
# @return [Hash] Returns the object in the form of hash
|
152
|
-
def to_body
|
153
|
-
to_hash
|
154
|
-
end
|
155
|
-
|
156
|
-
# Returns the object in the form of hash
|
157
|
-
# @return [Hash] Returns the object in the form of hash
|
158
|
-
def to_hash
|
159
|
-
hash = {}
|
160
|
-
self.class.attribute_map.each_pair do |attr, param|
|
161
|
-
value = self.send(attr)
|
162
|
-
next if value.nil?
|
163
|
-
hash[param] = _to_hash(value)
|
164
|
-
end
|
165
|
-
hash
|
166
|
-
end
|
167
|
-
|
168
|
-
# Outputs non-array value in the form of hash
|
169
|
-
# For object, use to_hash. Otherwise, just return the value
|
170
|
-
# @param [Object] value Any valid value
|
171
|
-
# @return [Hash] Returns the value in the form of hash
|
172
|
-
def _to_hash(value)
|
173
|
-
if value.is_a?(Array)
|
174
|
-
value.compact.map{ |v| _to_hash(v) }
|
175
|
-
elsif value.is_a?(Hash)
|
176
|
-
{}.tap do |hash|
|
177
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
178
|
-
end
|
179
|
-
elsif value.respond_to? :to_hash
|
180
|
-
value.to_hash
|
181
|
-
else
|
182
|
-
value
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
|
-
end
|
187
|
-
|
188
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for RadioManagerClient::ExternalMessageApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'ExternalMessageApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = RadioManagerClient::ExternalMessageApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of ExternalMessageApi' do
|
30
|
-
it 'should create an instance of ExternalMessageApi' do
|
31
|
-
expect(@instance).to be_instance_of(RadioManagerClient::ExternalMessageApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for queue_external_message
|
36
|
-
# Queue External Message.
|
37
|
-
# Queue External Message.
|
38
|
-
# @param message Data **(Required)**
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [Object]
|
41
|
-
describe 'queue_external_message test' 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
|
-
|
47
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for RadioManagerClient::BroadcastFieldValues
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'BroadcastFieldValues' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = RadioManagerClient::BroadcastFieldValues.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of BroadcastFieldValues' do
|
31
|
-
it 'should create an instance of BroadcastFieldValues' do
|
32
|
-
expect(@instance).to be_instance_of(RadioManagerClient::BroadcastFieldValues)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "image"' 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
|
-
end
|
42
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for RadioManagerClient::ContactFieldValues
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ContactFieldValues' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = RadioManagerClient::ContactFieldValues.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ContactFieldValues' do
|
31
|
-
it 'should create an instance of ContactFieldValues' do
|
32
|
-
expect(@instance).to be_instance_of(RadioManagerClient::ContactFieldValues)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "description"' 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
|
-
end
|
42
|
-
|
@@ -1,78 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for RadioManagerClient::ExternalMessageQueueData
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ExternalMessageQueueData' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = RadioManagerClient::ExternalMessageQueueData.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ExternalMessageQueueData' do
|
31
|
-
it 'should create an instance of ExternalMessageQueueData' do
|
32
|
-
expect(@instance).to be_instance_of(RadioManagerClient::ExternalMessageQueueData)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "message"' 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 "message_id"' 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
|
-
|
47
|
-
describe 'test attribute "message_date"' 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 "sender_name"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'test attribute "sender_id"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "avatar_url"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
describe 'test attribute "model_type_id"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
end
|
78
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for RadioManagerClient::ImportItemFieldValues
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ImportItemFieldValues' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = RadioManagerClient::ImportItemFieldValues.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ImportItemFieldValues' do
|
31
|
-
it 'should create an instance of ImportItemFieldValues' do
|
32
|
-
expect(@instance).to be_instance_of(RadioManagerClient::ImportItemFieldValues)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "type"' 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
|
-
end
|
42
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#RadioManager
|
3
|
-
|
4
|
-
#RadioManager
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0
|
7
|
-
Contact: support@pluxbox.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for RadioManagerClient::ProgramFieldValues
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ProgramFieldValues' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = RadioManagerClient::ProgramFieldValues.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ProgramFieldValues' do
|
31
|
-
it 'should create an instance of ProgramFieldValues' do
|
32
|
-
expect(@instance).to be_instance_of(RadioManagerClient::ProgramFieldValues)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "image"' 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
|
-
end
|
42
|
-
|