Class: TencentCloud::Cfs::V20190719::CreateMigrationTaskRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::CreateMigrationTaskRequest
- Defined in:
- lib/v20190719/models.rb
Overview
CreateMigrationTask请求参数结构体
Instance Attribute Summary collapse
- #BucketAddress ⇒ Object
- #BucketName ⇒ Object
- #BucketPath ⇒ Object
- #BucketRegion ⇒ Object
- #CoverType ⇒ Object
- #Direction ⇒ Object
- #FileSystemId ⇒ Object
- #FsName ⇒ Object
- #FsPath ⇒ Object
- #ListAddress ⇒ Object
- #MigrationMode ⇒ Object
- #MigrationType ⇒ Object
- #SrcSecretId ⇒ Object
- #SrcSecretKey ⇒ Object
- #SrcService ⇒ Object
- #TaskName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskname = nil, migrationtype = nil, migrationmode = nil, srcsecretid = nil, srcsecretkey = nil, filesystemid = nil, fspath = nil, covertype = nil, srcservice = nil, bucketname = nil, bucketregion = nil, bucketaddress = nil, listaddress = nil, fsname = nil, bucketpath = nil, direction = nil) ⇒ CreateMigrationTaskRequest
constructor
A new instance of CreateMigrationTaskRequest.
Constructor Details
#initialize(taskname = nil, migrationtype = nil, migrationmode = nil, srcsecretid = nil, srcsecretkey = nil, filesystemid = nil, fspath = nil, covertype = nil, srcservice = nil, bucketname = nil, bucketregion = nil, bucketaddress = nil, listaddress = nil, fsname = nil, bucketpath = nil, direction = nil) ⇒ CreateMigrationTaskRequest
Returns a new instance of CreateMigrationTaskRequest.
1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 |
# File 'lib/v20190719/models.rb', line 1126 def initialize(taskname=nil, migrationtype=nil, migrationmode=nil, srcsecretid=nil, srcsecretkey=nil, filesystemid=nil, fspath=nil, covertype=nil, srcservice=nil, bucketname=nil, bucketregion=nil, bucketaddress=nil, listaddress=nil, fsname=nil, bucketpath=nil, direction=nil) @TaskName = taskname @MigrationType = migrationtype @MigrationMode = migrationmode @SrcSecretId = srcsecretid @SrcSecretKey = srcsecretkey @FileSystemId = filesystemid @FsPath = fspath @CoverType = covertype @SrcService = srcservice @BucketName = bucketname @BucketRegion = bucketregion @BucketAddress = bucketaddress @ListAddress = listaddress @FsName = fsname @BucketPath = bucketpath @Direction = direction end |
Instance Attribute Details
#BucketAddress ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def BucketAddress @BucketAddress end |
#BucketName ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def BucketName @BucketName end |
#BucketPath ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def BucketPath @BucketPath end |
#BucketRegion ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def BucketRegion @BucketRegion end |
#CoverType ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def CoverType @CoverType end |
#Direction ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def Direction @Direction end |
#FileSystemId ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def FileSystemId @FileSystemId end |
#FsName ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def FsName @FsName end |
#FsPath ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def FsPath @FsPath end |
#ListAddress ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def ListAddress @ListAddress end |
#MigrationMode ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def MigrationMode @MigrationMode end |
#MigrationType ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def MigrationType @MigrationType end |
#SrcSecretId ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def SrcSecretId @SrcSecretId end |
#SrcSecretKey ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def SrcSecretKey @SrcSecretKey end |
#SrcService ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def SrcService @SrcService end |
#TaskName ⇒ Object
1124 1125 1126 |
# File 'lib/v20190719/models.rb', line 1124 def TaskName @TaskName end |
Instance Method Details
#deserialize(params) ⇒ Object
1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'lib/v20190719/models.rb', line 1145 def deserialize(params) @TaskName = params['TaskName'] @MigrationType = params['MigrationType'] @MigrationMode = params['MigrationMode'] @SrcSecretId = params['SrcSecretId'] @SrcSecretKey = params['SrcSecretKey'] @FileSystemId = params['FileSystemId'] @FsPath = params['FsPath'] @CoverType = params['CoverType'] @SrcService = params['SrcService'] @BucketName = params['BucketName'] @BucketRegion = params['BucketRegion'] @BucketAddress = params['BucketAddress'] @ListAddress = params['ListAddress'] @FsName = params['FsName'] @BucketPath = params['BucketPath'] @Direction = params['Direction'] end |