@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
36 lines (35 loc) • 1.21 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenericS3Input = void 0;
const Mapper_1 = require("../common/Mapper");
const Input_1 = require("./Input");
const InputType_1 = require("./InputType");
/**
* @export
* @class GenericS3Input
*/
class GenericS3Input extends Input_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for Input
* @type {string}
* @memberof GenericS3Input
*/
this.type = InputType_1.default.GENERIC_S3;
if (!obj) {
return;
}
this.bucketName = (0, Mapper_1.map)(obj.bucketName);
this.host = (0, Mapper_1.map)(obj.host);
this.port = (0, Mapper_1.map)(obj.port);
this.ssl = (0, Mapper_1.map)(obj.ssl);
this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
this.accessKey = (0, Mapper_1.map)(obj.accessKey);
this.secretKey = (0, Mapper_1.map)(obj.secretKey);
this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
}
}
exports.GenericS3Input = GenericS3Input;
exports.default = GenericS3Input;