Class: Azure::Labservices::Mgmt::V2018_10_15::Models::PersonalPreferencesOperationsPayload

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#add_removeAddRemove

favorite lab. Possible values include: ‘Add’, ‘Remove’

Returns:

  • (AddRemove)

    Enum indicating if user is adding or removing a



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_idString

Returns Resource Id of the lab account.

Returns:

  • (String)

    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
end

#lab_resource_idString

favorites list

Returns:

  • (String)

    Resource Id of the lab to add/remove from the



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

.mapperObject

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