Class: Azure::DataMigration::Mgmt::V2018_03_31_preview::Models::FileShare

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb

Overview

File share information with Path, Username, and Password.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#passwordString

location.

Returns:

  • (String)

    Password credential used to connect to the share



20
21
22
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb', line 20

def password
  @password
end

#pathString

Returns The folder path for this share.

Returns:

  • (String)

    The folder path for this share.



23
24
25
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb', line 23

def path
  @path
end

#user_nameString

Returns User name credential to connect to the share location.

Returns:

  • (String)

    User name credential to connect to the share location



16
17
18
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb', line 16

def user_name
  @user_name
end

Class Method Details

.mapperObject

Mapper for FileShare class as Ruby Hash. This will be used for serialization/deserialization.



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
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileShare',
    type: {
      name: 'Composite',
      class_name: 'FileShare',
      model_properties: {
        user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userName',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        },
        path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end