GetServicePlainArgs

data class GetServicePlainArgs(val enable: String? = null, val internetChargeType: String? = null) : ConvertibleToJava<GetServicePlainArgs>

A collection of arguments for invoking getService.

Constructors

Link copied to clipboard
constructor(enable: String? = null, internetChargeType: String? = null)

Properties

Link copied to clipboard
val enable: String? = null

Setting the value to On to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".

Link copied to clipboard

The new billing method. Valid values: PayByTraffic and PayByBandwidth. Default value: PayByTraffic. It is required when enable = on. If the CDN service has been opened and you can update its internet charge type by modifying the filed internet_charge_type. As a note, the updated internet charge type will be effective in the next day zero time.

Functions

Link copied to clipboard
open override fun toJava(): GetServicePlainArgs