Class: TencentCloud::Ecm::V20190719::AllocateAddressesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::AllocateAddressesRequest
- Defined in:
- lib/v20190719/models.rb
Overview
AllocateAddresses请求参数结构体
Instance Attribute Summary collapse
-
#AddressCount ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#EcmRegion ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#InstanceId ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#InternetMaxBandwidthOut ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#InternetServiceProvider ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#NetworkInterfaceId ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#PrivateIpAddress ⇒ Object
CTCC:中国电信 CUCC:中国联通.
-
#Tags ⇒ Object
CTCC:中国电信 CUCC:中国联通.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ecmregion = nil, addresscount = nil, internetserviceprovider = nil, internetmaxbandwidthout = nil, tags = nil, instanceid = nil, networkinterfaceid = nil, privateipaddress = nil) ⇒ AllocateAddressesRequest
constructor
A new instance of AllocateAddressesRequest.
Constructor Details
#initialize(ecmregion = nil, addresscount = nil, internetserviceprovider = nil, internetmaxbandwidthout = nil, tags = nil, instanceid = nil, networkinterfaceid = nil, privateipaddress = nil) ⇒ AllocateAddressesRequest
Returns a new instance of AllocateAddressesRequest.
181 182 183 184 185 186 187 188 189 190 |
# File 'lib/v20190719/models.rb', line 181 def initialize(ecmregion=nil, addresscount=nil, internetserviceprovider=nil, internetmaxbandwidthout=nil, =nil, instanceid=nil, networkinterfaceid=nil, privateipaddress=nil) @EcmRegion = ecmregion @AddressCount = addresscount @InternetServiceProvider = internetserviceprovider @InternetMaxBandwidthOut = internetmaxbandwidthout @Tags = @InstanceId = instanceid @NetworkInterfaceId = networkinterfaceid @PrivateIpAddress = privateipaddress end |
Instance Attribute Details
#AddressCount ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def AddressCount @AddressCount end |
#EcmRegion ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def EcmRegion @EcmRegion end |
#InstanceId ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def InstanceId @InstanceId end |
#InternetMaxBandwidthOut ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def InternetMaxBandwidthOut @InternetMaxBandwidthOut end |
#InternetServiceProvider ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def InternetServiceProvider @InternetServiceProvider end |
#NetworkInterfaceId ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def NetworkInterfaceId @NetworkInterfaceId end |
#PrivateIpAddress ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def PrivateIpAddress @PrivateIpAddress end |
#Tags ⇒ Object
CTCC:中国电信CUCC:中国联通
179 180 181 |
# File 'lib/v20190719/models.rb', line 179 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/v20190719/models.rb', line 192 def deserialize(params) @EcmRegion = params['EcmRegion'] @AddressCount = params['AddressCount'] @InternetServiceProvider = params['InternetServiceProvider'] @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @InstanceId = params['InstanceId'] @NetworkInterfaceId = params['NetworkInterfaceId'] @PrivateIpAddress = params['PrivateIpAddress'] end |