Class: Azure::Labservices::Mgmt::V2018_10_15::Models::PersonalPreferencesOperationsPayload
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::PersonalPreferencesOperationsPayload
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/personal_preferences_operations_payload.rb
Overview
Represents payload for any Environment operations like get, start, stop, connect
Instance Attribute Summary collapse
-
#add_remove ⇒ AddRemove
favorite lab.
-
#lab_account_resource_id ⇒ String
Resource Id of the lab account.
-
#lab_resource_id ⇒ String
favorites list.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PersonalPreferencesOperationsPayload class as Ruby Hash.
Instance Attribute Details
#add_remove ⇒ AddRemove
favorite lab. Possible values include: ‘Add’, ‘Remove’
21 22 23 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/personal_preferences_operations_payload.rb', line 21 def add_remove @add_remove end |
#lab_account_resource_id ⇒ String
Returns Resource Id of the lab account.
17 18 19 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/personal_preferences_operations_payload.rb', line 17 def lab_account_resource_id @lab_account_resource_id end |
#lab_resource_id ⇒ String
favorites list
25 26 27 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/personal_preferences_operations_payload.rb', line 25 def lab_resource_id @lab_resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for PersonalPreferencesOperationsPayload class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/personal_preferences_operations_payload.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PersonalPreferencesOperationsPayload', type: { name: 'Composite', class_name: 'PersonalPreferencesOperationsPayload', model_properties: { lab_account_resource_id: { client_side_validation: true, required: false, serialized_name: 'labAccountResourceId', type: { name: 'String' } }, add_remove: { client_side_validation: true, required: false, serialized_name: 'addRemove', type: { name: 'String' } }, lab_resource_id: { client_side_validation: true, required: false, serialized_name: 'labResourceId', type: { name: 'String' } } } } } end |