# 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::Network::Mgmt::V2020_07_01
  module Models
    #
    # Describes the connection monitor test group.
    #
    class ConnectionMonitorTestGroup

      include MsRestAzure

      # @return [String] The name of the connection monitor test group.
      attr_accessor :name

      # @return [Boolean] Value indicating whether test group is disabled.
      attr_accessor :disable

      # @return [Array<String>] List of test configuration names.
      attr_accessor :test_configurations

      # @return [Array<String>] List of source endpoint names.
      attr_accessor :sources

      # @return [Array<String>] List of destination endpoint names.
      attr_accessor :destinations


      #
      # Mapper for ConnectionMonitorTestGroup class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConnectionMonitorTestGroup',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorTestGroup',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              disable: {
                client_side_validation: true,
                required: false,
                serialized_name: 'disable',
                type: {
                  name: 'Boolean'
                }
              },
              test_configurations: {
                client_side_validation: true,
                required: true,
                serialized_name: 'testConfigurations',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              sources: {
                client_side_validation: true,
                required: true,
                serialized_name: 'sources',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              destinations: {
                client_side_validation: true,
                required: true,
                serialized_name: 'destinations',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
