Class: Azure::Security::Mgmt::V2020_01_01::Models::UserRecommendation
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::UserRecommendation
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb
Overview
Represents a user that is recommended to be allowed for a certain rule
Instance Attribute Summary collapse
-
#recommendation_action ⇒ Enum
Possible values include: ‘Recommended’, ‘Add’, ‘Remove’.
-
#username ⇒ String
for a certain rule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UserRecommendation class as Ruby Hash.
Instance Attribute Details
#recommendation_action ⇒ Enum
Returns Possible values include: ‘Recommended’, ‘Add’, ‘Remove’.
20 21 22 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb', line 20 def recommendation_action @recommendation_action end |
#username ⇒ String
for a certain rule
17 18 19 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb', line 17 def username @username end |
Class Method Details
.mapper ⇒ Object
Mapper for UserRecommendation class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb', line 27 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 |