Skip to content

Commit

Permalink
MOPEN SDK Auto Released By everettli.ll,Version:1.1.0
Browse files Browse the repository at this point in the history
发布日志:
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
  • Loading branch information
jxyowen committed Jul 31, 2018
1 parent e894eea commit 280c9f1
Show file tree
Hide file tree
Showing 32 changed files with 2,258 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-mopen/ChangeLog.txt
@@ -0,0 +1,3 @@
2018-08-01 Version: 1.1.0
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup

119 changes: 119 additions & 0 deletions aliyun-java-sdk-mopen/pom.xml
@@ -0,0 +1,119 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-mopen</artifactId>
<packaging>jar</packaging>
<version>1.1.0</version>
<name>aliyun-java-sdk-mopen</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java

Copyright (C) Alibaba Cloud Computing
All rights reserved.

版权所有 (C)阿里云计算有限公司

http://www.aliyun.com</description>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<dependencies>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<optional>true</optional>
<version>3.7.1</version>
</dependency>
</dependencies>
<licenses>
<license>
<name></name>
<url></url>
<distribution></distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
<developerConnection>scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
</scm>
<developers>
<developer>
<id>aliyunproducts</id>
<name>Aliyun SDK</name>
<email>aliyunsdk@aliyun.com</email>
</developer>
</developers>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<excludes>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1,64 @@
/*
* 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.
*/

package com.aliyuncs.mopen.model.v20180211;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class MoPenAddGroupMemberRequest extends RpcAcsRequest<MoPenAddGroupMemberResponse> {

public MoPenAddGroupMemberRequest() {
super("MoPen", "2018-02-11", "MoPenAddGroupMember");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}

private String groupId;

private String deviceName;

public String getGroupId() {
return this.groupId;
}

public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putBodyParameter("GroupId", groupId);
}
}

public String getDeviceName() {
return this.deviceName;
}

public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
if(deviceName != null){
putBodyParameter("DeviceName", deviceName);
}
}

@Override
public Class<MoPenAddGroupMemberResponse> getResponseClass() {
return MoPenAddGroupMemberResponse.class;
}

}
@@ -0,0 +1,76 @@
/*
* 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.
*/

package com.aliyuncs.mopen.model.v20180211;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.mopen.transform.v20180211.MoPenAddGroupMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class MoPenAddGroupMemberResponse extends AcsResponse {

private Boolean success;

private String code;

private String description;

private String message;

public Boolean getSuccess() {
return this.success;
}

public void setSuccess(Boolean success) {
this.success = success;
}

public String getCode() {
return this.code;
}

public void setCode(String code) {
this.code = code;
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
}

public String getMessage() {
return this.message;
}

public void setMessage(String message) {
this.message = message;
}

@Override
public MoPenAddGroupMemberResponse getInstance(UnmarshallerContext context) {
return MoPenAddGroupMemberResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
@@ -0,0 +1,64 @@
/*
* 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.
*/

package com.aliyuncs.mopen.model.v20180211;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class MoPenBindIsvRequest extends RpcAcsRequest<MoPenBindIsvResponse> {

public MoPenBindIsvRequest() {
super("MoPen", "2018-02-11", "MoPenBindIsv");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}

private String orderKey;

private String deviceName;

public String getOrderKey() {
return this.orderKey;
}

public void setOrderKey(String orderKey) {
this.orderKey = orderKey;
if(orderKey != null){
putBodyParameter("OrderKey", orderKey);
}
}

public String getDeviceName() {
return this.deviceName;
}

public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
if(deviceName != null){
putBodyParameter("DeviceName", deviceName);
}
}

@Override
public Class<MoPenBindIsvResponse> getResponseClass() {
return MoPenBindIsvResponse.class;
}

}

0 comments on commit 280c9f1

Please sign in to comment.