# 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::BatchAI::Mgmt::V2018_03_01
  module Models
    #
    # Contains remote login details to SSH/RDP to a compute node in cluster.
    #
    class RemoteLoginInformation

      include MsRestAzure

      # @return [String] Id of the compute node
      attr_accessor :node_id

      # @return [String] ip address
      attr_accessor :ip_address

      # @return [Float] port number.
      attr_accessor :port


      #
      # Mapper for RemoteLoginInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RemoteLoginInformation',
          type: {
            name: 'Composite',
            class_name: 'RemoteLoginInformation',
            model_properties: {
              node_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'nodeId',
                type: {
                  name: 'String'
                }
              },
              ip_address: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ipAddress',
                type: {
                  name: 'String'
                }
              },
              port: {
                client_side_validation: true,
                required: true,
                serialized_name: 'port',
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end
