-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
145 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
.../main/java/com/aliyuncs/eiam/model/v20211201/DeleteOrganizationalUnitChildrenRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.aliyuncs.eiam.model.v20211201; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DeleteOrganizationalUnitChildrenRequest extends RpcAcsRequest<DeleteOrganizationalUnitChildrenResponse> { | ||
|
||
|
||
private String instanceId; | ||
|
||
private String organizationalUnitId; | ||
public DeleteOrganizationalUnitChildrenRequest() { | ||
super("Eiam", "2021-12-01", "DeleteOrganizationalUnitChildren", "eiam"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
} | ||
|
||
public String getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(String instanceId) { | ||
this.instanceId = instanceId; | ||
if(instanceId != null){ | ||
putQueryParameter("InstanceId", instanceId); | ||
} | ||
} | ||
|
||
public String getOrganizationalUnitId() { | ||
return this.organizationalUnitId; | ||
} | ||
|
||
public void setOrganizationalUnitId(String organizationalUnitId) { | ||
this.organizationalUnitId = organizationalUnitId; | ||
if(organizationalUnitId != null){ | ||
putQueryParameter("OrganizationalUnitId", organizationalUnitId); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<DeleteOrganizationalUnitChildrenResponse> getResponseClass() { | ||
return DeleteOrganizationalUnitChildrenResponse.class; | ||
} | ||
|
||
} |
46 changes: 46 additions & 0 deletions
46
...main/java/com/aliyuncs/eiam/model/v20211201/DeleteOrganizationalUnitChildrenResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* 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.eiam.model.v20211201; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.eiam.transform.v20211201.DeleteOrganizationalUnitChildrenResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DeleteOrganizationalUnitChildrenResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
@Override | ||
public DeleteOrganizationalUnitChildrenResponse getInstance(UnmarshallerContext context) { | ||
return DeleteOrganizationalUnitChildrenResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...iyuncs/eiam/transform/v20211201/DeleteOrganizationalUnitChildrenResponseUnmarshaller.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* 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.eiam.transform.v20211201; | ||
|
||
import com.aliyuncs.eiam.model.v20211201.DeleteOrganizationalUnitChildrenResponse; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
|
||
public class DeleteOrganizationalUnitChildrenResponseUnmarshaller { | ||
|
||
public static DeleteOrganizationalUnitChildrenResponse unmarshall(DeleteOrganizationalUnitChildrenResponse deleteOrganizationalUnitChildrenResponse, UnmarshallerContext _ctx) { | ||
|
||
deleteOrganizationalUnitChildrenResponse.setRequestId(_ctx.stringValue("DeleteOrganizationalUnitChildrenResponse.RequestId")); | ||
|
||
return deleteOrganizationalUnitChildrenResponse; | ||
} | ||
} |