class TencentCloud::Tsf::V20180326::ServiceSetting

容器网络设置。

def deserialize(params)

def deserialize(params)
  @AccessType = params['AccessType']
  unless params['ProtocolPorts'].nil?
    @ProtocolPorts = []
    params['ProtocolPorts'].each do |i|
      protocolport_tmp = ProtocolPort.new
      protocolport_tmp.deserialize(i)
      @ProtocolPorts << protocolport_tmp
    end
  end
  @SubnetId = params['SubnetId']
  @DisableService = params['DisableService']
  @HeadlessService = params['HeadlessService']
  @AllowDeleteService = params['AllowDeleteService']
  @OpenSessionAffinity = params['OpenSessionAffinity']
  @SessionAffinityTimeoutSeconds = params['SessionAffinityTimeoutSeconds']
end

def initialize(accesstype=nil, protocolports=nil, subnetid=nil, disableservice=nil, headlessservice=nil, allowdeleteservice=nil, opensessionaffinity=nil, sessionaffinitytimeoutseconds=nil)

def initialize(accesstype=nil, protocolports=nil, subnetid=nil, disableservice=nil, headlessservice=nil, allowdeleteservice=nil, opensessionaffinity=nil, sessionaffinitytimeoutseconds=nil)
  @AccessType = accesstype
  @ProtocolPorts = protocolports
  @SubnetId = subnetid
  @DisableService = disableservice
  @HeadlessService = headlessservice
  @AllowDeleteService = allowdeleteservice
  @OpenSessionAffinity = opensessionaffinity
  @SessionAffinityTimeoutSeconds = sessionaffinitytimeoutseconds
end