Sha256: c42d1562f8cbad0af866d567094890f1850a43535a870e04d626c8ad0053eebc

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 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_01_01
  module Models
    #
    # Describes the partner that created the assessment
    #
    class SecurityAssessmentMetadataPartnerData

      include MsRestAzure

      # @return [String] Name of the company of the partner
      attr_accessor :partner_name

      # @return [String] Name of the product of the partner that created the
      # assessment
      attr_accessor :product_name

      # @return [String] Secret to authenticate the partner and verify it
      # created the assessment - write only
      attr_accessor :secret


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_partner_data.rb
azure_mgmt_security-0.18.2 lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_partner_data.rb