Class: TencentCloud::Csip::V20221121::DeleteDomainAndIpRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20221121/models.rb

Overview

DeleteDomainAndIp请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(memberid = nil, content = nil, retainpath = nil, ignoreasset = nil, tags = nil, type = nil) ⇒ DeleteDomainAndIpRequest

Returns a new instance of DeleteDomainAndIpRequest.



3703
3704
3705
3706
3707
3708
3709
3710
# File 'lib/v20221121/models.rb', line 3703

def initialize(memberid=nil, content=nil, retainpath=nil, ignoreasset=nil, tags=nil, type=nil)
  @MemberId = memberid
  @Content = content
  @RetainPath = retainpath
  @IgnoreAsset = ignoreasset
  @Tags = tags
  @Type = type
end

Instance Attribute Details

#ContentObject

Parameters:

  • MemberId:

    集团账号的成员id

  • Content:

    资产

  • RetainPath:

    是否保留路径配置,1:保留,其他:不保留,默认不传为不保留

  • IgnoreAsset:

    以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略

  • Tags:

    资产标签

  • Type:

    删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。



3701
3702
3703
# File 'lib/v20221121/models.rb', line 3701

def Content
  @Content
end

#IgnoreAssetObject

Parameters:

  • MemberId:

    集团账号的成员id

  • Content:

    资产

  • RetainPath:

    是否保留路径配置,1:保留,其他:不保留,默认不传为不保留

  • IgnoreAsset:

    以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略

  • Tags:

    资产标签

  • Type:

    删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。



3701
3702
3703
# File 'lib/v20221121/models.rb', line 3701

def IgnoreAsset
  @IgnoreAsset
end

#MemberIdObject

Parameters:

  • MemberId:

    集团账号的成员id

  • Content:

    资产

  • RetainPath:

    是否保留路径配置,1:保留,其他:不保留,默认不传为不保留

  • IgnoreAsset:

    以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略

  • Tags:

    资产标签

  • Type:

    删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。



3701
3702
3703
# File 'lib/v20221121/models.rb', line 3701

def MemberId
  @MemberId
end

#RetainPathObject

Parameters:

  • MemberId:

    集团账号的成员id

  • Content:

    资产

  • RetainPath:

    是否保留路径配置,1:保留,其他:不保留,默认不传为不保留

  • IgnoreAsset:

    以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略

  • Tags:

    资产标签

  • Type:

    删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。



3701
3702
3703
# File 'lib/v20221121/models.rb', line 3701

def RetainPath
  @RetainPath
end

#TagsObject

Parameters:

  • MemberId:

    集团账号的成员id

  • Content:

    资产

  • RetainPath:

    是否保留路径配置,1:保留,其他:不保留,默认不传为不保留

  • IgnoreAsset:

    以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略

  • Tags:

    资产标签

  • Type:

    删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。



3701
3702
3703
# File 'lib/v20221121/models.rb', line 3701

def Tags
  @Tags
end

#TypeObject

Parameters:

  • MemberId:

    集团账号的成员id

  • Content:

    资产

  • RetainPath:

    是否保留路径配置,1:保留,其他:不保留,默认不传为不保留

  • IgnoreAsset:

    以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略

  • Tags:

    资产标签

  • Type:

    删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。



3701
3702
3703
# File 'lib/v20221121/models.rb', line 3701

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
# File 'lib/v20221121/models.rb', line 3712

def deserialize(params)
  @MemberId = params['MemberId']
  unless params['Content'].nil?
    @Content = []
    params['Content'].each do |i|
      publicipdomainlistkey_tmp = PublicIpDomainListKey.new
      publicipdomainlistkey_tmp.deserialize(i)
      @Content << publicipdomainlistkey_tmp
    end
  end
  @RetainPath = params['RetainPath']
  @IgnoreAsset = params['IgnoreAsset']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      assettag_tmp = AssetTag.new
      assettag_tmp.deserialize(i)
      @Tags << assettag_tmp
    end
  end
  @Type = params['Type']
end