当前位置: 首页>>代码示例>>Java>>正文


Java ApiClient.setBasePath方法代码示例

本文整理汇总了Java中io.swagger.client.ApiClient.setBasePath方法的典型用法代码示例。如果您正苦于以下问题:Java ApiClient.setBasePath方法的具体用法?Java ApiClient.setBasePath怎么用?Java ApiClient.setBasePath使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在io.swagger.client.ApiClient的用法示例。


在下文中一共展示了ApiClient.setBasePath方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DocumentTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public DocumentTest(String basePath, String user, String password) {
    
    _api = new DocumentApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:9,代码来源:DocumentTest.java

示例2: ViewEntryListTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public ViewEntryListTest(String basePath, String user, String password) {
    
    _viewEntryApi = new ViewEntryListApi();
    ApiClient client = _viewEntryApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
    
    _folderApi = new FolderApi();
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:11,代码来源:ViewEntryListTest.java

示例3: DatabaseListTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public DatabaseListTest(String basePath, String user, String password) {
    
    _api = new DatabaseListApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:9,代码来源:DatabaseListTest.java

示例4: DocumentListTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public DocumentListTest(String basePath, String user, String password) {
    
    _api = new DocumentListApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:9,代码来源:DocumentListTest.java

示例5: ViewDesignTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public ViewDesignTest(String basePath, String user, String password) {
    
    _api = new ViewDesignApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:9,代码来源:ViewDesignTest.java

示例6: RecurringEventTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public RecurringEventTest(String basePath, String user, String password) {
    // Get the API instance and set the base path
    // of the target Domino server
    _eventApi = new EventApi();
    ApiClient client = _eventApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);

    _instanceListApi = new InstanceListApi();
    _eventInstanceApi = new EventInstanceApi();
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:13,代码来源:RecurringEventTest.java

示例7: MeetingTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public MeetingTest(String basePath, String user, String password) {
    _eventApi = new EventApi();
    ApiClient client = _eventApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:8,代码来源:MeetingTest.java

示例8: NoticeTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public NoticeTest(String basePath, String username, String password) {
    _noticeListApi = new NoticeListApi();
    ApiClient client = _noticeListApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(username);
    client.setPassword(password);

    _noticeApi = new NoticeApi();
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:10,代码来源:NoticeTest.java

示例9: EventTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public EventTest(String basePath, String username, String password) {
    _eventApi = new EventApi();
    ApiClient client = _eventApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(username);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:8,代码来源:EventTest.java

示例10: MessageListTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public MessageListTest(String basePath, String user, String password) {
    _api = new MessageListApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:8,代码来源:MessageListTest.java

示例11: MessageTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public MessageTest(String basePath, String user, String password) {
    _api = new MessageApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:8,代码来源:MessageTest.java

示例12: MailFolderTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public MailFolderTest(String basePath, String user, String password) {
    _folderListApi = new FolderListApi();
    ApiClient client = _folderListApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
    
    _folderApi = new FolderApi();
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:10,代码来源:MailFolderTest.java

示例13: DelegateTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public DelegateTest(String basePath, String user, String password) {
    _api = new DelegateApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:8,代码来源:DelegateTest.java

示例14: QuotaTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public QuotaTest(String basePath, String user, String password) {
    _api = new QuotaApi();
    ApiClient client = _api.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:8,代码来源:QuotaTest.java

示例15: DraftMessageTest

import io.swagger.client.ApiClient; //导入方法依赖的package包/类
public DraftMessageTest(String basePath, String user, String password) {
    _messageApi = new MessageApi();
    ApiClient client = _messageApi.getApiClient();
    client.setBasePath(basePath);
    client.setUsername(user);
    client.setPassword(password);
    
    _draftApi = new DraftMessageApi();
}
 
开发者ID:OpenNTF,项目名称:das-api-specs,代码行数:10,代码来源:DraftMessageTest.java


注:本文中的io.swagger.client.ApiClient.setBasePath方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。