
com.lark.oapi.service.lingo.LingoService Maven / Gradle / Ivy
// Code generated by lark suite oapi sdk gen
/*
* MIT License
*
* Copyright (c) 2022 Lark Technologies Pte. Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package com.lark.oapi.service.lingo;
import com.lark.oapi.core.Config;
import com.lark.oapi.event.IEventHandler;
import com.lark.oapi.service.lingo.v1.V1;
import com.lark.oapi.service.lingo.v1.model.*;
import com.lark.oapi.service.lingo.v1.resource.Classification;
import com.lark.oapi.service.lingo.v1.resource.Draft;
import com.lark.oapi.service.lingo.v1.resource.Entity;
import com.lark.oapi.service.lingo.v1.resource.File;
import com.lark.oapi.service.lingo.v1.resource.Repo;
public class LingoService {
private final V1 v1;
private final Classification classification; // classification
private final Draft draft; // draft
private final Entity entity; // entity
private final File file; // file
private final Repo repo; // repo
public LingoService(Config config) {
this.v1 = new V1(config);
this.classification = new Classification(config);
this.draft = new Draft(config);
this.entity = new Entity(config);
this.file = new File(config);
this.repo = new Repo(config);
}
public V1 v1() {
return v1;
}
public Classification classification() {
return classification;
}
public Draft draft() {
return draft;
}
public Entity entity() {
return entity;
}
public File file() {
return file;
}
public Repo repo() {
return repo;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy