Class: TencentCloud::Essbasic::V20210526::CreateChannelSubOrganizationActiveRequest

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

Overview

CreateChannelSubOrganizationActive请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent = nil, suborganizationopenids = nil, renew = nil) ⇒ CreateChannelSubOrganizationActiveRequest

Returns a new instance of CreateChannelSubOrganizationActiveRequest.



5834
5835
5836
5837
5838
# File 'lib/v20210526/models.rb', line 5834

def initialize(agent=nil, suborganizationopenids=nil, renew=nil)
  @Agent = agent
  @SubOrganizationOpenIds = suborganizationopenids
  @Renew = renew
end

Instance Attribute Details

#AgentObject

false:(默认)激活子客企业 true:续期子客企业



5832
5833
5834
# File 'lib/v20210526/models.rb', line 5832

def Agent
  @Agent
end

#RenewObject

false:(默认)激活子客企业 true:续期子客企业



5832
5833
5834
# File 'lib/v20210526/models.rb', line 5832

def Renew
  @Renew
end

#SubOrganizationOpenIdsObject

false:(默认)激活子客企业 true:续期子客企业



5832
5833
5834
# File 'lib/v20210526/models.rb', line 5832

def SubOrganizationOpenIds
  @SubOrganizationOpenIds
end

Instance Method Details

#deserialize(params) ⇒ Object



5840
5841
5842
5843
5844
5845
5846
5847
# File 'lib/v20210526/models.rb', line 5840

def deserialize(params)
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @SubOrganizationOpenIds = params['SubOrganizationOpenIds']
  @Renew = params['Renew']
end