# 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
    #
    # Model object.
    #
    #
    class UserArtifactManage

      include MsRestAzure

      # @return [String] Required. The path and arguments to install the
      # gallery application. This is limited to 4096 characters.
      attr_accessor :install

      # @return [String] Required. The path and arguments to remove the gallery
      # application. This is limited to 4096 characters.
      attr_accessor :remove

      # @return [String] Optional. The path and arguments to update the gallery
      # application. If not present, then update operation will invoke remove
      # command on the previous version and install command on the current
      # version of the gallery application. This is limited to 4096 characters.
      attr_accessor :update


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