# 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 DatasourceInfo(object):
def __init__(self, id=None, address=None, port=None, username=None, password=None):
"""
:param id: (Optional) ID
:param address: (Optional) 服务器地址
:param port: (Optional) 端口
:param username: (Optional) 数据库账号
:param password: (Optional) 数据库密码
"""
self.id = id
self.address = address
self.port = port
self.username = username
self.password = password