# 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::CognitiveServices::Qnamaker::V4_0
  module Models
    #
    # Schema for EndpointKeys generate/refresh operations.
    #
    class EndpointKeysDTO

      include MsRestAzure

      # @return [String] Primary Access Key.
      attr_accessor :primary_endpoint_key

      # @return [String] Secondary Access Key.
      attr_accessor :secondary_endpoint_key

      # @return [String] Current version of runtime.
      attr_accessor :installed_version

      # @return [String] Latest version of runtime.
      attr_accessor :last_stable_version

      # @return [String] Language setting of runtime.
      attr_accessor :language


      #
      # Mapper for EndpointKeysDTO class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EndpointKeysDTO',
          type: {
            name: 'Composite',
            class_name: 'EndpointKeysDTO',
            model_properties: {
              primary_endpoint_key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'primaryEndpointKey',
                type: {
                  name: 'String'
                }
              },
              secondary_endpoint_key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'secondaryEndpointKey',
                type: {
                  name: 'String'
                }
              },
              installed_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'installedVersion',
                type: {
                  name: 'String'
                }
              },
              last_stable_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'lastStableVersion',
                type: {
                  name: 'String'
                }
              },
              language: {
                client_side_validation: true,
                required: false,
                serialized_name: 'language',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
