Skip to content

Commit

Permalink
SetUserSsoSettings add request param and response param SsoLoginWithD…
Browse files Browse the repository at this point in the history
…omain
  • Loading branch information
sdk-team committed Dec 10, 2024
1 parent 119fc21 commit 0b610a8
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 1 deletion.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-ims/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-12-10 Version: 3.3.10
- SetUserSsoSettings add request param and response param SsoLoginWithDomain
- GetUserSsoSettings add request param SsoLoginWithDomain

2024-10-23 Version: 3.3.9
ListUsers,ListUserBasicInfos api新增支持status字段

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-ims/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-ims</artifactId>
<packaging>jar</packaging>
<version>3.3.9</version>
<version>3.3.10</version>
<name>aliyun-java-sdk-ims</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public static class UserSsoSettings {

private String name;

private Boolean ssoLoginWithDomain;

public String getAuxiliaryDomain() {
return this.auxiliaryDomain;
}
Expand Down Expand Up @@ -95,6 +97,14 @@ public String getName() {
public void setName(String name) {
this.name = name;
}

public Boolean getSsoLoginWithDomain() {
return this.ssoLoginWithDomain;
}

public void setSsoLoginWithDomain(Boolean ssoLoginWithDomain) {
this.ssoLoginWithDomain = ssoLoginWithDomain;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class SetUserSsoSettingsRequest extends RpcAcsRequest<SetUserSsoSettingsR

private String auxiliaryDomain;

private Boolean ssoLoginWithDomain;

private String metadataDocument;

private Boolean ssoEnabled;
Expand All @@ -50,6 +52,17 @@ public void setAuxiliaryDomain(String auxiliaryDomain) {
}
}

public Boolean getSsoLoginWithDomain() {
return this.ssoLoginWithDomain;
}

public void setSsoLoginWithDomain(Boolean ssoLoginWithDomain) {
this.ssoLoginWithDomain = ssoLoginWithDomain;
if(ssoLoginWithDomain != null){
putQueryParameter("SsoLoginWithDomain", ssoLoginWithDomain.toString());
}
}

public String getMetadataDocument() {
return this.metadataDocument;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public static class UserSsoSettings {

private String name;

private Boolean ssoLoginWithDomain;

public String getAuxiliaryDomain() {
return this.auxiliaryDomain;
}
Expand Down Expand Up @@ -85,6 +87,14 @@ public String getName() {
public void setName(String name) {
this.name = name;
}

public Boolean getSsoLoginWithDomain() {
return this.ssoLoginWithDomain;
}

public void setSsoLoginWithDomain(Boolean ssoLoginWithDomain) {
this.ssoLoginWithDomain = ssoLoginWithDomain;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public static GetUserSsoSettingsResponse unmarshall(GetUserSsoSettingsResponse g
userSsoSettings.setSsoEnabled(_ctx.booleanValue("GetUserSsoSettingsResponse.UserSsoSettings.SsoEnabled"));
userSsoSettings.setUseTenantSpecificSp(_ctx.booleanValue("GetUserSsoSettingsResponse.UserSsoSettings.UseTenantSpecificSp"));
userSsoSettings.setName(_ctx.stringValue("GetUserSsoSettingsResponse.UserSsoSettings.Name"));
userSsoSettings.setSsoLoginWithDomain(_ctx.booleanValue("GetUserSsoSettingsResponse.UserSsoSettings.SsoLoginWithDomain"));
getUserSsoSettingsResponse.setUserSsoSettings(userSsoSettings);

return getUserSsoSettingsResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public static SetUserSsoSettingsResponse unmarshall(SetUserSsoSettingsResponse s
userSsoSettings.setMetadataDocument(_ctx.stringValue("SetUserSsoSettingsResponse.UserSsoSettings.MetadataDocument"));
userSsoSettings.setSsoEnabled(_ctx.booleanValue("SetUserSsoSettingsResponse.UserSsoSettings.SsoEnabled"));
userSsoSettings.setName(_ctx.stringValue("SetUserSsoSettingsResponse.UserSsoSettings.Name"));
userSsoSettings.setSsoLoginWithDomain(_ctx.booleanValue("SetUserSsoSettingsResponse.UserSsoSettings.SsoLoginWithDomain"));
setUserSsoSettingsResponse.setUserSsoSettings(userSsoSettings);

return setUserSsoSettingsResponse;
Expand Down

0 comments on commit 0b610a8

Please sign in to comment.