Class: TencentCloud::Organization::V20210331::DescribeOrganizationResponse

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

Overview

DescribeOrganization返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orgid = nil, hostuin = nil, nickname = nil, orgtype = nil, ismanager = nil, orgpolicytype = nil, orgpolicyname = nil, orgpermission = nil, rootnodeid = nil, createtime = nil, jointime = nil, isallowquit = nil, payuin = nil, payname = nil, isassignmanager = nil, isauthmanager = nil, requestid = nil) ⇒ DescribeOrganizationResponse



3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/v20210331/models.rb', line 3055

def initialize(orgid=nil, hostuin=nil, nickname=nil, orgtype=nil, ismanager=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, rootnodeid=nil, createtime=nil, jointime=nil, isallowquit=nil, payuin=nil, payname=nil, isassignmanager=nil, isauthmanager=nil, requestid=nil)
  @OrgId = orgid
  @HostUin = hostuin
  @NickName = nickname
  @OrgType = orgtype
  @IsManager = ismanager
  @OrgPolicyType = orgpolicytype
  @OrgPolicyName = orgpolicyname
  @OrgPermission = orgpermission
  @RootNodeId = rootnodeid
  @CreateTime = createtime
  @JoinTime = jointime
  @IsAllowQuit = isallowquit
  @PayUin = payuin
  @PayName = payname
  @IsAssignManager = isassignmanager
  @IsAuthManager = isauthmanager
  @RequestId = requestid
end

Instance Attribute Details

#CreateTimeObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def CreateTime
  @CreateTime
end

#HostUinObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def HostUin
  @HostUin
end

#IsAllowQuitObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def IsAllowQuit
  @IsAllowQuit
end

#IsAssignManagerObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def IsAssignManager
  @IsAssignManager
end

#IsAuthManagerObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def IsAuthManager
  @IsAuthManager
end

#IsManagerObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def IsManager
  @IsManager
end

#JoinTimeObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def JoinTime
  @JoinTime
end

#NickNameObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def NickName
  @NickName
end

#OrgIdObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def OrgId
  @OrgId
end

#OrgPermissionObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def OrgPermission
  @OrgPermission
end

#OrgPolicyNameObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def OrgPolicyName
  @OrgPolicyName
end

#OrgPolicyTypeObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def OrgPolicyType
  @OrgPolicyType
end

#OrgTypeObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def OrgType
  @OrgType
end

#PayNameObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def PayName
  @PayName
end

#PayUinObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def PayUin
  @PayUin
end

#RequestIdObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def RequestId
  @RequestId
end

#RootNodeIdObject



3053
3054
3055
# File 'lib/v20210331/models.rb', line 3053

def RootNodeId
  @RootNodeId
end

Instance Method Details

#deserialize(params) ⇒ Object



3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
# File 'lib/v20210331/models.rb', line 3075

def deserialize(params)
  @OrgId = params['OrgId']
  @HostUin = params['HostUin']
  @NickName = params['NickName']
  @OrgType = params['OrgType']
  @IsManager = params['IsManager']
  @OrgPolicyType = params['OrgPolicyType']
  @OrgPolicyName = params['OrgPolicyName']
  unless params['OrgPermission'].nil?
    @OrgPermission = []
    params['OrgPermission'].each do |i|
      orgpermission_tmp = OrgPermission.new
      orgpermission_tmp.deserialize(i)
      @OrgPermission << orgpermission_tmp
    end
  end
  @RootNodeId = params['RootNodeId']
  @CreateTime = params['CreateTime']
  @JoinTime = params['JoinTime']
  @IsAllowQuit = params['IsAllowQuit']
  @PayUin = params['PayUin']
  @PayName = params['PayName']
  @IsAssignManager = params['IsAssignManager']
  @IsAuthManager = params['IsAuthManager']
  @RequestId = params['RequestId']
end