Class: TencentCloud::Rum::V20210622::ModifyProjectLimitRequest

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

Overview

ModifyProjectLimit请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, projectinterface = nil, reportrate = nil, reporttype = nil, id = nil) ⇒ ModifyProjectLimitRequest

Returns a new instance of ModifyProjectLimitRequest.



3710
3711
3712
3713
3714
3715
3716
# File 'lib/v20210622/models.rb', line 3710

def initialize(projectid=nil, projectinterface=nil, reportrate=nil, reporttype=nil, id=nil)
  @ProjectID = projectid
  @ProjectInterface = projectinterface
  @ReportRate = reportrate
  @ReportType = reporttype
  @ID = id
end

Instance Attribute Details

#IDObject

Parameters:

  • ProjectID:

    项目ID

  • ProjectInterface:

    取值为[log speed performance webvitals pv event custom miniProgramData]其中之一

  • ReportRate:

    上报比例 10代表10%

  • ReportType:

    上报类型 1:比例 2:上报量

  • ID:

    主键ID



3708
3709
3710
# File 'lib/v20210622/models.rb', line 3708

def ID
  @ID
end

#ProjectIDObject

Parameters:

  • ProjectID:

    项目ID

  • ProjectInterface:

    取值为[log speed performance webvitals pv event custom miniProgramData]其中之一

  • ReportRate:

    上报比例 10代表10%

  • ReportType:

    上报类型 1:比例 2:上报量

  • ID:

    主键ID



3708
3709
3710
# File 'lib/v20210622/models.rb', line 3708

def ProjectID
  @ProjectID
end

#ProjectInterfaceObject

Parameters:

  • ProjectID:

    项目ID

  • ProjectInterface:

    取值为[log speed performance webvitals pv event custom miniProgramData]其中之一

  • ReportRate:

    上报比例 10代表10%

  • ReportType:

    上报类型 1:比例 2:上报量

  • ID:

    主键ID



3708
3709
3710
# File 'lib/v20210622/models.rb', line 3708

def ProjectInterface
  @ProjectInterface
end

#ReportRateObject

Parameters:

  • ProjectID:

    项目ID

  • ProjectInterface:

    取值为[log speed performance webvitals pv event custom miniProgramData]其中之一

  • ReportRate:

    上报比例 10代表10%

  • ReportType:

    上报类型 1:比例 2:上报量

  • ID:

    主键ID



3708
3709
3710
# File 'lib/v20210622/models.rb', line 3708

def ReportRate
  @ReportRate
end

#ReportTypeObject

Parameters:

  • ProjectID:

    项目ID

  • ProjectInterface:

    取值为[log speed performance webvitals pv event custom miniProgramData]其中之一

  • ReportRate:

    上报比例 10代表10%

  • ReportType:

    上报类型 1:比例 2:上报量

  • ID:

    主键ID



3708
3709
3710
# File 'lib/v20210622/models.rb', line 3708

def ReportType
  @ReportType
end

Instance Method Details

#deserialize(params) ⇒ Object



3718
3719
3720
3721
3722
3723
3724
# File 'lib/v20210622/models.rb', line 3718

def deserialize(params)
  @ProjectID = params['ProjectID']
  @ProjectInterface = params['ProjectInterface']
  @ReportRate = params['ReportRate']
  @ReportType = params['ReportType']
  @ID = params['ID']
end