Sha256: 30594243443a8530a6cdf3481e24b1ff1c510509252b9cc41fdbebfac4473ef5

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 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
    #
    # Represents a user that is recommended to be allowed for a certain rule
    #
    class UserRecommendation

      include MsRestAzure

      # @return [String] Represents a user that is recommended to be allowed
      # for a certain rule
      attr_accessor :username

      # @return [Enum] Possible values include: 'Recommended', 'Add', 'Remove'
      attr_accessor :recommendation_action


      #
      # Mapper for UserRecommendation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UserRecommendation',
          type: {
            name: 'Composite',
            class_name: 'UserRecommendation',
            model_properties: {
              username: {
                client_side_validation: true,
                required: false,
                serialized_name: 'username',
                type: {
                  name: 'String'
                }
              },
              recommendation_action: {
                client_side_validation: true,
                required: false,
                serialized_name: 'recommendationAction',
                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/user_recommendation.rb
azure_mgmt_security-0.18.2 lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb