Class: TencentCloud::Mps::V20190612::NumberFormat

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

Overview

输出文件名的‘number`变量的规则。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(initialvalue = nil, increment = nil, minlength = nil, placeholder = nil) ⇒ NumberFormat

Returns a new instance of NumberFormat.



23387
23388
23389
23390
23391
23392
# File 'lib/v20190612/models.rb', line 23387

def initialize(initialvalue=nil, increment=nil, minlength=nil, placeholder=nil)
  @InitialValue = initialvalue
  @Increment = increment
  @MinLength = minlength
  @PlaceHolder = placeholder
end

Instance Attribute Details

#IncrementObject

Parameters:

  • InitialValue:

    ‘number`变量的起始值,默认为0。

  • Increment:

    ‘number`变量的增长步长,默认为1。

  • MinLength:

    ‘number`变量的最小长度,不足时补占位符。默认为1。

  • PlaceHolder:

    ‘number`变量的长度不足时,补充的占位符。默认为“0”。



23385
23386
23387
# File 'lib/v20190612/models.rb', line 23385

def Increment
  @Increment
end

#InitialValueObject

Parameters:

  • InitialValue:

    ‘number`变量的起始值,默认为0。

  • Increment:

    ‘number`变量的增长步长,默认为1。

  • MinLength:

    ‘number`变量的最小长度,不足时补占位符。默认为1。

  • PlaceHolder:

    ‘number`变量的长度不足时,补充的占位符。默认为“0”。



23385
23386
23387
# File 'lib/v20190612/models.rb', line 23385

def InitialValue
  @InitialValue
end

#MinLengthObject

Parameters:

  • InitialValue:

    ‘number`变量的起始值,默认为0。

  • Increment:

    ‘number`变量的增长步长,默认为1。

  • MinLength:

    ‘number`变量的最小长度,不足时补占位符。默认为1。

  • PlaceHolder:

    ‘number`变量的长度不足时,补充的占位符。默认为“0”。



23385
23386
23387
# File 'lib/v20190612/models.rb', line 23385

def MinLength
  @MinLength
end

#PlaceHolderObject

Parameters:

  • InitialValue:

    ‘number`变量的起始值,默认为0。

  • Increment:

    ‘number`变量的增长步长,默认为1。

  • MinLength:

    ‘number`变量的最小长度,不足时补占位符。默认为1。

  • PlaceHolder:

    ‘number`变量的长度不足时,补充的占位符。默认为“0”。



23385
23386
23387
# File 'lib/v20190612/models.rb', line 23385

def PlaceHolder
  @PlaceHolder
end

Instance Method Details

#deserialize(params) ⇒ Object



23394
23395
23396
23397
23398
23399
# File 'lib/v20190612/models.rb', line 23394

def deserialize(params)
  @InitialValue = params['InitialValue']
  @Increment = params['Increment']
  @MinLength = params['MinLength']
  @PlaceHolder = params['PlaceHolder']
end