Skip to content

Commit 9c536cc

Browse files
author
Jeff Shillitto
committed
Add volume effects getters/setters to asset
1 parent a617ceb commit 9c536cc

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

src/model/Asset.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,24 @@ exports.prototype['trim'] = undefined;
507507
}
508508

509509

510+
/**
511+
* Returns The volume effect to apply to the video asset <ul> <li>`fadeIn` - fade volume in only</li> <li>`fadeOut` - fade volume out only</li> <li>`fadeInFadeOut` - fade volume in and out</li> </ul>
512+
* @return {module:model/Asset.VolumeEffectEnum}
513+
*/
514+
exports.prototype.getVolumeEffect = function() {
515+
return this['volumeEffect'];
516+
}
517+
518+
/**
519+
* Sets The volume effect to apply to the video asset <ul> <li>`fadeIn` - fade volume in only</li> <li>`fadeOut` - fade volume out only</li> <li>`fadeInFadeOut` - fade volume in and out</li> </ul>
520+
* @param {module:model/Asset.VolumeEffectEnum} volumeEffect The volume effect to apply to the video asset <ul> <li>`fadeIn` - fade volume in only</li> <li>`fadeOut` - fade volume out only</li> <li>`fadeInFadeOut` - fade volume in and out</li> </ul>
521+
*/
522+
exports.prototype.setVolumeEffect = function(volumeEffect) {
523+
this['volumeEffect'] = volumeEffect;
524+
return this;
525+
}
526+
527+
510528
/**
511529
* @return {module:model/Crop}
512530
*/

src/model/S3DestinationOptions.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@
4343
* Pass additional options to control how files are stored in S3.
4444
* @alias module:model/S3DestinationOptions
4545
* @class
46+
* @param region {String} Choose the region to send the file to. Must be a valid [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) string like `us-east-1` or `ap-southeast-2`.
47+
* @param bucket {String} The bucket name to send files to. The bucket must exist in the AWS account before files can be sent.
4648
*/
47-
var exports = function() {
49+
var exports = function(region, bucket) {
4850
var _this = this;
4951

52+
_this['region'] = region;
53+
_this['bucket'] = bucket;
5054
};
5155

5256
/**
@@ -79,7 +83,7 @@
7983
}
8084

8185
/**
82-
* Choose the region to send the file to. Must be a valid [AWS region] string like `us-east-1` or `ap-southeast-2`.
86+
* Choose the region to send the file to. Must be a valid [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) string like `us-east-1` or `ap-southeast-2`.
8387
* @member {String} region
8488
*/
8589
exports.prototype['region'] = undefined;
@@ -106,16 +110,16 @@
106110

107111

108112
/**
109-
* Returns Choose the region to send the file to. Must be a valid [AWS region] string like `us-east-1` or `ap-southeast-2`.
113+
* Returns Choose the region to send the file to. Must be a valid [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) string like `us-east-1` or `ap-southeast-2`.
110114
* @return {String}
111115
*/
112116
exports.prototype.getRegion = function() {
113117
return this['region'];
114118
}
115119

116120
/**
117-
* Sets Choose the region to send the file to. Must be a valid [AWS region] string like `us-east-1` or `ap-southeast-2`.
118-
* @param {String} region Choose the region to send the file to. Must be a valid [AWS region] string like `us-east-1` or `ap-southeast-2`.
121+
* Sets Choose the region to send the file to. Must be a valid [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) string like `us-east-1` or `ap-southeast-2`.
122+
* @param {String} region Choose the region to send the file to. Must be a valid [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) string like `us-east-1` or `ap-southeast-2`.
119123
*/
120124
exports.prototype.setRegion = function(region) {
121125
this['region'] = region;

src/model/TemplateRender.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/**
4242
* Constructs a new <code>TemplateRender</code>.
43-
* Render a template by it&#39;s id and optional merge fields.
43+
* Configure the id and optional merge fields to render a template by id.
4444
* @alias module:model/TemplateRender
4545
* @class
4646
* @param id {String} The id of the template to render in UUID format.

src/model/TemplateResponse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/**
4242
* Constructs a new <code>TemplateResponse</code>.
43-
* The response received after a [template](#create-a-template) is submitted. The template is saved and a unique template id is returned.
43+
* The response received after a [template](#create-template) is submitted. The template is saved and a unique template id is returned.
4444
* @alias module:model/TemplateResponse
4545
* @class
4646
* @param success {Boolean} `true` if successfully created, else `false`.

0 commit comments

Comments
 (0)