Sha256: 06fbd1f22c1eb46691d78705ab7ecb8d41e206231e69522e1c0fac809424e8ce

Contents?: true

Size: 1.57 KB

Versions: 11

Compression:

Stored size: 1.57 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::V2018_06_01_preview
  module Models
    #
    # The client access policy.
    #
    class CrossSiteAccessPolicies

      include MsRestAzure

      # @return [String] The content of clientaccesspolicy.xml used by
      # Silverlight.
      attr_accessor :client_access_policy

      # @return [String] The content of crossdomain.xml used by Silverlight.
      attr_accessor :cross_domain_policy


      #
      # Mapper for CrossSiteAccessPolicies class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CrossSiteAccessPolicies',
          type: {
            name: 'Composite',
            class_name: 'CrossSiteAccessPolicies',
            model_properties: {
              client_access_policy: {
                client_side_validation: true,
                required: false,
                serialized_name: 'clientAccessPolicy',
                type: {
                  name: 'String'
                }
              },
              cross_domain_policy: {
                client_side_validation: true,
                required: false,
                serialized_name: 'crossDomainPolicy',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.21.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.20.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.20.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.19.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.19.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.18.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.18.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.17.2 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.17.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb
azure_mgmt_media_services-0.17.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb