public static ListPrivilegesOfUserResponse Unmarshall(UnmarshallerContext context)
        {
            ListPrivilegesOfUserResponse listPrivilegesOfUserResponse = new ListPrivilegesOfUserResponse();

            listPrivilegesOfUserResponse.HttpResponse   = context.HttpResponse;
            listPrivilegesOfUserResponse.RequestId      = context.StringValue("ListPrivilegesOfUser.RequestId");
            listPrivilegesOfUserResponse.Success        = context.BooleanValue("ListPrivilegesOfUser.Success");
            listPrivilegesOfUserResponse.Code           = context.StringValue("ListPrivilegesOfUser.Code");
            listPrivilegesOfUserResponse.Message        = context.StringValue("ListPrivilegesOfUser.Message");
            listPrivilegesOfUserResponse.HttpStatusCode = context.IntegerValue("ListPrivilegesOfUser.HttpStatusCode");

            List <ListPrivilegesOfUserResponse.ListPrivilegesOfUser_Privilege> listPrivilegesOfUserResponse_privileges = new List <ListPrivilegesOfUserResponse.ListPrivilegesOfUser_Privilege>();

            for (int i = 0; i < context.Length("ListPrivilegesOfUser.Privileges.Length"); i++)
            {
                ListPrivilegesOfUserResponse.ListPrivilegesOfUser_Privilege privilege = new ListPrivilegesOfUserResponse.ListPrivilegesOfUser_Privilege();
                privilege.PrivilegeId          = context.StringValue("ListPrivilegesOfUser.Privileges[" + i + "].PrivilegeId");
                privilege.PrivilegeName        = context.StringValue("ListPrivilegesOfUser.Privileges[" + i + "].PrivilegeName");
                privilege.PrivilegeDescription = context.StringValue("ListPrivilegesOfUser.Privileges[" + i + "].PrivilegeDescription");

                listPrivilegesOfUserResponse_privileges.Add(privilege);
            }
            listPrivilegesOfUserResponse.Privileges = listPrivilegesOfUserResponse_privileges;

            return(listPrivilegesOfUserResponse);
        }
        public static ListPrivilegesOfUserResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ListPrivilegesOfUserResponse listPrivilegesOfUserResponse = new ListPrivilegesOfUserResponse();

            listPrivilegesOfUserResponse.HttpResponse   = _ctx.HttpResponse;
            listPrivilegesOfUserResponse.Code           = _ctx.StringValue("ListPrivilegesOfUser.Code");
            listPrivilegesOfUserResponse.HttpStatusCode = _ctx.IntegerValue("ListPrivilegesOfUser.HttpStatusCode");
            listPrivilegesOfUserResponse.Message        = _ctx.StringValue("ListPrivilegesOfUser.Message");
            listPrivilegesOfUserResponse.RequestId      = _ctx.StringValue("ListPrivilegesOfUser.RequestId");

            List <ListPrivilegesOfUserResponse.ListPrivilegesOfUser_DataItem> listPrivilegesOfUserResponse_data = new List <ListPrivilegesOfUserResponse.ListPrivilegesOfUser_DataItem>();

            for (int i = 0; i < _ctx.Length("ListPrivilegesOfUser.Data.Length"); i++)
            {
                ListPrivilegesOfUserResponse.ListPrivilegesOfUser_DataItem dataItem = new ListPrivilegesOfUserResponse.ListPrivilegesOfUser_DataItem();
                dataItem.InstanceId = _ctx.StringValue("ListPrivilegesOfUser.Data[" + i + "].InstanceId");
                dataItem.Name       = _ctx.StringValue("ListPrivilegesOfUser.Data[" + i + "].Name");
                dataItem.Scope      = _ctx.StringValue("ListPrivilegesOfUser.Data[" + i + "].Scope");

                listPrivilegesOfUserResponse_data.Add(dataItem);
            }
            listPrivilegesOfUserResponse.Data = listPrivilegesOfUserResponse_data;

            return(listPrivilegesOfUserResponse);
        }