Sha256: f4d537fccb4efe7ffa493a0e491707c86bbd8784c8f4858ca94e5b4db1e1a849

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MediaServices::Mgmt::V2020_05_01
  module Models
    #
    # Base class for specifying a clip time. Use sub classes of this class to
    # specify the time position in the media.
    #
    class ClipTime

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["#Microsoft.Media.AbsoluteClipTime"] = "AbsoluteClipTime"
      @@discriminatorMap["#Microsoft.Media.UtcClipTime"] = "UtcClipTime"

      def initialize
        @odatatype = "ClipTime"
      end

      attr_accessor :odatatype


      #
      # Mapper for ClipTime class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClipTime',
          type: {
            name: 'Composite',
            polymorphic_discriminator: '@odata.type',
            uber_parent: 'ClipTime',
            class_name: 'ClipTime',
            model_properties: {
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2020-05-01/generated/azure_mgmt_media_services/models/clip_time.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/clip_time.rb