com.aliyuncs.ims.transform.v20190815.GetUserSsoSettingsResponseUnmarshaller Maven / Gradle / Ivy
/*
* 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.ims.transform.v20190815;
import com.aliyuncs.ims.model.v20190815.GetUserSsoSettingsResponse;
import com.aliyuncs.ims.model.v20190815.GetUserSsoSettingsResponse.UserSsoSettings;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserSsoSettingsResponseUnmarshaller {
public static GetUserSsoSettingsResponse unmarshall(GetUserSsoSettingsResponse getUserSsoSettingsResponse, UnmarshallerContext _ctx) {
getUserSsoSettingsResponse.setRequestId(_ctx.stringValue("GetUserSsoSettingsResponse.RequestId"));
UserSsoSettings userSsoSettings = new UserSsoSettings();
userSsoSettings.setAuxiliaryDomain(_ctx.stringValue("GetUserSsoSettingsResponse.UserSsoSettings.AuxiliaryDomain"));
userSsoSettings.setMetadataDocument(_ctx.stringValue("GetUserSsoSettingsResponse.UserSsoSettings.MetadataDocument"));
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy