# 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::Compute::Mgmt::V2020_09_30_preview
  module Models
    #
    # Group of the gallery sharing profile
    #
    class SharingProfileGroup

      include MsRestAzure

      # @return [SharingProfileGroupTypes] This property allows you to specify
      # the type of sharing group. <br><br> Possible values are: <br><br>
      # **Subscriptions** <br><br> **AADTenants**. Possible values include:
      # 'Subscriptions', 'AADTenants'
      attr_accessor :type

      # @return [Array<String>] A list of subscription/tenant ids the gallery
      # is aimed to be shared to.
      attr_accessor :ids


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