Class: TencentCloud::Tcr::V20190924::PeerReplicationOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::PeerReplicationOption
- Defined in:
- lib/v20190924/models.rb
Overview
跨主账号实例同步参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(peerregistryuin = nil, peerregistrytoken = nil, enablepeerreplication = nil) ⇒ PeerReplicationOption
constructor
A new instance of PeerReplicationOption.
Constructor Details
#initialize(peerregistryuin = nil, peerregistrytoken = nil, enablepeerreplication = nil) ⇒ PeerReplicationOption
Returns a new instance of PeerReplicationOption.
5967 5968 5969 5970 5971 |
# File 'lib/v20190924/models.rb', line 5967 def initialize(peerregistryuin=nil, peerregistrytoken=nil, enablepeerreplication=nil) @PeerRegistryUin = peerregistryuin @PeerRegistryToken = peerregistrytoken @EnablePeerReplication = enablepeerreplication end |
Instance Attribute Details
#EnablePeerReplication ⇒ Object
5965 5966 5967 |
# File 'lib/v20190924/models.rb', line 5965 def EnablePeerReplication @EnablePeerReplication end |
#PeerRegistryToken ⇒ Object
5965 5966 5967 |
# File 'lib/v20190924/models.rb', line 5965 def PeerRegistryToken @PeerRegistryToken end |
#PeerRegistryUin ⇒ Object
5965 5966 5967 |
# File 'lib/v20190924/models.rb', line 5965 def PeerRegistryUin @PeerRegistryUin end |
Instance Method Details
#deserialize(params) ⇒ Object
5973 5974 5975 5976 5977 |
# File 'lib/v20190924/models.rb', line 5973 def deserialize(params) @PeerRegistryUin = params['PeerRegistryUin'] @PeerRegistryToken = params['PeerRegistryToken'] @EnablePeerReplication = params['EnablePeerReplication'] end |