Sha256: 43b74392ad9ebaa035b6ce28871590774cdd530af1d01b3367de591ee7da1da8

Contents?: true

Size: 1.58 KB

Versions: 8

Compression:

Stored size: 1.58 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::V2017_08_01_preview
  module Models
    #
    # A segment of a compliance assessment.
    #
    class ComplianceSegment

      include MsRestAzure

      # @return [String] The segment type, e.g. compliant, non-compliance,
      # insufficient coverage, N/A, etc.
      attr_accessor :segment_type

      # @return [Float] The size (%) of the segment.
      attr_accessor :percentage


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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.18.2 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.18.1 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.18.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.17.2 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.17.1 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.17.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb
azure_mgmt_security-0.16.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance_segment.rb