Class: TencentCloud::Dcdb::V20180411::CopyAccountPrivilegesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::CopyAccountPrivilegesRequest
- Defined in:
- lib/v20180411/models.rb
Overview
CopyAccountPrivileges请求参数结构体
Instance Attribute Summary collapse
- #DstHost ⇒ Object
- #DstReadOnly ⇒ Object
- #DstUserName ⇒ Object
- #InstanceId ⇒ Object
- #SrcHost ⇒ Object
- #SrcReadOnly ⇒ Object
- #SrcUserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, srcusername = nil, srchost = nil, dstusername = nil, dsthost = nil, srcreadonly = nil, dstreadonly = nil) ⇒ CopyAccountPrivilegesRequest
constructor
A new instance of CopyAccountPrivilegesRequest.
Constructor Details
#initialize(instanceid = nil, srcusername = nil, srchost = nil, dstusername = nil, dsthost = nil, srcreadonly = nil, dstreadonly = nil) ⇒ CopyAccountPrivilegesRequest
Returns a new instance of CopyAccountPrivilegesRequest.
476 477 478 479 480 481 482 483 484 |
# File 'lib/v20180411/models.rb', line 476 def initialize(instanceid=nil, srcusername=nil, srchost=nil, dstusername=nil, dsthost=nil, srcreadonly=nil, dstreadonly=nil) @InstanceId = instanceid @SrcUserName = srcusername @SrcHost = srchost @DstUserName = dstusername @DstHost = dsthost @SrcReadOnly = srcreadonly @DstReadOnly = dstreadonly end |
Instance Attribute Details
#DstHost ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def DstHost @DstHost end |
#DstReadOnly ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def DstReadOnly @DstReadOnly end |
#DstUserName ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def DstUserName @DstUserName end |
#InstanceId ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def InstanceId @InstanceId end |
#SrcHost ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def SrcHost @SrcHost end |
#SrcReadOnly ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def SrcReadOnly @SrcReadOnly end |
#SrcUserName ⇒ Object
474 475 476 |
# File 'lib/v20180411/models.rb', line 474 def SrcUserName @SrcUserName end |
Instance Method Details
#deserialize(params) ⇒ Object
486 487 488 489 490 491 492 493 494 |
# File 'lib/v20180411/models.rb', line 486 def deserialize(params) @InstanceId = params['InstanceId'] @SrcUserName = params['SrcUserName'] @SrcHost = params['SrcHost'] @DstUserName = params['DstUserName'] @DstHost = params['DstHost'] @SrcReadOnly = params['SrcReadOnly'] @DstReadOnly = params['DstReadOnly'] end |