Sha256: b07e54a2641d5d0ca18a54912c2175a8543e2f17df6907280a8099a251c5625a

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

Stored size: 1.86 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
    #
    # Describes the settings to produce a PNG image from the input video.
    #
    class PngLayer < Layer

      include MsRestAzure


      def initialize
        @odatatype = "#Microsoft.Media.PngLayer"
      end

      attr_accessor :odatatype


      #
      # Mapper for PngLayer class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.PngLayer',
          type: {
            name: 'Composite',
            class_name: 'PngLayer',
            model_properties: {
              width: {
                client_side_validation: true,
                required: false,
                serialized_name: 'width',
                type: {
                  name: 'String'
                }
              },
              height: {
                client_side_validation: true,
                required: false,
                serialized_name: 'height',
                type: {
                  name: 'String'
                }
              },
              label: {
                client_side_validation: true,
                required: false,
                serialized_name: 'label',
                type: {
                  name: 'String'
                }
              },
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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/png_layer.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/png_layer.rb