/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateUserSettingsResponse response = new UpdateUserSettingsResponse(); return(response); }
/// <summary> /// Update UserSettings by UserName /// </summary> /// <param name="request">The UpdateUserSettingsRequest object.</param> /// <returns>A UpdateUserSettingsResponse object</returns> public UpdateUserSettingsResponse UpdateUserSettings(UpdateUserSettingsRequest request) { UpdateUserSettingsResponse response = new UpdateUserSettingsResponse(); response.UserSettingsCD = UserSettingsCD.UpdateUserSettings(request.UserSettingsCD); return(response); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateUserSettingsResponse response = new UpdateUserSettingsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("userSettings", targetDepth)) { var unmarshaller = UserSettingsUnmarshaller.Instance; response.UserSettings = unmarshaller.Unmarshall(context); continue; } } return(response); }