Class: TencentCloud::Bm::V20180423::UserCmd

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

Overview

脚本信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_alias = nil, appid = nil, autoid = nil, cmdid = nil, content = nil, createtime = nil, modifytime = nil, ostype = nil) ⇒ UserCmd

Returns a new instance of UserCmd.



4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
# File 'lib/v20180423/models.rb', line 4121

def initialize(_alias=nil, appid=nil, autoid=nil, cmdid=nil, content=nil, createtime=nil, modifytime=nil, ostype=nil)
  @Alias = _alias
  @AppId = appid
  @AutoId = autoid
  @CmdId = cmdid
  @Content = content
  @CreateTime = createtime
  @ModifyTime = modifytime
  @OsType = ostype
end

Instance Attribute Details

#AliasObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def Alias
  @Alias
end

#AppIdObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def AppId
  @AppId
end

#AutoIdObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def AutoId
  @AutoId
end

#CmdIdObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def CmdId
  @CmdId
end

#ContentObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def Content
  @Content
end

#CreateTimeObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def CreateTime
  @CreateTime
end

#ModifyTimeObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def ModifyTime
  @ModifyTime
end

#OsTypeObject

Parameters:

  • Alias:

    用户自定义脚本名

  • AppId:

    AppId

  • AutoId:

    脚本自增ID

  • CmdId:

    脚本ID

  • Content:

    脚本内容

  • CreateTime:

    创建时间

  • ModifyTime:

    修改时间

  • OsType:

    命令适用的操作系统类型



4119
4120
4121
# File 'lib/v20180423/models.rb', line 4119

def OsType
  @OsType
end

Instance Method Details

#deserialize(params) ⇒ Object



4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
# File 'lib/v20180423/models.rb', line 4132

def deserialize(params)
  @Alias = params['Alias']
  @AppId = params['AppId']
  @AutoId = params['AutoId']
  @CmdId = params['CmdId']
  @Content = params['Content']
  @CreateTime = params['CreateTime']
  @ModifyTime = params['ModifyTime']
  @OsType = params['OsType']
end