# 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::MachineLearningServices::Mgmt::V2018_11_19
  module Models
    #
    # Secrets related to a Machine Learning compute based on Databricks.
    #
    class DatabricksComputeSecrets < ComputeSecrets

      include MsRestAzure


      def initialize
        @computeType = "Databricks"
      end

      attr_accessor :computeType

      # @return [String] access token for databricks account.
      attr_accessor :databricks_access_token


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