Class: TencentCloud::Rum::V20210622::ProjectLimit

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

Overview

项目接口限制类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ProjectLimit.



3866
3867
3868
3869
3870
3871
3872
# File 'lib/v20210622/models.rb', line 3866

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

Instance Attribute Details

#IDObject

Parameters:

  • ProjectInterface:

    接口

  • ReportRate:

    上报率

  • ReportType:

    上报类型 1:上报率 2:上报量限制

  • ID:

    主键ID

  • ProjectID:

    项目ID



3864
3865
3866
# File 'lib/v20210622/models.rb', line 3864

def ID
  @ID
end

#ProjectIDObject

Parameters:

  • ProjectInterface:

    接口

  • ReportRate:

    上报率

  • ReportType:

    上报类型 1:上报率 2:上报量限制

  • ID:

    主键ID

  • ProjectID:

    项目ID



3864
3865
3866
# File 'lib/v20210622/models.rb', line 3864

def ProjectID
  @ProjectID
end

#ProjectInterfaceObject

Parameters:

  • ProjectInterface:

    接口

  • ReportRate:

    上报率

  • ReportType:

    上报类型 1:上报率 2:上报量限制

  • ID:

    主键ID

  • ProjectID:

    项目ID



3864
3865
3866
# File 'lib/v20210622/models.rb', line 3864

def ProjectInterface
  @ProjectInterface
end

#ReportRateObject

Parameters:

  • ProjectInterface:

    接口

  • ReportRate:

    上报率

  • ReportType:

    上报类型 1:上报率 2:上报量限制

  • ID:

    主键ID

  • ProjectID:

    项目ID



3864
3865
3866
# File 'lib/v20210622/models.rb', line 3864

def ReportRate
  @ReportRate
end

#ReportTypeObject

Parameters:

  • ProjectInterface:

    接口

  • ReportRate:

    上报率

  • ReportType:

    上报类型 1:上报率 2:上报量限制

  • ID:

    主键ID

  • ProjectID:

    项目ID



3864
3865
3866
# File 'lib/v20210622/models.rb', line 3864

def ReportType
  @ReportType
end

Instance Method Details

#deserialize(params) ⇒ Object



3874
3875
3876
3877
3878
3879
3880
# File 'lib/v20210622/models.rb', line 3874

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