/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the elastictranscoder-2012-09-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ElasticTranscoder.Model { /// /// The detected properties of the input file. Elastic Transcoder identifies these values /// from the input file. /// public partial class DetectedProperties { private long? _durationMillis; private long? _fileSize; private string _frameRate; private int? _height; private int? _width; /// /// Gets and sets the property DurationMillis. /// /// The detected duration of the input file, in milliseconds. /// /// public long DurationMillis { get { return this._durationMillis.GetValueOrDefault(); } set { this._durationMillis = value; } } // Check to see if DurationMillis property is set internal bool IsSetDurationMillis() { return this._durationMillis.HasValue; } /// /// Gets and sets the property FileSize. /// /// The detected file size of the input file, in bytes. /// /// public long FileSize { get { return this._fileSize.GetValueOrDefault(); } set { this._fileSize = value; } } // Check to see if FileSize property is set internal bool IsSetFileSize() { return this._fileSize.HasValue; } /// /// Gets and sets the property FrameRate. /// /// The detected frame rate of the input file, in frames per second. /// /// public string FrameRate { get { return this._frameRate; } set { this._frameRate = value; } } // Check to see if FrameRate property is set internal bool IsSetFrameRate() { return this._frameRate != null; } /// /// Gets and sets the property Height. /// /// The detected height of the input file, in pixels. /// /// public int Height { get { return this._height.GetValueOrDefault(); } set { this._height = value; } } // Check to see if Height property is set internal bool IsSetHeight() { return this._height.HasValue; } /// /// Gets and sets the property Width. /// /// The detected width of the input file, in pixels. /// /// public int Width { get { return this._width.GetValueOrDefault(); } set { this._width = value; } } // Check to see if Width property is set internal bool IsSetWidth() { return this._width.HasValue; } } }