# 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::ResourcesManagement::Mgmt::V2018_01_01_preview
  module Models
    #
    # The details of a management group used during creation.
    #
    class CreateManagementGroupDetails

      include MsRestAzure

      # @return [Float] The version number of the object.
      attr_accessor :version

      # @return [DateTime] The date and time when this object was last updated.
      attr_accessor :updated_time

      # @return [String] The identity of the principal or process that updated
      # the object.
      attr_accessor :updated_by

      # @return [CreateParentGroupInfo] Parent.
      attr_accessor :parent


      #
      # Mapper for CreateManagementGroupDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CreateManagementGroupDetails',
          type: {
            name: 'Composite',
            class_name: 'CreateManagementGroupDetails',
            model_properties: {
              version: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'version',
                type: {
                  name: 'Double'
                }
              },
              updated_time: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'updatedTime',
                type: {
                  name: 'DateTime'
                }
              },
              updated_by: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'updatedBy',
                type: {
                  name: 'String'
                }
              },
              parent: {
                client_side_validation: true,
                required: false,
                serialized_name: 'parent',
                type: {
                  name: 'Composite',
                  class_name: 'CreateParentGroupInfo'
                }
              }
            }
          }
        }
      end
    end
  end
end
