# coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.
[docs]class BillQueryCondition(object):
def __init__(self, queryType, pin, appCode, serviceCode, billingType, payType, payState, timeType, startTime, endTime, ignoreZero, resourceId, site, role, region, ):
"""
:param queryType: 查询类别 1:资源账单 2:消费记录
:param pin: 用户pin
:param appCode: appCode
:param serviceCode: serviceCode
:param billingType: 计费类型
:param payType: 支付类型
:param payState: 支付状态
:param timeType: 1按账期、2按消费时间
:param startTime: 开始时间
:param endTime: 结束时间
:param ignoreZero: 是否忽略0元账单
:param resourceId: 资源id
:param site: 站点
:param role: 角色
:param region: 区域
"""
self.queryType = queryType
self.pin = pin
self.appCode = appCode
self.serviceCode = serviceCode
self.billingType = billingType
self.payType = payType
self.payState = payState
self.timeType = timeType
self.startTime = startTime
self.endTime = endTime
self.ignoreZero = ignoreZero
self.resourceId = resourceId
self.site = site
self.role = role
self.region = region