Sha256: 92ae56531bf39cb67f4c155d27a97d94fa913a4311a3bed2351bd28415b7d000

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 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::Subscriptions::Mgmt::V2018_11_01_preview
  module Models
    #
    # Active Directory Principal who’ll get owner access on the new
    # subscription.
    #
    class AdPrincipal

      include MsRestAzure

      # @return [String] Object id of the Principal
      attr_accessor :object_id


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_subscriptions-0.18.5 lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb
azure_mgmt_subscriptions-0.18.4 lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb
azure_mgmt_subscriptions-0.18.3 lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb
azure_mgmt_subscriptions-0.18.2 lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb
azure_mgmt_subscriptions-0.18.1 lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb
azure_mgmt_subscriptions-0.18.0 lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb