Class: TencentCloud::Dts::V20211206::ConfigureSyncJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::ConfigureSyncJobRequest
- Defined in:
- lib/v20211206/models.rb
Overview
ConfigureSyncJob请求参数结构体
Instance Attribute Summary collapse
- #AutoRetryTimeRangeMinutes ⇒ Object
- #DstAccessType ⇒ Object
- #DstInfo ⇒ Object
- #DstInfos ⇒ Object
- #DstNodeType ⇒ Object
- #ExpectRunTime ⇒ Object
- #JobId ⇒ Object
- #JobMode ⇒ Object
- #JobName ⇒ Object
- #Objects ⇒ Object
- #Options ⇒ Object
- #RunMode ⇒ Object
- #SrcAccessType ⇒ Object
- #SrcConnectType ⇒ Object
- #SrcInfo ⇒ Object
- #SrcInfos ⇒ Object
- #SrcNodeType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobid = nil, srcaccesstype = nil, dstaccesstype = nil, objects = nil, jobname = nil, jobmode = nil, runmode = nil, expectruntime = nil, srcconnecttype = nil, srcinfo = nil, srcinfos = nil, srcnodetype = nil, dstinfo = nil, dstinfos = nil, dstnodetype = nil, options = nil, autoretrytimerangeminutes = nil) ⇒ ConfigureSyncJobRequest
constructor
A new instance of ConfigureSyncJobRequest.
Constructor Details
#initialize(jobid = nil, srcaccesstype = nil, dstaccesstype = nil, objects = nil, jobname = nil, jobmode = nil, runmode = nil, expectruntime = nil, srcconnecttype = nil, srcinfo = nil, srcinfos = nil, srcnodetype = nil, dstinfo = nil, dstinfos = nil, dstnodetype = nil, options = nil, autoretrytimerangeminutes = nil) ⇒ ConfigureSyncJobRequest
Returns a new instance of ConfigureSyncJobRequest.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 |
# File 'lib/v20211206/models.rb', line 760 def initialize(jobid=nil, srcaccesstype=nil, dstaccesstype=nil, objects=nil, jobname=nil, jobmode=nil, runmode=nil, expectruntime=nil, srcconnecttype=nil, srcinfo=nil, srcinfos=nil, srcnodetype=nil, dstinfo=nil, dstinfos=nil, dstnodetype=nil, =nil, autoretrytimerangeminutes=nil) @JobId = jobid @SrcAccessType = srcaccesstype @DstAccessType = dstaccesstype @Objects = objects @JobName = jobname @JobMode = jobmode @RunMode = runmode @ExpectRunTime = expectruntime @SrcConnectType = srcconnecttype @SrcInfo = srcinfo @SrcInfos = srcinfos @SrcNodeType = srcnodetype @DstInfo = dstinfo @DstInfos = dstinfos @DstNodeType = dstnodetype @Options = @AutoRetryTimeRangeMinutes = autoretrytimerangeminutes end |
Instance Attribute Details
#AutoRetryTimeRangeMinutes ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def AutoRetryTimeRangeMinutes @AutoRetryTimeRangeMinutes end |
#DstAccessType ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def DstAccessType @DstAccessType end |
#DstInfo ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def DstInfo @DstInfo end |
#DstInfos ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def DstInfos @DstInfos end |
#DstNodeType ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def DstNodeType @DstNodeType end |
#ExpectRunTime ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def ExpectRunTime @ExpectRunTime end |
#JobId ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def JobId @JobId end |
#JobMode ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def JobMode @JobMode end |
#JobName ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def JobName @JobName end |
#Objects ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def Objects @Objects end |
#Options ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def Options @Options end |
#RunMode ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def RunMode @RunMode end |
#SrcAccessType ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def SrcAccessType @SrcAccessType end |
#SrcConnectType ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def SrcConnectType @SrcConnectType end |
#SrcInfo ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def SrcInfo @SrcInfo end |
#SrcInfos ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def SrcInfos @SrcInfos end |
#SrcNodeType ⇒ Object
758 759 760 |
# File 'lib/v20211206/models.rb', line 758 def SrcNodeType @SrcNodeType end |
Instance Method Details
#deserialize(params) ⇒ Object
780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 |
# File 'lib/v20211206/models.rb', line 780 def deserialize(params) @JobId = params['JobId'] @SrcAccessType = params['SrcAccessType'] @DstAccessType = params['DstAccessType'] unless params['Objects'].nil? @Objects = Objects.new @Objects.deserialize(params['Objects']) end @JobName = params['JobName'] @JobMode = params['JobMode'] @RunMode = params['RunMode'] @ExpectRunTime = params['ExpectRunTime'] @SrcConnectType = params['SrcConnectType'] unless params['SrcInfo'].nil? @SrcInfo = Endpoint.new @SrcInfo.deserialize(params['SrcInfo']) end unless params['SrcInfos'].nil? @SrcInfos = SyncDBEndpointInfos.new @SrcInfos.deserialize(params['SrcInfos']) end @SrcNodeType = params['SrcNodeType'] unless params['DstInfo'].nil? @DstInfo = Endpoint.new @DstInfo.deserialize(params['DstInfo']) end unless params['DstInfos'].nil? @DstInfos = SyncDBEndpointInfos.new @DstInfos.deserialize(params['DstInfos']) end @DstNodeType = params['DstNodeType'] unless params['Options'].nil? @Options = Options.new @Options.deserialize(params['Options']) end @AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes'] end |