Class: TencentCloud::Yunjing::V20180228::Account

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

Overview

帐号列表信息数据。

Instance Attribute Summary collapse

  • #Groups ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #Id ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #LastLoginTime ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #MachineIp ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #MachineName ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #Privilege ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #Username ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .
  • #Uuid ⇒ Object
  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(id = nil, uuid = nil, machineip = nil, machinename = nil, username = nil, groups = nil, privilege = nil, accountcreatetime = nil, lastlogintime = nil) ⇒ Account

    Returns a new instance of Account.

    
    
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    # File 'lib/v20180228/models.rb', line 45
    
    def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, groups=nil, privilege=nil, accountcreatetime=nil, lastlogintime=nil)
      @Id = id
      @Uuid = uuid
      @MachineIp = machineip
      @MachineName = machinename
      @Username = username
      @Groups = groups
      @Privilege = privilege
      @AccountCreateTime = accountcreatetime
      @LastLoginTime = lastlogintime
    end

    Instance Attribute Details

    #AccountCreateTimeObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def AccountCreateTime
      @AccountCreateTime
    end

    #GroupsObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def Groups
      @Groups
    end

    #IdObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def Id
      @Id
    end

    #LastLoginTimeObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def LastLoginTime
      @LastLoginTime
    end

    #MachineIpObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def MachineIp
      @MachineIp
    end

    #MachineNameObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def MachineName
      @MachineName
    end

    #PrivilegeObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def Privilege
      @Privilege
    end

    #UsernameObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def Username
      @Username
    end

    #UuidObject

  • ORDINARY:普通帐号
  • SUPPER:超级管理员帐号
  • Parameters:

    • Id:

      唯一ID。

    • Uuid:

      云镜客户端唯一Uuid

    • MachineIp:

      主机内网IP。

    • MachineName:

      主机名称。

    • Username:

      帐号名。

    • Groups:

      帐号所属组。

    • Privilege:

      帐号类型。

    • AccountCreateTime:

      帐号创建时间。

    • LastLoginTime:

      帐号最后登录时间。

    
    
    43
    44
    45
    # File 'lib/v20180228/models.rb', line 43
    
    def Uuid
      @Uuid
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    # File 'lib/v20180228/models.rb', line 57
    
    def deserialize(params)
      @Id = params['Id']
      @Uuid = params['Uuid']
      @MachineIp = params['MachineIp']
      @MachineName = params['MachineName']
      @Username = params['Username']
      @Groups = params['Groups']
      @Privilege = params['Privilege']
      @AccountCreateTime = params['AccountCreateTime']
      @LastLoginTime = params['LastLoginTime']
    end