Class: TencentCloud::Gse::V20191112::InboundPermission
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::InboundPermission
- Defined in:
- lib/v20191112/models.rb
Overview
允许网络访问范围
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fromport = nil, iprange = nil, protocol = nil, toport = nil) ⇒ InboundPermission
constructor
A new instance of InboundPermission.
Constructor Details
#initialize(fromport = nil, iprange = nil, protocol = nil, toport = nil) ⇒ InboundPermission
Returns a new instance of InboundPermission.
3867 3868 3869 3870 3871 3872 |
# File 'lib/v20191112/models.rb', line 3867 def initialize(fromport=nil, iprange=nil, protocol=nil, toport=nil) @FromPort = fromport @IpRange = iprange @Protocol = protocol @ToPort = toport end |
Instance Attribute Details
#FromPort ⇒ Object
3865 3866 3867 |
# File 'lib/v20191112/models.rb', line 3865 def FromPort @FromPort end |
#IpRange ⇒ Object
3865 3866 3867 |
# File 'lib/v20191112/models.rb', line 3865 def IpRange @IpRange end |
#Protocol ⇒ Object
3865 3866 3867 |
# File 'lib/v20191112/models.rb', line 3865 def Protocol @Protocol end |
#ToPort ⇒ Object
3865 3866 3867 |
# File 'lib/v20191112/models.rb', line 3865 def ToPort @ToPort end |
Instance Method Details
#deserialize(params) ⇒ Object
3874 3875 3876 3877 3878 3879 |
# File 'lib/v20191112/models.rb', line 3874 def deserialize(params) @FromPort = params['FromPort'] @IpRange = params['IpRange'] @Protocol = params['Protocol'] @ToPort = params['ToPort'] end |