# 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::Cosmosdb::Mgmt::V2020_04_01
  module Models
    #
    # The connection info for the given notebook workspace
    #
    class NotebookWorkspaceConnectionInfoResult

      include MsRestAzure

      # @return [String] Specifies auth token used for connecting to Notebook
      # server (uses token-based auth).
      attr_accessor :auth_token

      # @return [String] Specifies the endpoint of Notebook server.
      attr_accessor :notebook_server_endpoint


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