File size: 10,727 Bytes
0e27770
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
/**
 * AI Mastering API
 * This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
 *
 * OpenAPI spec version: 1.0.0
 * Contact: info@bakuage.com
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 *
 * Swagger Codegen version: 2.3.1
 *
 * Do not edit the class manually.
 *
 */

(function(root, factory) {
  if (typeof define === 'function' && define.amd) {
    // AMD.
    define(['expect.js', '../../src/index'], factory);
  } else if (typeof module === 'object' && module.exports) {
    // CommonJS-like environments that support module.exports, like Node.
    factory(require('expect.js'), require('../../src/index'));
  } else {
    // Browser globals (root is window)
    factory(root.expect, root.Aimastering);
  }
}(this, function(expect, Aimastering) {
  'use strict';

  var instance;

  beforeEach(function() {
    instance = new Aimastering.LibraryAudio();
  });

  var getProperty = function(object, getter, property) {
    // Use getter method if present; otherwise, get the property directly.
    if (typeof object[getter] === 'function')
      return object[getter]();
    else
      return object[property];
  }

  var setProperty = function(object, setter, property, value) {
    // Use setter method if present; otherwise, set the property directly.
    if (typeof object[setter] === 'function')
      object[setter](value);
    else
      object[property] = value;
  }

  describe('LibraryAudio', function() {
    it('should create an instance of LibraryAudio', function() {
      // uncomment below and update the code to test LibraryAudio
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be.a(Aimastering.LibraryAudio);
    });

    it('should have the property id (base name: "id")', function() {
      // uncomment below and update the code to test the property id
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property userId (base name: "user_id")', function() {
      // uncomment below and update the code to test the property userId
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property name (base name: "name")', function() {
      // uncomment below and update the code to test the property name
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property album (base name: "album")', function() {
      // uncomment below and update the code to test the property album
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property albumArtist (base name: "album_artist")', function() {
      // uncomment below and update the code to test the property albumArtist
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property artist (base name: "artist")', function() {
      // uncomment below and update the code to test the property artist
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property genre (base name: "genre")', function() {
      // uncomment below and update the code to test the property genre
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property track (base name: "track")', function() {
      // uncomment below and update the code to test the property track
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property publisher (base name: "publisher")', function() {
      // uncomment below and update the code to test the property publisher
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property fileHash (base name: "file_hash")', function() {
      // uncomment below and update the code to test the property fileHash
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property size (base name: "size")', function() {
      // uncomment below and update the code to test the property size
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property status (base name: "status")', function() {
      // uncomment below and update the code to test the property status
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property failureReason (base name: "failure_reason")', function() {
      // uncomment below and update the code to test the property failureReason
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property probeJson (base name: "probe_json")', function() {
      // uncomment below and update the code to test the property probeJson
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property rms (base name: "rms")', function() {
      // uncomment below and update the code to test the property rms
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property peak (base name: "peak")', function() {
      // uncomment below and update the code to test the property peak
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property truePeak (base name: "true_peak")', function() {
      // uncomment below and update the code to test the property truePeak
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property lowpassTruePeak15khz (base name: "lowpass_true_peak_15khz")', function() {
      // uncomment below and update the code to test the property lowpassTruePeak15khz
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property loudness (base name: "loudness")', function() {
      // uncomment below and update the code to test the property loudness
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property dynamics (base name: "dynamics")', function() {
      // uncomment below and update the code to test the property dynamics
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property sharpness (base name: "sharpness")', function() {
      // uncomment below and update the code to test the property sharpness
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property space (base name: "space")', function() {
      // uncomment below and update the code to test the property space
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property loudnessRange (base name: "loudness_range")', function() {
      // uncomment below and update the code to test the property loudnessRange
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property drr (base name: "drr")', function() {
      // uncomment below and update the code to test the property drr
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property soundQuality (base name: "sound_quality")', function() {
      // uncomment below and update the code to test the property soundQuality
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property soundQuality2 (base name: "sound_quality2")', function() {
      // uncomment below and update the code to test the property soundQuality2
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property dissonance (base name: "dissonance")', function() {
      // uncomment below and update the code to test the property dissonance
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property frames (base name: "frames")', function() {
      // uncomment below and update the code to test the property frames
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property sampleRate (base name: "sample_rate")', function() {
      // uncomment below and update the code to test the property sampleRate
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property channels (base name: "channels")', function() {
      // uncomment below and update the code to test the property channels
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property isPublic (base name: "is_public")', function() {
      // uncomment below and update the code to test the property isPublic
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property likedBySelf (base name: "liked_by_self")', function() {
      // uncomment below and update the code to test the property likedBySelf
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property likeCount (base name: "like_count")', function() {
      // uncomment below and update the code to test the property likeCount
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property createdAt (base name: "created_at")', function() {
      // uncomment below and update the code to test the property createdAt
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

    it('should have the property updatedAt (base name: "updated_at")', function() {
      // uncomment below and update the code to test the property updatedAt
      //var instane = new Aimastering.LibraryAudio();
      //expect(instance).to.be();
    });

  });

}));