Sha256: 2be2fc8a3e539f27e894a55bc58d3b8d600e788e21eaf12fd8474230d203f17a

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

# 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::Security::Mgmt::V2020_08_06_preview
  module Models
    #
    # Protocol data
    #
    class Protocol

      include MsRestAzure

      # @return [String] Protocol name
      attr_accessor :name

      # @return [String] list of protocol identifiers.
      attr_accessor :identifiers


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2020-08-06-preview/generated/azure_mgmt_security/models/protocol.rb