Class: TencentCloud::Oceanus::V20190422::CopyJobsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::CopyJobsRequest
- Defined in:
- lib/v20190422/models.rb
Overview
CopyJobs请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobitems = nil, workspaceid = nil, targetworkspaceid = nil) ⇒ CopyJobsRequest
constructor
A new instance of CopyJobsRequest.
Constructor Details
#initialize(jobitems = nil, workspaceid = nil, targetworkspaceid = nil) ⇒ CopyJobsRequest
879 880 881 882 883 |
# File 'lib/v20190422/models.rb', line 879 def initialize(jobitems=nil, workspaceid=nil, targetworkspaceid=nil) @JobItems = jobitems @WorkSpaceId = workspaceid @TargetWorkspaceId = targetworkspaceid end |
Instance Attribute Details
#JobItems ⇒ Object
877 878 879 |
# File 'lib/v20190422/models.rb', line 877 def JobItems @JobItems end |
#TargetWorkspaceId ⇒ Object
877 878 879 |
# File 'lib/v20190422/models.rb', line 877 def TargetWorkspaceId @TargetWorkspaceId end |
#WorkSpaceId ⇒ Object
877 878 879 |
# File 'lib/v20190422/models.rb', line 877 def WorkSpaceId @WorkSpaceId end |
Instance Method Details
#deserialize(params) ⇒ Object
885 886 887 888 889 890 891 892 893 894 895 896 |
# File 'lib/v20190422/models.rb', line 885 def deserialize(params) unless params['JobItems'].nil? @JobItems = [] params['JobItems'].each do |i| copyjobitem_tmp = CopyJobItem.new copyjobitem_tmp.deserialize(i) @JobItems << copyjobitem_tmp end end @WorkSpaceId = params['WorkSpaceId'] @TargetWorkspaceId = params['TargetWorkspaceId'] end |