# 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::ServiceFabric::V6_3_0_9
  module Models
    #
    # Describes the policy to be used for placement of a Service Fabric service
    # where all replicas must be able to be placed in order for any replicas to
    # be created.
    #
    class ServicePlacementNonPartiallyPlaceServicePolicyDescription < ServicePlacementPolicyDescription

      include MsRestAzure


      def initialize
        @Type = "NonPartiallyPlaceService"
      end

      attr_accessor :Type


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