Class: TencentCloud::Vcube::V20220410::XMagicResource

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

Overview

优图美视资源包

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, appid = nil, plan = nil, duration = nil, createdat = nil, updatedat = nil, xmagic = nil, starttime = nil, endtime = nil, expired = nil, name = nil, xmagictype = nil, biztype = nil, resourceid = nil, isuse = nil) ⇒ XMagicResource

Returns a new instance of XMagicResource.



2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
# File 'lib/v20220410/models.rb', line 2582

def initialize(id=nil, appid=nil, plan=nil, duration=nil, createdat=nil, updatedat=nil, xmagic=nil, starttime=nil, endtime=nil, expired=nil, name=nil, xmagictype=nil, biztype=nil, resourceid=nil, isuse=nil)
  @Id = id
  @AppId = appid
  @Plan = plan
  @Duration = duration
  @CreatedAt = createdat
  @UpdatedAt = updatedat
  @XMagic = xmagic
  @StartTime = starttime
  @EndTime = endtime
  @Expired = expired
  @Name = name
  @XMagicType = xmagictype
  @BizType = biztype
  @ResourceId = resourceid
  @IsUse = isuse
end

Instance Attribute Details

#AppIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def AppId
  @AppId
end

#BizTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def BizType
  @BizType
end

#CreatedAtObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def CreatedAt
  @CreatedAt
end

#DurationObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def Duration
  @Duration
end

#EndTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def EndTime
  @EndTime
end

#ExpiredObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def Expired
  @Expired
end

#IdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def Id
  @Id
end

#IsUseObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def IsUse
  @IsUse
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def Name
  @Name
end

#PlanObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def Plan
  @Plan
end

#ResourceIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def ResourceId
  @ResourceId
end

#StartTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def StartTime
  @StartTime
end

#UpdatedAtObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def UpdatedAt
  @UpdatedAt
end

#XMagicObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def XMagic
  @XMagic
end

#XMagicTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    资源Id

  • AppId:

    用户appid

  • Plan:

    套餐类别

  • Duration:

    单位:年

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间

  • XMagic:

    资源是否已使用

  • StartTime:

    资源开始生效时间

  • EndTime:

    资源结束生效时间

  • Expired:

    资源包是否过期

  • Name:

    功能模块名称

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    xmagic:优图, avatar:虚拟人

  • ResourceId:

    资源Id

  • IsUse:

    资源是否可以使用



2580
2581
2582
# File 'lib/v20220410/models.rb', line 2580

def XMagicType
  @XMagicType
end

Instance Method Details

#deserialize(params) ⇒ Object



2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
# File 'lib/v20220410/models.rb', line 2600

def deserialize(params)
  @Id = params['Id']
  @AppId = params['AppId']
  @Plan = params['Plan']
  @Duration = params['Duration']
  @CreatedAt = params['CreatedAt']
  @UpdatedAt = params['UpdatedAt']
  @XMagic = params['XMagic']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Expired = params['Expired']
  @Name = params['Name']
  @XMagicType = params['XMagicType']
  @BizType = params['BizType']
  @ResourceId = params['ResourceId']
  @IsUse = params['IsUse']
end