index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyDBClusterSSLResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyDBClusterSSLResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDBClusterSSLResponseUnmarshaller { public static ModifyDBClusterSSLResponse unmarshall(ModifyDBClusterSSLResponse modifyDBClusterSSLResponse, UnmarshallerContext _ctx) { modifyDBClusterSSLResponse.setRequestId(_ctx.stringValue("ModifyDBClusterSSLResponse.RequestId")); return modifyDBClusterSSLResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyDBClusterShardNumberResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyDBClusterShardNumberResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDBClusterShardNumberResponseUnmarshaller { public static ModifyDBClusterShardNumberResponse unmarshall(ModifyDBClusterShardNumberResponse modifyDBClusterShardNumberResponse, UnmarshallerContext _ctx) { modifyDBClusterShardNumberResponse.setRequestId(_ctx.stringValue("ModifyDBClusterShardNumberResponse.RequestId")); return modifyDBClusterShardNumberResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyDBClusterVipResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyDBClusterVipResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDBClusterVipResponseUnmarshaller { public static ModifyDBClusterVipResponse unmarshall(ModifyDBClusterVipResponse modifyDBClusterVipResponse, UnmarshallerContext _ctx) { modifyDBClusterVipResponse.setRequestId(_ctx.stringValue("ModifyDBClusterVipResponse.RequestId")); modifyDBClusterVipResponse.setTaskId(_ctx.stringValue("ModifyDBClusterVipResponse.TaskId")); return modifyDBClusterVipResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyDBResourceGroupResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyDBResourceGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDBResourceGroupResponseUnmarshaller { public static ModifyDBResourceGroupResponse unmarshall(ModifyDBResourceGroupResponse modifyDBResourceGroupResponse, UnmarshallerContext _ctx) { modifyDBResourceGroupResponse.setRequestId(_ctx.stringValue("ModifyDBResourceGroupResponse.RequestId")); return modifyDBResourceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyDBResourcePoolResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyDBResourcePoolResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDBResourcePoolResponseUnmarshaller { public static ModifyDBResourcePoolResponse unmarshall(ModifyDBResourcePoolResponse modifyDBResourcePoolResponse, UnmarshallerContext _ctx) { modifyDBResourcePoolResponse.setRequestId(_ctx.stringValue("ModifyDBResourcePoolResponse.RequestId")); return modifyDBResourcePoolResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyElasticPlanResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyElasticPlanResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyElasticPlanResponseUnmarshaller { public static ModifyElasticPlanResponse unmarshall(ModifyElasticPlanResponse modifyElasticPlanResponse, UnmarshallerContext _ctx) { modifyElasticPlanResponse.setRequestId(_ctx.stringValue("ModifyElasticPlanResponse.RequestId")); return modifyElasticPlanResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyLogBackupPolicyResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyLogBackupPolicyResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyLogBackupPolicyResponseUnmarshaller { public static ModifyLogBackupPolicyResponse unmarshall(ModifyLogBackupPolicyResponse modifyLogBackupPolicyResponse, UnmarshallerContext _ctx) { modifyLogBackupPolicyResponse.setRequestId(_ctx.stringValue("ModifyLogBackupPolicyResponse.RequestId")); return modifyLogBackupPolicyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyLogHubStatusResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyLogHubStatusResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyLogHubStatusResponseUnmarshaller { public static ModifyLogHubStatusResponse unmarshall(ModifyLogHubStatusResponse modifyLogHubStatusResponse, UnmarshallerContext _ctx) { modifyLogHubStatusResponse.setRequestId(_ctx.stringValue("ModifyLogHubStatusResponse.RequestId")); return modifyLogHubStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyMaintenanceActionResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyMaintenanceActionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyMaintenanceActionResponseUnmarshaller { public static ModifyMaintenanceActionResponse unmarshall(ModifyMaintenanceActionResponse modifyMaintenanceActionResponse, UnmarshallerContext _ctx) { modifyMaintenanceActionResponse.setRequestId(_ctx.stringValue("ModifyMaintenanceActionResponse.RequestId")); modifyMaintenanceActionResponse.setIds(_ctx.stringValue("ModifyMaintenanceActionResponse.Ids")); return modifyMaintenanceActionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifyResubmitConfigResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifyResubmitConfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyResubmitConfigResponseUnmarshaller { public static ModifyResubmitConfigResponse unmarshall(ModifyResubmitConfigResponse modifyResubmitConfigResponse, UnmarshallerContext _ctx) { modifyResubmitConfigResponse.setRequestId(_ctx.stringValue("ModifyResubmitConfigResponse.RequestId")); return modifyResubmitConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifySQAConfigResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifySQAConfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifySQAConfigResponseUnmarshaller { public static ModifySQAConfigResponse unmarshall(ModifySQAConfigResponse modifySQAConfigResponse, UnmarshallerContext _ctx) { modifySQAConfigResponse.setRequestId(_ctx.stringValue("ModifySQAConfigResponse.RequestId")); return modifySQAConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ModifySyncJobResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ModifySyncJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifySyncJobResponseUnmarshaller { public static ModifySyncJobResponse unmarshall(ModifySyncJobResponse modifySyncJobResponse, UnmarshallerContext _ctx) { modifySyncJobResponse.setRequestId(_ctx.stringValue("ModifySyncJobResponse.RequestId")); return modifySyncJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/OperateLogHubResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.OperateLogHubResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OperateLogHubResponseUnmarshaller { public static OperateLogHubResponse unmarshall(OperateLogHubResponse operateLogHubResponse, UnmarshallerContext _ctx) { operateLogHubResponse.setRequestId(_ctx.stringValue("OperateLogHubResponse.RequestId")); return operateLogHubResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ReleaseClusterPublicConnectionResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ReleaseClusterPublicConnectionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ReleaseClusterPublicConnectionResponseUnmarshaller { public static ReleaseClusterPublicConnectionResponse unmarshall(ReleaseClusterPublicConnectionResponse releaseClusterPublicConnectionResponse, UnmarshallerContext _ctx) { releaseClusterPublicConnectionResponse.setRequestId(_ctx.stringValue("ReleaseClusterPublicConnectionResponse.RequestId")); return releaseClusterPublicConnectionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/ResetAccountPasswordResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.ResetAccountPasswordResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ResetAccountPasswordResponseUnmarshaller { public static ResetAccountPasswordResponse unmarshall(ResetAccountPasswordResponse resetAccountPasswordResponse, UnmarshallerContext _ctx) { resetAccountPasswordResponse.setRequestId(_ctx.stringValue("ResetAccountPasswordResponse.RequestId")); resetAccountPasswordResponse.setTaskId(_ctx.integerValue("ResetAccountPasswordResponse.TaskId")); resetAccountPasswordResponse.setDBClusterId(_ctx.stringValue("ResetAccountPasswordResponse.DBClusterId")); return resetAccountPasswordResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/RevokeOperatorPermissionResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.RevokeOperatorPermissionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RevokeOperatorPermissionResponseUnmarshaller { public static RevokeOperatorPermissionResponse unmarshall(RevokeOperatorPermissionResponse revokeOperatorPermissionResponse, UnmarshallerContext _ctx) { revokeOperatorPermissionResponse.setRequestId(_ctx.stringValue("RevokeOperatorPermissionResponse.RequestId")); return revokeOperatorPermissionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/TagResourcesResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.TagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TagResourcesResponseUnmarshaller { public static TagResourcesResponse unmarshall(TagResourcesResponse tagResourcesResponse, UnmarshallerContext _ctx) { tagResourcesResponse.setRequestId(_ctx.stringValue("TagResourcesResponse.RequestId")); return tagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/UnbindDBResourceGroupWithUserResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.UnbindDBResourceGroupWithUserResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UnbindDBResourceGroupWithUserResponseUnmarshaller { public static UnbindDBResourceGroupWithUserResponse unmarshall(UnbindDBResourceGroupWithUserResponse unbindDBResourceGroupWithUserResponse, UnmarshallerContext _ctx) { unbindDBResourceGroupWithUserResponse.setRequestId(_ctx.stringValue("UnbindDBResourceGroupWithUserResponse.RequestId")); return unbindDBResourceGroupWithUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/UnbindDBResourcePoolWithUserResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.UnbindDBResourcePoolWithUserResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UnbindDBResourcePoolWithUserResponseUnmarshaller { public static UnbindDBResourcePoolWithUserResponse unmarshall(UnbindDBResourcePoolWithUserResponse unbindDBResourcePoolWithUserResponse, UnmarshallerContext _ctx) { unbindDBResourcePoolWithUserResponse.setRequestId(_ctx.stringValue("UnbindDBResourcePoolWithUserResponse.RequestId")); return unbindDBResourcePoolWithUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/UntagResourcesResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.UntagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UntagResourcesResponseUnmarshaller { public static UntagResourcesResponse unmarshall(UntagResourcesResponse untagResourcesResponse, UnmarshallerContext _ctx) { untagResourcesResponse.setRequestId(_ctx.stringValue("UntagResourcesResponse.RequestId")); return untagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform
java-sources/com/aliyun/aliyun-java-sdk-adb/1.0.28/com/aliyuncs/adb/transform/v20190315/UpgradeKernelVersionResponseUnmarshaller.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.transform.v20190315; import com.aliyuncs.adb.model.v20190315.UpgradeKernelVersionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradeKernelVersionResponseUnmarshaller { public static UpgradeKernelVersionResponse unmarshall(UpgradeKernelVersionResponse upgradeKernelVersionResponse, UnmarshallerContext _ctx) { upgradeKernelVersionResponse.setRequestId(_ctx.stringValue("UpgradeKernelVersionResponse.RequestId")); return upgradeKernelVersionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/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.adcp; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() { { put("cn-shenzhen", "adcp.cn-shenzhen.aliyuncs.com"); put("cn-beijing", "adcp.cn-beijing.aliyuncs.com"); put("cn-wulanchabu", "adcp.cn-wulanchabu.aliyuncs.com"); put("ap-south-1", "adcp.ap-south-1.aliyuncs.com"); put("eu-west-1", "adcp-vpc.eu-west-1.aliyuncs.com"); put("ap-northeast-1", "adcp.ap-northeast-1.aliyuncs.com"); put("me-east-1", "adcp.me-east-1.aliyuncs.com"); put("cn-chengdu", "adcp-vpc.cn-chengdu.aliyuncs.com"); put("cn-qingdao", "adcp.cn-qingdao.aliyuncs.com"); put("cn-shanghai", "adcp.cn-shanghai.aliyuncs.com"); put("cn-shanghai-finance-1", "adcp-vpc.cn-shanghai-finance-1.aliyuncs.com"); put("cn-hongkong", "adcp.cn-hongkong.aliyuncs.com"); put("cn-heyuan", "adcp.cn-heyuan.aliyuncs.com"); put("ap-southeast-1", "adcp.ap-southeast-1.aliyuncs.com"); put("ap-southeast-2", "adcp.ap-southeast-2.aliyuncs.com"); put("ap-southeast-3", "adcp.ap-southeast-3.aliyuncs.com"); put("eu-central-1", "adcp.eu-central-1.aliyuncs.com"); put("cn-huhehaote", "adcp.cn-huhehaote.aliyuncs.com"); put("ap-southeast-5", "adcp.ap-southeast-5.aliyuncs.com"); put("us-east-1", "adcp.us-east-1.aliyuncs.com"); put("cn-zhangjiakou", "adcp.cn-zhangjiakou.aliyuncs.com"); put("us-west-1", "adcp.us-west-1.aliyuncs.com"); put("cn-hangzhou", "adcp.cn-hangzhou.aliyuncs.com"); } }; public static String endpointRegionalType = "central"; }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/AttachClusterToHubRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class AttachClusterToHubRequest extends RpcAcsRequest<AttachClusterToHubResponse> { private String clusterId; private String clusterIds; private Boolean attachToMesh; public AttachClusterToHubRequest() { super("adcp", "2022-01-01", "AttachClusterToHub", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getClusterIds() { return this.clusterIds; } public void setClusterIds(String clusterIds) { this.clusterIds = clusterIds; if(clusterIds != null){ putBodyParameter("ClusterIds", clusterIds); } } public Boolean getAttachToMesh() { return this.attachToMesh; } public void setAttachToMesh(Boolean attachToMesh) { this.attachToMesh = attachToMesh; if(attachToMesh != null){ putQueryParameter("AttachToMesh", attachToMesh.toString()); } } @Override public Class<AttachClusterToHubResponse> getResponseClass() { return AttachClusterToHubResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/AttachClusterToHubResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.AttachClusterToHubResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AttachClusterToHubResponse extends AcsResponse { private String requestId; private String clusterId; private String taskId; private List<String> managedClusterIds; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } public List<String> getManagedClusterIds() { return this.managedClusterIds; } public void setManagedClusterIds(List<String> managedClusterIds) { this.managedClusterIds = managedClusterIds; } @Override public AttachClusterToHubResponse getInstance(UnmarshallerContext context) { return AttachClusterToHubResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/CreateHubClusterRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class CreateHubClusterRequest extends RpcAcsRequest<CreateHubClusterResponse> { private String profile; private String vSwitches; private String name; private Boolean argoServerEnabled; private String workflowScheduleMode; private Boolean apiServerPublicEip; private Boolean auditLogEnabled; private String priceLimit; private Boolean isEnterpriseSecurityGroup; private String vpcId; public CreateHubClusterRequest() { super("adcp", "2022-01-01", "CreateHubCluster", "adcp"); 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 getProfile() { return this.profile; } public void setProfile(String profile) { this.profile = profile; if(profile != null){ putBodyParameter("Profile", profile); } } public String getVSwitches() { return this.vSwitches; } public void setVSwitches(String vSwitches) { this.vSwitches = vSwitches; if(vSwitches != null){ putBodyParameter("VSwitches", vSwitches); } } public String getName() { return this.name; } public void setName(String name) { this.name = name; if(name != null){ putBodyParameter("Name", name); } } public Boolean getArgoServerEnabled() { return this.argoServerEnabled; } public void setArgoServerEnabled(Boolean argoServerEnabled) { this.argoServerEnabled = argoServerEnabled; if(argoServerEnabled != null){ putBodyParameter("ArgoServerEnabled", argoServerEnabled.toString()); } } public String getWorkflowScheduleMode() { return this.workflowScheduleMode; } public void setWorkflowScheduleMode(String workflowScheduleMode) { this.workflowScheduleMode = workflowScheduleMode; if(workflowScheduleMode != null){ putBodyParameter("WorkflowScheduleMode", workflowScheduleMode); } } public Boolean getApiServerPublicEip() { return this.apiServerPublicEip; } public void setApiServerPublicEip(Boolean apiServerPublicEip) { this.apiServerPublicEip = apiServerPublicEip; if(apiServerPublicEip != null){ putBodyParameter("ApiServerPublicEip", apiServerPublicEip.toString()); } } public Boolean getAuditLogEnabled() { return this.auditLogEnabled; } public void setAuditLogEnabled(Boolean auditLogEnabled) { this.auditLogEnabled = auditLogEnabled; if(auditLogEnabled != null){ putBodyParameter("AuditLogEnabled", auditLogEnabled.toString()); } } public String getPriceLimit() { return this.priceLimit; } public void setPriceLimit(String priceLimit) { this.priceLimit = priceLimit; if(priceLimit != null){ putBodyParameter("PriceLimit", priceLimit); } } public Boolean getIsEnterpriseSecurityGroup() { return this.isEnterpriseSecurityGroup; } public void setIsEnterpriseSecurityGroup(Boolean isEnterpriseSecurityGroup) { this.isEnterpriseSecurityGroup = isEnterpriseSecurityGroup; if(isEnterpriseSecurityGroup != null){ putBodyParameter("IsEnterpriseSecurityGroup", isEnterpriseSecurityGroup.toString()); } } public String getVpcId() { return this.vpcId; } public void setVpcId(String vpcId) { this.vpcId = vpcId; if(vpcId != null){ putBodyParameter("VpcId", vpcId); } } @Override public Class<CreateHubClusterResponse> getResponseClass() { return CreateHubClusterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/CreateHubClusterResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.CreateHubClusterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateHubClusterResponse extends AcsResponse { private String requestId; private String clusterId; private String taskId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } @Override public CreateHubClusterResponse getInstance(UnmarshallerContext context) { return CreateHubClusterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeleteHubClusterRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DeleteHubClusterRequest extends RpcAcsRequest<DeleteHubClusterResponse> { @SerializedName("retainResources") private List<String> retainResources; private String clusterId; private Boolean force; public DeleteHubClusterRequest() { super("adcp", "2022-01-01", "DeleteHubCluster", "adcp"); 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 List<String> getRetainResources() { return this.retainResources; } public void setRetainResources(List<String> retainResources) { this.retainResources = retainResources; if (retainResources != null) { putQueryParameter("RetainResources" , new Gson().toJson(retainResources)); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public Boolean getForce() { return this.force; } public void setForce(Boolean force) { this.force = force; if(force != null){ putQueryParameter("Force", force.toString()); } } @Override public Class<DeleteHubClusterResponse> getResponseClass() { return DeleteHubClusterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeleteHubClusterResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DeleteHubClusterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteHubClusterResponse extends AcsResponse { private String requestId; private String clusterId; private String taskId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } @Override public DeleteHubClusterResponse getInstance(UnmarshallerContext context) { return DeleteHubClusterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeletePolicyInstanceRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DeletePolicyInstanceRequest extends RpcAcsRequest<DeletePolicyInstanceResponse> { private String clusterId; @SerializedName("clusterIds") private List<String> clusterIds; private String policyName; public DeletePolicyInstanceRequest() { super("adcp", "2022-01-01", "DeletePolicyInstance", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public List<String> getClusterIds() { return this.clusterIds; } public void setClusterIds(List<String> clusterIds) { this.clusterIds = clusterIds; if (clusterIds != null) { putQueryParameter("ClusterIds" , new Gson().toJson(clusterIds)); } } public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; if(policyName != null){ putQueryParameter("PolicyName", policyName); } } @Override public Class<DeletePolicyInstanceResponse> getResponseClass() { return DeletePolicyInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeletePolicyInstanceResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DeletePolicyInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeletePolicyInstanceResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeletePolicyInstanceResponse getInstance(UnmarshallerContext context) { return DeletePolicyInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeleteUserPermissionRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DeleteUserPermissionRequest extends RpcAcsRequest<DeleteUserPermissionResponse> { private String userId; private String clusterId; public DeleteUserPermissionRequest() { super("adcp", "2022-01-01", "DeleteUserPermission", "adcp"); 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 getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<DeleteUserPermissionResponse> getResponseClass() { return DeleteUserPermissionResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeleteUserPermissionResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DeleteUserPermissionResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteUserPermissionResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeleteUserPermissionResponse getInstance(UnmarshallerContext context) { return DeleteUserPermissionResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeployPolicyInstanceRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DeployPolicyInstanceRequest extends RpcAcsRequest<DeployPolicyInstanceResponse> { private String clusterId; private String policyAction; @SerializedName("clusterIds") private List<String> clusterIds; private String policyName; @SerializedName("namespaces") private List<String> namespaces; public DeployPolicyInstanceRequest() { super("adcp", "2022-01-01", "DeployPolicyInstance", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getPolicyAction() { return this.policyAction; } public void setPolicyAction(String policyAction) { this.policyAction = policyAction; if(policyAction != null){ putQueryParameter("PolicyAction", policyAction); } } public List<String> getClusterIds() { return this.clusterIds; } public void setClusterIds(List<String> clusterIds) { this.clusterIds = clusterIds; if (clusterIds != null) { putQueryParameter("ClusterIds" , new Gson().toJson(clusterIds)); } } public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; if(policyName != null){ putQueryParameter("PolicyName", policyName); } } public List<String> getNamespaces() { return this.namespaces; } public void setNamespaces(List<String> namespaces) { this.namespaces = namespaces; if (namespaces != null) { putQueryParameter("Namespaces" , new Gson().toJson(namespaces)); } } @Override public Class<DeployPolicyInstanceResponse> getResponseClass() { return DeployPolicyInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DeployPolicyInstanceResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DeployPolicyInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeployPolicyInstanceResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeployPolicyInstanceResponse getInstance(UnmarshallerContext context) { return DeployPolicyInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClusterDetailsRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeHubClusterDetailsRequest extends RpcAcsRequest<DescribeHubClusterDetailsResponse> { private String clusterId; public DescribeHubClusterDetailsRequest() { super("adcp", "2022-01-01", "DescribeHubClusterDetails", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<DescribeHubClusterDetailsResponse> getResponseClass() { return DescribeHubClusterDetailsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClusterDetailsResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribeHubClusterDetailsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeHubClusterDetailsResponse extends AcsResponse { private String requestId; private Cluster cluster; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Cluster getCluster() { return this.cluster; } public void setCluster(Cluster cluster) { this.cluster = cluster; } public static class Cluster { private List<Condition> conditions; private Endpoints endpoints; private ClusterInfo clusterInfo; private Network network; private ApiServer apiServer; private MeshConfig meshConfig; private LogConfig logConfig; private WorkflowConfig workflowConfig; public List<Condition> getConditions() { return this.conditions; } public void setConditions(List<Condition> conditions) { this.conditions = conditions; } public Endpoints getEndpoints() { return this.endpoints; } public void setEndpoints(Endpoints endpoints) { this.endpoints = endpoints; } public ClusterInfo getClusterInfo() { return this.clusterInfo; } public void setClusterInfo(ClusterInfo clusterInfo) { this.clusterInfo = clusterInfo; } public Network getNetwork() { return this.network; } public void setNetwork(Network network) { this.network = network; } public ApiServer getApiServer() { return this.apiServer; } public void setApiServer(ApiServer apiServer) { this.apiServer = apiServer; } public MeshConfig getMeshConfig() { return this.meshConfig; } public void setMeshConfig(MeshConfig meshConfig) { this.meshConfig = meshConfig; } public LogConfig getLogConfig() { return this.logConfig; } public void setLogConfig(LogConfig logConfig) { this.logConfig = logConfig; } public WorkflowConfig getWorkflowConfig() { return this.workflowConfig; } public void setWorkflowConfig(WorkflowConfig workflowConfig) { this.workflowConfig = workflowConfig; } public static class Condition { private String type; private String status; private String reason; private String message; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getReason() { return this.reason; } public void setReason(String reason) { this.reason = reason; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } } public static class Endpoints { private String intranetApiServerEndpoint; private String publicApiServerEndpoint; public String getIntranetApiServerEndpoint() { return this.intranetApiServerEndpoint; } public void setIntranetApiServerEndpoint(String intranetApiServerEndpoint) { this.intranetApiServerEndpoint = intranetApiServerEndpoint; } public String getPublicApiServerEndpoint() { return this.publicApiServerEndpoint; } public void setPublicApiServerEndpoint(String publicApiServerEndpoint) { this.publicApiServerEndpoint = publicApiServerEndpoint; } } public static class ClusterInfo { private String profile; private String creationTime; private String updateTime; private String errorMessage; private String version; private String state; private String clusterId; private String name; private String regionId; private String clusterSpec; public String getProfile() { return this.profile; } public void setProfile(String profile) { this.profile = profile; } public String getCreationTime() { return this.creationTime; } public void setCreationTime(String creationTime) { this.creationTime = creationTime; } public String getUpdateTime() { return this.updateTime; } public void setUpdateTime(String updateTime) { this.updateTime = updateTime; } public String getErrorMessage() { return this.errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } public String getVersion() { return this.version; } public void setVersion(String version) { this.version = version; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getClusterSpec() { return this.clusterSpec; } public void setClusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; } } public static class Network { private String vpcId; private String iPStack; private String clusterDomain; private List<String> vSwitches; private List<String> securityGroupIDs; public String getVpcId() { return this.vpcId; } public void setVpcId(String vpcId) { this.vpcId = vpcId; } public String getIPStack() { return this.iPStack; } public void setIPStack(String iPStack) { this.iPStack = iPStack; } public String getClusterDomain() { return this.clusterDomain; } public void setClusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; } public List<String> getVSwitches() { return this.vSwitches; } public void setVSwitches(List<String> vSwitches) { this.vSwitches = vSwitches; } public List<String> getSecurityGroupIDs() { return this.securityGroupIDs; } public void setSecurityGroupIDs(List<String> securityGroupIDs) { this.securityGroupIDs = securityGroupIDs; } } public static class ApiServer { private Boolean enabledPublic; private String loadBalancerId; private String apiServerEipId; public Boolean getEnabledPublic() { return this.enabledPublic; } public void setEnabledPublic(Boolean enabledPublic) { this.enabledPublic = enabledPublic; } public String getLoadBalancerId() { return this.loadBalancerId; } public void setLoadBalancerId(String loadBalancerId) { this.loadBalancerId = loadBalancerId; } public String getApiServerEipId() { return this.apiServerEipId; } public void setApiServerEipId(String apiServerEipId) { this.apiServerEipId = apiServerEipId; } } public static class MeshConfig { private Boolean enableMesh; private String meshId; public Boolean getEnableMesh() { return this.enableMesh; } public void setEnableMesh(Boolean enableMesh) { this.enableMesh = enableMesh; } public String getMeshId() { return this.meshId; } public void setMeshId(String meshId) { this.meshId = meshId; } } public static class LogConfig { private Boolean enableLog; private String logProject; private String logStoreTTL; public Boolean getEnableLog() { return this.enableLog; } public void setEnableLog(Boolean enableLog) { this.enableLog = enableLog; } public String getLogProject() { return this.logProject; } public void setLogProject(String logProject) { this.logProject = logProject; } public String getLogStoreTTL() { return this.logStoreTTL; } public void setLogStoreTTL(String logStoreTTL) { this.logStoreTTL = logStoreTTL; } } public static class WorkflowConfig { private Boolean argoServerEnabled; private String workflowScheduleMode; private String priceLimit; private List<WorkflowUnit> workflowUnits; public Boolean getArgoServerEnabled() { return this.argoServerEnabled; } public void setArgoServerEnabled(Boolean argoServerEnabled) { this.argoServerEnabled = argoServerEnabled; } public String getWorkflowScheduleMode() { return this.workflowScheduleMode; } public void setWorkflowScheduleMode(String workflowScheduleMode) { this.workflowScheduleMode = workflowScheduleMode; } public String getPriceLimit() { return this.priceLimit; } public void setPriceLimit(String priceLimit) { this.priceLimit = priceLimit; } public List<WorkflowUnit> getWorkflowUnits() { return this.workflowUnits; } public void setWorkflowUnits(List<WorkflowUnit> workflowUnits) { this.workflowUnits = workflowUnits; } public static class WorkflowUnit { private String regionId; private String vpcId; private List<VSwitch> vSwitches1; public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getVpcId() { return this.vpcId; } public void setVpcId(String vpcId) { this.vpcId = vpcId; } public List<VSwitch> getVSwitches1() { return this.vSwitches1; } public void setVSwitches1(List<VSwitch> vSwitches1) { this.vSwitches1 = vSwitches1; } public static class VSwitch { private String vswitchId; private String zoneId; public String getVswitchId() { return this.vswitchId; } public void setVswitchId(String vswitchId) { this.vswitchId = vswitchId; } public String getZoneId() { return this.zoneId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } } } } } @Override public DescribeHubClusterDetailsResponse getInstance(UnmarshallerContext context) { return DescribeHubClusterDetailsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClusterKubeconfigRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeHubClusterKubeconfigRequest extends RpcAcsRequest<DescribeHubClusterKubeconfigResponse> { private String clusterId; private Boolean privateIpAddress; public DescribeHubClusterKubeconfigRequest() { super("adcp", "2022-01-01", "DescribeHubClusterKubeconfig", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public Boolean getPrivateIpAddress() { return this.privateIpAddress; } public void setPrivateIpAddress(Boolean privateIpAddress) { this.privateIpAddress = privateIpAddress; if(privateIpAddress != null){ putQueryParameter("PrivateIpAddress", privateIpAddress.toString()); } } @Override public Class<DescribeHubClusterKubeconfigResponse> getResponseClass() { return DescribeHubClusterKubeconfigResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClusterKubeconfigResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribeHubClusterKubeconfigResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeHubClusterKubeconfigResponse extends AcsResponse { private String requestId; private String kubeconfig; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getKubeconfig() { return this.kubeconfig; } public void setKubeconfig(String kubeconfig) { this.kubeconfig = kubeconfig; } @Override public DescribeHubClusterKubeconfigResponse getInstance(UnmarshallerContext context) { return DescribeHubClusterKubeconfigResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClusterLogsRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeHubClusterLogsRequest extends RpcAcsRequest<DescribeHubClusterLogsResponse> { private String clusterId; public DescribeHubClusterLogsRequest() { super("adcp", "2022-01-01", "DescribeHubClusterLogs", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<DescribeHubClusterLogsResponse> getResponseClass() { return DescribeHubClusterLogsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClusterLogsResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribeHubClusterLogsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeHubClusterLogsResponse extends AcsResponse { private String requestId; private List<Log> logs; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Log> getLogs() { return this.logs; } public void setLogs(List<Log> logs) { this.logs = logs; } public static class Log { private String creationTime; private String clusterId; private String clusterLog; private String logLevel; public String getCreationTime() { return this.creationTime; } public void setCreationTime(String creationTime) { this.creationTime = creationTime; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getClusterLog() { return this.clusterLog; } public void setClusterLog(String clusterLog) { this.clusterLog = clusterLog; } public String getLogLevel() { return this.logLevel; } public void setLogLevel(String logLevel) { this.logLevel = logLevel; } } @Override public DescribeHubClusterLogsResponse getInstance(UnmarshallerContext context) { return DescribeHubClusterLogsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClustersRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeHubClustersRequest extends RpcAcsRequest<DescribeHubClustersResponse> { private String profile; public DescribeHubClustersRequest() { super("adcp", "2022-01-01", "DescribeHubClusters", "adcp"); 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 getProfile() { return this.profile; } public void setProfile(String profile) { this.profile = profile; if(profile != null){ putQueryParameter("Profile", profile); } } @Override public Class<DescribeHubClustersResponse> getResponseClass() { return DescribeHubClustersResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeHubClustersResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribeHubClustersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeHubClustersResponse extends AcsResponse { private String requestId; private List<Cluster> clusters; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Cluster> getClusters() { return this.clusters; } public void setClusters(List<Cluster> clusters) { this.clusters = clusters; } public static class Cluster { private List<Condition> conditions; private Endpoints endpoints; private ClusterInfo clusterInfo; private Network network; private ApiServer apiServer; private MeshConfig meshConfig; private LogConfig logConfig; public List<Condition> getConditions() { return this.conditions; } public void setConditions(List<Condition> conditions) { this.conditions = conditions; } public Endpoints getEndpoints() { return this.endpoints; } public void setEndpoints(Endpoints endpoints) { this.endpoints = endpoints; } public ClusterInfo getClusterInfo() { return this.clusterInfo; } public void setClusterInfo(ClusterInfo clusterInfo) { this.clusterInfo = clusterInfo; } public Network getNetwork() { return this.network; } public void setNetwork(Network network) { this.network = network; } public ApiServer getApiServer() { return this.apiServer; } public void setApiServer(ApiServer apiServer) { this.apiServer = apiServer; } public MeshConfig getMeshConfig() { return this.meshConfig; } public void setMeshConfig(MeshConfig meshConfig) { this.meshConfig = meshConfig; } public LogConfig getLogConfig() { return this.logConfig; } public void setLogConfig(LogConfig logConfig) { this.logConfig = logConfig; } public static class Condition { private String type; private String status; private String reason; private String message; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getReason() { return this.reason; } public void setReason(String reason) { this.reason = reason; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } } public static class Endpoints { private String intranetApiServerEndpoint; private String publicApiServerEndpoint; public String getIntranetApiServerEndpoint() { return this.intranetApiServerEndpoint; } public void setIntranetApiServerEndpoint(String intranetApiServerEndpoint) { this.intranetApiServerEndpoint = intranetApiServerEndpoint; } public String getPublicApiServerEndpoint() { return this.publicApiServerEndpoint; } public void setPublicApiServerEndpoint(String publicApiServerEndpoint) { this.publicApiServerEndpoint = publicApiServerEndpoint; } } public static class ClusterInfo { private String profile; private String creationTime; private String updateTime; private String errorMessage; private String version; private String state; private String clusterId; private String name; private String regionId; private String clusterSpec; public String getProfile() { return this.profile; } public void setProfile(String profile) { this.profile = profile; } public String getCreationTime() { return this.creationTime; } public void setCreationTime(String creationTime) { this.creationTime = creationTime; } public String getUpdateTime() { return this.updateTime; } public void setUpdateTime(String updateTime) { this.updateTime = updateTime; } public String getErrorMessage() { return this.errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } public String getVersion() { return this.version; } public void setVersion(String version) { this.version = version; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getClusterSpec() { return this.clusterSpec; } public void setClusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; } } public static class Network { private String vpcId; private String clusterDomain; private List<String> vSwitches; private List<String> securityGroupIDs; public String getVpcId() { return this.vpcId; } public void setVpcId(String vpcId) { this.vpcId = vpcId; } public String getClusterDomain() { return this.clusterDomain; } public void setClusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; } public List<String> getVSwitches() { return this.vSwitches; } public void setVSwitches(List<String> vSwitches) { this.vSwitches = vSwitches; } public List<String> getSecurityGroupIDs() { return this.securityGroupIDs; } public void setSecurityGroupIDs(List<String> securityGroupIDs) { this.securityGroupIDs = securityGroupIDs; } } public static class ApiServer { private Boolean enabledPublic; private String loadBalancerId; private String apiServerEipId; public Boolean getEnabledPublic() { return this.enabledPublic; } public void setEnabledPublic(Boolean enabledPublic) { this.enabledPublic = enabledPublic; } public String getLoadBalancerId() { return this.loadBalancerId; } public void setLoadBalancerId(String loadBalancerId) { this.loadBalancerId = loadBalancerId; } public String getApiServerEipId() { return this.apiServerEipId; } public void setApiServerEipId(String apiServerEipId) { this.apiServerEipId = apiServerEipId; } } public static class MeshConfig { private Boolean enableMesh; private String meshId; public Boolean getEnableMesh() { return this.enableMesh; } public void setEnableMesh(Boolean enableMesh) { this.enableMesh = enableMesh; } public String getMeshId() { return this.meshId; } public void setMeshId(String meshId) { this.meshId = meshId; } } public static class LogConfig { private Boolean enableLog; private String logProject; private String logStoreTTL; public Boolean getEnableLog() { return this.enableLog; } public void setEnableLog(Boolean enableLog) { this.enableLog = enableLog; } public String getLogProject() { return this.logProject; } public void setLogProject(String logProject) { this.logProject = logProject; } public String getLogStoreTTL() { return this.logStoreTTL; } public void setLogStoreTTL(String logStoreTTL) { this.logStoreTTL = logStoreTTL; } } } @Override public DescribeHubClustersResponse getInstance(UnmarshallerContext context) { return DescribeHubClustersResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeManagedClustersRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeManagedClustersRequest extends RpcAcsRequest<DescribeManagedClustersResponse> { private String clusterId; public DescribeManagedClustersRequest() { super("adcp", "2022-01-01", "DescribeManagedClusters", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<DescribeManagedClustersResponse> getResponseClass() { return DescribeManagedClustersResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeManagedClustersResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribeManagedClustersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeManagedClustersResponse extends AcsResponse { private String requestId; private List<Cluster> clusters; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Cluster> getClusters() { return this.clusters; } public void setClusters(List<Cluster> clusters) { this.clusters = clusters; } public static class Cluster { private Cluster1 cluster1; private Status status; private MeshStatus meshStatus; public Cluster1 getCluster1() { return this.cluster1; } public void setCluster1(Cluster1 cluster1) { this.cluster1 = cluster1; } public Status getStatus() { return this.status; } public void setStatus(Status status) { this.status = status; } public MeshStatus getMeshStatus() { return this.meshStatus; } public void setMeshStatus(MeshStatus meshStatus) { this.meshStatus = meshStatus; } public static class Cluster1 { private String name; private String clusterID; private String region; private String state; private String clusterType; private String created; private String updated; private String initVersion; private String currentVersion; private String resourceGroupId; private String vpcID; private String vSwitchID; private String profile; private String clusterSpec; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getClusterID() { return this.clusterID; } public void setClusterID(String clusterID) { this.clusterID = clusterID; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getClusterType() { return this.clusterType; } public void setClusterType(String clusterType) { this.clusterType = clusterType; } public String getCreated() { return this.created; } public void setCreated(String created) { this.created = created; } public String getUpdated() { return this.updated; } public void setUpdated(String updated) { this.updated = updated; } public String getInitVersion() { return this.initVersion; } public void setInitVersion(String initVersion) { this.initVersion = initVersion; } public String getCurrentVersion() { return this.currentVersion; } public void setCurrentVersion(String currentVersion) { this.currentVersion = currentVersion; } public String getResourceGroupId() { return this.resourceGroupId; } public void setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; } public String getVpcID() { return this.vpcID; } public void setVpcID(String vpcID) { this.vpcID = vpcID; } public String getVSwitchID() { return this.vSwitchID; } public void setVSwitchID(String vSwitchID) { this.vSwitchID = vSwitchID; } public String getProfile() { return this.profile; } public void setProfile(String profile) { this.profile = profile; } public String getClusterSpec() { return this.clusterSpec; } public void setClusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; } } public static class Status { private String state; private String message; public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } } public static class MeshStatus { private Boolean inMesh; public Boolean getInMesh() { return this.inMesh; } public void setInMesh(Boolean inMesh) { this.inMesh = inMesh; } } } @Override public DescribeManagedClustersResponse getInstance(UnmarshallerContext context) { return DescribeManagedClustersResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePoliciesRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribePoliciesRequest extends RpcAcsRequest<DescribePoliciesResponse> { public DescribePoliciesRequest() { super("adcp", "2022-01-01", "DescribePolicies", "adcp"); 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) {} } @Override public Class<DescribePoliciesResponse> getResponseClass() { return DescribePoliciesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePoliciesResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribePoliciesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribePoliciesResponse extends AcsResponse { private String requestId; private List<Policy> policies; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Policy> getPolicies() { return this.policies; } public void setPolicies(List<Policy> policies) { this.policies = policies; } public static class Policy { private String category; private List<String> names; public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; } public List<String> getNames() { return this.names; } public void setNames(List<String> names) { this.names = names; } } @Override public DescribePoliciesResponse getInstance(UnmarshallerContext context) { return DescribePoliciesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyDetailsRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribePolicyDetailsRequest extends RpcAcsRequest<DescribePolicyDetailsResponse> { private String policyName; public DescribePolicyDetailsRequest() { super("adcp", "2022-01-01", "DescribePolicyDetails", "adcp"); 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 getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; if(policyName != null){ putQueryParameter("PolicyName", policyName); } } @Override public Class<DescribePolicyDetailsResponse> getResponseClass() { return DescribePolicyDetailsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyDetailsResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribePolicyDetailsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribePolicyDetailsResponse extends AcsResponse { private String requestId; private Policy policy; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Policy getPolicy() { return this.policy; } public void setPolicy(Policy policy) { this.policy = policy; } public static class Policy { private String name; private String category; private String description; private String action; private String severity; private String template; private Integer noConfig; private String created; private String updated; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getAction() { return this.action; } public void setAction(String action) { this.action = action; } public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } public String getTemplate() { return this.template; } public void setTemplate(String template) { this.template = template; } public Integer getNoConfig() { return this.noConfig; } public void setNoConfig(Integer noConfig) { this.noConfig = noConfig; } public String getCreated() { return this.created; } public void setCreated(String created) { this.created = created; } public String getUpdated() { return this.updated; } public void setUpdated(String updated) { this.updated = updated; } } @Override public DescribePolicyDetailsResponse getInstance(UnmarshallerContext context) { return DescribePolicyDetailsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyGovernanceInClusterRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribePolicyGovernanceInClusterRequest extends RpcAcsRequest<DescribePolicyGovernanceInClusterResponse> { private String clusterId; public DescribePolicyGovernanceInClusterRequest() { super("adcp", "2022-01-01", "DescribePolicyGovernanceInCluster", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<DescribePolicyGovernanceInClusterResponse> getResponseClass() { return DescribePolicyGovernanceInClusterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyGovernanceInClusterResponse.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.adcp.model.v20220101; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribePolicyGovernanceInClusterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribePolicyGovernanceInClusterResponse extends AcsResponse { private String requestId; private List<PolicyGovernance> policyGovernances; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<PolicyGovernance> getPolicyGovernances() { return this.policyGovernances; } public void setPolicyGovernances(List<PolicyGovernance> policyGovernances) { this.policyGovernances = policyGovernances; } public static class PolicyGovernance { private Cluster cluster; private PolicyGovernance1 policyGovernance1; public Cluster getCluster() { return this.cluster; } public void setCluster(Cluster cluster) { this.cluster = cluster; } public PolicyGovernance1 getPolicyGovernance1() { return this.policyGovernance1; } public void setPolicyGovernance1(PolicyGovernance1 policyGovernance1) { this.policyGovernance1 = policyGovernance1; } public static class Cluster { private String clusterId; private String name; private String regionId; private String state; private String clusterType; private String clusterSpec; private String profile; public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getClusterType() { return this.clusterType; } public void setClusterType(String clusterType) { this.clusterType = clusterType; } public String getClusterSpec() { return this.clusterSpec; } public void setClusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; } public String getProfile() { return this.profile; } public void setProfile(String profile) { this.profile = profile; } } public static class PolicyGovernance1 { private List<State> onState; private AdmitLog admitLog; private Violation violation; public List<State> getOnState() { return this.onState; } public void setOnState(List<State> onState) { this.onState = onState; } public AdmitLog getAdmitLog() { return this.admitLog; } public void setAdmitLog(AdmitLog admitLog) { this.admitLog = admitLog; } public Violation getViolation() { return this.violation; } public void setViolation(Violation violation) { this.violation = violation; } public static class State { private Long enabledCount; private Long totalCount; private String severity; public Long getEnabledCount() { return this.enabledCount; } public void setEnabledCount(Long enabledCount) { this.enabledCount = enabledCount; } public Long getTotalCount() { return this.totalCount; } public void setTotalCount(Long totalCount) { this.totalCount = totalCount; } public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } } public static class AdmitLog { private String progress; private String count; private String logProject; private String logStore; private List<Map<Object,Object>> logs; public String getProgress() { return this.progress; } public void setProgress(String progress) { this.progress = progress; } public String getCount() { return this.count; } public void setCount(String count) { this.count = count; } public String getLogProject() { return this.logProject; } public void setLogProject(String logProject) { this.logProject = logProject; } public String getLogStore() { return this.logStore; } public void setLogStore(String logStore) { this.logStore = logStore; } public List<Map<Object,Object>> getLogs() { return this.logs; } public void setLogs(List<Map<Object,Object>> logs) { this.logs = logs; } } public static class Violation { private TotalViolations totalViolations; private Violations violations; public TotalViolations getTotalViolations() { return this.totalViolations; } public void setTotalViolations(TotalViolations totalViolations) { this.totalViolations = totalViolations; } public Violations getViolations() { return this.violations; } public void setViolations(Violations violations) { this.violations = violations; } public static class TotalViolations { private List<DenySeverity> deny; private List<WarnSeverity> warn; public List<DenySeverity> getDeny() { return this.deny; } public void setDeny(List<DenySeverity> deny) { this.deny = deny; } public List<WarnSeverity> getWarn() { return this.warn; } public void setWarn(List<WarnSeverity> warn) { this.warn = warn; } public static class DenySeverity { private String severity; private Long violations; public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } public Long getViolations() { return this.violations; } public void setViolations(Long violations) { this.violations = violations; } } public static class WarnSeverity { private String severity; private String violations; public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } public String getViolations() { return this.violations; } public void setViolations(String violations) { this.violations = violations; } } } public static class Violations { private List<DenyViolations> deny2; private List<WarnViolations> warn3; public List<DenyViolations> getDeny2() { return this.deny2; } public void setDeny2(List<DenyViolations> deny2) { this.deny2 = deny2; } public List<WarnViolations> getWarn3() { return this.warn3; } public void setWarn3(List<WarnViolations> warn3) { this.warn3 = warn3; } public static class DenyViolations { private String policyName; private String policyDescription; private String severity; private Long violations; public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; } public String getPolicyDescription() { return this.policyDescription; } public void setPolicyDescription(String policyDescription) { this.policyDescription = policyDescription; } public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } public Long getViolations() { return this.violations; } public void setViolations(Long violations) { this.violations = violations; } } public static class WarnViolations { private String policyName; private String policyDescription; private String severity; private Long violations; public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; } public String getPolicyDescription() { return this.policyDescription; } public void setPolicyDescription(String policyDescription) { this.policyDescription = policyDescription; } public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } public Long getViolations() { return this.violations; } public void setViolations(Long violations) { this.violations = violations; } } } } } } @Override public DescribePolicyGovernanceInClusterResponse getInstance(UnmarshallerContext context) { return DescribePolicyGovernanceInClusterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyInstancesRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribePolicyInstancesRequest extends RpcAcsRequest<DescribePolicyInstancesResponse> { private String clusterId; private String policyName; public DescribePolicyInstancesRequest() { super("adcp", "2022-01-01", "DescribePolicyInstances", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; if(policyName != null){ putQueryParameter("PolicyName", policyName); } } @Override public Class<DescribePolicyInstancesResponse> getResponseClass() { return DescribePolicyInstancesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyInstancesResponse.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.adcp.model.v20220101; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribePolicyInstancesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribePolicyInstancesResponse extends AcsResponse { private String requestId; private List<Policy> policies; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Policy> getPolicies() { return this.policies; } public void setPolicies(List<Policy> policies) { this.policies = policies; } public static class Policy { private String policyName; private String instanceName; private String policyCategory; private String policyDescription; private String policySeverity; private String policyScope; private String policyAction; private Long totalViolations; private String clusterId; private Map<Object,Object> policyParameters; public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; } public String getPolicyCategory() { return this.policyCategory; } public void setPolicyCategory(String policyCategory) { this.policyCategory = policyCategory; } public String getPolicyDescription() { return this.policyDescription; } public void setPolicyDescription(String policyDescription) { this.policyDescription = policyDescription; } public String getPolicySeverity() { return this.policySeverity; } public void setPolicySeverity(String policySeverity) { this.policySeverity = policySeverity; } public String getPolicyScope() { return this.policyScope; } public void setPolicyScope(String policyScope) { this.policyScope = policyScope; } public String getPolicyAction() { return this.policyAction; } public void setPolicyAction(String policyAction) { this.policyAction = policyAction; } public Long getTotalViolations() { return this.totalViolations; } public void setTotalViolations(Long totalViolations) { this.totalViolations = totalViolations; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public Map<Object,Object> getPolicyParameters() { return this.policyParameters; } public void setPolicyParameters(Map<Object,Object> policyParameters) { this.policyParameters = policyParameters; } } @Override public DescribePolicyInstancesResponse getInstance(UnmarshallerContext context) { return DescribePolicyInstancesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyInstancesStatusRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribePolicyInstancesStatusRequest extends RpcAcsRequest<DescribePolicyInstancesStatusResponse> { private String clusterId; public DescribePolicyInstancesStatusRequest() { super("adcp", "2022-01-01", "DescribePolicyInstancesStatus", "adcp"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<DescribePolicyInstancesStatusResponse> getResponseClass() { return DescribePolicyInstancesStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribePolicyInstancesStatusResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribePolicyInstancesStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribePolicyInstancesStatusResponse extends AcsResponse { private String requestId; private Policies policies; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Policies getPolicies() { return this.policies; } public void setPolicies(Policies policies) { this.policies = policies; } public static class Policies { private List<PolicyInstance> policyInstances; private List<SeverityInfoItem> severityInfo; public List<PolicyInstance> getPolicyInstances() { return this.policyInstances; } public void setPolicyInstances(List<PolicyInstance> policyInstances) { this.policyInstances = policyInstances; } public List<SeverityInfoItem> getSeverityInfo() { return this.severityInfo; } public void setSeverityInfo(List<SeverityInfoItem> severityInfo) { this.severityInfo = severityInfo; } public static class PolicyInstance { private String policyName; private String policyCategory; private String policyDescription; private String policySeverity; private Long policyInstancesCount; private List<PolicyCluster> policyClusters; public String getPolicyName() { return this.policyName; } public void setPolicyName(String policyName) { this.policyName = policyName; } public String getPolicyCategory() { return this.policyCategory; } public void setPolicyCategory(String policyCategory) { this.policyCategory = policyCategory; } public String getPolicyDescription() { return this.policyDescription; } public void setPolicyDescription(String policyDescription) { this.policyDescription = policyDescription; } public String getPolicySeverity() { return this.policySeverity; } public void setPolicySeverity(String policySeverity) { this.policySeverity = policySeverity; } public Long getPolicyInstancesCount() { return this.policyInstancesCount; } public void setPolicyInstancesCount(Long policyInstancesCount) { this.policyInstancesCount = policyInstancesCount; } public List<PolicyCluster> getPolicyClusters() { return this.policyClusters; } public void setPolicyClusters(List<PolicyCluster> policyClusters) { this.policyClusters = policyClusters; } public static class PolicyCluster { private String clusterId; private String status; public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } } } public static class SeverityInfoItem { private String severityType; private String severityCount; public String getSeverityType() { return this.severityType; } public void setSeverityType(String severityType) { this.severityType = severityType; } public String getSeverityCount() { return this.severityCount; } public void setSeverityCount(String severityCount) { this.severityCount = severityCount; } } } @Override public DescribePolicyInstancesStatusResponse getInstance(UnmarshallerContext context) { return DescribePolicyInstancesStatusResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeRegionsRequest extends RpcAcsRequest<DescribeRegionsResponse> { private String language; public DescribeRegionsRequest() { super("adcp", "2022-01-01", "DescribeRegions", "adcp"); 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 getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putQueryParameter("Language", language); } } @Override public Class<DescribeRegionsResponse> getResponseClass() { return DescribeRegionsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.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 regionVpcEndpoint; 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 getRegionVpcEndpoint() { return this.regionVpcEndpoint; } public void setRegionVpcEndpoint(String regionVpcEndpoint) { this.regionVpcEndpoint = regionVpcEndpoint; } 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); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeUserPermissionsRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DescribeUserPermissionsRequest extends RpcAcsRequest<DescribeUserPermissionsResponse> { private String userId; public DescribeUserPermissionsRequest() { super("adcp", "2022-01-01", "DescribeUserPermissions", "adcp"); 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 getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } @Override public Class<DescribeUserPermissionsResponse> getResponseClass() { return DescribeUserPermissionsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DescribeUserPermissionsResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DescribeUserPermissionsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeUserPermissionsResponse extends AcsResponse { private String requestId; private List<Permission> permissions; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Permission> getPermissions() { return this.permissions; } public void setPermissions(List<Permission> permissions) { this.permissions = permissions; } public static class Permission { private String roleType; private String roleName; private String resourceType; private String resourceId; public String getRoleType() { return this.roleType; } public void setRoleType(String roleType) { this.roleType = roleType; } public String getRoleName() { return this.roleName; } public void setRoleName(String roleName) { this.roleName = roleName; } public String getResourceType() { return this.resourceType; } public void setResourceType(String resourceType) { this.resourceType = resourceType; } public String getResourceId() { return this.resourceId; } public void setResourceId(String resourceId) { this.resourceId = resourceId; } } @Override public DescribeUserPermissionsResponse getInstance(UnmarshallerContext context) { return DescribeUserPermissionsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DetachClusterFromHubRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class DetachClusterFromHubRequest extends RpcAcsRequest<DetachClusterFromHubResponse> { private Boolean detachFromMesh; private String clusterId; private String clusterIds; public DetachClusterFromHubRequest() { super("adcp", "2022-01-01", "DetachClusterFromHub", "adcp"); 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 getDetachFromMesh() { return this.detachFromMesh; } public void setDetachFromMesh(Boolean detachFromMesh) { this.detachFromMesh = detachFromMesh; if(detachFromMesh != null){ putQueryParameter("DetachFromMesh", detachFromMesh.toString()); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getClusterIds() { return this.clusterIds; } public void setClusterIds(String clusterIds) { this.clusterIds = clusterIds; if(clusterIds != null){ putBodyParameter("ClusterIds", clusterIds); } } @Override public Class<DetachClusterFromHubResponse> getResponseClass() { return DetachClusterFromHubResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/DetachClusterFromHubResponse.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.adcp.model.v20220101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.DetachClusterFromHubResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DetachClusterFromHubResponse extends AcsResponse { private String requestId; private String clusterId; private String taskId; private List<String> managedClusterIds; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } public List<String> getManagedClusterIds() { return this.managedClusterIds; } public void setManagedClusterIds(List<String> managedClusterIds) { this.managedClusterIds = managedClusterIds; } @Override public DetachClusterFromHubResponse getInstance(UnmarshallerContext context) { return DetachClusterFromHubResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/GrantUserPermissionRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class GrantUserPermissionRequest extends RpcAcsRequest<GrantUserPermissionResponse> { private String userId; private Boolean isRamRole; private String roleType; private String roleName; private String clusterId; private String namespace; public GrantUserPermissionRequest() { super("adcp", "2022-01-01", "GrantUserPermission", "adcp"); 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 getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } public Boolean getIsRamRole() { return this.isRamRole; } public void setIsRamRole(Boolean isRamRole) { this.isRamRole = isRamRole; if(isRamRole != null){ putQueryParameter("IsRamRole", isRamRole.toString()); } } public String getRoleType() { return this.roleType; } public void setRoleType(String roleType) { this.roleType = roleType; if(roleType != null){ putQueryParameter("RoleType", roleType); } } public String getRoleName() { return this.roleName; } public void setRoleName(String roleName) { this.roleName = roleName; if(roleName != null){ putQueryParameter("RoleName", roleName); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } @Override public Class<GrantUserPermissionResponse> getResponseClass() { return GrantUserPermissionResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/GrantUserPermissionResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.GrantUserPermissionResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GrantUserPermissionResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public GrantUserPermissionResponse getInstance(UnmarshallerContext context) { return GrantUserPermissionResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/GrantUserPermissionsRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class GrantUserPermissionsRequest extends RpcAcsRequest<GrantUserPermissionsResponse> { private String userId; @SerializedName("permissions") private List<Permissions> permissions; public GrantUserPermissionsRequest() { super("adcp", "2022-01-01", "GrantUserPermissions", "adcp"); 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 getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } public List<Permissions> getPermissions() { return this.permissions; } public void setPermissions(List<Permissions> permissions) { this.permissions = permissions; if (permissions != null) { putQueryParameter("Permissions" , new Gson().toJson(permissions)); } } public static class Permissions { @SerializedName("IsRamRole") private Boolean isRamRole; @SerializedName("RoleName") private String roleName; @SerializedName("Namespace") private String namespace; @SerializedName("RoleType") private String roleType; @SerializedName("ClusterId") private String clusterId; public Boolean getIsRamRole() { return this.isRamRole; } public void setIsRamRole(Boolean isRamRole) { this.isRamRole = isRamRole; } public String getRoleName() { return this.roleName; } public void setRoleName(String roleName) { this.roleName = roleName; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getRoleType() { return this.roleType; } public void setRoleType(String roleType) { this.roleType = roleType; } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; } } @Override public Class<GrantUserPermissionsResponse> getResponseClass() { return GrantUserPermissionsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/GrantUserPermissionsResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.GrantUserPermissionsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GrantUserPermissionsResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public GrantUserPermissionsResponse getInstance(UnmarshallerContext context) { return GrantUserPermissionsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/UpdateHubClusterFeatureRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class UpdateHubClusterFeatureRequest extends RpcAcsRequest<UpdateHubClusterFeatureResponse> { @SerializedName("accessControlList") private List<String> accessControlList; private Boolean monitorEnabled; private Boolean deletionProtection; private Boolean enableMesh; private Boolean argoCDHAEnabled; private Boolean argoCDEnabled; @SerializedName("vSwitches") private List<String> vSwitches; private String name; private Boolean publicAccessEnabled; private Boolean publicApiServerEnabled; private Boolean argoServerEnabled; private String workflowScheduleMode; private Boolean auditLogEnabled; private String clusterId; private String priceLimit; private String apiServerEipId; public UpdateHubClusterFeatureRequest() { super("adcp", "2022-01-01", "UpdateHubClusterFeature", "adcp"); 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 List<String> getAccessControlList() { return this.accessControlList; } public void setAccessControlList(List<String> accessControlList) { this.accessControlList = accessControlList; if (accessControlList != null) { putQueryParameter("AccessControlList" , new Gson().toJson(accessControlList)); } } public Boolean getMonitorEnabled() { return this.monitorEnabled; } public void setMonitorEnabled(Boolean monitorEnabled) { this.monitorEnabled = monitorEnabled; if(monitorEnabled != null){ putQueryParameter("MonitorEnabled", monitorEnabled.toString()); } } public Boolean getDeletionProtection() { return this.deletionProtection; } public void setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; if(deletionProtection != null){ putQueryParameter("DeletionProtection", deletionProtection.toString()); } } public Boolean getEnableMesh() { return this.enableMesh; } public void setEnableMesh(Boolean enableMesh) { this.enableMesh = enableMesh; if(enableMesh != null){ putQueryParameter("EnableMesh", enableMesh.toString()); } } public Boolean getArgoCDHAEnabled() { return this.argoCDHAEnabled; } public void setArgoCDHAEnabled(Boolean argoCDHAEnabled) { this.argoCDHAEnabled = argoCDHAEnabled; if(argoCDHAEnabled != null){ putQueryParameter("ArgoCDHAEnabled", argoCDHAEnabled.toString()); } } public Boolean getArgoCDEnabled() { return this.argoCDEnabled; } public void setArgoCDEnabled(Boolean argoCDEnabled) { this.argoCDEnabled = argoCDEnabled; if(argoCDEnabled != null){ putQueryParameter("ArgoCDEnabled", argoCDEnabled.toString()); } } public List<String> getVSwitches() { return this.vSwitches; } public void setVSwitches(List<String> vSwitches) { this.vSwitches = vSwitches; if (vSwitches != null) { putQueryParameter("VSwitches" , new Gson().toJson(vSwitches)); } } public String getName() { return this.name; } public void setName(String name) { this.name = name; if(name != null){ putQueryParameter("Name", name); } } public Boolean getPublicAccessEnabled() { return this.publicAccessEnabled; } public void setPublicAccessEnabled(Boolean publicAccessEnabled) { this.publicAccessEnabled = publicAccessEnabled; if(publicAccessEnabled != null){ putQueryParameter("PublicAccessEnabled", publicAccessEnabled.toString()); } } public Boolean getPublicApiServerEnabled() { return this.publicApiServerEnabled; } public void setPublicApiServerEnabled(Boolean publicApiServerEnabled) { this.publicApiServerEnabled = publicApiServerEnabled; if(publicApiServerEnabled != null){ putQueryParameter("PublicApiServerEnabled", publicApiServerEnabled.toString()); } } public Boolean getArgoServerEnabled() { return this.argoServerEnabled; } public void setArgoServerEnabled(Boolean argoServerEnabled) { this.argoServerEnabled = argoServerEnabled; if(argoServerEnabled != null){ putQueryParameter("ArgoServerEnabled", argoServerEnabled.toString()); } } public String getWorkflowScheduleMode() { return this.workflowScheduleMode; } public void setWorkflowScheduleMode(String workflowScheduleMode) { this.workflowScheduleMode = workflowScheduleMode; if(workflowScheduleMode != null){ putQueryParameter("WorkflowScheduleMode", workflowScheduleMode); } } public Boolean getAuditLogEnabled() { return this.auditLogEnabled; } public void setAuditLogEnabled(Boolean auditLogEnabled) { this.auditLogEnabled = auditLogEnabled; if(auditLogEnabled != null){ putQueryParameter("AuditLogEnabled", auditLogEnabled.toString()); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getPriceLimit() { return this.priceLimit; } public void setPriceLimit(String priceLimit) { this.priceLimit = priceLimit; if(priceLimit != null){ putQueryParameter("PriceLimit", priceLimit); } } public String getApiServerEipId() { return this.apiServerEipId; } public void setApiServerEipId(String apiServerEipId) { this.apiServerEipId = apiServerEipId; if(apiServerEipId != null){ putQueryParameter("ApiServerEipId", apiServerEipId); } } @Override public Class<UpdateHubClusterFeatureResponse> getResponseClass() { return UpdateHubClusterFeatureResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/UpdateHubClusterFeatureResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.UpdateHubClusterFeatureResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateHubClusterFeatureResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UpdateHubClusterFeatureResponse getInstance(UnmarshallerContext context) { return UpdateHubClusterFeatureResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/UpdateUserPermissionRequest.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.adcp.model.v20220101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.adcp.Endpoint; /** * @author auto create * @version */ public class UpdateUserPermissionRequest extends RpcAcsRequest<UpdateUserPermissionResponse> { private String userId; private String roleType; private String roleName; private String clusterId; private String namespace; public UpdateUserPermissionRequest() { super("adcp", "2022-01-01", "UpdateUserPermission", "adcp"); 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 getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } public String getRoleType() { return this.roleType; } public void setRoleType(String roleType) { this.roleType = roleType; if(roleType != null){ putQueryParameter("RoleType", roleType); } } public String getRoleName() { return this.roleName; } public void setRoleName(String roleName) { this.roleName = roleName; if(roleName != null){ putQueryParameter("RoleName", roleName); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } @Override public Class<UpdateUserPermissionResponse> getResponseClass() { return UpdateUserPermissionResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/model/v20220101/UpdateUserPermissionResponse.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.adcp.model.v20220101; import com.aliyuncs.AcsResponse; import com.aliyuncs.adcp.transform.v20220101.UpdateUserPermissionResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateUserPermissionResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UpdateUserPermissionResponse getInstance(UnmarshallerContext context) { return UpdateUserPermissionResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/AttachClusterToHubResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.AttachClusterToHubResponse; import com.aliyuncs.transform.UnmarshallerContext; public class AttachClusterToHubResponseUnmarshaller { public static AttachClusterToHubResponse unmarshall(AttachClusterToHubResponse attachClusterToHubResponse, UnmarshallerContext _ctx) { attachClusterToHubResponse.setRequestId(_ctx.stringValue("AttachClusterToHubResponse.RequestId")); attachClusterToHubResponse.setClusterId(_ctx.stringValue("AttachClusterToHubResponse.ClusterId")); attachClusterToHubResponse.setTaskId(_ctx.stringValue("AttachClusterToHubResponse.TaskId")); List<String> managedClusterIds = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("AttachClusterToHubResponse.ManagedClusterIds.Length"); i++) { managedClusterIds.add(_ctx.stringValue("AttachClusterToHubResponse.ManagedClusterIds["+ i +"]")); } attachClusterToHubResponse.setManagedClusterIds(managedClusterIds); return attachClusterToHubResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/CreateHubClusterResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.CreateHubClusterResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHubClusterResponseUnmarshaller { public static CreateHubClusterResponse unmarshall(CreateHubClusterResponse createHubClusterResponse, UnmarshallerContext _ctx) { createHubClusterResponse.setRequestId(_ctx.stringValue("CreateHubClusterResponse.RequestId")); createHubClusterResponse.setClusterId(_ctx.stringValue("CreateHubClusterResponse.ClusterId")); createHubClusterResponse.setTaskId(_ctx.stringValue("CreateHubClusterResponse.TaskId")); return createHubClusterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DeleteHubClusterResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.DeleteHubClusterResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteHubClusterResponseUnmarshaller { public static DeleteHubClusterResponse unmarshall(DeleteHubClusterResponse deleteHubClusterResponse, UnmarshallerContext _ctx) { deleteHubClusterResponse.setRequestId(_ctx.stringValue("DeleteHubClusterResponse.RequestId")); deleteHubClusterResponse.setClusterId(_ctx.stringValue("DeleteHubClusterResponse.ClusterId")); deleteHubClusterResponse.setTaskId(_ctx.stringValue("DeleteHubClusterResponse.TaskId")); return deleteHubClusterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DeletePolicyInstanceResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.DeletePolicyInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeletePolicyInstanceResponseUnmarshaller { public static DeletePolicyInstanceResponse unmarshall(DeletePolicyInstanceResponse deletePolicyInstanceResponse, UnmarshallerContext _ctx) { deletePolicyInstanceResponse.setRequestId(_ctx.stringValue("DeletePolicyInstanceResponse.RequestId")); return deletePolicyInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DeleteUserPermissionResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.DeleteUserPermissionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteUserPermissionResponseUnmarshaller { public static DeleteUserPermissionResponse unmarshall(DeleteUserPermissionResponse deleteUserPermissionResponse, UnmarshallerContext _ctx) { deleteUserPermissionResponse.setRequestId(_ctx.stringValue("DeleteUserPermissionResponse.RequestId")); return deleteUserPermissionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DeployPolicyInstanceResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.DeployPolicyInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeployPolicyInstanceResponseUnmarshaller { public static DeployPolicyInstanceResponse unmarshall(DeployPolicyInstanceResponse deployPolicyInstanceResponse, UnmarshallerContext _ctx) { deployPolicyInstanceResponse.setRequestId(_ctx.stringValue("DeployPolicyInstanceResponse.RequestId")); return deployPolicyInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribeHubClusterDetailsResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.ApiServer; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.ClusterInfo; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.Condition; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.Endpoints; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.LogConfig; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.MeshConfig; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.Network; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnit; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnit.VSwitch; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHubClusterDetailsResponseUnmarshaller { public static DescribeHubClusterDetailsResponse unmarshall(DescribeHubClusterDetailsResponse describeHubClusterDetailsResponse, UnmarshallerContext _ctx) { describeHubClusterDetailsResponse.setRequestId(_ctx.stringValue("DescribeHubClusterDetailsResponse.RequestId")); Cluster cluster = new Cluster(); Endpoints endpoints = new Endpoints(); endpoints.setIntranetApiServerEndpoint(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Endpoints.IntranetApiServerEndpoint")); endpoints.setPublicApiServerEndpoint(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Endpoints.PublicApiServerEndpoint")); cluster.setEndpoints(endpoints); ClusterInfo clusterInfo = new ClusterInfo(); clusterInfo.setProfile(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.Profile")); clusterInfo.setCreationTime(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.CreationTime")); clusterInfo.setUpdateTime(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.UpdateTime")); clusterInfo.setErrorMessage(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.ErrorMessage")); clusterInfo.setVersion(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.Version")); clusterInfo.setState(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.State")); clusterInfo.setClusterId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.ClusterId")); clusterInfo.setName(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.Name")); clusterInfo.setRegionId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.RegionId")); clusterInfo.setClusterSpec(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ClusterInfo.ClusterSpec")); cluster.setClusterInfo(clusterInfo); Network network = new Network(); network.setVpcId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Network.VpcId")); network.setIPStack(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Network.IPStack")); network.setClusterDomain(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Network.ClusterDomain")); List<String> vSwitches = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeHubClusterDetailsResponse.Cluster.Network.VSwitches.Length"); i++) { vSwitches.add(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Network.VSwitches["+ i +"]")); } network.setVSwitches(vSwitches); List<String> securityGroupIDs = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeHubClusterDetailsResponse.Cluster.Network.SecurityGroupIDs.Length"); i++) { securityGroupIDs.add(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Network.SecurityGroupIDs["+ i +"]")); } network.setSecurityGroupIDs(securityGroupIDs); cluster.setNetwork(network); ApiServer apiServer = new ApiServer(); apiServer.setEnabledPublic(_ctx.booleanValue("DescribeHubClusterDetailsResponse.Cluster.ApiServer.EnabledPublic")); apiServer.setLoadBalancerId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ApiServer.LoadBalancerId")); apiServer.setApiServerEipId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.ApiServer.ApiServerEipId")); cluster.setApiServer(apiServer); MeshConfig meshConfig = new MeshConfig(); meshConfig.setEnableMesh(_ctx.booleanValue("DescribeHubClusterDetailsResponse.Cluster.MeshConfig.EnableMesh")); meshConfig.setMeshId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.MeshConfig.MeshId")); cluster.setMeshConfig(meshConfig); LogConfig logConfig = new LogConfig(); logConfig.setEnableLog(_ctx.booleanValue("DescribeHubClusterDetailsResponse.Cluster.LogConfig.EnableLog")); logConfig.setLogProject(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.LogConfig.LogProject")); logConfig.setLogStoreTTL(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.LogConfig.LogStoreTTL")); cluster.setLogConfig(logConfig); WorkflowConfig workflowConfig = new WorkflowConfig(); workflowConfig.setArgoServerEnabled(_ctx.booleanValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.ArgoServerEnabled")); workflowConfig.setWorkflowScheduleMode(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowScheduleMode")); workflowConfig.setPriceLimit(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.PriceLimit")); List<WorkflowUnit> workflowUnits = new ArrayList<WorkflowUnit>(); for (int i = 0; i < _ctx.lengthValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnits.Length"); i++) { WorkflowUnit workflowUnit = new WorkflowUnit(); workflowUnit.setRegionId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnits["+ i +"].RegionId")); workflowUnit.setVpcId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnits["+ i +"].VpcId")); List<VSwitch> vSwitches1 = new ArrayList<VSwitch>(); for (int j = 0; j < _ctx.lengthValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnits["+ i +"].VSwitches.Length"); j++) { VSwitch vSwitch = new VSwitch(); vSwitch.setVswitchId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnits["+ i +"].VSwitches["+ j +"].VswitchId")); vSwitch.setZoneId(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.WorkflowConfig.WorkflowUnits["+ i +"].VSwitches["+ j +"].ZoneId")); vSwitches1.add(vSwitch); } workflowUnit.setVSwitches1(vSwitches1); workflowUnits.add(workflowUnit); } workflowConfig.setWorkflowUnits(workflowUnits); cluster.setWorkflowConfig(workflowConfig); List<Condition> conditions = new ArrayList<Condition>(); for (int i = 0; i < _ctx.lengthValue("DescribeHubClusterDetailsResponse.Cluster.Conditions.Length"); i++) { Condition condition = new Condition(); condition.setType(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Conditions["+ i +"].Type")); condition.setStatus(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Conditions["+ i +"].Status")); condition.setReason(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Conditions["+ i +"].Reason")); condition.setMessage(_ctx.stringValue("DescribeHubClusterDetailsResponse.Cluster.Conditions["+ i +"].Message")); conditions.add(condition); } cluster.setConditions(conditions); describeHubClusterDetailsResponse.setCluster(cluster); return describeHubClusterDetailsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribeHubClusterKubeconfigResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterKubeconfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHubClusterKubeconfigResponseUnmarshaller { public static DescribeHubClusterKubeconfigResponse unmarshall(DescribeHubClusterKubeconfigResponse describeHubClusterKubeconfigResponse, UnmarshallerContext _ctx) { describeHubClusterKubeconfigResponse.setRequestId(_ctx.stringValue("DescribeHubClusterKubeconfigResponse.RequestId")); describeHubClusterKubeconfigResponse.setKubeconfig(_ctx.stringValue("DescribeHubClusterKubeconfigResponse.Kubeconfig")); return describeHubClusterKubeconfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribeHubClusterLogsResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterLogsResponse; import com.aliyuncs.adcp.model.v20220101.DescribeHubClusterLogsResponse.Log; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHubClusterLogsResponseUnmarshaller { public static DescribeHubClusterLogsResponse unmarshall(DescribeHubClusterLogsResponse describeHubClusterLogsResponse, UnmarshallerContext _ctx) { describeHubClusterLogsResponse.setRequestId(_ctx.stringValue("DescribeHubClusterLogsResponse.RequestId")); List<Log> logs = new ArrayList<Log>(); for (int i = 0; i < _ctx.lengthValue("DescribeHubClusterLogsResponse.Logs.Length"); i++) { Log log = new Log(); log.setCreationTime(_ctx.stringValue("DescribeHubClusterLogsResponse.Logs["+ i +"].CreationTime")); log.setClusterId(_ctx.stringValue("DescribeHubClusterLogsResponse.Logs["+ i +"].ClusterId")); log.setClusterLog(_ctx.stringValue("DescribeHubClusterLogsResponse.Logs["+ i +"].ClusterLog")); log.setLogLevel(_ctx.stringValue("DescribeHubClusterLogsResponse.Logs["+ i +"].LogLevel")); logs.add(log); } describeHubClusterLogsResponse.setLogs(logs); return describeHubClusterLogsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribeHubClustersResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.ApiServer; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.ClusterInfo; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.Condition; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.Endpoints; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.LogConfig; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.MeshConfig; import com.aliyuncs.adcp.model.v20220101.DescribeHubClustersResponse.Cluster.Network; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHubClustersResponseUnmarshaller { public static DescribeHubClustersResponse unmarshall(DescribeHubClustersResponse describeHubClustersResponse, UnmarshallerContext _ctx) { describeHubClustersResponse.setRequestId(_ctx.stringValue("DescribeHubClustersResponse.RequestId")); List<Cluster> clusters = new ArrayList<Cluster>(); for (int i = 0; i < _ctx.lengthValue("DescribeHubClustersResponse.Clusters.Length"); i++) { Cluster cluster = new Cluster(); Endpoints endpoints = new Endpoints(); endpoints.setIntranetApiServerEndpoint(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Endpoints.IntranetApiServerEndpoint")); endpoints.setPublicApiServerEndpoint(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Endpoints.PublicApiServerEndpoint")); cluster.setEndpoints(endpoints); ClusterInfo clusterInfo = new ClusterInfo(); clusterInfo.setProfile(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.Profile")); clusterInfo.setCreationTime(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.CreationTime")); clusterInfo.setUpdateTime(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.UpdateTime")); clusterInfo.setErrorMessage(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.ErrorMessage")); clusterInfo.setVersion(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.Version")); clusterInfo.setState(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.State")); clusterInfo.setClusterId(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.ClusterId")); clusterInfo.setName(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.Name")); clusterInfo.setRegionId(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.RegionId")); clusterInfo.setClusterSpec(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ClusterInfo.ClusterSpec")); cluster.setClusterInfo(clusterInfo); Network network = new Network(); network.setVpcId(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Network.VpcId")); network.setClusterDomain(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Network.ClusterDomain")); List<String> vSwitches = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeHubClustersResponse.Clusters["+ i +"].Network.VSwitches.Length"); j++) { vSwitches.add(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Network.VSwitches["+ j +"]")); } network.setVSwitches(vSwitches); List<String> securityGroupIDs = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeHubClustersResponse.Clusters["+ i +"].Network.SecurityGroupIDs.Length"); j++) { securityGroupIDs.add(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Network.SecurityGroupIDs["+ j +"]")); } network.setSecurityGroupIDs(securityGroupIDs); cluster.setNetwork(network); ApiServer apiServer = new ApiServer(); apiServer.setEnabledPublic(_ctx.booleanValue("DescribeHubClustersResponse.Clusters["+ i +"].ApiServer.EnabledPublic")); apiServer.setLoadBalancerId(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ApiServer.LoadBalancerId")); apiServer.setApiServerEipId(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].ApiServer.ApiServerEipId")); cluster.setApiServer(apiServer); MeshConfig meshConfig = new MeshConfig(); meshConfig.setEnableMesh(_ctx.booleanValue("DescribeHubClustersResponse.Clusters["+ i +"].MeshConfig.EnableMesh")); meshConfig.setMeshId(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].MeshConfig.MeshId")); cluster.setMeshConfig(meshConfig); LogConfig logConfig = new LogConfig(); logConfig.setEnableLog(_ctx.booleanValue("DescribeHubClustersResponse.Clusters["+ i +"].LogConfig.EnableLog")); logConfig.setLogProject(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].LogConfig.LogProject")); logConfig.setLogStoreTTL(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].LogConfig.LogStoreTTL")); cluster.setLogConfig(logConfig); List<Condition> conditions = new ArrayList<Condition>(); for (int j = 0; j < _ctx.lengthValue("DescribeHubClustersResponse.Clusters["+ i +"].Conditions.Length"); j++) { Condition condition = new Condition(); condition.setType(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Conditions["+ j +"].Type")); condition.setStatus(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Conditions["+ j +"].Status")); condition.setReason(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Conditions["+ j +"].Reason")); condition.setMessage(_ctx.stringValue("DescribeHubClustersResponse.Clusters["+ i +"].Conditions["+ j +"].Message")); conditions.add(condition); } cluster.setConditions(conditions); clusters.add(cluster); } describeHubClustersResponse.setClusters(clusters); return describeHubClustersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribeManagedClustersResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribeManagedClustersResponse; import com.aliyuncs.adcp.model.v20220101.DescribeManagedClustersResponse.Cluster; import com.aliyuncs.adcp.model.v20220101.DescribeManagedClustersResponse.Cluster.Cluster1; import com.aliyuncs.adcp.model.v20220101.DescribeManagedClustersResponse.Cluster.MeshStatus; import com.aliyuncs.adcp.model.v20220101.DescribeManagedClustersResponse.Cluster.Status; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeManagedClustersResponseUnmarshaller { public static DescribeManagedClustersResponse unmarshall(DescribeManagedClustersResponse describeManagedClustersResponse, UnmarshallerContext _ctx) { describeManagedClustersResponse.setRequestId(_ctx.stringValue("DescribeManagedClustersResponse.RequestId")); List<Cluster> clusters = new ArrayList<Cluster>(); for (int i = 0; i < _ctx.lengthValue("DescribeManagedClustersResponse.Clusters.Length"); i++) { Cluster cluster = new Cluster(); Cluster1 cluster1 = new Cluster1(); cluster1.setName(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.Name")); cluster1.setClusterID(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.ClusterID")); cluster1.setRegion(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.Region")); cluster1.setState(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.State")); cluster1.setClusterType(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.ClusterType")); cluster1.setCreated(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.Created")); cluster1.setUpdated(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.Updated")); cluster1.setInitVersion(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.InitVersion")); cluster1.setCurrentVersion(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.CurrentVersion")); cluster1.setResourceGroupId(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.ResourceGroupId")); cluster1.setVpcID(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.VpcID")); cluster1.setVSwitchID(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.VSwitchID")); cluster1.setProfile(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.Profile")); cluster1.setClusterSpec(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Cluster.ClusterSpec")); cluster.setCluster1(cluster1); Status status = new Status(); status.setState(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Status.State")); status.setMessage(_ctx.stringValue("DescribeManagedClustersResponse.Clusters["+ i +"].Status.Message")); cluster.setStatus(status); MeshStatus meshStatus = new MeshStatus(); meshStatus.setInMesh(_ctx.booleanValue("DescribeManagedClustersResponse.Clusters["+ i +"].MeshStatus.InMesh")); cluster.setMeshStatus(meshStatus); clusters.add(cluster); } describeManagedClustersResponse.setClusters(clusters); return describeManagedClustersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribePoliciesResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribePoliciesResponse; import com.aliyuncs.adcp.model.v20220101.DescribePoliciesResponse.Policy; import com.aliyuncs.transform.UnmarshallerContext; public class DescribePoliciesResponseUnmarshaller { public static DescribePoliciesResponse unmarshall(DescribePoliciesResponse describePoliciesResponse, UnmarshallerContext _ctx) { describePoliciesResponse.setRequestId(_ctx.stringValue("DescribePoliciesResponse.RequestId")); List<Policy> policies = new ArrayList<Policy>(); for (int i = 0; i < _ctx.lengthValue("DescribePoliciesResponse.Policies.Length"); i++) { Policy policy = new Policy(); policy.setCategory(_ctx.stringValue("DescribePoliciesResponse.Policies["+ i +"].Category")); List<String> names = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribePoliciesResponse.Policies["+ i +"].Names.Length"); j++) { names.add(_ctx.stringValue("DescribePoliciesResponse.Policies["+ i +"].Names["+ j +"]")); } policy.setNames(names); policies.add(policy); } describePoliciesResponse.setPolicies(policies); return describePoliciesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribePolicyDetailsResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.DescribePolicyDetailsResponse; import com.aliyuncs.adcp.model.v20220101.DescribePolicyDetailsResponse.Policy; import com.aliyuncs.transform.UnmarshallerContext; public class DescribePolicyDetailsResponseUnmarshaller { public static DescribePolicyDetailsResponse unmarshall(DescribePolicyDetailsResponse describePolicyDetailsResponse, UnmarshallerContext _ctx) { describePolicyDetailsResponse.setRequestId(_ctx.stringValue("DescribePolicyDetailsResponse.RequestId")); Policy policy = new Policy(); policy.setName(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Name")); policy.setCategory(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Category")); policy.setDescription(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Description")); policy.setAction(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Action")); policy.setSeverity(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Severity")); policy.setTemplate(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Template")); policy.setNoConfig(_ctx.integerValue("DescribePolicyDetailsResponse.Policy.NoConfig")); policy.setCreated(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Created")); policy.setUpdated(_ctx.stringValue("DescribePolicyDetailsResponse.Policy.Updated")); describePolicyDetailsResponse.setPolicy(policy); return describePolicyDetailsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribePolicyGovernanceInClusterResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.Cluster; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.AdmitLog; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.State; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation.TotalViolations; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation.TotalViolations.DenySeverity; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation.TotalViolations.WarnSeverity; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation.Violations; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation.Violations.DenyViolations; import com.aliyuncs.adcp.model.v20220101.DescribePolicyGovernanceInClusterResponse.PolicyGovernance.PolicyGovernance1.Violation.Violations.WarnViolations; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribePolicyGovernanceInClusterResponseUnmarshaller { public static DescribePolicyGovernanceInClusterResponse unmarshall(DescribePolicyGovernanceInClusterResponse describePolicyGovernanceInClusterResponse, UnmarshallerContext _ctx) { describePolicyGovernanceInClusterResponse.setRequestId(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.RequestId")); List<PolicyGovernance> policyGovernances = new ArrayList<PolicyGovernance>(); for (int i = 0; i < _ctx.lengthValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances.Length"); i++) { PolicyGovernance policyGovernance = new PolicyGovernance(); Cluster cluster = new Cluster(); cluster.setClusterId(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.ClusterId")); cluster.setName(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.Name")); cluster.setRegionId(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.RegionId")); cluster.setState(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.State")); cluster.setClusterType(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.ClusterType")); cluster.setClusterSpec(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.ClusterSpec")); cluster.setProfile(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].Cluster.Profile")); policyGovernance.setCluster(cluster); PolicyGovernance1 policyGovernance1 = new PolicyGovernance1(); AdmitLog admitLog = new AdmitLog(); admitLog.setProgress(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.AdmitLog.Progress")); admitLog.setCount(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.AdmitLog.Count")); admitLog.setLogProject(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.AdmitLog.LogProject")); admitLog.setLogStore(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.AdmitLog.LogStore")); List<Map<Object, Object>> logs = _ctx.listMapValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.AdmitLog.Logs"); admitLog.setLogs(logs); policyGovernance1.setAdmitLog(admitLog); Violation violation = new Violation(); TotalViolations totalViolations = new TotalViolations(); List<DenySeverity> deny = new ArrayList<DenySeverity>(); for (int j = 0; j < _ctx.lengthValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.TotalViolations.Deny.Length"); j++) { DenySeverity denySeverity = new DenySeverity(); denySeverity.setSeverity(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.TotalViolations.Deny["+ j +"].Severity")); denySeverity.setViolations(_ctx.longValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.TotalViolations.Deny["+ j +"].Violations")); deny.add(denySeverity); } totalViolations.setDeny(deny); List<WarnSeverity> warn = new ArrayList<WarnSeverity>(); for (int j = 0; j < _ctx.lengthValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.TotalViolations.Warn.Length"); j++) { WarnSeverity warnSeverity = new WarnSeverity(); warnSeverity.setSeverity(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.TotalViolations.Warn["+ j +"].Severity")); warnSeverity.setViolations(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.TotalViolations.Warn["+ j +"].Violations")); warn.add(warnSeverity); } totalViolations.setWarn(warn); violation.setTotalViolations(totalViolations); Violations violations = new Violations(); List<DenyViolations> deny2 = new ArrayList<DenyViolations>(); for (int j = 0; j < _ctx.lengthValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Deny.Length"); j++) { DenyViolations denyViolations = new DenyViolations(); denyViolations.setPolicyName(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Deny["+ j +"].PolicyName")); denyViolations.setPolicyDescription(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Deny["+ j +"].PolicyDescription")); denyViolations.setSeverity(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Deny["+ j +"].Severity")); denyViolations.setViolations(_ctx.longValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Deny["+ j +"].Violations")); deny2.add(denyViolations); } violations.setDeny2(deny2); List<WarnViolations> warn3 = new ArrayList<WarnViolations>(); for (int j = 0; j < _ctx.lengthValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Warn.Length"); j++) { WarnViolations warnViolations = new WarnViolations(); warnViolations.setPolicyName(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Warn["+ j +"].PolicyName")); warnViolations.setPolicyDescription(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Warn["+ j +"].PolicyDescription")); warnViolations.setSeverity(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Warn["+ j +"].Severity")); warnViolations.setViolations(_ctx.longValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.Violation.Violations.Warn["+ j +"].Violations")); warn3.add(warnViolations); } violations.setWarn3(warn3); violation.setViolations(violations); policyGovernance1.setViolation(violation); List<State> onState = new ArrayList<State>(); for (int j = 0; j < _ctx.lengthValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.OnState.Length"); j++) { State state = new State(); state.setEnabledCount(_ctx.longValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.OnState["+ j +"].EnabledCount")); state.setTotalCount(_ctx.longValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.OnState["+ j +"].TotalCount")); state.setSeverity(_ctx.stringValue("DescribePolicyGovernanceInClusterResponse.PolicyGovernances["+ i +"].PolicyGovernance.OnState["+ j +"].Severity")); onState.add(state); } policyGovernance1.setOnState(onState); policyGovernance.setPolicyGovernance1(policyGovernance1); policyGovernances.add(policyGovernance); } describePolicyGovernanceInClusterResponse.setPolicyGovernances(policyGovernances); return describePolicyGovernanceInClusterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribePolicyInstancesResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesResponse; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesResponse.Policy; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribePolicyInstancesResponseUnmarshaller { public static DescribePolicyInstancesResponse unmarshall(DescribePolicyInstancesResponse describePolicyInstancesResponse, UnmarshallerContext _ctx) { describePolicyInstancesResponse.setRequestId(_ctx.stringValue("DescribePolicyInstancesResponse.RequestId")); List<Policy> policies = new ArrayList<Policy>(); for (int i = 0; i < _ctx.lengthValue("DescribePolicyInstancesResponse.Policies.Length"); i++) { Policy policy = new Policy(); policy.setPolicyName(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicyName")); policy.setInstanceName(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].InstanceName")); policy.setPolicyCategory(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicyCategory")); policy.setPolicyDescription(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicyDescription")); policy.setPolicySeverity(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicySeverity")); policy.setPolicyScope(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicyScope")); policy.setPolicyAction(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicyAction")); policy.setTotalViolations(_ctx.longValue("DescribePolicyInstancesResponse.Policies["+ i +"].TotalViolations")); policy.setClusterId(_ctx.stringValue("DescribePolicyInstancesResponse.Policies["+ i +"].ClusterId")); policy.setPolicyParameters(_ctx.mapValue("DescribePolicyInstancesResponse.Policies["+ i +"].PolicyParameters")); policies.add(policy); } describePolicyInstancesResponse.setPolicies(policies); return describePolicyInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribePolicyInstancesStatusResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesStatusResponse; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesStatusResponse.Policies; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesStatusResponse.Policies.PolicyInstance; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesStatusResponse.Policies.PolicyInstance.PolicyCluster; import com.aliyuncs.adcp.model.v20220101.DescribePolicyInstancesStatusResponse.Policies.SeverityInfoItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribePolicyInstancesStatusResponseUnmarshaller { public static DescribePolicyInstancesStatusResponse unmarshall(DescribePolicyInstancesStatusResponse describePolicyInstancesStatusResponse, UnmarshallerContext _ctx) { describePolicyInstancesStatusResponse.setRequestId(_ctx.stringValue("DescribePolicyInstancesStatusResponse.RequestId")); Policies policies = new Policies(); List<PolicyInstance> policyInstances = new ArrayList<PolicyInstance>(); for (int i = 0; i < _ctx.lengthValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances.Length"); i++) { PolicyInstance policyInstance = new PolicyInstance(); policyInstance.setPolicyName(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyName")); policyInstance.setPolicyCategory(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyCategory")); policyInstance.setPolicyDescription(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyDescription")); policyInstance.setPolicySeverity(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicySeverity")); policyInstance.setPolicyInstancesCount(_ctx.longValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyInstancesCount")); List<PolicyCluster> policyClusters = new ArrayList<PolicyCluster>(); for (int j = 0; j < _ctx.lengthValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyClusters.Length"); j++) { PolicyCluster policyCluster = new PolicyCluster(); policyCluster.setClusterId(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyClusters["+ j +"].ClusterId")); policyCluster.setStatus(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.PolicyInstances["+ i +"].PolicyClusters["+ j +"].Status")); policyClusters.add(policyCluster); } policyInstance.setPolicyClusters(policyClusters); policyInstances.add(policyInstance); } policies.setPolicyInstances(policyInstances); List<SeverityInfoItem> severityInfo = new ArrayList<SeverityInfoItem>(); for (int i = 0; i < _ctx.lengthValue("DescribePolicyInstancesStatusResponse.Policies.SeverityInfo.Length"); i++) { SeverityInfoItem severityInfoItem = new SeverityInfoItem(); severityInfoItem.setSeverityType(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.SeverityInfo["+ i +"].SeverityType")); severityInfoItem.setSeverityCount(_ctx.stringValue("DescribePolicyInstancesStatusResponse.Policies.SeverityInfo["+ i +"].SeverityCount")); severityInfo.add(severityInfoItem); } policies.setSeverityInfo(severityInfo); describePolicyInstancesStatusResponse.setPolicies(policies); return describePolicyInstancesStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribeRegionsResponse; import com.aliyuncs.adcp.model.v20220101.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.setRegionVpcEndpoint(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionVpcEndpoint")); region.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName")); regions.add(region); } describeRegionsResponse.setRegions(regions); return describeRegionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DescribeUserPermissionsResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DescribeUserPermissionsResponse; import com.aliyuncs.adcp.model.v20220101.DescribeUserPermissionsResponse.Permission; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeUserPermissionsResponseUnmarshaller { public static DescribeUserPermissionsResponse unmarshall(DescribeUserPermissionsResponse describeUserPermissionsResponse, UnmarshallerContext _ctx) { describeUserPermissionsResponse.setRequestId(_ctx.stringValue("DescribeUserPermissionsResponse.RequestId")); List<Permission> permissions = new ArrayList<Permission>(); for (int i = 0; i < _ctx.lengthValue("DescribeUserPermissionsResponse.Permissions.Length"); i++) { Permission permission = new Permission(); permission.setRoleType(_ctx.stringValue("DescribeUserPermissionsResponse.Permissions["+ i +"].RoleType")); permission.setRoleName(_ctx.stringValue("DescribeUserPermissionsResponse.Permissions["+ i +"].RoleName")); permission.setResourceType(_ctx.stringValue("DescribeUserPermissionsResponse.Permissions["+ i +"].ResourceType")); permission.setResourceId(_ctx.stringValue("DescribeUserPermissionsResponse.Permissions["+ i +"].ResourceId")); permissions.add(permission); } describeUserPermissionsResponse.setPermissions(permissions); return describeUserPermissionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/DetachClusterFromHubResponseUnmarshaller.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.adcp.transform.v20220101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.adcp.model.v20220101.DetachClusterFromHubResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DetachClusterFromHubResponseUnmarshaller { public static DetachClusterFromHubResponse unmarshall(DetachClusterFromHubResponse detachClusterFromHubResponse, UnmarshallerContext _ctx) { detachClusterFromHubResponse.setRequestId(_ctx.stringValue("DetachClusterFromHubResponse.RequestId")); detachClusterFromHubResponse.setClusterId(_ctx.stringValue("DetachClusterFromHubResponse.ClusterId")); detachClusterFromHubResponse.setTaskId(_ctx.stringValue("DetachClusterFromHubResponse.TaskId")); List<String> managedClusterIds = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DetachClusterFromHubResponse.ManagedClusterIds.Length"); i++) { managedClusterIds.add(_ctx.stringValue("DetachClusterFromHubResponse.ManagedClusterIds["+ i +"]")); } detachClusterFromHubResponse.setManagedClusterIds(managedClusterIds); return detachClusterFromHubResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/GrantUserPermissionResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.GrantUserPermissionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GrantUserPermissionResponseUnmarshaller { public static GrantUserPermissionResponse unmarshall(GrantUserPermissionResponse grantUserPermissionResponse, UnmarshallerContext _ctx) { grantUserPermissionResponse.setRequestId(_ctx.stringValue("GrantUserPermissionResponse.RequestId")); return grantUserPermissionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/GrantUserPermissionsResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.GrantUserPermissionsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GrantUserPermissionsResponseUnmarshaller { public static GrantUserPermissionsResponse unmarshall(GrantUserPermissionsResponse grantUserPermissionsResponse, UnmarshallerContext _ctx) { grantUserPermissionsResponse.setRequestId(_ctx.stringValue("GrantUserPermissionsResponse.RequestId")); return grantUserPermissionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/UpdateHubClusterFeatureResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.UpdateHubClusterFeatureResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateHubClusterFeatureResponseUnmarshaller { public static UpdateHubClusterFeatureResponse unmarshall(UpdateHubClusterFeatureResponse updateHubClusterFeatureResponse, UnmarshallerContext _ctx) { updateHubClusterFeatureResponse.setRequestId(_ctx.stringValue("UpdateHubClusterFeatureResponse.RequestId")); return updateHubClusterFeatureResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform
java-sources/com/aliyun/aliyun-java-sdk-adcp/1.0.0/com/aliyuncs/adcp/transform/v20220101/UpdateUserPermissionResponseUnmarshaller.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.adcp.transform.v20220101; import com.aliyuncs.adcp.model.v20220101.UpdateUserPermissionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateUserPermissionResponseUnmarshaller { public static UpdateUserPermissionResponse unmarshall(UpdateUserPermissionResponse updateUserPermissionResponse, UnmarshallerContext _ctx) { updateUserPermissionResponse.setRequestId(_ctx.stringValue("UpdateUserPermissionResponse.RequestId")); return updateUserPermissionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/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.address_purification; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() {}; public static String endpointRegionalType = "regional"; }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/ClassifyPOIRequest.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.address_purification.model.v20191118; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.address_purification.Endpoint; /** * @author auto create * @version */ public class ClassifyPOIRequest extends RpcAcsRequest<ClassifyPOIResponse> { private String defaultProvince; private String serviceCode; private String defaultCity; private String defaultDistrict; private String appKey; private String text; public ClassifyPOIRequest() { super("address-purification", "2019-11-18", "ClassifyPOI", "addrp"); 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 getDefaultProvince() { return this.defaultProvince; } public void setDefaultProvince(String defaultProvince) { this.defaultProvince = defaultProvince; if(defaultProvince != null){ putBodyParameter("DefaultProvince", defaultProvince); } } public String getServiceCode() { return this.serviceCode; } public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; if(serviceCode != null){ putBodyParameter("ServiceCode", serviceCode); } } public String getDefaultCity() { return this.defaultCity; } public void setDefaultCity(String defaultCity) { this.defaultCity = defaultCity; if(defaultCity != null){ putBodyParameter("DefaultCity", defaultCity); } } public String getDefaultDistrict() { return this.defaultDistrict; } public void setDefaultDistrict(String defaultDistrict) { this.defaultDistrict = defaultDistrict; if(defaultDistrict != null){ putBodyParameter("DefaultDistrict", defaultDistrict); } } public String getAppKey() { return this.appKey; } public void setAppKey(String appKey) { this.appKey = appKey; if(appKey != null){ putBodyParameter("AppKey", appKey); } } public String getText() { return this.text; } public void setText(String text) { this.text = text; if(text != null){ putBodyParameter("Text", text); } } @Override public Class<ClassifyPOIResponse> getResponseClass() { return ClassifyPOIResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/ClassifyPOIResponse.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.address_purification.model.v20191118; import com.aliyuncs.AcsResponse; import com.aliyuncs.address_purification.transform.v20191118.ClassifyPOIResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ClassifyPOIResponse extends AcsResponse { private String data; private String requestId; public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ClassifyPOIResponse getInstance(UnmarshallerContext context) { return ClassifyPOIResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/CompleteAddressRequest.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.address_purification.model.v20191118; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.address_purification.Endpoint; /** * @author auto create * @version */ public class CompleteAddressRequest extends RpcAcsRequest<CompleteAddressResponse> { private String defaultProvince; private String serviceCode; private String defaultCity; private String defaultDistrict; private String appKey; private String text; public CompleteAddressRequest() { super("address-purification", "2019-11-18", "CompleteAddress", "addrp"); 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 getDefaultProvince() { return this.defaultProvince; } public void setDefaultProvince(String defaultProvince) { this.defaultProvince = defaultProvince; if(defaultProvince != null){ putBodyParameter("DefaultProvince", defaultProvince); } } public String getServiceCode() { return this.serviceCode; } public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; if(serviceCode != null){ putBodyParameter("ServiceCode", serviceCode); } } public String getDefaultCity() { return this.defaultCity; } public void setDefaultCity(String defaultCity) { this.defaultCity = defaultCity; if(defaultCity != null){ putBodyParameter("DefaultCity", defaultCity); } } public String getDefaultDistrict() { return this.defaultDistrict; } public void setDefaultDistrict(String defaultDistrict) { this.defaultDistrict = defaultDistrict; if(defaultDistrict != null){ putBodyParameter("DefaultDistrict", defaultDistrict); } } public String getAppKey() { return this.appKey; } public void setAppKey(String appKey) { this.appKey = appKey; if(appKey != null){ putBodyParameter("AppKey", appKey); } } public String getText() { return this.text; } public void setText(String text) { this.text = text; if(text != null){ putBodyParameter("Text", text); } } @Override public Class<CompleteAddressResponse> getResponseClass() { return CompleteAddressResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/CompleteAddressResponse.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.address_purification.model.v20191118; import com.aliyuncs.AcsResponse; import com.aliyuncs.address_purification.transform.v20191118.CompleteAddressResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CompleteAddressResponse extends AcsResponse { private String requestId; private String data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getData() { return this.data; } public void setData(String data) { this.data = data; } @Override public CompleteAddressResponse getInstance(UnmarshallerContext context) { return CompleteAddressResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/CorrectAddressRequest.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.address_purification.model.v20191118; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.address_purification.Endpoint; /** * @author auto create * @version */ public class CorrectAddressRequest extends RpcAcsRequest<CorrectAddressResponse> { private String defaultProvince; private String serviceCode; private String defaultCity; private String defaultDistrict; private String appKey; private String text; public CorrectAddressRequest() { super("address-purification", "2019-11-18", "CorrectAddress", "addrp"); 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 getDefaultProvince() { return this.defaultProvince; } public void setDefaultProvince(String defaultProvince) { this.defaultProvince = defaultProvince; if(defaultProvince != null){ putBodyParameter("DefaultProvince", defaultProvince); } } public String getServiceCode() { return this.serviceCode; } public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; if(serviceCode != null){ putBodyParameter("ServiceCode", serviceCode); } } public String getDefaultCity() { return this.defaultCity; } public void setDefaultCity(String defaultCity) { this.defaultCity = defaultCity; if(defaultCity != null){ putBodyParameter("DefaultCity", defaultCity); } } public String getDefaultDistrict() { return this.defaultDistrict; } public void setDefaultDistrict(String defaultDistrict) { this.defaultDistrict = defaultDistrict; if(defaultDistrict != null){ putBodyParameter("DefaultDistrict", defaultDistrict); } } public String getAppKey() { return this.appKey; } public void setAppKey(String appKey) { this.appKey = appKey; if(appKey != null){ putBodyParameter("AppKey", appKey); } } public String getText() { return this.text; } public void setText(String text) { this.text = text; if(text != null){ putBodyParameter("Text", text); } } @Override public Class<CorrectAddressResponse> getResponseClass() { return CorrectAddressResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/CorrectAddressResponse.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.address_purification.model.v20191118; import com.aliyuncs.AcsResponse; import com.aliyuncs.address_purification.transform.v20191118.CorrectAddressResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CorrectAddressResponse extends AcsResponse { private String data; private String requestId; public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CorrectAddressResponse getInstance(UnmarshallerContext context) { return CorrectAddressResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/ExtractAddressRequest.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.address_purification.model.v20191118; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.address_purification.Endpoint; /** * @author auto create * @version */ public class ExtractAddressRequest extends RpcAcsRequest<ExtractAddressResponse> { private String defaultProvince; private String serviceCode; private String defaultCity; private String defaultDistrict; private String appKey; private String text; public ExtractAddressRequest() { super("address-purification", "2019-11-18", "ExtractAddress", "addrp"); 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 getDefaultProvince() { return this.defaultProvince; } public void setDefaultProvince(String defaultProvince) { this.defaultProvince = defaultProvince; if(defaultProvince != null){ putBodyParameter("DefaultProvince", defaultProvince); } } public String getServiceCode() { return this.serviceCode; } public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; if(serviceCode != null){ putBodyParameter("ServiceCode", serviceCode); } } public String getDefaultCity() { return this.defaultCity; } public void setDefaultCity(String defaultCity) { this.defaultCity = defaultCity; if(defaultCity != null){ putBodyParameter("DefaultCity", defaultCity); } } public String getDefaultDistrict() { return this.defaultDistrict; } public void setDefaultDistrict(String defaultDistrict) { this.defaultDistrict = defaultDistrict; if(defaultDistrict != null){ putBodyParameter("DefaultDistrict", defaultDistrict); } } public String getAppKey() { return this.appKey; } public void setAppKey(String appKey) { this.appKey = appKey; if(appKey != null){ putBodyParameter("AppKey", appKey); } } public String getText() { return this.text; } public void setText(String text) { this.text = text; if(text != null){ putBodyParameter("Text", text); } } @Override public Class<ExtractAddressResponse> getResponseClass() { return ExtractAddressResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model
java-sources/com/aliyun/aliyun-java-sdk-address-purification/1.0.1/com/aliyuncs/address_purification/model/v20191118/ExtractAddressResponse.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.address_purification.model.v20191118; import com.aliyuncs.AcsResponse; import com.aliyuncs.address_purification.transform.v20191118.ExtractAddressResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ExtractAddressResponse extends AcsResponse { private String data; private String requestId; public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ExtractAddressResponse getInstance(UnmarshallerContext context) { return ExtractAddressResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }