index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/CreateNamespaceResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.CreateNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateNamespaceResponseUnmarshaller {
public static CreateNamespaceResponse unmarshall(CreateNamespaceResponse createNamespaceResponse, UnmarshallerContext _ctx) {
createNamespaceResponse.setRequestId(_ctx.stringValue("CreateNamespaceResponse.RequestId"));
createNamespaceResponse.setCode(_ctx.stringValue("CreateNamespaceResponse.Code"));
createNamespaceResponse.setMessage(_ctx.stringValue("CreateNamespaceResponse.Message"));
createNamespaceResponse.setNamespaceId(_ctx.stringValue("CreateNamespaceResponse.NamespaceId"));
return createNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/DeleteConfigurationResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.DeleteConfigurationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteConfigurationResponseUnmarshaller {
public static DeleteConfigurationResponse unmarshall(DeleteConfigurationResponse deleteConfigurationResponse, UnmarshallerContext _ctx) {
deleteConfigurationResponse.setRequestId(_ctx.stringValue("DeleteConfigurationResponse.RequestId"));
deleteConfigurationResponse.setCode(_ctx.stringValue("DeleteConfigurationResponse.Code"));
deleteConfigurationResponse.setMessage(_ctx.stringValue("DeleteConfigurationResponse.Message"));
return deleteConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/DeleteNamespaceResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.DeleteNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteNamespaceResponseUnmarshaller {
public static DeleteNamespaceResponse unmarshall(DeleteNamespaceResponse deleteNamespaceResponse, UnmarshallerContext _ctx) {
deleteNamespaceResponse.setRequestId(_ctx.stringValue("DeleteNamespaceResponse.RequestId"));
deleteNamespaceResponse.setCode(_ctx.stringValue("DeleteNamespaceResponse.Code"));
deleteNamespaceResponse.setMessage(_ctx.stringValue("DeleteNamespaceResponse.Message"));
return deleteNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/DeployConfigurationResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.DeployConfigurationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeployConfigurationResponseUnmarshaller {
public static DeployConfigurationResponse unmarshall(DeployConfigurationResponse deployConfigurationResponse, UnmarshallerContext _ctx) {
deployConfigurationResponse.setRequestId(_ctx.stringValue("DeployConfigurationResponse.RequestId"));
deployConfigurationResponse.setCode(_ctx.stringValue("DeployConfigurationResponse.Code"));
deployConfigurationResponse.setMessage(_ctx.stringValue("DeployConfigurationResponse.Message"));
return deployConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/DescribeConfigurationResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.DescribeConfigurationResponse;
import com.aliyuncs.acm.model.v20200206.DescribeConfigurationResponse.Configuration;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeConfigurationResponseUnmarshaller {
public static DescribeConfigurationResponse unmarshall(DescribeConfigurationResponse describeConfigurationResponse, UnmarshallerContext _ctx) {
describeConfigurationResponse.setRequestId(_ctx.stringValue("DescribeConfigurationResponse.RequestId"));
describeConfigurationResponse.setCode(_ctx.stringValue("DescribeConfigurationResponse.Code"));
describeConfigurationResponse.setMessage(_ctx.stringValue("DescribeConfigurationResponse.Message"));
Configuration configuration = new Configuration();
configuration.setAppName(_ctx.stringValue("DescribeConfigurationResponse.Configuration.AppName"));
configuration.setContent(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Content"));
configuration.setDataId(_ctx.stringValue("DescribeConfigurationResponse.Configuration.DataId"));
configuration.setDesc(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Desc"));
configuration.setGroup(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Group"));
configuration.setMd5(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Md5"));
configuration.setTags(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Tags"));
configuration.setType(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Type"));
describeConfigurationResponse.setConfiguration(configuration);
return describeConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/DescribeNamespaceResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.DescribeNamespaceResponse;
import com.aliyuncs.acm.model.v20200206.DescribeNamespaceResponse.Namespace;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeNamespaceResponseUnmarshaller {
public static DescribeNamespaceResponse unmarshall(DescribeNamespaceResponse describeNamespaceResponse, UnmarshallerContext _ctx) {
describeNamespaceResponse.setRequestId(_ctx.stringValue("DescribeNamespaceResponse.RequestId"));
describeNamespaceResponse.setCode(_ctx.stringValue("DescribeNamespaceResponse.Code"));
describeNamespaceResponse.setMessage(_ctx.stringValue("DescribeNamespaceResponse.Message"));
Namespace namespace = new Namespace();
namespace.setAccessKey(_ctx.stringValue("DescribeNamespaceResponse.Namespace.AccessKey"));
namespace.setEndpoint(_ctx.stringValue("DescribeNamespaceResponse.Namespace.Endpoint"));
namespace.setName(_ctx.stringValue("DescribeNamespaceResponse.Namespace.Name"));
namespace.setRegionId(_ctx.stringValue("DescribeNamespaceResponse.Namespace.RegionId"));
namespace.setSecretKey(_ctx.stringValue("DescribeNamespaceResponse.Namespace.SecretKey"));
describeNamespaceResponse.setNamespace(namespace);
return describeNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/DescribeNamespacesResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.acm.model.v20200206.DescribeNamespacesResponse;
import com.aliyuncs.acm.model.v20200206.DescribeNamespacesResponse.Namespace;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeNamespacesResponseUnmarshaller {
public static DescribeNamespacesResponse unmarshall(DescribeNamespacesResponse describeNamespacesResponse, UnmarshallerContext _ctx) {
describeNamespacesResponse.setRequestId(_ctx.stringValue("DescribeNamespacesResponse.RequestId"));
describeNamespacesResponse.setCode(_ctx.stringValue("DescribeNamespacesResponse.Code"));
describeNamespacesResponse.setMessage(_ctx.stringValue("DescribeNamespacesResponse.Message"));
List<Namespace> namespaces = new ArrayList<Namespace>();
for (int i = 0; i < _ctx.lengthValue("DescribeNamespacesResponse.Namespaces.Length"); i++) {
Namespace namespace = new Namespace();
namespace.setConfigCount(_ctx.integerValue("DescribeNamespacesResponse.Namespaces["+ i +"].ConfigCount"));
namespace.setNamespaceId(_ctx.stringValue("DescribeNamespacesResponse.Namespaces["+ i +"].NamespaceId"));
namespace.setNamespaceName(_ctx.stringValue("DescribeNamespacesResponse.Namespaces["+ i +"].NamespaceName"));
namespace.setQuota(_ctx.integerValue("DescribeNamespacesResponse.Namespaces["+ i +"].Quota"));
namespace.setType(_ctx.integerValue("DescribeNamespacesResponse.Namespaces["+ i +"].Type"));
namespaces.add(namespace);
}
describeNamespacesResponse.setNamespaces(namespaces);
return describeNamespacesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acm/1.0.1/com/aliyuncs/acm/transform/v20200206/UpdateNamespaceResponseUnmarshaller.java
|
/*
* 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.acm.transform.v20200206;
import com.aliyuncs.acm.model.v20200206.UpdateNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateNamespaceResponseUnmarshaller {
public static UpdateNamespaceResponse unmarshall(UpdateNamespaceResponse updateNamespaceResponse, UnmarshallerContext _ctx) {
updateNamespaceResponse.setRequestId(_ctx.stringValue("UpdateNamespaceResponse.RequestId"));
updateNamespaceResponse.setCode(_ctx.stringValue("UpdateNamespaceResponse.Code"));
updateNamespaceResponse.setMessage(_ctx.stringValue("UpdateNamespaceResponse.Message"));
return updateNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/Endpoint.java
|
/*
* 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.acms_open;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {
{
put("cn-shenzhen", "acm.cn-shenzhen.aliyuncs.com");
put("cn-beijing", "acm.cn-beijing.aliyuncs.com");
put("cn-shenzhen-finance-1", "acm.cn-shenzhen-finance-1.aliyuncs.com");
put("cn-north-2-gov-1", "acm.cn-north-2-gov-1.aliyuncs.com");
put("cn-qingdao", "acm.cn-qingdao.aliyuncs.com");
put("cn-shanghai", "acm.cn-shanghai.aliyuncs.com");
put("cn-shanghai-finance-1", "acm.cn-shanghai-finance-1.aliyuncs.com");
put("cn-hongkong", "acm.cn-hongkong.aliyuncs.com");
put("cn-hangzhou-finance", "acm.cn-hangzhou-finance.aliyuncs.com");
put("ap-southeast-1", "acm.ap-southeast-1.aliyuncs.com");
put("ap-southeast-2", "acm.ap-southeast-2.aliyuncs.com");
put("eu-central-1", "acm.eu-central-1.aliyuncs.com");
put("us-east-1", "acm.us-east-1.aliyuncs.com");
put("cn-zhangjiakou", "acm.cn-zhangjiakou.aliyuncs.com");
put("us-west-1", "acm.us-west-1.aliyuncs.com");
put("cn-hangzhou", "acm.cn-hangzhou.aliyuncs.com");
}
};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/CreateConfigurationRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateConfigurationRequest extends RoaAcsRequest<CreateConfigurationResponse> {
private String dataId;
private String appName;
private String namespaceId;
private String type;
private String content;
private String group;
private String desc;
private String tags;
public CreateConfigurationRequest() {
super("acms-open", "2020-02-06", "CreateConfiguration", "acms");
setUriPattern("/diamond-ops/pop/configuration");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDataId() {
return this.dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
if(dataId != null){
putBodyParameter("DataId", dataId);
}
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
if(appName != null){
putBodyParameter("AppName", appName);
}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putBodyParameter("NamespaceId", namespaceId);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putBodyParameter("Type", type);
}
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
if(content != null){
putBodyParameter("Content", content);
}
}
public String getGroup() {
return this.group;
}
public void setGroup(String group) {
this.group = group;
if(group != null){
putBodyParameter("Group", group);
}
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
if(desc != null){
putBodyParameter("Desc", desc);
}
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
if(tags != null){
putBodyParameter("Tags", tags);
}
}
@Override
public Class<CreateConfigurationResponse> getResponseClass() {
return CreateConfigurationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/CreateConfigurationResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.CreateConfigurationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateConfigurationResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public CreateConfigurationResponse getInstance(UnmarshallerContext context) {
return CreateConfigurationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/CreateNamespaceRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateNamespaceRequest extends RoaAcsRequest<CreateNamespaceResponse> {
private String name;
public CreateNamespaceRequest() {
super("acms-open", "2020-02-06", "CreateNamespace", "acms");
setUriPattern("/diamond-ops/pop/namespace");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putBodyParameter("Name", name);
}
}
@Override
public Class<CreateNamespaceResponse> getResponseClass() {
return CreateNamespaceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/CreateNamespaceResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.CreateNamespaceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateNamespaceResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String namespaceId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
}
@Override
public CreateNamespaceResponse getInstance(UnmarshallerContext context) {
return CreateNamespaceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DeleteConfigurationRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteConfigurationRequest extends RoaAcsRequest<DeleteConfigurationResponse> {
private String dataId;
private String namespaceId;
private String group;
public DeleteConfigurationRequest() {
super("acms-open", "2020-02-06", "DeleteConfiguration", "acms");
setUriPattern("/diamond-ops/pop/configuration");
setMethod(MethodType.DELETE);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDataId() {
return this.dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
if(dataId != null){
putQueryParameter("DataId", dataId);
}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putQueryParameter("NamespaceId", namespaceId);
}
}
public String getGroup() {
return this.group;
}
public void setGroup(String group) {
this.group = group;
if(group != null){
putQueryParameter("Group", group);
}
}
@Override
public Class<DeleteConfigurationResponse> getResponseClass() {
return DeleteConfigurationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DeleteConfigurationResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.DeleteConfigurationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteConfigurationResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public DeleteConfigurationResponse getInstance(UnmarshallerContext context) {
return DeleteConfigurationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DeleteNamespaceRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteNamespaceRequest extends RoaAcsRequest<DeleteNamespaceResponse> {
private String namespaceId;
public DeleteNamespaceRequest() {
super("acms-open", "2020-02-06", "DeleteNamespace", "acms");
setUriPattern("/diamond-ops/pop/namespace");
setMethod(MethodType.DELETE);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putQueryParameter("NamespaceId", namespaceId);
}
}
@Override
public Class<DeleteNamespaceResponse> getResponseClass() {
return DeleteNamespaceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DeleteNamespaceResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.DeleteNamespaceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteNamespaceResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public DeleteNamespaceResponse getInstance(UnmarshallerContext context) {
return DeleteNamespaceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DeployConfigurationRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class DeployConfigurationRequest extends RoaAcsRequest<DeployConfigurationResponse> {
private String dataId;
private String appName;
private String namespaceId;
private String type;
private String content;
private String group;
private String desc;
private String tags;
public DeployConfigurationRequest() {
super("acms-open", "2020-02-06", "DeployConfiguration", "acms");
setUriPattern("/diamond-ops/pop/configuration");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDataId() {
return this.dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
if(dataId != null){
putBodyParameter("DataId", dataId);
}
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
if(appName != null){
putBodyParameter("AppName", appName);
}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putBodyParameter("NamespaceId", namespaceId);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putBodyParameter("Type", type);
}
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
if(content != null){
putBodyParameter("Content", content);
}
}
public String getGroup() {
return this.group;
}
public void setGroup(String group) {
this.group = group;
if(group != null){
putBodyParameter("Group", group);
}
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
if(desc != null){
putBodyParameter("Desc", desc);
}
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
if(tags != null){
putBodyParameter("Tags", tags);
}
}
@Override
public Class<DeployConfigurationResponse> getResponseClass() {
return DeployConfigurationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DeployConfigurationResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.DeployConfigurationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeployConfigurationResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public DeployConfigurationResponse getInstance(UnmarshallerContext context) {
return DeployConfigurationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DescribeConfigurationRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeConfigurationRequest extends RoaAcsRequest<DescribeConfigurationResponse> {
private String dataId;
private String namespaceId;
private String group;
public DescribeConfigurationRequest() {
super("acms-open", "2020-02-06", "DescribeConfiguration", "acms");
setUriPattern("/diamond-ops/pop/configuration");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDataId() {
return this.dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
if(dataId != null){
putQueryParameter("DataId", dataId);
}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putQueryParameter("NamespaceId", namespaceId);
}
}
public String getGroup() {
return this.group;
}
public void setGroup(String group) {
this.group = group;
if(group != null){
putQueryParameter("Group", group);
}
}
@Override
public Class<DescribeConfigurationResponse> getResponseClass() {
return DescribeConfigurationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DescribeConfigurationResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.DescribeConfigurationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeConfigurationResponse extends AcsResponse {
private String requestId;
private String message;
private String code;
private Configuration configuration;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Configuration getConfiguration() {
return this.configuration;
}
public void setConfiguration(Configuration configuration) {
this.configuration = configuration;
}
public static class Configuration {
private String dataId;
private String group;
private String content;
private String md5;
private String appName;
private String desc;
private String tags;
public String getDataId() {
return this.dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
}
public String getGroup() {
return this.group;
}
public void setGroup(String group) {
this.group = group;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
}
}
@Override
public DescribeConfigurationResponse getInstance(UnmarshallerContext context) {
return DescribeConfigurationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DescribeNamespaceRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeNamespaceRequest extends RoaAcsRequest<DescribeNamespaceResponse> {
private String namespaceId;
public DescribeNamespaceRequest() {
super("acms-open", "2020-02-06", "DescribeNamespace", "acms");
setUriPattern("/diamond-ops/pop/namespace");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putQueryParameter("NamespaceId", namespaceId);
}
}
@Override
public Class<DescribeNamespaceResponse> getResponseClass() {
return DescribeNamespaceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/DescribeNamespaceResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.DescribeNamespaceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeNamespaceResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Namespace namespace;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Namespace getNamespace() {
return this.namespace;
}
public void setNamespace(Namespace namespace) {
this.namespace = namespace;
}
public static class Namespace {
private String regionId;
private String endpoint;
private String accessKey;
private String secretKey;
private String name;
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getEndpoint() {
return this.endpoint;
}
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
}
public String getSecretKey() {
return this.secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
@Override
public DescribeNamespaceResponse getInstance(UnmarshallerContext context) {
return DescribeNamespaceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/UpdateNamespaceRequest.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.acms_open.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateNamespaceRequest extends RoaAcsRequest<UpdateNamespaceResponse> {
private String namespaceName;
private String namespaceId;
public UpdateNamespaceRequest() {
super("acms-open", "2020-02-06", "UpdateNamespace", "acms");
setUriPattern("/diamond-ops/pop/namespace");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNamespaceName() {
return this.namespaceName;
}
public void setNamespaceName(String namespaceName) {
this.namespaceName = namespaceName;
if(namespaceName != null){
putBodyParameter("NamespaceName", namespaceName);
}
}
public String getNamespaceId() {
return this.namespaceId;
}
public void setNamespaceId(String namespaceId) {
this.namespaceId = namespaceId;
if(namespaceId != null){
putBodyParameter("NamespaceId", namespaceId);
}
}
@Override
public Class<UpdateNamespaceResponse> getResponseClass() {
return UpdateNamespaceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/model/v20200206/UpdateNamespaceResponse.java
|
/*
* 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.acms_open.model.v20200206;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.acms_open.transform.v20200206.UpdateNamespaceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateNamespaceResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public UpdateNamespaceResponse getInstance(UnmarshallerContext context) {
return UpdateNamespaceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/CreateConfigurationResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.CreateConfigurationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateConfigurationResponseUnmarshaller {
public static CreateConfigurationResponse unmarshall(CreateConfigurationResponse createConfigurationResponse, UnmarshallerContext _ctx) {
createConfigurationResponse.setRequestId(_ctx.stringValue("CreateConfigurationResponse.RequestId"));
createConfigurationResponse.setCode(_ctx.stringValue("CreateConfigurationResponse.Code"));
createConfigurationResponse.setMessage(_ctx.stringValue("CreateConfigurationResponse.Message"));
return createConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/CreateNamespaceResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.CreateNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateNamespaceResponseUnmarshaller {
public static CreateNamespaceResponse unmarshall(CreateNamespaceResponse createNamespaceResponse, UnmarshallerContext _ctx) {
createNamespaceResponse.setRequestId(_ctx.stringValue("CreateNamespaceResponse.RequestId"));
createNamespaceResponse.setCode(_ctx.stringValue("CreateNamespaceResponse.Code"));
createNamespaceResponse.setMessage(_ctx.stringValue("CreateNamespaceResponse.Message"));
createNamespaceResponse.setNamespaceId(_ctx.stringValue("CreateNamespaceResponse.NamespaceId"));
return createNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/DeleteConfigurationResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.DeleteConfigurationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteConfigurationResponseUnmarshaller {
public static DeleteConfigurationResponse unmarshall(DeleteConfigurationResponse deleteConfigurationResponse, UnmarshallerContext _ctx) {
deleteConfigurationResponse.setRequestId(_ctx.stringValue("DeleteConfigurationResponse.RequestId"));
deleteConfigurationResponse.setCode(_ctx.stringValue("DeleteConfigurationResponse.Code"));
deleteConfigurationResponse.setMessage(_ctx.stringValue("DeleteConfigurationResponse.Message"));
return deleteConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/DeleteNamespaceResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.DeleteNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteNamespaceResponseUnmarshaller {
public static DeleteNamespaceResponse unmarshall(DeleteNamespaceResponse deleteNamespaceResponse, UnmarshallerContext _ctx) {
deleteNamespaceResponse.setRequestId(_ctx.stringValue("DeleteNamespaceResponse.RequestId"));
deleteNamespaceResponse.setCode(_ctx.stringValue("DeleteNamespaceResponse.Code"));
deleteNamespaceResponse.setMessage(_ctx.stringValue("DeleteNamespaceResponse.Message"));
return deleteNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/DeployConfigurationResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.DeployConfigurationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeployConfigurationResponseUnmarshaller {
public static DeployConfigurationResponse unmarshall(DeployConfigurationResponse deployConfigurationResponse, UnmarshallerContext _ctx) {
deployConfigurationResponse.setRequestId(_ctx.stringValue("DeployConfigurationResponse.RequestId"));
deployConfigurationResponse.setCode(_ctx.stringValue("DeployConfigurationResponse.Code"));
deployConfigurationResponse.setMessage(_ctx.stringValue("DeployConfigurationResponse.Message"));
return deployConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/DescribeConfigurationResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.DescribeConfigurationResponse;
import com.aliyuncs.acms_open.model.v20200206.DescribeConfigurationResponse.Configuration;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeConfigurationResponseUnmarshaller {
public static DescribeConfigurationResponse unmarshall(DescribeConfigurationResponse describeConfigurationResponse, UnmarshallerContext _ctx) {
describeConfigurationResponse.setRequestId(_ctx.stringValue("DescribeConfigurationResponse.RequestId"));
describeConfigurationResponse.setMessage(_ctx.stringValue("DescribeConfigurationResponse.Message"));
describeConfigurationResponse.setCode(_ctx.stringValue("DescribeConfigurationResponse.Code"));
Configuration configuration = new Configuration();
configuration.setDataId(_ctx.stringValue("DescribeConfigurationResponse.Configuration.DataId"));
configuration.setGroup(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Group"));
configuration.setContent(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Content"));
configuration.setMd5(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Md5"));
configuration.setAppName(_ctx.stringValue("DescribeConfigurationResponse.Configuration.AppName"));
configuration.setDesc(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Desc"));
configuration.setTags(_ctx.stringValue("DescribeConfigurationResponse.Configuration.Tags"));
describeConfigurationResponse.setConfiguration(configuration);
return describeConfigurationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/DescribeNamespaceResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.DescribeNamespaceResponse;
import com.aliyuncs.acms_open.model.v20200206.DescribeNamespaceResponse.Namespace;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeNamespaceResponseUnmarshaller {
public static DescribeNamespaceResponse unmarshall(DescribeNamespaceResponse describeNamespaceResponse, UnmarshallerContext _ctx) {
describeNamespaceResponse.setRequestId(_ctx.stringValue("DescribeNamespaceResponse.RequestId"));
describeNamespaceResponse.setCode(_ctx.stringValue("DescribeNamespaceResponse.Code"));
describeNamespaceResponse.setMessage(_ctx.stringValue("DescribeNamespaceResponse.Message"));
Namespace namespace = new Namespace();
namespace.setRegionId(_ctx.stringValue("DescribeNamespaceResponse.Namespace.RegionId"));
namespace.setEndpoint(_ctx.stringValue("DescribeNamespaceResponse.Namespace.Endpoint"));
namespace.setAccessKey(_ctx.stringValue("DescribeNamespaceResponse.Namespace.AccessKey"));
namespace.setSecretKey(_ctx.stringValue("DescribeNamespaceResponse.Namespace.SecretKey"));
namespace.setName(_ctx.stringValue("DescribeNamespaceResponse.Namespace.Name"));
describeNamespaceResponse.setNamespace(namespace);
return describeNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform
|
java-sources/com/aliyun/aliyun-java-sdk-acms-open/1.0.1/com/aliyuncs/acms_open/transform/v20200206/UpdateNamespaceResponseUnmarshaller.java
|
/*
* 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.acms_open.transform.v20200206;
import com.aliyuncs.acms_open.model.v20200206.UpdateNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateNamespaceResponseUnmarshaller {
public static UpdateNamespaceResponse unmarshall(UpdateNamespaceResponse updateNamespaceResponse, UnmarshallerContext _ctx) {
updateNamespaceResponse.setRequestId(_ctx.stringValue("UpdateNamespaceResponse.RequestId"));
updateNamespaceResponse.setCode(_ctx.stringValue("UpdateNamespaceResponse.Code"));
updateNamespaceResponse.setMessage(_ctx.stringValue("UpdateNamespaceResponse.Message"));
return updateNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/Endpoint.java
|
/*
* 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.actiontrail;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {
{
put("cn-shanghai-internal-test-1", "actiontrail.aliyuncs.com");
put("cn-beijing-gov-1", "actiontrail.aliyuncs.com");
put("cn-shenzhen-su18-b01", "actiontrail.aliyuncs.com");
put("cn-shanghai-inner", "actiontrail.aliyuncs.com");
put("cn-shenzhen-st4-d01", "actiontrail.aliyuncs.com");
put("cn-haidian-cm12-c01", "actiontrail.aliyuncs.com");
put("cn-hangzhou-internal-prod-1", "actiontrail.aliyuncs.com");
put("cn-yushanfang", "actiontrail.aliyuncs.com");
put("cn-hongkong-finance-pop", "actiontrail.aliyuncs.com");
put("cn-qingdao-nebula", "actiontrail.aliyuncs.com");
put("cn-beijing-finance-pop", "actiontrail.aliyuncs.com");
put("cn-wuhan", "actiontrail.aliyuncs.com");
put("cn-zhengzhou-nebula-1", "actiontrail.aliyuncs.com");
put("rus-west-1-pop", "actiontrail.ap-northeast-1.aliyuncs.com");
put("cn-shanghai-et15-b01", "actiontrail.aliyuncs.com");
put("cn-hangzhou-bj-b01", "actiontrail.aliyuncs.com");
put("cn-hangzhou-internal-test-1", "actiontrail.aliyuncs.com");
put("eu-west-1-oxs", "actiontrail.ap-northeast-1.aliyuncs.com");
put("cn-zhangbei-na61-b01", "actiontrail.aliyuncs.com");
put("cn-beijing-finance-1", "actiontrail.aliyuncs.com");
put("cn-hangzhou-internal-test-3", "actiontrail.aliyuncs.com");
put("cn-hangzhou-internal-test-2", "actiontrail.aliyuncs.com");
put("cn-shenzhen-finance-1", "actiontrail.aliyuncs.com");
put("cn-hangzhou-test-306", "actiontrail.aliyuncs.com");
put("cn-shanghai-et2-b01", "actiontrail.aliyuncs.com");
put("cn-hangzhou-finance", "actiontrail.aliyuncs.com");
put("cn-beijing-nu16-b01", "actiontrail.aliyuncs.com");
put("cn-edge-1", "actiontrail.aliyuncs.com");
put("cn-fujian", "actiontrail.aliyuncs.com");
put("ap-northeast-2-pop", "actiontrail.ap-northeast-1.aliyuncs.com");
put("cn-shenzhen-inner", "actiontrail.aliyuncs.com");
put("cn-zhangjiakou-na62-a01", "actiontrail.aliyuncs.com");
}
};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/CreateDeliveryHistoryJobRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateDeliveryHistoryJobRequest extends RpcAcsRequest<CreateDeliveryHistoryJobResponse> {
private String clientToken;
private String trailName;
public CreateDeliveryHistoryJobRequest() {
super("Actiontrail", "2020-07-06", "CreateDeliveryHistoryJob");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getTrailName() {
return this.trailName;
}
public void setTrailName(String trailName) {
this.trailName = trailName;
if(trailName != null){
putQueryParameter("TrailName", trailName);
}
}
@Override
public Class<CreateDeliveryHistoryJobResponse> getResponseClass() {
return CreateDeliveryHistoryJobResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/CreateDeliveryHistoryJobResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.CreateDeliveryHistoryJobResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateDeliveryHistoryJobResponse extends AcsResponse {
private String requestId;
private Integer jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getJobId() {
return this.jobId;
}
public void setJobId(Integer jobId) {
this.jobId = jobId;
}
@Override
public CreateDeliveryHistoryJobResponse getInstance(UnmarshallerContext context) {
return CreateDeliveryHistoryJobResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/CreateTrailRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateTrailRequest extends RpcAcsRequest<CreateTrailResponse> {
private String slsProjectArn;
private String slsWriteRoleArn;
private Boolean isOrganizationTrail;
private String ossKeyPrefix;
private String ossWriteRoleArn;
private String eventRW;
private String name;
private String ossBucketName;
private String trailRegion;
public CreateTrailRequest() {
super("Actiontrail", "2020-07-06", "CreateTrail");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getSlsProjectArn() {
return this.slsProjectArn;
}
public void setSlsProjectArn(String slsProjectArn) {
this.slsProjectArn = slsProjectArn;
if(slsProjectArn != null){
putQueryParameter("SlsProjectArn", slsProjectArn);
}
}
public String getSlsWriteRoleArn() {
return this.slsWriteRoleArn;
}
public void setSlsWriteRoleArn(String slsWriteRoleArn) {
this.slsWriteRoleArn = slsWriteRoleArn;
if(slsWriteRoleArn != null){
putQueryParameter("SlsWriteRoleArn", slsWriteRoleArn);
}
}
public Boolean getIsOrganizationTrail() {
return this.isOrganizationTrail;
}
public void setIsOrganizationTrail(Boolean isOrganizationTrail) {
this.isOrganizationTrail = isOrganizationTrail;
if(isOrganizationTrail != null){
putQueryParameter("IsOrganizationTrail", isOrganizationTrail.toString());
}
}
public String getOssKeyPrefix() {
return this.ossKeyPrefix;
}
public void setOssKeyPrefix(String ossKeyPrefix) {
this.ossKeyPrefix = ossKeyPrefix;
if(ossKeyPrefix != null){
putQueryParameter("OssKeyPrefix", ossKeyPrefix);
}
}
public String getOssWriteRoleArn() {
return this.ossWriteRoleArn;
}
public void setOssWriteRoleArn(String ossWriteRoleArn) {
this.ossWriteRoleArn = ossWriteRoleArn;
if(ossWriteRoleArn != null){
putQueryParameter("OssWriteRoleArn", ossWriteRoleArn);
}
}
public String getEventRW() {
return this.eventRW;
}
public void setEventRW(String eventRW) {
this.eventRW = eventRW;
if(eventRW != null){
putQueryParameter("EventRW", eventRW);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getOssBucketName() {
return this.ossBucketName;
}
public void setOssBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
if(ossBucketName != null){
putQueryParameter("OssBucketName", ossBucketName);
}
}
public String getTrailRegion() {
return this.trailRegion;
}
public void setTrailRegion(String trailRegion) {
this.trailRegion = trailRegion;
if(trailRegion != null){
putQueryParameter("TrailRegion", trailRegion);
}
}
@Override
public Class<CreateTrailResponse> getResponseClass() {
return CreateTrailResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/CreateTrailResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.CreateTrailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateTrailResponse extends AcsResponse {
private String slsProjectArn;
private String ossWriteRoleArn;
private String eventRW;
private String requestId;
private String homeRegion;
private String ossKeyPrefix;
private String ossBucketName;
private String slsWriteRoleArn;
private String trailRegion;
private String name;
public String getSlsProjectArn() {
return this.slsProjectArn;
}
public void setSlsProjectArn(String slsProjectArn) {
this.slsProjectArn = slsProjectArn;
}
public String getOssWriteRoleArn() {
return this.ossWriteRoleArn;
}
public void setOssWriteRoleArn(String ossWriteRoleArn) {
this.ossWriteRoleArn = ossWriteRoleArn;
}
public String getEventRW() {
return this.eventRW;
}
public void setEventRW(String eventRW) {
this.eventRW = eventRW;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getHomeRegion() {
return this.homeRegion;
}
public void setHomeRegion(String homeRegion) {
this.homeRegion = homeRegion;
}
public String getOssKeyPrefix() {
return this.ossKeyPrefix;
}
public void setOssKeyPrefix(String ossKeyPrefix) {
this.ossKeyPrefix = ossKeyPrefix;
}
public String getOssBucketName() {
return this.ossBucketName;
}
public void setOssBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
}
public String getSlsWriteRoleArn() {
return this.slsWriteRoleArn;
}
public void setSlsWriteRoleArn(String slsWriteRoleArn) {
this.slsWriteRoleArn = slsWriteRoleArn;
}
public String getTrailRegion() {
return this.trailRegion;
}
public void setTrailRegion(String trailRegion) {
this.trailRegion = trailRegion;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
@Override
public CreateTrailResponse getInstance(UnmarshallerContext context) {
return CreateTrailResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DeleteDeliveryHistoryJobRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteDeliveryHistoryJobRequest extends RpcAcsRequest<DeleteDeliveryHistoryJobResponse> {
private Integer jobId;
public DeleteDeliveryHistoryJobRequest() {
super("Actiontrail", "2020-07-06", "DeleteDeliveryHistoryJob");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Integer getJobId() {
return this.jobId;
}
public void setJobId(Integer jobId) {
this.jobId = jobId;
if(jobId != null){
putQueryParameter("JobId", jobId.toString());
}
}
@Override
public Class<DeleteDeliveryHistoryJobResponse> getResponseClass() {
return DeleteDeliveryHistoryJobResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DeleteDeliveryHistoryJobResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.DeleteDeliveryHistoryJobResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteDeliveryHistoryJobResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteDeliveryHistoryJobResponse getInstance(UnmarshallerContext context) {
return DeleteDeliveryHistoryJobResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DeleteTrailRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteTrailRequest extends RpcAcsRequest<DeleteTrailResponse> {
private String name;
public DeleteTrailRequest() {
super("Actiontrail", "2020-07-06", "DeleteTrail");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<DeleteTrailResponse> getResponseClass() {
return DeleteTrailResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DeleteTrailResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.DeleteTrailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteTrailResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteTrailResponse getInstance(UnmarshallerContext context) {
return DeleteTrailResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DescribeRegionsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeRegionsRequest extends RpcAcsRequest<DescribeRegionsResponse> {
private String acceptLanguage;
public DescribeRegionsRequest() {
super("Actiontrail", "2020-07-06", "DescribeRegions");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAcceptLanguage() {
return this.acceptLanguage;
}
public void setAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
if(acceptLanguage != null){
putQueryParameter("AcceptLanguage", acceptLanguage);
}
}
@Override
public Class<DescribeRegionsResponse> getResponseClass() {
return DescribeRegionsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DescribeRegionsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.DescribeRegionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeRegionsResponse extends AcsResponse {
private String requestId;
private List<Region> regions;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Region> getRegions() {
return this.regions;
}
public void setRegions(List<Region> regions) {
this.regions = regions;
}
public static class Region {
private String regionId;
private String regionEndpoint;
private String localName;
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getRegionEndpoint() {
return this.regionEndpoint;
}
public void setRegionEndpoint(String regionEndpoint) {
this.regionEndpoint = regionEndpoint;
}
public String getLocalName() {
return this.localName;
}
public void setLocalName(String localName) {
this.localName = localName;
}
}
@Override
public DescribeRegionsResponse getInstance(UnmarshallerContext context) {
return DescribeRegionsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DescribeTrailsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeTrailsRequest extends RpcAcsRequest<DescribeTrailsResponse> {
private Boolean includeOrganizationTrail;
private Boolean includeShadowTrails;
private String nameList;
public DescribeTrailsRequest() {
super("Actiontrail", "2020-07-06", "DescribeTrails");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getIncludeOrganizationTrail() {
return this.includeOrganizationTrail;
}
public void setIncludeOrganizationTrail(Boolean includeOrganizationTrail) {
this.includeOrganizationTrail = includeOrganizationTrail;
if(includeOrganizationTrail != null){
putQueryParameter("IncludeOrganizationTrail", includeOrganizationTrail.toString());
}
}
public Boolean getIncludeShadowTrails() {
return this.includeShadowTrails;
}
public void setIncludeShadowTrails(Boolean includeShadowTrails) {
this.includeShadowTrails = includeShadowTrails;
if(includeShadowTrails != null){
putQueryParameter("IncludeShadowTrails", includeShadowTrails.toString());
}
}
public String getNameList() {
return this.nameList;
}
public void setNameList(String nameList) {
this.nameList = nameList;
if(nameList != null){
putQueryParameter("NameList", nameList);
}
}
@Override
public Class<DescribeTrailsResponse> getResponseClass() {
return DescribeTrailsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/DescribeTrailsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.DescribeTrailsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTrailsResponse extends AcsResponse {
private String requestId;
private List<Trail> trailList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Trail> getTrailList() {
return this.trailList;
}
public void setTrailList(List<Trail> trailList) {
this.trailList = trailList;
}
public static class Trail {
private String trailRegion;
private String status;
private String updateTime;
private String homeRegion;
private String createTime;
private String ossKeyPrefix;
private String eventRW;
private String startLoggingTime;
private String ossWriteRoleArn;
private String slsProjectArn;
private Boolean isOrganizationTrail;
private String slsWriteRoleArn;
private String stopLoggingTime;
private String name;
private String ossBucketName;
private String region;
private String organizationId;
private String ossBucketLocation;
private Long isShadowTrail;
private String trailArn;
public String getTrailRegion() {
return this.trailRegion;
}
public void setTrailRegion(String trailRegion) {
this.trailRegion = trailRegion;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public String getHomeRegion() {
return this.homeRegion;
}
public void setHomeRegion(String homeRegion) {
this.homeRegion = homeRegion;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getOssKeyPrefix() {
return this.ossKeyPrefix;
}
public void setOssKeyPrefix(String ossKeyPrefix) {
this.ossKeyPrefix = ossKeyPrefix;
}
public String getEventRW() {
return this.eventRW;
}
public void setEventRW(String eventRW) {
this.eventRW = eventRW;
}
public String getStartLoggingTime() {
return this.startLoggingTime;
}
public void setStartLoggingTime(String startLoggingTime) {
this.startLoggingTime = startLoggingTime;
}
public String getOssWriteRoleArn() {
return this.ossWriteRoleArn;
}
public void setOssWriteRoleArn(String ossWriteRoleArn) {
this.ossWriteRoleArn = ossWriteRoleArn;
}
public String getSlsProjectArn() {
return this.slsProjectArn;
}
public void setSlsProjectArn(String slsProjectArn) {
this.slsProjectArn = slsProjectArn;
}
public Boolean getIsOrganizationTrail() {
return this.isOrganizationTrail;
}
public void setIsOrganizationTrail(Boolean isOrganizationTrail) {
this.isOrganizationTrail = isOrganizationTrail;
}
public String getSlsWriteRoleArn() {
return this.slsWriteRoleArn;
}
public void setSlsWriteRoleArn(String slsWriteRoleArn) {
this.slsWriteRoleArn = slsWriteRoleArn;
}
public String getStopLoggingTime() {
return this.stopLoggingTime;
}
public void setStopLoggingTime(String stopLoggingTime) {
this.stopLoggingTime = stopLoggingTime;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getOssBucketName() {
return this.ossBucketName;
}
public void setOssBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
public String getOssBucketLocation() {
return this.ossBucketLocation;
}
public void setOssBucketLocation(String ossBucketLocation) {
this.ossBucketLocation = ossBucketLocation;
}
public Long getIsShadowTrail() {
return this.isShadowTrail;
}
public void setIsShadowTrail(Long isShadowTrail) {
this.isShadowTrail = isShadowTrail;
}
public String getTrailArn() {
return this.trailArn;
}
public void setTrailArn(String trailArn) {
this.trailArn = trailArn;
}
}
@Override
public DescribeTrailsResponse getInstance(UnmarshallerContext context) {
return DescribeTrailsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedEventsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedEventsRequest extends RpcAcsRequest<GetAccessKeyLastUsedEventsResponse> {
private String accessKey;
private String nextToken;
private String pageSize;
private String serviceName;
public GetAccessKeyLastUsedEventsRequest() {
super("Actiontrail", "2020-07-06", "GetAccessKeyLastUsedEvents");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getPageSize() {
return this.pageSize;
}
public void setPageSize(String pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize);
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
@Override
public Class<GetAccessKeyLastUsedEventsResponse> getResponseClass() {
return GetAccessKeyLastUsedEventsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedEventsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetAccessKeyLastUsedEventsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedEventsResponse extends AcsResponse {
private String requestId;
private String nextToken;
private List<EventsItem> events;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public List<EventsItem> getEvents() {
return this.events;
}
public void setEvents(List<EventsItem> events) {
this.events = events;
}
public static class EventsItem {
private Long usedTimestamp;
private String detail;
private String eventName;
private String source;
public Long getUsedTimestamp() {
return this.usedTimestamp;
}
public void setUsedTimestamp(Long usedTimestamp) {
this.usedTimestamp = usedTimestamp;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getEventName() {
return this.eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
}
@Override
public GetAccessKeyLastUsedEventsResponse getInstance(UnmarshallerContext context) {
return GetAccessKeyLastUsedEventsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedInfoRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedInfoRequest extends RpcAcsRequest<GetAccessKeyLastUsedInfoResponse> {
private String accessKey;
public GetAccessKeyLastUsedInfoRequest() {
super("Actiontrail", "2020-07-06", "GetAccessKeyLastUsedInfo");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
@Override
public Class<GetAccessKeyLastUsedInfoResponse> getResponseClass() {
return GetAccessKeyLastUsedInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedInfoResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetAccessKeyLastUsedInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedInfoResponse extends AcsResponse {
private String requestId;
private String accessKeyId;
private String accountId;
private String ownerId;
private String userName;
private String accountType;
private Long usedTimestamp;
private String detail;
private String source;
private String serviceName;
private String serviceNameCn;
private String serviceNameEn;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public void setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getOwnerId() {
return this.ownerId;
}
public void setOwnerId(String ownerId) {
this.ownerId = ownerId;
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getAccountType() {
return this.accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public Long getUsedTimestamp() {
return this.usedTimestamp;
}
public void setUsedTimestamp(Long usedTimestamp) {
this.usedTimestamp = usedTimestamp;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getServiceNameCn() {
return this.serviceNameCn;
}
public void setServiceNameCn(String serviceNameCn) {
this.serviceNameCn = serviceNameCn;
}
public String getServiceNameEn() {
return this.serviceNameEn;
}
public void setServiceNameEn(String serviceNameEn) {
this.serviceNameEn = serviceNameEn;
}
@Override
public GetAccessKeyLastUsedInfoResponse getInstance(UnmarshallerContext context) {
return GetAccessKeyLastUsedInfoResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedIpsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedIpsRequest extends RpcAcsRequest<GetAccessKeyLastUsedIpsResponse> {
private String accessKey;
private String nextToken;
private String pageSize;
private String serviceName;
public GetAccessKeyLastUsedIpsRequest() {
super("Actiontrail", "2020-07-06", "GetAccessKeyLastUsedIps");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getPageSize() {
return this.pageSize;
}
public void setPageSize(String pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize);
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
@Override
public Class<GetAccessKeyLastUsedIpsResponse> getResponseClass() {
return GetAccessKeyLastUsedIpsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedIpsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetAccessKeyLastUsedIpsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedIpsResponse extends AcsResponse {
private String requestId;
private String nextToken;
private List<IpsItem> ips;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public List<IpsItem> getIps() {
return this.ips;
}
public void setIps(List<IpsItem> ips) {
this.ips = ips;
}
public static class IpsItem {
private Long usedTimestamp;
private String detail;
private String source;
private String ip;
public Long getUsedTimestamp() {
return this.usedTimestamp;
}
public void setUsedTimestamp(Long usedTimestamp) {
this.usedTimestamp = usedTimestamp;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
}
@Override
public GetAccessKeyLastUsedIpsResponse getInstance(UnmarshallerContext context) {
return GetAccessKeyLastUsedIpsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedProductsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedProductsRequest extends RpcAcsRequest<GetAccessKeyLastUsedProductsResponse> {
private String accessKey;
public GetAccessKeyLastUsedProductsRequest() {
super("Actiontrail", "2020-07-06", "GetAccessKeyLastUsedProducts");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
@Override
public Class<GetAccessKeyLastUsedProductsResponse> getResponseClass() {
return GetAccessKeyLastUsedProductsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedProductsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetAccessKeyLastUsedProductsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedProductsResponse extends AcsResponse {
private String requestId;
private List<ProductsItem> products;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<ProductsItem> getProducts() {
return this.products;
}
public void setProducts(List<ProductsItem> products) {
this.products = products;
}
public static class ProductsItem {
private Long usedTimestamp;
private String detail;
private String source;
private String serviceName;
private String serviceNameCn;
private String serviceNameEn;
public Long getUsedTimestamp() {
return this.usedTimestamp;
}
public void setUsedTimestamp(Long usedTimestamp) {
this.usedTimestamp = usedTimestamp;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getServiceNameCn() {
return this.serviceNameCn;
}
public void setServiceNameCn(String serviceNameCn) {
this.serviceNameCn = serviceNameCn;
}
public String getServiceNameEn() {
return this.serviceNameEn;
}
public void setServiceNameEn(String serviceNameEn) {
this.serviceNameEn = serviceNameEn;
}
}
@Override
public GetAccessKeyLastUsedProductsResponse getInstance(UnmarshallerContext context) {
return GetAccessKeyLastUsedProductsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedResourcesRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedResourcesRequest extends RpcAcsRequest<GetAccessKeyLastUsedResourcesResponse> {
private String accessKey;
private String nextToken;
private String pageSize;
private String serviceName;
public GetAccessKeyLastUsedResourcesRequest() {
super("Actiontrail", "2020-07-06", "GetAccessKeyLastUsedResources");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getPageSize() {
return this.pageSize;
}
public void setPageSize(String pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize);
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
@Override
public Class<GetAccessKeyLastUsedResourcesResponse> getResponseClass() {
return GetAccessKeyLastUsedResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetAccessKeyLastUsedResourcesResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetAccessKeyLastUsedResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetAccessKeyLastUsedResourcesResponse extends AcsResponse {
private String requestId;
private String nextToken;
private List<ResourcesItem> resources;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public List<ResourcesItem> getResources() {
return this.resources;
}
public void setResources(List<ResourcesItem> resources) {
this.resources = resources;
}
public static class ResourcesItem {
private Long usedTimestamp;
private String detail;
private String resourceName;
private String resourceType;
private String source;
public Long getUsedTimestamp() {
return this.usedTimestamp;
}
public void setUsedTimestamp(Long usedTimestamp) {
this.usedTimestamp = usedTimestamp;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getResourceName() {
return this.resourceName;
}
public void setResourceName(String resourceName) {
this.resourceName = resourceName;
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
}
@Override
public GetAccessKeyLastUsedResourcesResponse getInstance(UnmarshallerContext context) {
return GetAccessKeyLastUsedResourcesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetDeliveryHistoryJobRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetDeliveryHistoryJobRequest extends RpcAcsRequest<GetDeliveryHistoryJobResponse> {
private Long jobId;
public GetDeliveryHistoryJobRequest() {
super("Actiontrail", "2020-07-06", "GetDeliveryHistoryJob");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getJobId() {
return this.jobId;
}
public void setJobId(Long jobId) {
this.jobId = jobId;
if(jobId != null){
putQueryParameter("JobId", jobId.toString());
}
}
@Override
public Class<GetDeliveryHistoryJobResponse> getResponseClass() {
return GetDeliveryHistoryJobResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetDeliveryHistoryJobResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetDeliveryHistoryJobResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetDeliveryHistoryJobResponse extends AcsResponse {
private Integer jobStatus;
private String createdTime;
private String endTime;
private String requestId;
private String startTime;
private String trailName;
private String updatedTime;
private Long jobId;
private String homeRegion;
private List<StatusItem> status;
public Integer getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(Integer jobStatus) {
this.jobStatus = jobStatus;
}
public String getCreatedTime() {
return this.createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getTrailName() {
return this.trailName;
}
public void setTrailName(String trailName) {
this.trailName = trailName;
}
public String getUpdatedTime() {
return this.updatedTime;
}
public void setUpdatedTime(String updatedTime) {
this.updatedTime = updatedTime;
}
public Long getJobId() {
return this.jobId;
}
public void setJobId(Long jobId) {
this.jobId = jobId;
}
public String getHomeRegion() {
return this.homeRegion;
}
public void setHomeRegion(String homeRegion) {
this.homeRegion = homeRegion;
}
public List<StatusItem> getStatus() {
return this.status;
}
public void setStatus(List<StatusItem> status) {
this.status = status;
}
public static class StatusItem {
private Integer status;
private String region;
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
}
@Override
public GetDeliveryHistoryJobResponse getInstance(UnmarshallerContext context) {
return GetDeliveryHistoryJobResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetTrailStatusRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class GetTrailStatusRequest extends RpcAcsRequest<GetTrailStatusResponse> {
private String name;
private Boolean isOrganizationTrail;
public GetTrailStatusRequest() {
super("Actiontrail", "2020-07-06", "GetTrailStatus");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public Boolean getIsOrganizationTrail() {
return this.isOrganizationTrail;
}
public void setIsOrganizationTrail(Boolean isOrganizationTrail) {
this.isOrganizationTrail = isOrganizationTrail;
if(isOrganizationTrail != null){
putQueryParameter("IsOrganizationTrail", isOrganizationTrail.toString());
}
}
@Override
public Class<GetTrailStatusResponse> getResponseClass() {
return GetTrailStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/GetTrailStatusResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.GetTrailStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetTrailStatusResponse extends AcsResponse {
private String requestId;
private String startLoggingTime;
private String latestDeliveryError;
private String stopLoggingTime;
private Boolean isLogging;
private String latestDeliveryTime;
private String latestDeliveryLogServiceError;
private String latestDeliveryLogServiceTime;
private Boolean ossBucketStatus;
private Boolean slsLogStoreStatus;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getStartLoggingTime() {
return this.startLoggingTime;
}
public void setStartLoggingTime(String startLoggingTime) {
this.startLoggingTime = startLoggingTime;
}
public String getLatestDeliveryError() {
return this.latestDeliveryError;
}
public void setLatestDeliveryError(String latestDeliveryError) {
this.latestDeliveryError = latestDeliveryError;
}
public String getStopLoggingTime() {
return this.stopLoggingTime;
}
public void setStopLoggingTime(String stopLoggingTime) {
this.stopLoggingTime = stopLoggingTime;
}
public Boolean getIsLogging() {
return this.isLogging;
}
public void setIsLogging(Boolean isLogging) {
this.isLogging = isLogging;
}
public String getLatestDeliveryTime() {
return this.latestDeliveryTime;
}
public void setLatestDeliveryTime(String latestDeliveryTime) {
this.latestDeliveryTime = latestDeliveryTime;
}
public String getLatestDeliveryLogServiceError() {
return this.latestDeliveryLogServiceError;
}
public void setLatestDeliveryLogServiceError(String latestDeliveryLogServiceError) {
this.latestDeliveryLogServiceError = latestDeliveryLogServiceError;
}
public String getLatestDeliveryLogServiceTime() {
return this.latestDeliveryLogServiceTime;
}
public void setLatestDeliveryLogServiceTime(String latestDeliveryLogServiceTime) {
this.latestDeliveryLogServiceTime = latestDeliveryLogServiceTime;
}
public Boolean getOssBucketStatus() {
return this.ossBucketStatus;
}
public void setOssBucketStatus(Boolean ossBucketStatus) {
this.ossBucketStatus = ossBucketStatus;
}
public Boolean getSlsLogStoreStatus() {
return this.slsLogStoreStatus;
}
public void setSlsLogStoreStatus(Boolean slsLogStoreStatus) {
this.slsLogStoreStatus = slsLogStoreStatus;
}
@Override
public GetTrailStatusResponse getInstance(UnmarshallerContext context) {
return GetTrailStatusResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/ListDeliveryHistoryJobsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class ListDeliveryHistoryJobsRequest extends RpcAcsRequest<ListDeliveryHistoryJobsResponse> {
private Integer pageNumber;
private Integer pageSize;
public ListDeliveryHistoryJobsRequest() {
super("Actiontrail", "2020-07-06", "ListDeliveryHistoryJobs");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<ListDeliveryHistoryJobsResponse> getResponseClass() {
return ListDeliveryHistoryJobsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/ListDeliveryHistoryJobsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.ListDeliveryHistoryJobsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListDeliveryHistoryJobsResponse extends AcsResponse {
private Integer totalCount;
private Integer pageSize;
private String requestId;
private Integer pageNumber;
private List<DeliveryHistoryJob> deliveryHistoryJobs;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public List<DeliveryHistoryJob> getDeliveryHistoryJobs() {
return this.deliveryHistoryJobs;
}
public void setDeliveryHistoryJobs(List<DeliveryHistoryJob> deliveryHistoryJobs) {
this.deliveryHistoryJobs = deliveryHistoryJobs;
}
public static class DeliveryHistoryJob {
private String trailName;
private String endTime;
private String startTime;
private Integer jobStatus;
private String homeRegion;
private String updatedTime;
private Long jobId;
private String createdTime;
public String getTrailName() {
return this.trailName;
}
public void setTrailName(String trailName) {
this.trailName = trailName;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public Integer getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(Integer jobStatus) {
this.jobStatus = jobStatus;
}
public String getHomeRegion() {
return this.homeRegion;
}
public void setHomeRegion(String homeRegion) {
this.homeRegion = homeRegion;
}
public String getUpdatedTime() {
return this.updatedTime;
}
public void setUpdatedTime(String updatedTime) {
this.updatedTime = updatedTime;
}
public Long getJobId() {
return this.jobId;
}
public void setJobId(Long jobId) {
this.jobId = jobId;
}
public String getCreatedTime() {
return this.createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
}
@Override
public ListDeliveryHistoryJobsResponse getInstance(UnmarshallerContext context) {
return ListDeliveryHistoryJobsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/LookupEventsRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class LookupEventsRequest extends RpcAcsRequest<LookupEventsResponse> {
private String endTime;
private String startTime;
private String nextToken;
private List<LookupAttribute> lookupAttributes;
private String maxResults;
private String direction;
public LookupEventsRequest() {
super("Actiontrail", "2020-07-06", "LookupEvents");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<LookupAttribute> getLookupAttributes() {
return this.lookupAttributes;
}
public void setLookupAttributes(List<LookupAttribute> lookupAttributes) {
this.lookupAttributes = lookupAttributes;
if (lookupAttributes != null) {
for (int depth1 = 0; depth1 < lookupAttributes.size(); depth1++) {
putQueryParameter("LookupAttribute." + (depth1 + 1) + ".Value" , lookupAttributes.get(depth1).getValue());
putQueryParameter("LookupAttribute." + (depth1 + 1) + ".Key" , lookupAttributes.get(depth1).getKey());
}
}
}
public String getMaxResults() {
return this.maxResults;
}
public void setMaxResults(String maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults);
}
}
public String getDirection() {
return this.direction;
}
public void setDirection(String direction) {
this.direction = direction;
if(direction != null){
putQueryParameter("Direction", direction);
}
}
public static class LookupAttribute {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<LookupEventsResponse> getResponseClass() {
return LookupEventsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/LookupEventsResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.LookupEventsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class LookupEventsResponse extends AcsResponse {
private String endTime;
private String nextToken;
private String requestId;
private String startTime;
private List<Map<Object,Object>> events;
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public List<Map<Object,Object>> getEvents() {
return this.events;
}
public void setEvents(List<Map<Object,Object>> events) {
this.events = events;
}
@Override
public LookupEventsResponse getInstance(UnmarshallerContext context) {
return LookupEventsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/StartLoggingRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class StartLoggingRequest extends RpcAcsRequest<StartLoggingResponse> {
private String name;
public StartLoggingRequest() {
super("Actiontrail", "2020-07-06", "StartLogging");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<StartLoggingResponse> getResponseClass() {
return StartLoggingResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/StartLoggingResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.StartLoggingResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartLoggingResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public StartLoggingResponse getInstance(UnmarshallerContext context) {
return StartLoggingResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/StopLoggingRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class StopLoggingRequest extends RpcAcsRequest<StopLoggingResponse> {
private String name;
public StopLoggingRequest() {
super("Actiontrail", "2020-07-06", "StopLogging");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<StopLoggingResponse> getResponseClass() {
return StopLoggingResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/StopLoggingResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.StopLoggingResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopLoggingResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public StopLoggingResponse getInstance(UnmarshallerContext context) {
return StopLoggingResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/UpdateTrailRequest.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.actiontrail.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateTrailRequest extends RpcAcsRequest<UpdateTrailResponse> {
private String slsProjectArn;
private String slsWriteRoleArn;
private String ossKeyPrefix;
private String ossWriteRoleArn;
private String eventRW;
private String name;
private String ossBucketName;
private String trailRegion;
public UpdateTrailRequest() {
super("Actiontrail", "2020-07-06", "UpdateTrail");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getSlsProjectArn() {
return this.slsProjectArn;
}
public void setSlsProjectArn(String slsProjectArn) {
this.slsProjectArn = slsProjectArn;
if(slsProjectArn != null){
putQueryParameter("SlsProjectArn", slsProjectArn);
}
}
public String getSlsWriteRoleArn() {
return this.slsWriteRoleArn;
}
public void setSlsWriteRoleArn(String slsWriteRoleArn) {
this.slsWriteRoleArn = slsWriteRoleArn;
if(slsWriteRoleArn != null){
putQueryParameter("SlsWriteRoleArn", slsWriteRoleArn);
}
}
public String getOssKeyPrefix() {
return this.ossKeyPrefix;
}
public void setOssKeyPrefix(String ossKeyPrefix) {
this.ossKeyPrefix = ossKeyPrefix;
if(ossKeyPrefix != null){
putQueryParameter("OssKeyPrefix", ossKeyPrefix);
}
}
public String getOssWriteRoleArn() {
return this.ossWriteRoleArn;
}
public void setOssWriteRoleArn(String ossWriteRoleArn) {
this.ossWriteRoleArn = ossWriteRoleArn;
if(ossWriteRoleArn != null){
putQueryParameter("OssWriteRoleArn", ossWriteRoleArn);
}
}
public String getEventRW() {
return this.eventRW;
}
public void setEventRW(String eventRW) {
this.eventRW = eventRW;
if(eventRW != null){
putQueryParameter("EventRW", eventRW);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getOssBucketName() {
return this.ossBucketName;
}
public void setOssBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
if(ossBucketName != null){
putQueryParameter("OssBucketName", ossBucketName);
}
}
public String getTrailRegion() {
return this.trailRegion;
}
public void setTrailRegion(String trailRegion) {
this.trailRegion = trailRegion;
if(trailRegion != null){
putQueryParameter("TrailRegion", trailRegion);
}
}
@Override
public Class<UpdateTrailResponse> getResponseClass() {
return UpdateTrailResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/model/v20200706/UpdateTrailResponse.java
|
/*
* 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.actiontrail.model.v20200706;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.actiontrail.transform.v20200706.UpdateTrailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateTrailResponse extends AcsResponse {
private String slsProjectArn;
private String ossWriteRoleArn;
private String eventRW;
private String requestId;
private String homeRegion;
private String ossKeyPrefix;
private String ossBucketName;
private String slsWriteRoleArn;
private String trailRegion;
private String name;
public String getSlsProjectArn() {
return this.slsProjectArn;
}
public void setSlsProjectArn(String slsProjectArn) {
this.slsProjectArn = slsProjectArn;
}
public String getOssWriteRoleArn() {
return this.ossWriteRoleArn;
}
public void setOssWriteRoleArn(String ossWriteRoleArn) {
this.ossWriteRoleArn = ossWriteRoleArn;
}
public String getEventRW() {
return this.eventRW;
}
public void setEventRW(String eventRW) {
this.eventRW = eventRW;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getHomeRegion() {
return this.homeRegion;
}
public void setHomeRegion(String homeRegion) {
this.homeRegion = homeRegion;
}
public String getOssKeyPrefix() {
return this.ossKeyPrefix;
}
public void setOssKeyPrefix(String ossKeyPrefix) {
this.ossKeyPrefix = ossKeyPrefix;
}
public String getOssBucketName() {
return this.ossBucketName;
}
public void setOssBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
}
public String getSlsWriteRoleArn() {
return this.slsWriteRoleArn;
}
public void setSlsWriteRoleArn(String slsWriteRoleArn) {
this.slsWriteRoleArn = slsWriteRoleArn;
}
public String getTrailRegion() {
return this.trailRegion;
}
public void setTrailRegion(String trailRegion) {
this.trailRegion = trailRegion;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
@Override
public UpdateTrailResponse getInstance(UnmarshallerContext context) {
return UpdateTrailResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/CreateDeliveryHistoryJobResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.CreateDeliveryHistoryJobResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateDeliveryHistoryJobResponseUnmarshaller {
public static CreateDeliveryHistoryJobResponse unmarshall(CreateDeliveryHistoryJobResponse createDeliveryHistoryJobResponse, UnmarshallerContext _ctx) {
createDeliveryHistoryJobResponse.setRequestId(_ctx.stringValue("CreateDeliveryHistoryJobResponse.RequestId"));
createDeliveryHistoryJobResponse.setJobId(_ctx.integerValue("CreateDeliveryHistoryJobResponse.JobId"));
return createDeliveryHistoryJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/CreateTrailResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.CreateTrailResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTrailResponseUnmarshaller {
public static CreateTrailResponse unmarshall(CreateTrailResponse createTrailResponse, UnmarshallerContext _ctx) {
createTrailResponse.setRequestId(_ctx.stringValue("CreateTrailResponse.RequestId"));
createTrailResponse.setSlsProjectArn(_ctx.stringValue("CreateTrailResponse.SlsProjectArn"));
createTrailResponse.setOssWriteRoleArn(_ctx.stringValue("CreateTrailResponse.OssWriteRoleArn"));
createTrailResponse.setEventRW(_ctx.stringValue("CreateTrailResponse.EventRW"));
createTrailResponse.setHomeRegion(_ctx.stringValue("CreateTrailResponse.HomeRegion"));
createTrailResponse.setOssKeyPrefix(_ctx.stringValue("CreateTrailResponse.OssKeyPrefix"));
createTrailResponse.setOssBucketName(_ctx.stringValue("CreateTrailResponse.OssBucketName"));
createTrailResponse.setSlsWriteRoleArn(_ctx.stringValue("CreateTrailResponse.SlsWriteRoleArn"));
createTrailResponse.setTrailRegion(_ctx.stringValue("CreateTrailResponse.TrailRegion"));
createTrailResponse.setName(_ctx.stringValue("CreateTrailResponse.Name"));
return createTrailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/DeleteDeliveryHistoryJobResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.DeleteDeliveryHistoryJobResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDeliveryHistoryJobResponseUnmarshaller {
public static DeleteDeliveryHistoryJobResponse unmarshall(DeleteDeliveryHistoryJobResponse deleteDeliveryHistoryJobResponse, UnmarshallerContext _ctx) {
deleteDeliveryHistoryJobResponse.setRequestId(_ctx.stringValue("DeleteDeliveryHistoryJobResponse.RequestId"));
return deleteDeliveryHistoryJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/DeleteTrailResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.DeleteTrailResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteTrailResponseUnmarshaller {
public static DeleteTrailResponse unmarshall(DeleteTrailResponse deleteTrailResponse, UnmarshallerContext _ctx) {
deleteTrailResponse.setRequestId(_ctx.stringValue("DeleteTrailResponse.RequestId"));
return deleteTrailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/DescribeRegionsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.DescribeRegionsResponse;
import com.aliyuncs.actiontrail.model.v20200706.DescribeRegionsResponse.Region;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRegionsResponseUnmarshaller {
public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) {
describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId"));
List<Region> regions = new ArrayList<Region>();
for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) {
Region region = new Region();
region.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId"));
region.setRegionEndpoint(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionEndpoint"));
region.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName"));
regions.add(region);
}
describeRegionsResponse.setRegions(regions);
return describeRegionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/DescribeTrailsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.DescribeTrailsResponse;
import com.aliyuncs.actiontrail.model.v20200706.DescribeTrailsResponse.Trail;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTrailsResponseUnmarshaller {
public static DescribeTrailsResponse unmarshall(DescribeTrailsResponse describeTrailsResponse, UnmarshallerContext _ctx) {
describeTrailsResponse.setRequestId(_ctx.stringValue("DescribeTrailsResponse.RequestId"));
List<Trail> trailList = new ArrayList<Trail>();
for (int i = 0; i < _ctx.lengthValue("DescribeTrailsResponse.TrailList.Length"); i++) {
Trail trail = new Trail();
trail.setTrailRegion(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].TrailRegion"));
trail.setStatus(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].Status"));
trail.setUpdateTime(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].UpdateTime"));
trail.setHomeRegion(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].HomeRegion"));
trail.setCreateTime(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].CreateTime"));
trail.setOssKeyPrefix(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].OssKeyPrefix"));
trail.setEventRW(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].EventRW"));
trail.setStartLoggingTime(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].StartLoggingTime"));
trail.setOssWriteRoleArn(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].OssWriteRoleArn"));
trail.setSlsProjectArn(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].SlsProjectArn"));
trail.setIsOrganizationTrail(_ctx.booleanValue("DescribeTrailsResponse.TrailList["+ i +"].IsOrganizationTrail"));
trail.setSlsWriteRoleArn(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].SlsWriteRoleArn"));
trail.setStopLoggingTime(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].StopLoggingTime"));
trail.setName(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].Name"));
trail.setOssBucketName(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].OssBucketName"));
trail.setRegion(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].Region"));
trail.setOrganizationId(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].OrganizationId"));
trail.setOssBucketLocation(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].OssBucketLocation"));
trail.setIsShadowTrail(_ctx.longValue("DescribeTrailsResponse.TrailList["+ i +"].IsShadowTrail"));
trail.setTrailArn(_ctx.stringValue("DescribeTrailsResponse.TrailList["+ i +"].TrailArn"));
trailList.add(trail);
}
describeTrailsResponse.setTrailList(trailList);
return describeTrailsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetAccessKeyLastUsedEventsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedEventsResponse;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedEventsResponse.EventsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAccessKeyLastUsedEventsResponseUnmarshaller {
public static GetAccessKeyLastUsedEventsResponse unmarshall(GetAccessKeyLastUsedEventsResponse getAccessKeyLastUsedEventsResponse, UnmarshallerContext _ctx) {
getAccessKeyLastUsedEventsResponse.setRequestId(_ctx.stringValue("GetAccessKeyLastUsedEventsResponse.RequestId"));
getAccessKeyLastUsedEventsResponse.setNextToken(_ctx.stringValue("GetAccessKeyLastUsedEventsResponse.NextToken"));
List<EventsItem> events = new ArrayList<EventsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAccessKeyLastUsedEventsResponse.Events.Length"); i++) {
EventsItem eventsItem = new EventsItem();
eventsItem.setUsedTimestamp(_ctx.longValue("GetAccessKeyLastUsedEventsResponse.Events["+ i +"].UsedTimestamp"));
eventsItem.setDetail(_ctx.stringValue("GetAccessKeyLastUsedEventsResponse.Events["+ i +"].Detail"));
eventsItem.setEventName(_ctx.stringValue("GetAccessKeyLastUsedEventsResponse.Events["+ i +"].EventName"));
eventsItem.setSource(_ctx.stringValue("GetAccessKeyLastUsedEventsResponse.Events["+ i +"].Source"));
events.add(eventsItem);
}
getAccessKeyLastUsedEventsResponse.setEvents(events);
return getAccessKeyLastUsedEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetAccessKeyLastUsedInfoResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAccessKeyLastUsedInfoResponseUnmarshaller {
public static GetAccessKeyLastUsedInfoResponse unmarshall(GetAccessKeyLastUsedInfoResponse getAccessKeyLastUsedInfoResponse, UnmarshallerContext _ctx) {
getAccessKeyLastUsedInfoResponse.setRequestId(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.RequestId"));
getAccessKeyLastUsedInfoResponse.setAccessKeyId(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.AccessKeyId"));
getAccessKeyLastUsedInfoResponse.setAccountId(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.AccountId"));
getAccessKeyLastUsedInfoResponse.setOwnerId(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.OwnerId"));
getAccessKeyLastUsedInfoResponse.setUserName(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.UserName"));
getAccessKeyLastUsedInfoResponse.setAccountType(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.AccountType"));
getAccessKeyLastUsedInfoResponse.setUsedTimestamp(_ctx.longValue("GetAccessKeyLastUsedInfoResponse.UsedTimestamp"));
getAccessKeyLastUsedInfoResponse.setDetail(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.Detail"));
getAccessKeyLastUsedInfoResponse.setSource(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.Source"));
getAccessKeyLastUsedInfoResponse.setServiceName(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.ServiceName"));
getAccessKeyLastUsedInfoResponse.setServiceNameCn(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.ServiceNameCn"));
getAccessKeyLastUsedInfoResponse.setServiceNameEn(_ctx.stringValue("GetAccessKeyLastUsedInfoResponse.ServiceNameEn"));
return getAccessKeyLastUsedInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetAccessKeyLastUsedIpsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedIpsResponse;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedIpsResponse.IpsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAccessKeyLastUsedIpsResponseUnmarshaller {
public static GetAccessKeyLastUsedIpsResponse unmarshall(GetAccessKeyLastUsedIpsResponse getAccessKeyLastUsedIpsResponse, UnmarshallerContext _ctx) {
getAccessKeyLastUsedIpsResponse.setRequestId(_ctx.stringValue("GetAccessKeyLastUsedIpsResponse.RequestId"));
getAccessKeyLastUsedIpsResponse.setNextToken(_ctx.stringValue("GetAccessKeyLastUsedIpsResponse.NextToken"));
List<IpsItem> ips = new ArrayList<IpsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAccessKeyLastUsedIpsResponse.Ips.Length"); i++) {
IpsItem ipsItem = new IpsItem();
ipsItem.setUsedTimestamp(_ctx.longValue("GetAccessKeyLastUsedIpsResponse.Ips["+ i +"].UsedTimestamp"));
ipsItem.setDetail(_ctx.stringValue("GetAccessKeyLastUsedIpsResponse.Ips["+ i +"].Detail"));
ipsItem.setSource(_ctx.stringValue("GetAccessKeyLastUsedIpsResponse.Ips["+ i +"].Source"));
ipsItem.setIp(_ctx.stringValue("GetAccessKeyLastUsedIpsResponse.Ips["+ i +"].Ip"));
ips.add(ipsItem);
}
getAccessKeyLastUsedIpsResponse.setIps(ips);
return getAccessKeyLastUsedIpsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetAccessKeyLastUsedProductsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedProductsResponse;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedProductsResponse.ProductsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAccessKeyLastUsedProductsResponseUnmarshaller {
public static GetAccessKeyLastUsedProductsResponse unmarshall(GetAccessKeyLastUsedProductsResponse getAccessKeyLastUsedProductsResponse, UnmarshallerContext _ctx) {
getAccessKeyLastUsedProductsResponse.setRequestId(_ctx.stringValue("GetAccessKeyLastUsedProductsResponse.RequestId"));
List<ProductsItem> products = new ArrayList<ProductsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAccessKeyLastUsedProductsResponse.Products.Length"); i++) {
ProductsItem productsItem = new ProductsItem();
productsItem.setUsedTimestamp(_ctx.longValue("GetAccessKeyLastUsedProductsResponse.Products["+ i +"].UsedTimestamp"));
productsItem.setDetail(_ctx.stringValue("GetAccessKeyLastUsedProductsResponse.Products["+ i +"].Detail"));
productsItem.setSource(_ctx.stringValue("GetAccessKeyLastUsedProductsResponse.Products["+ i +"].Source"));
productsItem.setServiceName(_ctx.stringValue("GetAccessKeyLastUsedProductsResponse.Products["+ i +"].ServiceName"));
productsItem.setServiceNameCn(_ctx.stringValue("GetAccessKeyLastUsedProductsResponse.Products["+ i +"].ServiceNameCn"));
productsItem.setServiceNameEn(_ctx.stringValue("GetAccessKeyLastUsedProductsResponse.Products["+ i +"].ServiceNameEn"));
products.add(productsItem);
}
getAccessKeyLastUsedProductsResponse.setProducts(products);
return getAccessKeyLastUsedProductsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetAccessKeyLastUsedResourcesResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedResourcesResponse;
import com.aliyuncs.actiontrail.model.v20200706.GetAccessKeyLastUsedResourcesResponse.ResourcesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAccessKeyLastUsedResourcesResponseUnmarshaller {
public static GetAccessKeyLastUsedResourcesResponse unmarshall(GetAccessKeyLastUsedResourcesResponse getAccessKeyLastUsedResourcesResponse, UnmarshallerContext _ctx) {
getAccessKeyLastUsedResourcesResponse.setRequestId(_ctx.stringValue("GetAccessKeyLastUsedResourcesResponse.RequestId"));
getAccessKeyLastUsedResourcesResponse.setNextToken(_ctx.stringValue("GetAccessKeyLastUsedResourcesResponse.NextToken"));
List<ResourcesItem> resources = new ArrayList<ResourcesItem>();
for (int i = 0; i < _ctx.lengthValue("GetAccessKeyLastUsedResourcesResponse.Resources.Length"); i++) {
ResourcesItem resourcesItem = new ResourcesItem();
resourcesItem.setUsedTimestamp(_ctx.longValue("GetAccessKeyLastUsedResourcesResponse.Resources["+ i +"].UsedTimestamp"));
resourcesItem.setDetail(_ctx.stringValue("GetAccessKeyLastUsedResourcesResponse.Resources["+ i +"].Detail"));
resourcesItem.setResourceName(_ctx.stringValue("GetAccessKeyLastUsedResourcesResponse.Resources["+ i +"].ResourceName"));
resourcesItem.setResourceType(_ctx.stringValue("GetAccessKeyLastUsedResourcesResponse.Resources["+ i +"].ResourceType"));
resourcesItem.setSource(_ctx.stringValue("GetAccessKeyLastUsedResourcesResponse.Resources["+ i +"].Source"));
resources.add(resourcesItem);
}
getAccessKeyLastUsedResourcesResponse.setResources(resources);
return getAccessKeyLastUsedResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetDeliveryHistoryJobResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.GetDeliveryHistoryJobResponse;
import com.aliyuncs.actiontrail.model.v20200706.GetDeliveryHistoryJobResponse.StatusItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetDeliveryHistoryJobResponseUnmarshaller {
public static GetDeliveryHistoryJobResponse unmarshall(GetDeliveryHistoryJobResponse getDeliveryHistoryJobResponse, UnmarshallerContext _ctx) {
getDeliveryHistoryJobResponse.setRequestId(_ctx.stringValue("GetDeliveryHistoryJobResponse.RequestId"));
getDeliveryHistoryJobResponse.setJobStatus(_ctx.integerValue("GetDeliveryHistoryJobResponse.JobStatus"));
getDeliveryHistoryJobResponse.setCreatedTime(_ctx.stringValue("GetDeliveryHistoryJobResponse.CreatedTime"));
getDeliveryHistoryJobResponse.setEndTime(_ctx.stringValue("GetDeliveryHistoryJobResponse.EndTime"));
getDeliveryHistoryJobResponse.setStartTime(_ctx.stringValue("GetDeliveryHistoryJobResponse.StartTime"));
getDeliveryHistoryJobResponse.setTrailName(_ctx.stringValue("GetDeliveryHistoryJobResponse.TrailName"));
getDeliveryHistoryJobResponse.setUpdatedTime(_ctx.stringValue("GetDeliveryHistoryJobResponse.UpdatedTime"));
getDeliveryHistoryJobResponse.setJobId(_ctx.longValue("GetDeliveryHistoryJobResponse.JobId"));
getDeliveryHistoryJobResponse.setHomeRegion(_ctx.stringValue("GetDeliveryHistoryJobResponse.HomeRegion"));
List<StatusItem> status = new ArrayList<StatusItem>();
for (int i = 0; i < _ctx.lengthValue("GetDeliveryHistoryJobResponse.Status.Length"); i++) {
StatusItem statusItem = new StatusItem();
statusItem.setStatus(_ctx.integerValue("GetDeliveryHistoryJobResponse.Status["+ i +"].Status"));
statusItem.setRegion(_ctx.stringValue("GetDeliveryHistoryJobResponse.Status["+ i +"].Region"));
status.add(statusItem);
}
getDeliveryHistoryJobResponse.setStatus(status);
return getDeliveryHistoryJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/GetTrailStatusResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.GetTrailStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetTrailStatusResponseUnmarshaller {
public static GetTrailStatusResponse unmarshall(GetTrailStatusResponse getTrailStatusResponse, UnmarshallerContext _ctx) {
getTrailStatusResponse.setRequestId(_ctx.stringValue("GetTrailStatusResponse.RequestId"));
getTrailStatusResponse.setStartLoggingTime(_ctx.stringValue("GetTrailStatusResponse.StartLoggingTime"));
getTrailStatusResponse.setLatestDeliveryError(_ctx.stringValue("GetTrailStatusResponse.LatestDeliveryError"));
getTrailStatusResponse.setStopLoggingTime(_ctx.stringValue("GetTrailStatusResponse.StopLoggingTime"));
getTrailStatusResponse.setIsLogging(_ctx.booleanValue("GetTrailStatusResponse.IsLogging"));
getTrailStatusResponse.setLatestDeliveryTime(_ctx.stringValue("GetTrailStatusResponse.LatestDeliveryTime"));
getTrailStatusResponse.setLatestDeliveryLogServiceError(_ctx.stringValue("GetTrailStatusResponse.LatestDeliveryLogServiceError"));
getTrailStatusResponse.setLatestDeliveryLogServiceTime(_ctx.stringValue("GetTrailStatusResponse.LatestDeliveryLogServiceTime"));
getTrailStatusResponse.setOssBucketStatus(_ctx.booleanValue("GetTrailStatusResponse.OssBucketStatus"));
getTrailStatusResponse.setSlsLogStoreStatus(_ctx.booleanValue("GetTrailStatusResponse.SlsLogStoreStatus"));
return getTrailStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/ListDeliveryHistoryJobsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.ListDeliveryHistoryJobsResponse;
import com.aliyuncs.actiontrail.model.v20200706.ListDeliveryHistoryJobsResponse.DeliveryHistoryJob;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDeliveryHistoryJobsResponseUnmarshaller {
public static ListDeliveryHistoryJobsResponse unmarshall(ListDeliveryHistoryJobsResponse listDeliveryHistoryJobsResponse, UnmarshallerContext _ctx) {
listDeliveryHistoryJobsResponse.setRequestId(_ctx.stringValue("ListDeliveryHistoryJobsResponse.RequestId"));
listDeliveryHistoryJobsResponse.setTotalCount(_ctx.integerValue("ListDeliveryHistoryJobsResponse.TotalCount"));
listDeliveryHistoryJobsResponse.setPageSize(_ctx.integerValue("ListDeliveryHistoryJobsResponse.PageSize"));
listDeliveryHistoryJobsResponse.setPageNumber(_ctx.integerValue("ListDeliveryHistoryJobsResponse.PageNumber"));
List<DeliveryHistoryJob> deliveryHistoryJobs = new ArrayList<DeliveryHistoryJob>();
for (int i = 0; i < _ctx.lengthValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs.Length"); i++) {
DeliveryHistoryJob deliveryHistoryJob = new DeliveryHistoryJob();
deliveryHistoryJob.setTrailName(_ctx.stringValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].TrailName"));
deliveryHistoryJob.setEndTime(_ctx.stringValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].EndTime"));
deliveryHistoryJob.setStartTime(_ctx.stringValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].StartTime"));
deliveryHistoryJob.setJobStatus(_ctx.integerValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].JobStatus"));
deliveryHistoryJob.setHomeRegion(_ctx.stringValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].HomeRegion"));
deliveryHistoryJob.setUpdatedTime(_ctx.stringValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].UpdatedTime"));
deliveryHistoryJob.setJobId(_ctx.longValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].JobId"));
deliveryHistoryJob.setCreatedTime(_ctx.stringValue("ListDeliveryHistoryJobsResponse.DeliveryHistoryJobs["+ i +"].CreatedTime"));
deliveryHistoryJobs.add(deliveryHistoryJob);
}
listDeliveryHistoryJobsResponse.setDeliveryHistoryJobs(deliveryHistoryJobs);
return listDeliveryHistoryJobsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/LookupEventsResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.actiontrail.model.v20200706.LookupEventsResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class LookupEventsResponseUnmarshaller {
public static LookupEventsResponse unmarshall(LookupEventsResponse lookupEventsResponse, UnmarshallerContext _ctx) {
lookupEventsResponse.setRequestId(_ctx.stringValue("LookupEventsResponse.RequestId"));
lookupEventsResponse.setEndTime(_ctx.stringValue("LookupEventsResponse.EndTime"));
lookupEventsResponse.setNextToken(_ctx.stringValue("LookupEventsResponse.NextToken"));
lookupEventsResponse.setStartTime(_ctx.stringValue("LookupEventsResponse.StartTime"));
List<Map<Object, Object>> events = _ctx.listMapValue("LookupEventsResponse.Events");
lookupEventsResponse.setEvents(events);
return lookupEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/StartLoggingResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.StartLoggingResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class StartLoggingResponseUnmarshaller {
public static StartLoggingResponse unmarshall(StartLoggingResponse startLoggingResponse, UnmarshallerContext _ctx) {
startLoggingResponse.setRequestId(_ctx.stringValue("StartLoggingResponse.RequestId"));
return startLoggingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/StopLoggingResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.StopLoggingResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class StopLoggingResponseUnmarshaller {
public static StopLoggingResponse unmarshall(StopLoggingResponse stopLoggingResponse, UnmarshallerContext _ctx) {
stopLoggingResponse.setRequestId(_ctx.stringValue("StopLoggingResponse.RequestId"));
return stopLoggingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform
|
java-sources/com/aliyun/aliyun-java-sdk-actiontrail/1.2.0/com/aliyuncs/actiontrail/transform/v20200706/UpdateTrailResponseUnmarshaller.java
|
/*
* 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.actiontrail.transform.v20200706;
import com.aliyuncs.actiontrail.model.v20200706.UpdateTrailResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateTrailResponseUnmarshaller {
public static UpdateTrailResponse unmarshall(UpdateTrailResponse updateTrailResponse, UnmarshallerContext _ctx) {
updateTrailResponse.setRequestId(_ctx.stringValue("UpdateTrailResponse.RequestId"));
updateTrailResponse.setSlsProjectArn(_ctx.stringValue("UpdateTrailResponse.SlsProjectArn"));
updateTrailResponse.setOssWriteRoleArn(_ctx.stringValue("UpdateTrailResponse.OssWriteRoleArn"));
updateTrailResponse.setEventRW(_ctx.stringValue("UpdateTrailResponse.EventRW"));
updateTrailResponse.setHomeRegion(_ctx.stringValue("UpdateTrailResponse.HomeRegion"));
updateTrailResponse.setOssKeyPrefix(_ctx.stringValue("UpdateTrailResponse.OssKeyPrefix"));
updateTrailResponse.setOssBucketName(_ctx.stringValue("UpdateTrailResponse.OssBucketName"));
updateTrailResponse.setSlsWriteRoleArn(_ctx.stringValue("UpdateTrailResponse.SlsWriteRoleArn"));
updateTrailResponse.setTrailRegion(_ctx.stringValue("UpdateTrailResponse.TrailRegion"));
updateTrailResponse.setName(_ctx.stringValue("UpdateTrailResponse.Name"));
return updateTrailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/Endpoint.java
|
/*
* 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.adb;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {
{
put("cn-shanghai-internal-test-1", "adb.aliyuncs.com");
put("cn-beijing-gov-1", "adb.aliyuncs.com");
put("cn-shenzhen-su18-b01", "adb.aliyuncs.com");
put("cn-beijing", "adb.aliyuncs.com");
put("cn-shanghai-inner", "adb.aliyuncs.com");
put("cn-shenzhen-st4-d01", "adb.aliyuncs.com");
put("cn-haidian-cm12-c01", "adb.aliyuncs.com");
put("cn-hangzhou-internal-prod-1", "adb.aliyuncs.com");
put("cn-north-2-gov-1", "adb.aliyuncs.com");
put("cn-yushanfang", "adb.aliyuncs.com");
put("cn-qingdao", "adb.aliyuncs.com");
put("cn-hongkong-finance-pop", "adb.aliyuncs.com");
put("cn-qingdao-nebula", "adb.aliyuncs.com");
put("cn-shanghai", "adb.aliyuncs.com");
put("cn-shanghai-finance-1", "adb.aliyuncs.com");
put("cn-hongkong", "adb.aliyuncs.com");
put("cn-beijing-finance-pop", "adb.aliyuncs.com");
put("cn-wuhan", "adb.aliyuncs.com");
put("us-west-1", "adb.aliyuncs.com");
put("cn-shenzhen", "adb.aliyuncs.com");
put("cn-zhengzhou-nebula-1", "adb.aliyuncs.com");
put("rus-west-1-pop", "adb.ap-northeast-1.aliyuncs.com");
put("cn-shanghai-et15-b01", "adb.aliyuncs.com");
put("cn-hangzhou-bj-b01", "adb.aliyuncs.com");
put("cn-hangzhou-internal-test-1", "adb.aliyuncs.com");
put("eu-west-1-oxs", "adb.ap-northeast-1.aliyuncs.com");
put("cn-zhangbei-na61-b01", "adb.aliyuncs.com");
put("cn-beijing-finance-1", "adb.aliyuncs.com");
put("cn-hangzhou-internal-test-3", "adb.aliyuncs.com");
put("cn-hangzhou-internal-test-2", "adb.aliyuncs.com");
put("cn-shenzhen-finance-1", "adb.aliyuncs.com");
put("me-east-1", "adb.ap-northeast-1.aliyuncs.com");
put("cn-hangzhou-test-306", "adb.aliyuncs.com");
put("cn-shanghai-et2-b01", "adb.aliyuncs.com");
put("cn-hangzhou-finance", "adb.aliyuncs.com");
put("ap-southeast-1", "adb.aliyuncs.com");
put("cn-beijing-nu16-b01", "adb.aliyuncs.com");
put("cn-edge-1", "adb.aliyuncs.com");
put("us-east-1", "adb.aliyuncs.com");
put("cn-fujian", "adb.aliyuncs.com");
put("ap-northeast-2-pop", "adb.ap-northeast-1.aliyuncs.com");
put("cn-shenzhen-inner", "adb.aliyuncs.com");
put("cn-zhangjiakou-na62-a01", "adb.aliyuncs.com");
put("cn-hangzhou", "adb.aliyuncs.com");
}
};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/AllocateClusterPublicConnectionRequest.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.adb.Endpoint;
/**
* @author auto create
* @version
*/
public class AllocateClusterPublicConnectionRequest extends RpcAcsRequest<AllocateClusterPublicConnectionResponse> {
private Long resourceOwnerId;
private String connectionStringPrefix;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public AllocateClusterPublicConnectionRequest() {
super("adb", "2019-03-15", "AllocateClusterPublicConnection", "ads");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getConnectionStringPrefix() {
return this.connectionStringPrefix;
}
public void setConnectionStringPrefix(String connectionStringPrefix) {
this.connectionStringPrefix = connectionStringPrefix;
if(connectionStringPrefix != null){
putQueryParameter("ConnectionStringPrefix", connectionStringPrefix);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<AllocateClusterPublicConnectionResponse> getResponseClass() {
return AllocateClusterPublicConnectionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/AllocateClusterPublicConnectionResponse.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.adb.transform.v20190315.AllocateClusterPublicConnectionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AllocateClusterPublicConnectionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public AllocateClusterPublicConnectionResponse getInstance(UnmarshallerContext context) {
return AllocateClusterPublicConnectionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/ApplyAdviceByIdRequest.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.adb.Endpoint;
/**
* @author auto create
* @version
*/
public class ApplyAdviceByIdRequest extends RpcAcsRequest<ApplyAdviceByIdResponse> {
private String adviceId;
private String dBClusterId;
private Long adviceDate;
public ApplyAdviceByIdRequest() {
super("adb", "2019-03-15", "ApplyAdviceById", "ads");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAdviceId() {
return this.adviceId;
}
public void setAdviceId(String adviceId) {
this.adviceId = adviceId;
if(adviceId != null){
putQueryParameter("AdviceId", adviceId);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public Long getAdviceDate() {
return this.adviceDate;
}
public void setAdviceDate(Long adviceDate) {
this.adviceDate = adviceDate;
if(adviceDate != null){
putQueryParameter("AdviceDate", adviceDate.toString());
}
}
@Override
public Class<ApplyAdviceByIdResponse> getResponseClass() {
return ApplyAdviceByIdResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/ApplyAdviceByIdResponse.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.adb.transform.v20190315.ApplyAdviceByIdResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ApplyAdviceByIdResponse extends AcsResponse {
private String message;
private String requestId;
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ApplyAdviceByIdResponse getInstance(UnmarshallerContext context) {
return ApplyAdviceByIdResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/AttachUserENIRequest.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.adb.Endpoint;
/**
* @author auto create
* @version
*/
public class AttachUserENIRequest extends RpcAcsRequest<AttachUserENIResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public AttachUserENIRequest() {
super("adb", "2019-03-15", "AttachUserENI", "ads");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<AttachUserENIResponse> getResponseClass() {
return AttachUserENIResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/AttachUserENIResponse.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.adb.transform.v20190315.AttachUserENIResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AttachUserENIResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public AttachUserENIResponse getInstance(UnmarshallerContext context) {
return AttachUserENIResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/BatchApplyAdviceByIdListRequest.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.adb.Endpoint;
/**
* @author auto create
* @version
*/
public class BatchApplyAdviceByIdListRequest extends RpcAcsRequest<BatchApplyAdviceByIdListResponse> {
private String dBClusterId;
private String adviceIdList;
private Long adviceDate;
public BatchApplyAdviceByIdListRequest() {
super("adb", "2019-03-15", "BatchApplyAdviceByIdList", "ads");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getAdviceIdList() {
return this.adviceIdList;
}
public void setAdviceIdList(String adviceIdList) {
this.adviceIdList = adviceIdList;
if(adviceIdList != null){
putQueryParameter("AdviceIdList", adviceIdList);
}
}
public Long getAdviceDate() {
return this.adviceDate;
}
public void setAdviceDate(Long adviceDate) {
this.adviceDate = adviceDate;
if(adviceDate != null){
putQueryParameter("AdviceDate", adviceDate.toString());
}
}
@Override
public Class<BatchApplyAdviceByIdListResponse> getResponseClass() {
return BatchApplyAdviceByIdListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/BatchApplyAdviceByIdListResponse.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.adb.transform.v20190315.BatchApplyAdviceByIdListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchApplyAdviceByIdListResponse extends AcsResponse {
private String message;
private String requestId;
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public BatchApplyAdviceByIdListResponse getInstance(UnmarshallerContext context) {
return BatchApplyAdviceByIdListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/BindDBResourceGroupWithUserRequest.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.adb.Endpoint;
/**
* @author auto create
* @version
*/
public class BindDBResourceGroupWithUserRequest extends RpcAcsRequest<BindDBResourceGroupWithUserResponse> {
private Long resourceOwnerId;
private String clientToken;
private String groupUser;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
private String groupName;
public BindDBResourceGroupWithUserRequest() {
super("adb", "2019-03-15", "BindDBResourceGroupWithUser", "ads");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getGroupUser() {
return this.groupUser;
}
public void setGroupUser(String groupUser) {
this.groupUser = groupUser;
if(groupUser != null){
putQueryParameter("GroupUser", groupUser);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
if(groupName != null){
putQueryParameter("GroupName", groupName);
}
}
@Override
public Class<BindDBResourceGroupWithUserResponse> getResponseClass() {
return BindDBResourceGroupWithUserResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/BindDBResourceGroupWithUserResponse.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.adb.transform.v20190315.BindDBResourceGroupWithUserResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BindDBResourceGroupWithUserResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public BindDBResourceGroupWithUserResponse getInstance(UnmarshallerContext context) {
return BindDBResourceGroupWithUserResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model
|
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/model/v20190315/BindDBResourcePoolWithUserRequest.java
|
/*
* 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.adb.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.adb.Endpoint;
/**
* @author auto create
* @version
*/
public class BindDBResourcePoolWithUserRequest extends RpcAcsRequest<BindDBResourcePoolWithUserResponse> {
private String poolName;
private Long resourceOwnerId;
private String clientToken;
private String poolUser;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public BindDBResourcePoolWithUserRequest() {
super("adb", "2019-03-15", "BindDBResourcePoolWithUser", "ads");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getPoolName() {
return this.poolName;
}
public void setPoolName(String poolName) {
this.poolName = poolName;
if(poolName != null){
putQueryParameter("PoolName", poolName);
}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getPoolUser() {
return this.poolUser;
}
public void setPoolUser(String poolUser) {
this.poolUser = poolUser;
if(poolUser != null){
putQueryParameter("PoolUser", poolUser);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<BindDBResourcePoolWithUserResponse> getResponseClass() {
return BindDBResourcePoolWithUserResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.